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 "ok
" >/dev/null 2>&1; then
2979 enable_clocale_flag=gnu
2982 enable_clocale_flag=generic
2988 enable_clocale_flag=generic
2993 case x${enable_clocale_flag} in
2995 echo "$ac_t""generic
" 1>&6
2997 # Don't use gettext.
3000 CLOCALE_H=config/locale/c_locale_generic.h
3001 CLOCALE_CC=config/locale/c_locale_generic.cc
3002 CCODECVT_H=config/locale/codecvt_specializations_generic.h
3003 CCOLLATE_CC=config/locale/collate_members_generic.cc
3004 CCTYPE_CC=config/locale/ctype_members_generic.cc
3005 CMESSAGES_H=config/locale/messages_members_generic.h
3006 CMESSAGES_CC=config/locale/messages_members_generic.cc
3007 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3008 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3009 CTIME_CC=config/locale/time_members_generic.cc
3012 echo "$ac_t""gnu
" 1>&6
3014 # Declare intention to use gettext, and add support for specific
3016 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3018 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3019 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3022 # Export the build objects.
3023 for ling in $ALL_LINGUAS; do \
3024 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3025 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3030 CLOCALE_H=config/locale/c_locale_gnu.h
3031 CLOCALE_CC=config/locale/c_locale_gnu.cc
3032 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3033 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3034 CCTYPE_CC=config/locale/ctype_members_gnu.cc
3035 CMESSAGES_H=config/locale/messages_members_gnu.h
3036 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3037 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3038 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3039 CTIME_CC=config/locale/time_members_gnu.cc
3042 echo "$ac_t""generic
" 1>&6
3044 # Don't use gettext.
3047 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3048 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3049 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3050 CCOLLATE_CC=config/locale/collate_members_generic.cc
3051 CCTYPE_CC=config/locale/ctype_members_generic.cc
3052 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3053 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3054 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3055 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3056 CTIME_CC=config/locale/time_members_generic.cc
3059 echo "$enable_clocale is an unknown locale package
" 1>&2
3064 # This is where the testsuite looks for locale catalogs, using the
3065 # -DLOCALEDIR define during testsuite compilation.
3066 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3081 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3082 if test "${enable_c_mbchar+set}" = set; then
3083 enableval="$enable_c_mbchar"
3084 case "$enableval" in
3085 yes) enable_c_mbchar=yes ;;
3086 no) enable_c_mbchar=no ;;
3087 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3094 # Check whether --enable-c99 or --disable-c99 was given.
3095 if test "${enable_c99+set}" = set; then
3096 enableval="$enable_c99"
3097 case "$enableval" in
3098 yes) enable_c99=yes ;;
3099 no) enable_c99=no ;;
3100 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3109 ac_cpp='$CXXCPP $CPPFLAGS'
3110 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3111 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3112 cross_compiling=$ac_cv_prog_cxx_cross
3115 # Check for the existence of <math.h> functions used if C99 is enabled.
3117 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3118 echo "configure
:3119: checking
for ISO C99 support
in <math.h
>" >&5
3119 cat > conftest.$ac_ext <<EOF
3120 #line 3121 "configure
"
3121 #include "confdefs.h
"
3127 if { (eval echo configure:3128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3130 echo "configure
: failed program was
:" >&5
3131 cat conftest.$ac_ext >&5
3136 cat > conftest.$ac_ext <<EOF
3137 #line 3138 "configure
"
3138 #include "confdefs.h
"
3144 if { (eval echo configure:3145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3147 echo "configure
: failed program was
:" >&5
3148 cat conftest.$ac_ext >&5
3153 cat > conftest.$ac_ext <<EOF
3154 #line 3155 "configure
"
3155 #include "confdefs.h
"
3161 if { (eval echo configure:3162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3164 echo "configure
: failed program was
:" >&5
3165 cat conftest.$ac_ext >&5
3170 cat > conftest.$ac_ext <<EOF
3171 #line 3172 "configure
"
3172 #include "confdefs.h
"
3178 if { (eval echo configure:3179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3181 echo "configure
: failed program was
:" >&5
3182 cat conftest.$ac_ext >&5
3187 cat > conftest.$ac_ext <<EOF
3188 #line 3189 "configure
"
3189 #include "confdefs.h
"
3195 if { (eval echo configure:3196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3198 echo "configure
: failed program was
:" >&5
3199 cat conftest.$ac_ext >&5
3204 cat > conftest.$ac_ext <<EOF
3205 #line 3206 "configure
"
3206 #include "confdefs.h
"
3212 if { (eval echo configure:3213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3215 echo "configure
: failed program was
:" >&5
3216 cat conftest.$ac_ext >&5
3221 cat > conftest.$ac_ext <<EOF
3222 #line 3223 "configure
"
3223 #include "confdefs.h
"
3229 if { (eval echo configure:3230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3232 echo "configure
: failed program was
:" >&5
3233 cat conftest.$ac_ext >&5
3238 cat > conftest.$ac_ext <<EOF
3239 #line 3240 "configure
"
3240 #include "confdefs.h
"
3243 isgreaterequal(0.0,0.0);
3246 if { (eval echo configure:3247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3249 echo "configure
: failed program was
:" >&5
3250 cat conftest.$ac_ext >&5
3255 cat > conftest.$ac_ext <<EOF
3256 #line 3257 "configure
"
3257 #include "confdefs.h
"
3263 if { (eval echo configure:3264: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3266 echo "configure
: failed program was
:" >&5
3267 cat conftest.$ac_ext >&5
3272 cat > conftest.$ac_ext <<EOF
3273 #line 3274 "configure
"
3274 #include "confdefs.h
"
3277 islessequal(0.0,0.0);
3280 if { (eval echo configure:3281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3283 echo "configure
: failed program was
:" >&5
3284 cat conftest.$ac_ext >&5
3289 cat > conftest.$ac_ext <<EOF
3290 #line 3291 "configure
"
3291 #include "confdefs.h
"
3294 islessgreater(0.0,0.0);
3297 if { (eval echo configure:3298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3300 echo "configure
: failed program was
:" >&5
3301 cat conftest.$ac_ext >&5
3306 cat > conftest.$ac_ext <<EOF
3307 #line 3308 "configure
"
3308 #include "confdefs.h
"
3311 isunordered(0.0,0.0);
3314 if { (eval echo configure:3315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3317 echo "configure
: failed program was
:" >&5
3318 cat conftest.$ac_ext >&5
3323 echo "$ac_t""$ac_c99_math" 1>&6
3325 # Check for the existence in <stdio.h> of vscanf, et. al.
3327 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3328 echo "configure
:3329: checking
for ISO C99 support
in <stdio.h
>" >&5
3329 cat > conftest.$ac_ext <<EOF
3330 #line 3331 "configure
"
3331 #include "confdefs.h
"
3334 snprintf("12", 0, "%i
");
3337 if { (eval echo configure:3338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3340 echo "configure
: failed program was
:" >&5
3341 cat conftest.$ac_ext >&5
3346 cat > conftest.$ac_ext <<EOF
3347 #line 3348 "configure
"
3348 #include "confdefs.h
"
3351 void foo(char* fmt, ...)
3352 {va_list args; va_start(args, fmt);
3353 vfscanf(stderr, "%i
", args);}
3358 if { (eval echo configure:3359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3361 echo "configure
: failed program was
:" >&5
3362 cat conftest.$ac_ext >&5
3367 cat > conftest.$ac_ext <<EOF
3368 #line 3369 "configure
"
3369 #include "confdefs.h
"
3372 void foo(char* fmt, ...)
3373 {va_list args; va_start(args, fmt);
3374 vscanf("%i
", args);}
3379 if { (eval echo configure:3380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3382 echo "configure
: failed program was
:" >&5
3383 cat conftest.$ac_ext >&5
3388 cat > conftest.$ac_ext <<EOF
3389 #line 3390 "configure
"
3390 #include "confdefs.h
"
3393 void foo(char* fmt, ...)
3394 {va_list args; va_start(args, fmt);
3395 vsnprintf(fmt, 0, "%i
", args);}
3400 if { (eval echo configure:3401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3403 echo "configure
: failed program was
:" >&5
3404 cat conftest.$ac_ext >&5
3409 cat > conftest.$ac_ext <<EOF
3410 #line 3411 "configure
"
3411 #include "confdefs.h
"
3414 void foo(char* fmt, ...)
3415 {va_list args; va_start(args, fmt);
3416 vsscanf(fmt, "%i
", args);}
3421 if { (eval echo configure:3422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3424 echo "configure
: failed program was
:" >&5
3425 cat conftest.$ac_ext >&5
3430 echo "$ac_t""$ac_c99_stdio" 1>&6
3432 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3434 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3435 echo "configure
:3436: checking
for lldiv_t declaration
" >&5
3436 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3437 echo $ac_n "(cached
) $ac_c" 1>&6
3440 cat > conftest.$ac_ext <<EOF
3441 #line 3442 "configure
"
3442 #include "confdefs.h
"
3448 if { (eval echo configure:3449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3452 echo "configure
: failed program was
:" >&5
3453 cat conftest.$ac_ext >&5
3461 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3463 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3464 echo "configure
:3465: checking
for ISO C99 support
in <stdlib.h
>" >&5
3465 cat > conftest.$ac_ext <<EOF
3466 #line 3467 "configure
"
3467 #include "confdefs.h
"
3470 char* tmp; strtof("gnu
", &tmp);
3473 if { (eval echo configure:3474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3476 echo "configure
: failed program was
:" >&5
3477 cat conftest.$ac_ext >&5
3482 cat > conftest.$ac_ext <<EOF
3483 #line 3484 "configure
"
3484 #include "confdefs.h
"
3487 char* tmp; strtold("gnu
", &tmp);
3490 if { (eval echo configure:3491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3493 echo "configure
: failed program was
:" >&5
3494 cat conftest.$ac_ext >&5
3499 cat > conftest.$ac_ext <<EOF
3500 #line 3501 "configure
"
3501 #include "confdefs.h
"
3507 if { (eval echo configure:3508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3510 echo "configure
: failed program was
:" >&5
3511 cat conftest.$ac_ext >&5
3516 cat > conftest.$ac_ext <<EOF
3517 #line 3518 "configure
"
3518 #include "confdefs.h
"
3524 if { (eval echo configure:3525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3527 echo "configure
: failed program was
:" >&5
3528 cat conftest.$ac_ext >&5
3533 cat > conftest.$ac_ext <<EOF
3534 #line 3535 "configure
"
3535 #include "confdefs.h
"
3541 if { (eval echo configure:3542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3544 echo "configure
: failed program was
:" >&5
3545 cat conftest.$ac_ext >&5
3550 cat > conftest.$ac_ext <<EOF
3551 #line 3552 "configure
"
3552 #include "confdefs.h
"
3558 if { (eval echo configure:3559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3561 echo "configure
: failed program was
:" >&5
3562 cat conftest.$ac_ext >&5
3567 if test x"$ac_c99_lldiv_t" = x"no
"; then
3570 echo "$ac_t""$ac_c99_stdlib" 1>&6
3572 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3573 # XXX the wchar.h checks should be rolled into the general C99 bits.
3575 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3576 echo "configure
:3577: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3577 cat > conftest.$ac_ext <<EOF
3578 #line 3579 "configure
"
3579 #include "confdefs.h
"
3582 wcstold(L"10.0", NULL);
3585 if { (eval echo configure:3586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3588 echo "configure
: failed program was
:" >&5
3589 cat conftest.$ac_ext >&5
3594 cat > conftest.$ac_ext <<EOF
3595 #line 3596 "configure
"
3596 #include "confdefs.h
"
3599 wcstoll(L"10", NULL, 10);
3602 if { (eval echo configure:3603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3605 echo "configure
: failed program was
:" >&5
3606 cat conftest.$ac_ext >&5
3611 cat > conftest.$ac_ext <<EOF
3612 #line 3613 "configure
"
3613 #include "confdefs.h
"
3616 wcstoull(L"10", NULL, 10);
3619 if { (eval echo configure:3620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3622 echo "configure
: failed program was
:" >&5
3623 cat conftest.$ac_ext >&5
3628 echo "$ac_t""$ac_c99_wchar" 1>&6
3630 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3631 echo "configure
:3632: checking
for enabled ISO C99 support
" >&5
3632 if test x"$ac_c99_math" = x"no
" ||
3633 test x"$ac_c99_stdio" = x"no
" ||
3634 test x"$ac_c99_stdlib" = x"no
" ||
3635 test x"$ac_c99_wchar" = x"no
"; then
3638 echo "$ac_t""$enable_c99" 1>&6
3640 # Option parsed, now set things appropriately
3641 if test x"$enable_c99" = x"yes"; then
3642 cat >> confdefs.h <<\EOF
3643 #define _GLIBCPP_USE_C99 1
3649 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3650 ac_cpp='$CPP $CPPFLAGS'
3651 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3652 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3653 cross_compiling=$ac_cv_prog_cc_cross
3657 # Check whether --enable-long-long or --disable-long-long was given.
3658 if test "${enable_long_long+set}" = set; then
3659 enableval="$enable_long_long"
3660 case "$enableval" in
3661 yes) enable_long_long=yes ;;
3662 no) enable_long_long=no ;;
3663 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3666 enable_long_long=yes
3671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3672 ac_cpp='$CXXCPP $CPPFLAGS'
3673 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3674 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3675 cross_compiling=$ac_cv_prog_cxx_cross
3678 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3679 echo "configure
:3680: checking
for enabled long long I
/O support
" >&5
3680 # iostreams require strtoll, strtoull to compile
3681 cat > conftest.$ac_ext <<EOF
3682 #line 3683 "configure
"
3683 #include "confdefs.h
"
3686 char* tmp; strtoll("gnu
", &tmp, 10);
3689 if { (eval echo configure:3690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3692 echo "configure
: failed program was
:" >&5
3693 cat conftest.$ac_ext >&5
3698 cat > conftest.$ac_ext <<EOF
3699 #line 3700 "configure
"
3700 #include "confdefs.h
"
3703 char* tmp; strtoull("gnu
", &tmp, 10);
3706 if { (eval echo configure:3707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3709 echo "configure
: failed program was
:" >&5
3710 cat conftest.$ac_ext >&5
3716 # Option parsed, now set things appropriately
3717 if test x"$enable_long_long" = xyes; then
3718 cat >> confdefs.h <<\EOF
3719 #define _GLIBCPP_USE_LONG_LONG 1
3723 echo "$ac_t""$enable_long_long" 1>&6
3726 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3727 ac_cpp='$CPP $CPPFLAGS'
3728 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3729 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3730 cross_compiling=$ac_cv_prog_cc_cross
3733 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3734 echo "configure
:3735: checking
for c header strategy to use
" >&5
3735 # Check whether --enable-cheaders or --disable-cheaders was given.
3736 if test "${enable_cheaders+set}" = set; then
3737 enableval="$enable_cheaders"
3739 case "$enableval" in
3744 enable_cheaders=c_std
3747 enable_cheaders=c_shadow
3749 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3753 enable_cheaders=c_std
3756 echo "$ac_t""$enable_cheaders" 1>&6
3758 case "$enable_cheaders" in
3760 CSHADOW_FLAGS="-fno-builtin"
3761 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3762 cat >> confdefs.h <<\EOF
3763 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3769 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3773 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3781 if test "$enable_cheaders" = c_shadow; then
3782 GLIBCPP_USE_CSHADOW_TRUE=
3783 GLIBCPP_USE_CSHADOW_FALSE='#'
3785 GLIBCPP_USE_CSHADOW_TRUE='#'
3786 GLIBCPP_USE_CSHADOW_FALSE=
3790 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3791 echo "configure
:3792: checking
for thread model used by GCC
" >&5
3792 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3793 echo "$ac_t""$target_thread_file" 1>&6
3795 if test $target_thread_file != single; then
3796 cat >> confdefs.h <<\EOF
3797 #define HAVE_GTHR_DEFAULT 1
3800 cat >> confdefs.h <<\EOF
3801 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3806 glibcpp_thread_h=gthr-$target_thread_file.h
3809 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3810 if test "${enable_cxx_flags+set}" = set; then
3811 enableval="$enable_cxx_flags"
3812 case "x
$enableval" in
3814 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3816 enable_cxx_flags='' ;;
3818 enable_cxx_flags="$enableval" ;;
3821 enable_cxx_flags='none'
3825 if test "$enable_cxx_flags" = "none
"; then
3826 enable_cxx_flags='';
3829 if test -n "$enable_cxx_flags"; then
3830 for f in $enable_cxx_flags; do
3834 *) # and we're trying to pass /what/ exactly?
3835 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3839 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3843 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3844 echo "configure
:3845: checking
for exception model to use
" >&5
3847 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3848 ac_cpp='$CXXCPP $CPPFLAGS'
3849 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3850 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3851 cross_compiling=$ac_cv_prog_cxx_cross
3853 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3854 if test "${enable_sjlj_exceptions+set}" = set; then
3855 enableval="$enable_sjlj_exceptions"
3858 cat > conftest.$ac_ext << EOF
3859 #line 3860 "configure
"
3868 old_CXXFLAGS="$CXXFLAGS"
3870 if { (eval echo configure:3871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3871 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3872 enable_sjlj_exceptions=yes
3873 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3874 enable_sjlj_exceptions=no
3877 CXXFLAGS="$old_CXXFLAGS"
3881 if test x$enable_sjlj_exceptions = xyes; then
3882 cat >> confdefs.h <<\EOF
3883 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3886 ac_exception_model_name=sjlj
3887 elif test x$enable_sjlj_exceptions = xno; then
3888 ac_exception_model_name="call frame
"
3890 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3894 ac_cpp='$CPP $CPPFLAGS'
3895 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3896 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3897 cross_compiling=$ac_cv_prog_cc_cross
3899 echo "$ac_t""$ac_exception_model_name" 1>&6
3901 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3902 if test "${enable_concept_checks+set}" = set; then
3903 enableval="$enable_concept_checks"
3904 case "$enableval" in
3905 yes) enable_concept_checks=yes ;;
3906 no) enable_concept_checks=no ;;
3907 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
3910 enable_concept_checks=no
3912 if test x"$enable_concept_checks" = xyes; then
3913 cat >> confdefs.h <<\EOF
3914 #define _GLIBCPP_CONCEPT_CHECKS 1
3921 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3923 # This lets us hard-code the functionality we know
3924 # we'll have in the cross target environment. "Let
" is a
3925 # sugar-coated word placed on an especially dull and tedious hack, actually.
3926 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
3927 # that involve linking can't be used:
3928 # "cannot open sim-crt0.o
"
3929 # "cannot open crt0.o
"
3930 # etc. All this is because there currently exists no unified,
3931 # consistent way for top level CC information to be passed down
3932 # to target directories: newlib includes, newlib linking info,
3933 # libgloss versus newlib crt0.o, etc. When all of this is done, all
3934 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
3936 # We are being configured with some form of cross compiler.
3937 GLIBCPP_IS_CROSS_COMPILING=1
3939 # If Canadian cross, then don't pick up tools from the build
3941 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
3947 # Construct crosses by hand, eliminating bits that need ld...
3948 # GLIBCPP_CHECK_COMPILER_FEATURES
3949 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
3950 # GLIBCPP_CHECK_MATH_SUPPORT
3952 case "$target_alias" in
3954 # Check for available headers.
3955 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
3956 machine/endian.h machine/param.h sys/machine.h sys/types.h \
3957 fp.h locale.h float.h inttypes.h
3959 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3960 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3961 echo "configure
:3962: checking
for $ac_hdr" >&5
3962 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3963 echo $ac_n "(cached
) $ac_c" 1>&6
3965 cat > conftest.$ac_ext <<EOF
3966 #line 3967 "configure
"
3967 #include "confdefs.h
"
3970 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3971 { (eval echo configure:3972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3972 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3973 if test -z "$ac_err"; then
3975 eval "ac_cv_header_
$ac_safe=yes"
3978 echo "configure
: failed program was
:" >&5
3979 cat conftest.$ac_ext >&5
3981 eval "ac_cv_header_
$ac_safe=no
"
3985 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3986 echo "$ac_t""yes" 1>&6
3987 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3988 cat >> confdefs.h <<EOF
3989 #define $ac_tr_hdr 1
3993 echo "$ac_t""no
" 1>&6
3997 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4000 # If we're not using GNU ld, then there's no point in even trying these
4001 # tests. Check for that first. We should have already tested for gld
4002 # by now (in libtool), but require it now just to be safe...
4007 # Set --gc-sections.
4008 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
4009 # GNU ld it is! Joy and bunny rabbits!
4011 # All these tests are for C++; save the language and the compiler flags.
4012 # Need to do this so that g++ won't try to link in libstdc++
4013 ac_test_CFLAGS="${CFLAGS+set}"
4014 ac_save_CFLAGS="$CFLAGS"
4015 CFLAGS='-x c++ -Wl,--gc-sections'
4017 # Check for -Wl,--gc-sections
4018 # XXX This test is broken at the moment, as symbols required for
4019 # linking are now in libsupc++ (not built yet.....). In addition,
4020 # this test has cored on solaris in the past. In addition,
4021 # --gc-sections doesn't really work at the moment (keeps on discarding
4022 # used sections, first .eh_frame and now some of the glibc sections for
4023 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4024 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4025 echo "configure
:4026: checking
for ld that supports
-Wl,--gc-sections" >&5
4026 if test "$cross_compiling" = yes; then
4027 ac_sectionLDflags=yes
4029 cat > conftest.$ac_ext <<EOF
4030 #line 4031 "configure
"
4031 #include "confdefs.h
"
4041 if { (eval echo configure:4042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4043 ac_sectionLDflags=yes
4045 echo "configure
: failed program was
:" >&5
4046 cat conftest.$ac_ext >&5
4048 ac_sectionLFflags=no
4053 if test "$ac_test_CFLAGS" = set; then
4054 CFLAGS="$ac_save_CFLAGS"
4056 # this is the suspicious part
4059 if test "$ac_sectionLDflags" = "yes"; then
4060 SECTION_LDFLAGS='-Wl,--gc-sections'
4062 echo "$ac_t""$ac_sectionLDflags" 1>&6
4065 # Set linker optimization flags.
4066 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4067 test x"$enable_debug" = x"no
"; then
4068 OPT_LDFLAGS='-Wl,-O1'
4075 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4076 echo "configure
:4077: checking
for main
in -lm" >&5
4077 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4078 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4079 echo $ac_n "(cached
) $ac_c" 1>&6
4081 ac_save_LIBS="$LIBS"
4083 cat > conftest.$ac_ext <<EOF
4084 #line 4085 "configure
"
4085 #include "confdefs.h
"
4091 if { (eval echo configure:4092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4093 eval "ac_cv_lib_
$ac_lib_var=yes"
4095 echo "configure
: failed program was
:" >&5
4096 cat conftest.$ac_ext >&5
4098 eval "ac_cv_lib_
$ac_lib_var=no
"
4101 LIBS="$ac_save_LIBS"
4104 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4105 echo "$ac_t""yes" 1>&6
4106 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4107 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4108 cat >> confdefs.h <<EOF
4109 #define $ac_tr_lib 1
4115 echo "$ac_t""no
" 1>&6
4118 for ac_func in nan copysignf
4120 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4121 echo "configure
:4122: checking
for $ac_func" >&5
4122 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4123 echo $ac_n "(cached
) $ac_c" 1>&6
4125 cat > conftest.$ac_ext <<EOF
4126 #line 4127 "configure
"
4127 #include "confdefs.h
"
4128 /* System header to define __stub macros and hopefully few prototypes,
4129 which can conflict with char $ac_func(); below. */
4131 /* Override any gcc2 internal prototype to avoid an error. */
4132 /* We use char because int might match the return type of a gcc2
4133 builtin and then its argument prototype would still apply. */
4138 /* The GNU C library defines this for functions which it implements
4139 to always fail with ENOSYS. Some functions are actually named
4140 something starting with __ and the normal name is an alias. */
4141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4149 if { (eval echo configure:4150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4151 eval "ac_cv_func_
$ac_func=yes"
4153 echo "configure
: failed program was
:" >&5
4154 cat conftest.$ac_ext >&5
4156 eval "ac_cv_func_
$ac_func=no
"
4161 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4162 echo "$ac_t""yes" 1>&6
4163 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4164 cat >> confdefs.h <<EOF
4165 #define $ac_tr_func 1
4169 echo "$ac_t""no
" 1>&6
4170 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4176 USE_COMPLEX_LONG_DOUBLE=no
4177 if test x$ac_cv_func_copysignl = x"yes"; then
4178 USE_COMPLEX_LONG_DOUBLE=yes
4179 for ac_func in signbitl
4181 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4182 echo "configure
:4183: checking
for $ac_func" >&5
4183 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4184 echo $ac_n "(cached
) $ac_c" 1>&6
4186 cat > conftest.$ac_ext <<EOF
4187 #line 4188 "configure
"
4188 #include "confdefs.h
"
4189 /* System header to define __stub macros and hopefully few prototypes,
4190 which can conflict with char $ac_func(); below. */
4192 /* Override any gcc2 internal prototype to avoid an error. */
4193 /* We use char because int might match the return type of a gcc2
4194 builtin and then its argument prototype would still apply. */
4199 /* The GNU C library defines this for functions which it implements
4200 to always fail with ENOSYS. Some functions are actually named
4201 something starting with __ and the normal name is an alias. */
4202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4210 if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4212 eval "ac_cv_func_
$ac_func=yes"
4214 echo "configure
: failed program was
:" >&5
4215 cat conftest.$ac_ext >&5
4217 eval "ac_cv_func_
$ac_func=no
"
4222 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4223 echo "$ac_t""yes" 1>&6
4224 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4225 cat >> confdefs.h <<EOF
4226 #define $ac_tr_func 1
4230 echo "$ac_t""no
" 1>&6
4231 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4242 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4243 echo "configure
:4244: checking
for mbstate_t
" >&5
4244 cat > conftest.$ac_ext <<EOF
4245 #line 4246 "configure
"
4246 #include "confdefs.h
"
4249 mbstate_t teststate;
4252 if { (eval echo configure:4253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4256 echo "configure
: failed program was
:" >&5
4257 cat conftest.$ac_ext >&5
4262 echo "$ac_t""$have_mbstate_t" 1>&6
4263 if test x"$have_mbstate_t" = xyes; then
4264 cat >> confdefs.h <<\EOF
4265 #define HAVE_MBSTATE_T 1
4270 for ac_hdr in wchar.h
4272 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4273 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4274 echo "configure
:4275: checking
for $ac_hdr" >&5
4275 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4276 echo $ac_n "(cached
) $ac_c" 1>&6
4278 cat > conftest.$ac_ext <<EOF
4279 #line 4280 "configure
"
4280 #include "confdefs.h
"
4283 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4284 { (eval echo configure:4285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4285 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4286 if test -z "$ac_err"; then
4288 eval "ac_cv_header_
$ac_safe=yes"
4291 echo "configure
: failed program was
:" >&5
4292 cat conftest.$ac_ext >&5
4294 eval "ac_cv_header_
$ac_safe=no
"
4298 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4299 echo "$ac_t""yes" 1>&6
4300 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4301 cat >> confdefs.h <<EOF
4302 #define $ac_tr_hdr 1
4306 echo "$ac_t""no
" 1>&6
4311 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
4312 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
4313 echo "configure
:4314: checking
for wctype.h
" >&5
4314 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4315 echo $ac_n "(cached
) $ac_c" 1>&6
4317 cat > conftest.$ac_ext <<EOF
4318 #line 4319 "configure
"
4319 #include "confdefs.h
"
4322 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4323 { (eval echo configure:4324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4324 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4325 if test -z "$ac_err"; then
4327 eval "ac_cv_header_
$ac_safe=yes"
4330 echo "configure
: failed program was
:" >&5
4331 cat conftest.$ac_ext >&5
4333 eval "ac_cv_header_
$ac_safe=no
"
4337 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4338 echo "$ac_t""yes" 1>&6
4341 echo "$ac_t""no
" 1>&6
4346 if test x"$ac_has_wchar_h" = xyes &&
4347 test x"$ac_has_wctype_h" = xyes &&
4348 test x"$enable_c_mbchar" != xno; then
4350 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4351 echo "configure
:4352: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4352 cat > conftest.$ac_ext <<EOF
4353 #line 4354 "configure
"
4354 #include "confdefs.h
"
4357 int i = WCHAR_MIN; int j = WCHAR_MAX;
4360 if { (eval echo configure:4361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4362 has_wchar_minmax=yes
4364 echo "configure
: failed program was
:" >&5
4365 cat conftest.$ac_ext >&5
4370 echo "$ac_t""$has_wchar_minmax" 1>&6
4372 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4373 echo "configure
:4374: checking
for WEOF
" >&5
4374 cat > conftest.$ac_ext <<EOF
4375 #line 4376 "configure
"
4376 #include "confdefs.h
"
4384 if { (eval echo configure:4385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4388 echo "configure
: failed program was
:" >&5
4389 cat conftest.$ac_ext >&5
4394 echo "$ac_t""$has_weof" 1>&6
4397 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4399 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4400 echo "configure
:4401: checking
for $ac_func" >&5
4401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4402 echo $ac_n "(cached
) $ac_c" 1>&6
4404 cat > conftest.$ac_ext <<EOF
4405 #line 4406 "configure
"
4406 #include "confdefs.h
"
4407 /* System header to define __stub macros and hopefully few prototypes,
4408 which can conflict with char $ac_func(); below. */
4410 /* Override any gcc2 internal prototype to avoid an error. */
4411 /* We use char because int might match the return type of a gcc2
4412 builtin and then its argument prototype would still apply. */
4417 /* The GNU C library defines this for functions which it implements
4418 to always fail with ENOSYS. Some functions are actually named
4419 something starting with __ and the normal name is an alias. */
4420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4428 if { (eval echo configure:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4430 eval "ac_cv_func_
$ac_func=yes"
4432 echo "configure
: failed program was
:" >&5
4433 cat conftest.$ac_ext >&5
4435 eval "ac_cv_func_
$ac_func=no
"
4440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4441 echo "$ac_t""yes" 1>&6
4442 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4443 cat >> confdefs.h <<EOF
4444 #define $ac_tr_func 1
4448 echo "$ac_t""no
" 1>&6
4455 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4456 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4457 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4458 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4459 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4460 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4462 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4463 echo "configure
:4464: checking
for $ac_func" >&5
4464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4465 echo $ac_n "(cached
) $ac_c" 1>&6
4467 cat > conftest.$ac_ext <<EOF
4468 #line 4469 "configure
"
4469 #include "confdefs.h
"
4470 /* System header to define __stub macros and hopefully few prototypes,
4471 which can conflict with char $ac_func(); below. */
4473 /* Override any gcc2 internal prototype to avoid an error. */
4474 /* We use char because int might match the return type of a gcc2
4475 builtin and then its argument prototype would still apply. */
4480 /* The GNU C library defines this for functions which it implements
4481 to always fail with ENOSYS. Some functions are actually named
4482 something starting with __ and the normal name is an alias. */
4483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4491 if { (eval echo configure:4492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4493 eval "ac_cv_func_
$ac_func=yes"
4495 echo "configure
: failed program was
:" >&5
4496 cat conftest.$ac_ext >&5
4498 eval "ac_cv_func_
$ac_func=no
"
4503 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4504 echo "$ac_t""yes" 1>&6
4505 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4506 cat >> confdefs.h <<EOF
4507 #define $ac_tr_func 1
4511 echo "$ac_t""no
" 1>&6
4518 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4519 echo "configure
:4520: checking
for ISO C99 wchar_t support
" >&5
4520 if test x"$has_weof" = xyes &&
4521 test x"$has_wchar_minmax" = xyes &&
4522 test x"$ac_wfuncs" = xyes; then
4523 ac_isoC99_wchar_t=yes
4525 ac_isoC99_wchar_t=no
4527 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4529 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4530 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4531 echo "configure
:4532: checking
for iconv.h
" >&5
4532 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4533 echo $ac_n "(cached
) $ac_c" 1>&6
4535 cat > conftest.$ac_ext <<EOF
4536 #line 4537 "configure
"
4537 #include "confdefs.h
"
4540 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4541 { (eval echo configure:4542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4542 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4543 if test -z "$ac_err"; then
4545 eval "ac_cv_header_
$ac_safe=yes"
4548 echo "configure
: failed program was
:" >&5
4549 cat conftest.$ac_ext >&5
4551 eval "ac_cv_header_
$ac_safe=no
"
4555 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4556 echo "$ac_t""yes" 1>&6
4559 echo "$ac_t""no
" 1>&6
4563 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4564 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4565 echo "configure
:4566: checking
for langinfo.h
" >&5
4566 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4567 echo $ac_n "(cached
) $ac_c" 1>&6
4569 cat > conftest.$ac_ext <<EOF
4570 #line 4571 "configure
"
4571 #include "confdefs.h
"
4572 #include <langinfo.h>
4574 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4575 { (eval echo configure:4576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4576 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4577 if test -z "$ac_err"; then
4579 eval "ac_cv_header_
$ac_safe=yes"
4582 echo "configure
: failed program was
:" >&5
4583 cat conftest.$ac_ext >&5
4585 eval "ac_cv_header_
$ac_safe=no
"
4589 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4590 echo "$ac_t""yes" 1>&6
4591 ac_has_langinfo_h=yes
4593 echo "$ac_t""no
" 1>&6
4594 ac_has_langinfo_h=no
4598 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4599 echo "configure
:4600: checking
for iconv in -liconv" >&5
4600 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4601 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4602 echo $ac_n "(cached
) $ac_c" 1>&6
4604 ac_save_LIBS="$LIBS"
4605 LIBS="-liconv $LIBS"
4606 cat > conftest.$ac_ext <<EOF
4607 #line 4608 "configure
"
4608 #include "confdefs.h
"
4609 /* Override any gcc2 internal prototype to avoid an error. */
4610 /* We use char because int might match the return type of a gcc2
4611 builtin and then its argument prototype would still apply. */
4618 if { (eval echo configure:4619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4620 eval "ac_cv_lib_
$ac_lib_var=yes"
4622 echo "configure
: failed program was
:" >&5
4623 cat conftest.$ac_ext >&5
4625 eval "ac_cv_lib_
$ac_lib_var=no
"
4628 LIBS="$ac_save_LIBS"
4631 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4632 echo "$ac_t""yes" 1>&6
4635 echo "$ac_t""no
" 1>&6
4638 ac_save_LIBS="$LIBS"
4639 LIBS="$LIBS $libiconv"
4641 for ac_func in iconv_open iconv_close iconv nl_langinfo
4643 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4644 echo "configure
:4645: checking
for $ac_func" >&5
4645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4646 echo $ac_n "(cached
) $ac_c" 1>&6
4648 cat > conftest.$ac_ext <<EOF
4649 #line 4650 "configure
"
4650 #include "confdefs.h
"
4651 /* System header to define __stub macros and hopefully few prototypes,
4652 which can conflict with char $ac_func(); below. */
4654 /* Override any gcc2 internal prototype to avoid an error. */
4655 /* We use char because int might match the return type of a gcc2
4656 builtin and then its argument prototype would still apply. */
4661 /* The GNU C library defines this for functions which it implements
4662 to always fail with ENOSYS. Some functions are actually named
4663 something starting with __ and the normal name is an alias. */
4664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4672 if { (eval echo configure:4673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4674 eval "ac_cv_func_
$ac_func=yes"
4676 echo "configure
: failed program was
:" >&5
4677 cat conftest.$ac_ext >&5
4679 eval "ac_cv_func_
$ac_func=no
"
4684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4685 echo "$ac_t""yes" 1>&6
4686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4687 cat >> confdefs.h <<EOF
4688 #define $ac_tr_func 1
4693 echo "$ac_t""no
" 1>&6
4699 LIBS="$ac_save_LIBS"
4701 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4702 echo "configure
:4703: checking
for XPG2 wchar_t support
" >&5
4703 if test x"$ac_has_iconv_h" = xyes &&
4704 test x"$ac_has_langinfo_h" = xyes &&
4705 test x"$ac_XPG2funcs" = xyes; then
4710 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4712 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4713 echo "configure
:4714: checking
for enabled wchar_t specializations
" >&5
4714 if test x"$ac_isoC99_wchar_t" = xyes &&
4715 test x"$ac_XPG2_wchar_t" = xyes; then
4716 cat >> confdefs.h <<\EOF
4717 #define _GLIBCPP_USE_WCHAR_T 1
4720 echo "$ac_t"""yes"" 1>&6
4722 echo "$ac_t"""no"" 1>&6
4725 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4728 os_include_dir="config
/os
/gnu-linux
"
4729 cat >> confdefs.h <<\EOF
4730 #define HAVE_COPYSIGN 1
4733 cat >> confdefs.h <<\EOF
4734 #define HAVE_COPYSIGNF 1
4737 cat >> confdefs.h <<\EOF
4738 #define HAVE_FINITEF 1
4741 cat >> confdefs.h <<\EOF
4742 #define HAVE_FREXPF 1
4745 cat >> confdefs.h <<\EOF
4746 #define HAVE_HYPOTF 1
4749 cat >> confdefs.h <<\EOF
4750 #define HAVE_SINCOS 1
4753 cat >> confdefs.h <<\EOF
4754 #define HAVE_SINCOSF 1
4757 if test x"long_double_math_on_this_cpu
" = x"yes"; then
4758 cat >> confdefs.h <<\EOF
4759 #define HAVE_HYPOTL 1
4765 # Check for available headers.
4766 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4767 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4768 fp.h locale.h float.h inttypes.h
4770 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4771 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4772 echo "configure
:4773: checking
for $ac_hdr" >&5
4773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4774 echo $ac_n "(cached
) $ac_c" 1>&6
4776 cat > conftest.$ac_ext <<EOF
4777 #line 4778 "configure
"
4778 #include "confdefs.h
"
4781 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4782 { (eval echo configure:4783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4784 if test -z "$ac_err"; then
4786 eval "ac_cv_header_
$ac_safe=yes"
4789 echo "configure
: failed program was
:" >&5
4790 cat conftest.$ac_ext >&5
4792 eval "ac_cv_header_
$ac_safe=no
"
4796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4797 echo "$ac_t""yes" 1>&6
4798 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4799 cat >> confdefs.h <<EOF
4800 #define $ac_tr_hdr 1
4804 echo "$ac_t""no
" 1>&6
4808 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4811 # If we're not using GNU ld, then there's no point in even trying these
4812 # tests. Check for that first. We should have already tested for gld
4813 # by now (in libtool), but require it now just to be safe...
4818 # Set --gc-sections.
4819 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
4820 # GNU ld it is! Joy and bunny rabbits!
4822 # All these tests are for C++; save the language and the compiler flags.
4823 # Need to do this so that g++ won't try to link in libstdc++
4824 ac_test_CFLAGS="${CFLAGS+set}"
4825 ac_save_CFLAGS="$CFLAGS"
4826 CFLAGS='-x c++ -Wl,--gc-sections'
4828 # Check for -Wl,--gc-sections
4829 # XXX This test is broken at the moment, as symbols required for
4830 # linking are now in libsupc++ (not built yet.....). In addition,
4831 # this test has cored on solaris in the past. In addition,
4832 # --gc-sections doesn't really work at the moment (keeps on discarding
4833 # used sections, first .eh_frame and now some of the glibc sections for
4834 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4835 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4836 echo "configure
:4837: checking
for ld that supports
-Wl,--gc-sections" >&5
4837 if test "$cross_compiling" = yes; then
4838 ac_sectionLDflags=yes
4840 cat > conftest.$ac_ext <<EOF
4841 #line 4842 "configure
"
4842 #include "confdefs.h
"
4852 if { (eval echo configure:4853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4854 ac_sectionLDflags=yes
4856 echo "configure
: failed program was
:" >&5
4857 cat conftest.$ac_ext >&5
4859 ac_sectionLFflags=no
4864 if test "$ac_test_CFLAGS" = set; then
4865 CFLAGS="$ac_save_CFLAGS"
4867 # this is the suspicious part
4870 if test "$ac_sectionLDflags" = "yes"; then
4871 SECTION_LDFLAGS='-Wl,--gc-sections'
4873 echo "$ac_t""$ac_sectionLDflags" 1>&6
4876 # Set linker optimization flags.
4877 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
4878 test x"$enable_debug" = x"no
"; then
4879 OPT_LDFLAGS='-Wl,-O1'
4886 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4887 echo "configure
:4888: checking
for main
in -lm" >&5
4888 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4890 echo $ac_n "(cached
) $ac_c" 1>&6
4892 ac_save_LIBS="$LIBS"
4894 cat > conftest.$ac_ext <<EOF
4895 #line 4896 "configure
"
4896 #include "confdefs.h
"
4902 if { (eval echo configure:4903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4904 eval "ac_cv_lib_
$ac_lib_var=yes"
4906 echo "configure
: failed program was
:" >&5
4907 cat conftest.$ac_ext >&5
4909 eval "ac_cv_lib_
$ac_lib_var=no
"
4912 LIBS="$ac_save_LIBS"
4915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4916 echo "$ac_t""yes" 1>&6
4917 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4918 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4919 cat >> confdefs.h <<EOF
4920 #define $ac_tr_lib 1
4926 echo "$ac_t""no
" 1>&6
4929 for ac_func in nan copysignf
4931 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4932 echo "configure
:4933: checking
for $ac_func" >&5
4933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4934 echo $ac_n "(cached
) $ac_c" 1>&6
4936 cat > conftest.$ac_ext <<EOF
4937 #line 4938 "configure
"
4938 #include "confdefs.h
"
4939 /* System header to define __stub macros and hopefully few prototypes,
4940 which can conflict with char $ac_func(); below. */
4942 /* Override any gcc2 internal prototype to avoid an error. */
4943 /* We use char because int might match the return type of a gcc2
4944 builtin and then its argument prototype would still apply. */
4949 /* The GNU C library defines this for functions which it implements
4950 to always fail with ENOSYS. Some functions are actually named
4951 something starting with __ and the normal name is an alias. */
4952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4960 if { (eval echo configure:4961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4962 eval "ac_cv_func_
$ac_func=yes"
4964 echo "configure
: failed program was
:" >&5
4965 cat conftest.$ac_ext >&5
4967 eval "ac_cv_func_
$ac_func=no
"
4972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4973 echo "$ac_t""yes" 1>&6
4974 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4975 cat >> confdefs.h <<EOF
4976 #define $ac_tr_func 1
4980 echo "$ac_t""no
" 1>&6
4981 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4987 USE_COMPLEX_LONG_DOUBLE=no
4988 if test x$ac_cv_func_copysignl = x"yes"; then
4989 USE_COMPLEX_LONG_DOUBLE=yes
4990 for ac_func in signbitl
4992 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4993 echo "configure
:4994: checking
for $ac_func" >&5
4994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4995 echo $ac_n "(cached
) $ac_c" 1>&6
4997 cat > conftest.$ac_ext <<EOF
4998 #line 4999 "configure
"
4999 #include "confdefs.h
"
5000 /* System header to define __stub macros and hopefully few prototypes,
5001 which can conflict with char $ac_func(); below. */
5003 /* Override any gcc2 internal prototype to avoid an error. */
5004 /* We use char because int might match the return type of a gcc2
5005 builtin and then its argument prototype would still apply. */
5010 /* The GNU C library defines this for functions which it implements
5011 to always fail with ENOSYS. Some functions are actually named
5012 something starting with __ and the normal name is an alias. */
5013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5021 if { (eval echo configure:5022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5023 eval "ac_cv_func_
$ac_func=yes"
5025 echo "configure
: failed program was
:" >&5
5026 cat conftest.$ac_ext >&5
5028 eval "ac_cv_func_
$ac_func=no
"
5033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5034 echo "$ac_t""yes" 1>&6
5035 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5036 cat >> confdefs.h <<EOF
5037 #define $ac_tr_func 1
5041 echo "$ac_t""no
" 1>&6
5042 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5053 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5054 echo "configure
:5055: checking
for mbstate_t
" >&5
5055 cat > conftest.$ac_ext <<EOF
5056 #line 5057 "configure
"
5057 #include "confdefs.h
"
5060 mbstate_t teststate;
5063 if { (eval echo configure:5064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5067 echo "configure
: failed program was
:" >&5
5068 cat conftest.$ac_ext >&5
5073 echo "$ac_t""$have_mbstate_t" 1>&6
5074 if test x"$have_mbstate_t" = xyes; then
5075 cat >> confdefs.h <<\EOF
5076 #define HAVE_MBSTATE_T 1
5081 for ac_hdr in wchar.h
5083 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5084 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5085 echo "configure
:5086: checking
for $ac_hdr" >&5
5086 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5087 echo $ac_n "(cached
) $ac_c" 1>&6
5089 cat > conftest.$ac_ext <<EOF
5090 #line 5091 "configure
"
5091 #include "confdefs.h
"
5094 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5095 { (eval echo configure:5096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5096 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5097 if test -z "$ac_err"; then
5099 eval "ac_cv_header_
$ac_safe=yes"
5102 echo "configure
: failed program was
:" >&5
5103 cat conftest.$ac_ext >&5
5105 eval "ac_cv_header_
$ac_safe=no
"
5109 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5110 echo "$ac_t""yes" 1>&6
5111 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5112 cat >> confdefs.h <<EOF
5113 #define $ac_tr_hdr 1
5117 echo "$ac_t""no
" 1>&6
5122 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
5123 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
5124 echo "configure
:5125: checking
for wctype.h
" >&5
5125 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5126 echo $ac_n "(cached
) $ac_c" 1>&6
5128 cat > conftest.$ac_ext <<EOF
5129 #line 5130 "configure
"
5130 #include "confdefs.h
"
5133 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5134 { (eval echo configure:5135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5136 if test -z "$ac_err"; then
5138 eval "ac_cv_header_
$ac_safe=yes"
5141 echo "configure
: failed program was
:" >&5
5142 cat conftest.$ac_ext >&5
5144 eval "ac_cv_header_
$ac_safe=no
"
5148 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5149 echo "$ac_t""yes" 1>&6
5152 echo "$ac_t""no
" 1>&6
5157 if test x"$ac_has_wchar_h" = xyes &&
5158 test x"$ac_has_wctype_h" = xyes &&
5159 test x"$enable_c_mbchar" != xno; then
5161 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5162 echo "configure
:5163: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5163 cat > conftest.$ac_ext <<EOF
5164 #line 5165 "configure
"
5165 #include "confdefs.h
"
5168 int i = WCHAR_MIN; int j = WCHAR_MAX;
5171 if { (eval echo configure:5172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5173 has_wchar_minmax=yes
5175 echo "configure
: failed program was
:" >&5
5176 cat conftest.$ac_ext >&5
5181 echo "$ac_t""$has_wchar_minmax" 1>&6
5183 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5184 echo "configure
:5185: checking
for WEOF
" >&5
5185 cat > conftest.$ac_ext <<EOF
5186 #line 5187 "configure
"
5187 #include "confdefs.h
"
5195 if { (eval echo configure:5196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5199 echo "configure
: failed program was
:" >&5
5200 cat conftest.$ac_ext >&5
5205 echo "$ac_t""$has_weof" 1>&6
5208 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5210 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5211 echo "configure
:5212: checking
for $ac_func" >&5
5212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5213 echo $ac_n "(cached
) $ac_c" 1>&6
5215 cat > conftest.$ac_ext <<EOF
5216 #line 5217 "configure
"
5217 #include "confdefs.h
"
5218 /* System header to define __stub macros and hopefully few prototypes,
5219 which can conflict with char $ac_func(); below. */
5221 /* Override any gcc2 internal prototype to avoid an error. */
5222 /* We use char because int might match the return type of a gcc2
5223 builtin and then its argument prototype would still apply. */
5228 /* The GNU C library defines this for functions which it implements
5229 to always fail with ENOSYS. Some functions are actually named
5230 something starting with __ and the normal name is an alias. */
5231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5239 if { (eval echo configure:5240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5241 eval "ac_cv_func_
$ac_func=yes"
5243 echo "configure
: failed program was
:" >&5
5244 cat conftest.$ac_ext >&5
5246 eval "ac_cv_func_
$ac_func=no
"
5251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5252 echo "$ac_t""yes" 1>&6
5253 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5254 cat >> confdefs.h <<EOF
5255 #define $ac_tr_func 1
5259 echo "$ac_t""no
" 1>&6
5266 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5267 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5268 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5269 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5270 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5271 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5273 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5274 echo "configure
:5275: checking
for $ac_func" >&5
5275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5276 echo $ac_n "(cached
) $ac_c" 1>&6
5278 cat > conftest.$ac_ext <<EOF
5279 #line 5280 "configure
"
5280 #include "confdefs.h
"
5281 /* System header to define __stub macros and hopefully few prototypes,
5282 which can conflict with char $ac_func(); below. */
5284 /* Override any gcc2 internal prototype to avoid an error. */
5285 /* We use char because int might match the return type of a gcc2
5286 builtin and then its argument prototype would still apply. */
5291 /* The GNU C library defines this for functions which it implements
5292 to always fail with ENOSYS. Some functions are actually named
5293 something starting with __ and the normal name is an alias. */
5294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5302 if { (eval echo configure:5303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5304 eval "ac_cv_func_
$ac_func=yes"
5306 echo "configure
: failed program was
:" >&5
5307 cat conftest.$ac_ext >&5
5309 eval "ac_cv_func_
$ac_func=no
"
5314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5315 echo "$ac_t""yes" 1>&6
5316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5317 cat >> confdefs.h <<EOF
5318 #define $ac_tr_func 1
5322 echo "$ac_t""no
" 1>&6
5329 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5330 echo "configure
:5331: checking
for ISO C99 wchar_t support
" >&5
5331 if test x"$has_weof" = xyes &&
5332 test x"$has_wchar_minmax" = xyes &&
5333 test x"$ac_wfuncs" = xyes; then
5334 ac_isoC99_wchar_t=yes
5336 ac_isoC99_wchar_t=no
5338 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5340 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5341 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5342 echo "configure
:5343: checking
for iconv.h
" >&5
5343 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5344 echo $ac_n "(cached
) $ac_c" 1>&6
5346 cat > conftest.$ac_ext <<EOF
5347 #line 5348 "configure
"
5348 #include "confdefs.h
"
5351 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5352 { (eval echo configure:5353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5353 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5354 if test -z "$ac_err"; then
5356 eval "ac_cv_header_
$ac_safe=yes"
5359 echo "configure
: failed program was
:" >&5
5360 cat conftest.$ac_ext >&5
5362 eval "ac_cv_header_
$ac_safe=no
"
5366 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5367 echo "$ac_t""yes" 1>&6
5370 echo "$ac_t""no
" 1>&6
5374 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5375 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5376 echo "configure
:5377: checking
for langinfo.h
" >&5
5377 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5378 echo $ac_n "(cached
) $ac_c" 1>&6
5380 cat > conftest.$ac_ext <<EOF
5381 #line 5382 "configure
"
5382 #include "confdefs.h
"
5383 #include <langinfo.h>
5385 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5386 { (eval echo configure:5387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5388 if test -z "$ac_err"; then
5390 eval "ac_cv_header_
$ac_safe=yes"
5393 echo "configure
: failed program was
:" >&5
5394 cat conftest.$ac_ext >&5
5396 eval "ac_cv_header_
$ac_safe=no
"
5400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5401 echo "$ac_t""yes" 1>&6
5402 ac_has_langinfo_h=yes
5404 echo "$ac_t""no
" 1>&6
5405 ac_has_langinfo_h=no
5409 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5410 echo "configure
:5411: checking
for iconv in -liconv" >&5
5411 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5412 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5413 echo $ac_n "(cached
) $ac_c" 1>&6
5415 ac_save_LIBS="$LIBS"
5416 LIBS="-liconv $LIBS"
5417 cat > conftest.$ac_ext <<EOF
5418 #line 5419 "configure
"
5419 #include "confdefs.h
"
5420 /* Override any gcc2 internal prototype to avoid an error. */
5421 /* We use char because int might match the return type of a gcc2
5422 builtin and then its argument prototype would still apply. */
5429 if { (eval echo configure:5430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5431 eval "ac_cv_lib_
$ac_lib_var=yes"
5433 echo "configure
: failed program was
:" >&5
5434 cat conftest.$ac_ext >&5
5436 eval "ac_cv_lib_
$ac_lib_var=no
"
5439 LIBS="$ac_save_LIBS"
5442 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5443 echo "$ac_t""yes" 1>&6
5446 echo "$ac_t""no
" 1>&6
5449 ac_save_LIBS="$LIBS"
5450 LIBS="$LIBS $libiconv"
5452 for ac_func in iconv_open iconv_close iconv nl_langinfo
5454 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5455 echo "configure
:5456: checking
for $ac_func" >&5
5456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5457 echo $ac_n "(cached
) $ac_c" 1>&6
5459 cat > conftest.$ac_ext <<EOF
5460 #line 5461 "configure
"
5461 #include "confdefs.h
"
5462 /* System header to define __stub macros and hopefully few prototypes,
5463 which can conflict with char $ac_func(); below. */
5465 /* Override any gcc2 internal prototype to avoid an error. */
5466 /* We use char because int might match the return type of a gcc2
5467 builtin and then its argument prototype would still apply. */
5472 /* The GNU C library defines this for functions which it implements
5473 to always fail with ENOSYS. Some functions are actually named
5474 something starting with __ and the normal name is an alias. */
5475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5483 if { (eval echo configure:5484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5485 eval "ac_cv_func_
$ac_func=yes"
5487 echo "configure
: failed program was
:" >&5
5488 cat conftest.$ac_ext >&5
5490 eval "ac_cv_func_
$ac_func=no
"
5495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5496 echo "$ac_t""yes" 1>&6
5497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5498 cat >> confdefs.h <<EOF
5499 #define $ac_tr_func 1
5504 echo "$ac_t""no
" 1>&6
5510 LIBS="$ac_save_LIBS"
5512 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5513 echo "configure
:5514: checking
for XPG2 wchar_t support
" >&5
5514 if test x"$ac_has_iconv_h" = xyes &&
5515 test x"$ac_has_langinfo_h" = xyes &&
5516 test x"$ac_XPG2funcs" = xyes; then
5521 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5523 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5524 echo "configure
:5525: checking
for enabled wchar_t specializations
" >&5
5525 if test x"$ac_isoC99_wchar_t" = xyes &&
5526 test x"$ac_XPG2_wchar_t" = xyes; then
5527 cat >> confdefs.h <<\EOF
5528 #define _GLIBCPP_USE_WCHAR_T 1
5531 echo "$ac_t"""yes"" 1>&6
5533 echo "$ac_t"""no"" 1>&6
5536 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5539 os_include_dir="config
/os
/hpux
"
5540 cat >> confdefs.h <<\EOF
5541 #define HAVE_COPYSIGN 1
5544 cat >> confdefs.h <<\EOF
5545 #define HAVE_COPYSIGNF 1
5548 cat >> confdefs.h <<\EOF
5549 #define HAVE_FINITEF 1
5552 cat >> confdefs.h <<\EOF
5553 #define HAVE_FREXPF 1
5556 cat >> confdefs.h <<\EOF
5557 #define HAVE_HYPOT 1
5560 cat >> confdefs.h <<\EOF
5561 #define HAVE_SINCOS 1
5564 cat >> confdefs.h <<\EOF
5565 #define HAVE_SINCOSF 1
5570 os_include_dir="config
/os
/newlib
"
5571 cat >> confdefs.h <<\EOF
5572 #define HAVE_HYPOT 1
5578 # GLIBCPP_CHECK_STDLIB_SUPPORT
5579 cat >> confdefs.h <<\EOF
5580 #define HAVE_STRTOF 1
5583 cat >> confdefs.h <<\EOF
5584 #define HAVE_STRTOLD 1
5588 cat >> confdefs.h <<\EOF
5593 cat >> confdefs.h <<\EOF
5594 #define HAVE_ACOSF 1
5597 cat >> confdefs.h <<\EOF
5598 #define HAVE_ASINF 1
5601 cat >> confdefs.h <<\EOF
5602 #define HAVE_ATAN2F 1
5605 cat >> confdefs.h <<\EOF
5606 #define HAVE_ATANF 1
5609 cat >> confdefs.h <<\EOF
5610 #define HAVE_CEILF 1
5613 cat >> confdefs.h <<\EOF
5614 #define HAVE_COPYSIGN 1
5617 cat >> confdefs.h <<\EOF
5618 #define HAVE_COPYSIGNF 1
5621 cat >> confdefs.h <<\EOF
5625 cat >> confdefs.h <<\EOF
5626 #define HAVE_COSHF 1
5629 cat >> confdefs.h <<\EOF
5633 cat >> confdefs.h <<\EOF
5634 #define HAVE_FABSF 1
5637 cat >> confdefs.h <<\EOF
5638 #define HAVE_FINITE 1
5641 cat >> confdefs.h <<\EOF
5642 #define HAVE_FINITEF 1
5645 cat >> confdefs.h <<\EOF
5646 #define HAVE_FLOORF 1
5649 cat >> confdefs.h <<\EOF
5650 #define HAVE_FMODF 1
5653 cat >> confdefs.h <<\EOF
5654 #define HAVE_FREXPF 1
5657 cat >> confdefs.h <<\EOF
5658 #define HAVE_ISINF 1
5661 cat >> confdefs.h <<\EOF
5662 #define HAVE_ISINFF 1
5665 cat >> confdefs.h <<\EOF
5666 #define HAVE_ISNAN 1
5669 cat >> confdefs.h <<\EOF
5670 #define HAVE_ISNANF 1
5673 cat >> confdefs.h <<\EOF
5674 #define HAVE_LDEXPF 1
5677 cat >> confdefs.h <<\EOF
5678 #define HAVE_LOG10F 1
5681 cat >> confdefs.h <<\EOF
5685 cat >> confdefs.h <<\EOF
5686 #define HAVE_MODFF 1
5689 cat >> confdefs.h <<\EOF
5693 cat >> confdefs.h <<\EOF
5697 cat >> confdefs.h <<\EOF
5698 #define HAVE_SINHF 1
5701 cat >> confdefs.h <<\EOF
5702 #define HAVE_SQRTF 1
5705 cat >> confdefs.h <<\EOF
5709 cat >> confdefs.h <<\EOF
5710 #define HAVE_TANHF 1
5714 # At some point, we should differentiate between architectures
5715 # like x86, which have long double versions, and alpha/powerpc/etc.,
5716 # which don't. For the time being, punt.
5717 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5718 cat >> confdefs.h <<\EOF
5719 #define HAVE_ACOSL 1
5722 cat >> confdefs.h <<\EOF
5723 #define HAVE_ASINL 1
5726 cat >> confdefs.h <<\EOF
5727 #define HAVE_ATAN2L 1
5730 cat >> confdefs.h <<\EOF
5731 #define HAVE_ATANL 1
5734 cat >> confdefs.h <<\EOF
5735 #define HAVE_CEILL 1
5738 cat >> confdefs.h <<\EOF
5739 #define HAVE_COPYSIGNL 1
5742 cat >> confdefs.h <<\EOF
5746 cat >> confdefs.h <<\EOF
5747 #define HAVE_COSHL 1
5750 cat >> confdefs.h <<\EOF
5754 cat >> confdefs.h <<\EOF
5755 #define HAVE_FABSL 1
5758 cat >> confdefs.h <<\EOF
5759 #define HAVE_FINITEL 1
5762 cat >> confdefs.h <<\EOF
5763 #define HAVE_FLOORL 1
5766 cat >> confdefs.h <<\EOF
5767 #define HAVE_FMODL 1
5770 cat >> confdefs.h <<\EOF
5771 #define HAVE_FREXPL 1
5774 cat >> confdefs.h <<\EOF
5775 #define HAVE_ISINFL 1
5778 cat >> confdefs.h <<\EOF
5779 #define HAVE_ISNANL 1
5782 cat >> confdefs.h <<\EOF
5783 #define HAVE_LDEXPL 1
5786 cat >> confdefs.h <<\EOF
5787 #define HAVE_LOG10L 1
5790 cat >> confdefs.h <<\EOF
5794 cat >> confdefs.h <<\EOF
5795 #define HAVE_MODFL 1
5798 cat >> confdefs.h <<\EOF
5802 cat >> confdefs.h <<\EOF
5803 #define HAVE_SINCOSL 1
5806 cat >> confdefs.h <<\EOF
5810 cat >> confdefs.h <<\EOF
5811 #define HAVE_SINHL 1
5814 cat >> confdefs.h <<\EOF
5815 #define HAVE_SQRTL 1
5818 cat >> confdefs.h <<\EOF
5822 cat >> confdefs.h <<\EOF
5823 #define HAVE_TANHL 1
5829 # We are being configured natively. We can do more elaborate tests
5830 # that include AC_TRY_COMPILE now, as the linker is assumed to be
5832 GLIBCPP_IS_CROSS_COMPILING=0
5835 # Check for available headers.
5836 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
5837 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
5839 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5840 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5841 echo "configure
:5842: checking
for $ac_hdr" >&5
5842 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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
"
5850 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5851 { (eval echo configure:5852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5853 if test -z "$ac_err"; then
5855 eval "ac_cv_header_
$ac_safe=yes"
5858 echo "configure
: failed program was
:" >&5
5859 cat conftest.$ac_ext >&5
5861 eval "ac_cv_header_
$ac_safe=no
"
5865 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5866 echo "$ac_t""yes" 1>&6
5867 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5868 cat >> confdefs.h <<EOF
5869 #define $ac_tr_hdr 1
5873 echo "$ac_t""no
" 1>&6
5879 # All these tests are for C++; save the language and the compiler flags.
5880 # The CXXFLAGS thing is suspicious, but based on similar bits previously
5881 # found in GLIBCPP_CONFIGURE.
5884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5885 ac_cpp='$CXXCPP $CPPFLAGS'
5886 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5887 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5888 cross_compiling=$ac_cv_prog_cxx_cross
5890 ac_test_CXXFLAGS="${CXXFLAGS+set}"
5891 ac_save_CXXFLAGS="$CXXFLAGS"
5893 # Check for maintainer-mode bits.
5894 if test x"$USE_MAINTAINER_MODE" = xno; then
5900 # Check for -ffunction-sections -fdata-sections
5901 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
5902 echo "configure
:5903: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
5903 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
5904 cat > conftest.$ac_ext <<EOF
5905 #line 5906 "configure
"
5906 #include "confdefs.h
"
5913 if { (eval echo configure:5914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5917 echo "configure
: failed program was
:" >&5
5918 cat conftest.$ac_ext >&5
5923 if test "$ac_test_CXXFLAGS" = set; then
5924 CXXFLAGS="$ac_save_CXXFLAGS"
5926 # this is the suspicious part
5929 if test x"$ac_fdsections" = x"yes" &&
5930 test x"$enable_debug" = x"no
"; then
5931 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5933 echo "$ac_t""$ac_fdsections" 1>&6
5936 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5937 ac_cpp='$CPP $CPPFLAGS'
5938 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5939 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5940 cross_compiling=$ac_cv_prog_cc_cross
5946 # If we're not using GNU ld, then there's no point in even trying these
5947 # tests. Check for that first. We should have already tested for gld
5948 # by now (in libtool), but require it now just to be safe...
5953 # Set --gc-sections.
5954 if test "$ac_cv_prog_gnu_ld" = "notbroken
"; then
5955 # GNU ld it is! Joy and bunny rabbits!
5957 # All these tests are for C++; save the language and the compiler flags.
5958 # Need to do this so that g++ won't try to link in libstdc++
5959 ac_test_CFLAGS="${CFLAGS+set}"
5960 ac_save_CFLAGS="$CFLAGS"
5961 CFLAGS='-x c++ -Wl,--gc-sections'
5963 # Check for -Wl,--gc-sections
5964 # XXX This test is broken at the moment, as symbols required for
5965 # linking are now in libsupc++ (not built yet.....). In addition,
5966 # this test has cored on solaris in the past. In addition,
5967 # --gc-sections doesn't really work at the moment (keeps on discarding
5968 # used sections, first .eh_frame and now some of the glibc sections for
5969 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5970 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5971 echo "configure
:5972: checking
for ld that supports
-Wl,--gc-sections" >&5
5972 if test "$cross_compiling" = yes; then
5973 ac_sectionLDflags=yes
5975 cat > conftest.$ac_ext <<EOF
5976 #line 5977 "configure
"
5977 #include "confdefs.h
"
5987 if { (eval echo configure:5988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5989 ac_sectionLDflags=yes
5991 echo "configure
: failed program was
:" >&5
5992 cat conftest.$ac_ext >&5
5994 ac_sectionLFflags=no
5999 if test "$ac_test_CFLAGS" = set; then
6000 CFLAGS="$ac_save_CFLAGS"
6002 # this is the suspicious part
6005 if test "$ac_sectionLDflags" = "yes"; then
6006 SECTION_LDFLAGS='-Wl,--gc-sections'
6008 echo "$ac_t""$ac_sectionLDflags" 1>&6
6011 # Set linker optimization flags.
6012 if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
6013 test x"$enable_debug" = x"no
"; then
6014 OPT_LDFLAGS='-Wl,-O1'
6022 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
6023 echo "configure
:6024: checking
for __builtin_abs declaration
" >&5
6024 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
6025 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
6026 echo $ac_n "(cached
) $ac_c" 1>&6
6031 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6032 ac_cpp='$CXXCPP $CPPFLAGS'
6033 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6034 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6035 cross_compiling=$ac_cv_prog_cxx_cross
6037 cat > conftest.$ac_ext <<EOF
6038 #line 6039 "configure
"
6039 #include "confdefs.h
"
6045 if { (eval echo configure:6046: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6047 glibcpp_cv_func___builtin_abs_use=yes
6049 echo "configure
: failed program was
:" >&5
6050 cat conftest.$ac_ext >&5
6052 glibcpp_cv_func___builtin_abs_use=no
6056 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6057 ac_cpp='$CPP $CPPFLAGS'
6058 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6059 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6060 cross_compiling=$ac_cv_prog_cc_cross
6066 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
6067 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
6068 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
6069 echo "configure
:6070: checking
for __builtin_abs linkage
" >&5
6070 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
6071 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
6072 echo $ac_n "(cached
) $ac_c" 1>&6
6075 cat > conftest.$ac_ext <<EOF
6076 #line 6077 "configure
"
6077 #include "confdefs.h
"
6083 if { (eval echo configure:6084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6085 glibcpp_cv_func___builtin_abs_link=yes
6087 echo "configure
: failed program was
:" >&5
6088 cat conftest.$ac_ext >&5
6090 glibcpp_cv_func___builtin_abs_link=no
6097 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
6098 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
6099 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6100 cat >> confdefs.h <<EOF
6101 #define ${ac_tr_func} 1
6108 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
6109 echo "configure
:6110: checking
for __builtin_fabsf declaration
" >&5
6110 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
6111 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
6112 echo $ac_n "(cached
) $ac_c" 1>&6
6117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6118 ac_cpp='$CXXCPP $CPPFLAGS'
6119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6121 cross_compiling=$ac_cv_prog_cxx_cross
6123 cat > conftest.$ac_ext <<EOF
6124 #line 6125 "configure
"
6125 #include "confdefs.h
"
6131 if { (eval echo configure:6132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6133 glibcpp_cv_func___builtin_fabsf_use=yes
6135 echo "configure
: failed program was
:" >&5
6136 cat conftest.$ac_ext >&5
6138 glibcpp_cv_func___builtin_fabsf_use=no
6142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6143 ac_cpp='$CPP $CPPFLAGS'
6144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6146 cross_compiling=$ac_cv_prog_cc_cross
6152 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
6153 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
6154 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
6155 echo "configure
:6156: checking
for __builtin_fabsf linkage
" >&5
6156 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
6157 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
6158 echo $ac_n "(cached
) $ac_c" 1>&6
6161 cat > conftest.$ac_ext <<EOF
6162 #line 6163 "configure
"
6163 #include "confdefs.h
"
6169 if { (eval echo configure:6170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6171 glibcpp_cv_func___builtin_fabsf_link=yes
6173 echo "configure
: failed program was
:" >&5
6174 cat conftest.$ac_ext >&5
6176 glibcpp_cv_func___builtin_fabsf_link=no
6183 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
6184 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
6185 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6186 cat >> confdefs.h <<EOF
6187 #define ${ac_tr_func} 1
6194 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
6195 echo "configure
:6196: checking
for __builtin_fabs declaration
" >&5
6196 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
6197 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
6198 echo $ac_n "(cached
) $ac_c" 1>&6
6203 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6204 ac_cpp='$CXXCPP $CPPFLAGS'
6205 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6206 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6207 cross_compiling=$ac_cv_prog_cxx_cross
6209 cat > conftest.$ac_ext <<EOF
6210 #line 6211 "configure
"
6211 #include "confdefs.h
"
6217 if { (eval echo configure:6218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6219 glibcpp_cv_func___builtin_fabs_use=yes
6221 echo "configure
: failed program was
:" >&5
6222 cat conftest.$ac_ext >&5
6224 glibcpp_cv_func___builtin_fabs_use=no
6228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6229 ac_cpp='$CPP $CPPFLAGS'
6230 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6231 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6232 cross_compiling=$ac_cv_prog_cc_cross
6238 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
6239 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
6240 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
6241 echo "configure
:6242: checking
for __builtin_fabs linkage
" >&5
6242 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
6243 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
6244 echo $ac_n "(cached
) $ac_c" 1>&6
6247 cat > conftest.$ac_ext <<EOF
6248 #line 6249 "configure
"
6249 #include "confdefs.h
"
6255 if { (eval echo configure:6256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6257 glibcpp_cv_func___builtin_fabs_link=yes
6259 echo "configure
: failed program was
:" >&5
6260 cat conftest.$ac_ext >&5
6262 glibcpp_cv_func___builtin_fabs_link=no
6269 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
6270 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
6271 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6272 cat >> confdefs.h <<EOF
6273 #define ${ac_tr_func} 1
6280 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
6281 echo "configure
:6282: checking
for __builtin_fabsl declaration
" >&5
6282 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
6283 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
6284 echo $ac_n "(cached
) $ac_c" 1>&6
6289 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6290 ac_cpp='$CXXCPP $CPPFLAGS'
6291 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6292 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6293 cross_compiling=$ac_cv_prog_cxx_cross
6295 cat > conftest.$ac_ext <<EOF
6296 #line 6297 "configure
"
6297 #include "confdefs.h
"
6303 if { (eval echo configure:6304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6305 glibcpp_cv_func___builtin_fabsl_use=yes
6307 echo "configure
: failed program was
:" >&5
6308 cat conftest.$ac_ext >&5
6310 glibcpp_cv_func___builtin_fabsl_use=no
6314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6315 ac_cpp='$CPP $CPPFLAGS'
6316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6318 cross_compiling=$ac_cv_prog_cc_cross
6324 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
6325 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
6326 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
6327 echo "configure
:6328: checking
for __builtin_fabsl linkage
" >&5
6328 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
6329 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
6330 echo $ac_n "(cached
) $ac_c" 1>&6
6333 cat > conftest.$ac_ext <<EOF
6334 #line 6335 "configure
"
6335 #include "confdefs.h
"
6341 if { (eval echo configure:6342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6343 glibcpp_cv_func___builtin_fabsl_link=yes
6345 echo "configure
: failed program was
:" >&5
6346 cat conftest.$ac_ext >&5
6348 glibcpp_cv_func___builtin_fabsl_link=no
6355 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
6356 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
6357 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6358 cat >> confdefs.h <<EOF
6359 #define ${ac_tr_func} 1
6366 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
6367 echo "configure
:6368: checking
for __builtin_labs declaration
" >&5
6368 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
6369 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
6370 echo $ac_n "(cached
) $ac_c" 1>&6
6375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6376 ac_cpp='$CXXCPP $CPPFLAGS'
6377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6379 cross_compiling=$ac_cv_prog_cxx_cross
6381 cat > conftest.$ac_ext <<EOF
6382 #line 6383 "configure
"
6383 #include "confdefs.h
"
6389 if { (eval echo configure:6390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6391 glibcpp_cv_func___builtin_labs_use=yes
6393 echo "configure
: failed program was
:" >&5
6394 cat conftest.$ac_ext >&5
6396 glibcpp_cv_func___builtin_labs_use=no
6400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6401 ac_cpp='$CPP $CPPFLAGS'
6402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6404 cross_compiling=$ac_cv_prog_cc_cross
6410 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
6411 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
6412 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
6413 echo "configure
:6414: checking
for __builtin_labs linkage
" >&5
6414 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
6415 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
6416 echo $ac_n "(cached
) $ac_c" 1>&6
6419 cat > conftest.$ac_ext <<EOF
6420 #line 6421 "configure
"
6421 #include "confdefs.h
"
6427 if { (eval echo configure:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6429 glibcpp_cv_func___builtin_labs_link=yes
6431 echo "configure
: failed program was
:" >&5
6432 cat conftest.$ac_ext >&5
6434 glibcpp_cv_func___builtin_labs_link=no
6441 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
6442 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
6443 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6444 cat >> confdefs.h <<EOF
6445 #define ${ac_tr_func} 1
6453 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
6454 echo "configure
:6455: checking
for __builtin_sqrtf declaration
" >&5
6455 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
6456 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
6457 echo $ac_n "(cached
) $ac_c" 1>&6
6462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6463 ac_cpp='$CXXCPP $CPPFLAGS'
6464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6466 cross_compiling=$ac_cv_prog_cxx_cross
6468 cat > conftest.$ac_ext <<EOF
6469 #line 6470 "configure
"
6470 #include "confdefs.h
"
6476 if { (eval echo configure:6477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6478 glibcpp_cv_func___builtin_sqrtf_use=yes
6480 echo "configure
: failed program was
:" >&5
6481 cat conftest.$ac_ext >&5
6483 glibcpp_cv_func___builtin_sqrtf_use=no
6487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6488 ac_cpp='$CPP $CPPFLAGS'
6489 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6490 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6491 cross_compiling=$ac_cv_prog_cc_cross
6497 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
6498 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
6499 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
6500 echo "configure
:6501: checking
for __builtin_sqrtf linkage
" >&5
6501 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
6502 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
6503 echo $ac_n "(cached
) $ac_c" 1>&6
6506 cat > conftest.$ac_ext <<EOF
6507 #line 6508 "configure
"
6508 #include "confdefs.h
"
6514 if { (eval echo configure:6515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6516 glibcpp_cv_func___builtin_sqrtf_link=yes
6518 echo "configure
: failed program was
:" >&5
6519 cat conftest.$ac_ext >&5
6521 glibcpp_cv_func___builtin_sqrtf_link=no
6528 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
6529 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
6530 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6531 cat >> confdefs.h <<EOF
6532 #define ${ac_tr_func} 1
6539 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
6540 echo "configure
:6541: checking
for __builtin_sqrt declaration
" >&5
6541 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
6542 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
6543 echo $ac_n "(cached
) $ac_c" 1>&6
6548 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6549 ac_cpp='$CXXCPP $CPPFLAGS'
6550 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6551 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6552 cross_compiling=$ac_cv_prog_cxx_cross
6554 cat > conftest.$ac_ext <<EOF
6555 #line 6556 "configure
"
6556 #include "confdefs.h
"
6562 if { (eval echo configure:6563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6564 glibcpp_cv_func___builtin_sqrt_use=yes
6566 echo "configure
: failed program was
:" >&5
6567 cat conftest.$ac_ext >&5
6569 glibcpp_cv_func___builtin_sqrt_use=no
6573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6574 ac_cpp='$CPP $CPPFLAGS'
6575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6577 cross_compiling=$ac_cv_prog_cc_cross
6583 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
6584 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
6585 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
6586 echo "configure
:6587: checking
for __builtin_sqrt linkage
" >&5
6587 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
6588 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
6589 echo $ac_n "(cached
) $ac_c" 1>&6
6592 cat > conftest.$ac_ext <<EOF
6593 #line 6594 "configure
"
6594 #include "confdefs.h
"
6600 if { (eval echo configure:6601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6602 glibcpp_cv_func___builtin_sqrt_link=yes
6604 echo "configure
: failed program was
:" >&5
6605 cat conftest.$ac_ext >&5
6607 glibcpp_cv_func___builtin_sqrt_link=no
6614 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
6615 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
6616 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6617 cat >> confdefs.h <<EOF
6618 #define ${ac_tr_func} 1
6625 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
6626 echo "configure
:6627: checking
for __builtin_sqrtl declaration
" >&5
6627 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
6628 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
6629 echo $ac_n "(cached
) $ac_c" 1>&6
6634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6635 ac_cpp='$CXXCPP $CPPFLAGS'
6636 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6637 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6638 cross_compiling=$ac_cv_prog_cxx_cross
6640 cat > conftest.$ac_ext <<EOF
6641 #line 6642 "configure
"
6642 #include "confdefs.h
"
6648 if { (eval echo configure:6649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6650 glibcpp_cv_func___builtin_sqrtl_use=yes
6652 echo "configure
: failed program was
:" >&5
6653 cat conftest.$ac_ext >&5
6655 glibcpp_cv_func___builtin_sqrtl_use=no
6659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6660 ac_cpp='$CPP $CPPFLAGS'
6661 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6662 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6663 cross_compiling=$ac_cv_prog_cc_cross
6669 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
6670 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
6671 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
6672 echo "configure
:6673: checking
for __builtin_sqrtl linkage
" >&5
6673 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
6674 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
6675 echo $ac_n "(cached
) $ac_c" 1>&6
6678 cat > conftest.$ac_ext <<EOF
6679 #line 6680 "configure
"
6680 #include "confdefs.h
"
6686 if { (eval echo configure:6687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6688 glibcpp_cv_func___builtin_sqrtl_link=yes
6690 echo "configure
: failed program was
:" >&5
6691 cat conftest.$ac_ext >&5
6693 glibcpp_cv_func___builtin_sqrtl_link=no
6700 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
6701 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
6702 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6703 cat >> confdefs.h <<EOF
6704 #define ${ac_tr_func} 1
6712 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
6713 echo "configure
:6714: checking
for __builtin_sinf declaration
" >&5
6714 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
6715 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
6716 echo $ac_n "(cached
) $ac_c" 1>&6
6721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6722 ac_cpp='$CXXCPP $CPPFLAGS'
6723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6725 cross_compiling=$ac_cv_prog_cxx_cross
6727 cat > conftest.$ac_ext <<EOF
6728 #line 6729 "configure
"
6729 #include "confdefs.h
"
6735 if { (eval echo configure:6736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6737 glibcpp_cv_func___builtin_sinf_use=yes
6739 echo "configure
: failed program was
:" >&5
6740 cat conftest.$ac_ext >&5
6742 glibcpp_cv_func___builtin_sinf_use=no
6746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6747 ac_cpp='$CPP $CPPFLAGS'
6748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6750 cross_compiling=$ac_cv_prog_cc_cross
6756 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
6757 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
6758 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
6759 echo "configure
:6760: checking
for __builtin_sinf linkage
" >&5
6760 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
6761 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
6762 echo $ac_n "(cached
) $ac_c" 1>&6
6765 cat > conftest.$ac_ext <<EOF
6766 #line 6767 "configure
"
6767 #include "confdefs.h
"
6773 if { (eval echo configure:6774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6775 glibcpp_cv_func___builtin_sinf_link=yes
6777 echo "configure
: failed program was
:" >&5
6778 cat conftest.$ac_ext >&5
6780 glibcpp_cv_func___builtin_sinf_link=no
6787 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
6788 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
6789 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6790 cat >> confdefs.h <<EOF
6791 #define ${ac_tr_func} 1
6798 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
6799 echo "configure
:6800: checking
for __builtin_sin declaration
" >&5
6800 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
6801 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
6802 echo $ac_n "(cached
) $ac_c" 1>&6
6807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6808 ac_cpp='$CXXCPP $CPPFLAGS'
6809 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6810 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6811 cross_compiling=$ac_cv_prog_cxx_cross
6813 cat > conftest.$ac_ext <<EOF
6814 #line 6815 "configure
"
6815 #include "confdefs.h
"
6821 if { (eval echo configure:6822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6823 glibcpp_cv_func___builtin_sin_use=yes
6825 echo "configure
: failed program was
:" >&5
6826 cat conftest.$ac_ext >&5
6828 glibcpp_cv_func___builtin_sin_use=no
6832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6833 ac_cpp='$CPP $CPPFLAGS'
6834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6836 cross_compiling=$ac_cv_prog_cc_cross
6842 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
6843 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
6844 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
6845 echo "configure
:6846: checking
for __builtin_sin linkage
" >&5
6846 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
6847 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
6848 echo $ac_n "(cached
) $ac_c" 1>&6
6851 cat > conftest.$ac_ext <<EOF
6852 #line 6853 "configure
"
6853 #include "confdefs.h
"
6859 if { (eval echo configure:6860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6861 glibcpp_cv_func___builtin_sin_link=yes
6863 echo "configure
: failed program was
:" >&5
6864 cat conftest.$ac_ext >&5
6866 glibcpp_cv_func___builtin_sin_link=no
6873 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
6874 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
6875 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6876 cat >> confdefs.h <<EOF
6877 #define ${ac_tr_func} 1
6884 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
6885 echo "configure
:6886: checking
for __builtin_sinl declaration
" >&5
6886 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
6887 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
6888 echo $ac_n "(cached
) $ac_c" 1>&6
6893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6894 ac_cpp='$CXXCPP $CPPFLAGS'
6895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6897 cross_compiling=$ac_cv_prog_cxx_cross
6899 cat > conftest.$ac_ext <<EOF
6900 #line 6901 "configure
"
6901 #include "confdefs.h
"
6907 if { (eval echo configure:6908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6909 glibcpp_cv_func___builtin_sinl_use=yes
6911 echo "configure
: failed program was
:" >&5
6912 cat conftest.$ac_ext >&5
6914 glibcpp_cv_func___builtin_sinl_use=no
6918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6919 ac_cpp='$CPP $CPPFLAGS'
6920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6922 cross_compiling=$ac_cv_prog_cc_cross
6928 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
6929 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
6930 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
6931 echo "configure
:6932: checking
for __builtin_sinl linkage
" >&5
6932 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
6933 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
6934 echo $ac_n "(cached
) $ac_c" 1>&6
6937 cat > conftest.$ac_ext <<EOF
6938 #line 6939 "configure
"
6939 #include "confdefs.h
"
6945 if { (eval echo configure:6946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6947 glibcpp_cv_func___builtin_sinl_link=yes
6949 echo "configure
: failed program was
:" >&5
6950 cat conftest.$ac_ext >&5
6952 glibcpp_cv_func___builtin_sinl_link=no
6959 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
6960 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
6961 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6962 cat >> confdefs.h <<EOF
6963 #define ${ac_tr_func} 1
6971 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
6972 echo "configure
:6973: checking
for __builtin_cosf declaration
" >&5
6973 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
6974 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
6975 echo $ac_n "(cached
) $ac_c" 1>&6
6980 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6981 ac_cpp='$CXXCPP $CPPFLAGS'
6982 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6983 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6984 cross_compiling=$ac_cv_prog_cxx_cross
6986 cat > conftest.$ac_ext <<EOF
6987 #line 6988 "configure
"
6988 #include "confdefs.h
"
6994 if { (eval echo configure:6995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6996 glibcpp_cv_func___builtin_cosf_use=yes
6998 echo "configure
: failed program was
:" >&5
6999 cat conftest.$ac_ext >&5
7001 glibcpp_cv_func___builtin_cosf_use=no
7005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7006 ac_cpp='$CPP $CPPFLAGS'
7007 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7008 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7009 cross_compiling=$ac_cv_prog_cc_cross
7015 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
7016 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
7017 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
7018 echo "configure
:7019: checking
for __builtin_cosf linkage
" >&5
7019 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
7020 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
7021 echo $ac_n "(cached
) $ac_c" 1>&6
7024 cat > conftest.$ac_ext <<EOF
7025 #line 7026 "configure
"
7026 #include "confdefs.h
"
7032 if { (eval echo configure:7033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7034 glibcpp_cv_func___builtin_cosf_link=yes
7036 echo "configure
: failed program was
:" >&5
7037 cat conftest.$ac_ext >&5
7039 glibcpp_cv_func___builtin_cosf_link=no
7046 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
7047 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
7048 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7049 cat >> confdefs.h <<EOF
7050 #define ${ac_tr_func} 1
7057 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
7058 echo "configure
:7059: checking
for __builtin_cos declaration
" >&5
7059 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
7060 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
7061 echo $ac_n "(cached
) $ac_c" 1>&6
7066 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7067 ac_cpp='$CXXCPP $CPPFLAGS'
7068 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7069 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7070 cross_compiling=$ac_cv_prog_cxx_cross
7072 cat > conftest.$ac_ext <<EOF
7073 #line 7074 "configure
"
7074 #include "confdefs.h
"
7080 if { (eval echo configure:7081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7082 glibcpp_cv_func___builtin_cos_use=yes
7084 echo "configure
: failed program was
:" >&5
7085 cat conftest.$ac_ext >&5
7087 glibcpp_cv_func___builtin_cos_use=no
7091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7092 ac_cpp='$CPP $CPPFLAGS'
7093 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7094 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7095 cross_compiling=$ac_cv_prog_cc_cross
7101 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
7102 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
7103 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
7104 echo "configure
:7105: checking
for __builtin_cos linkage
" >&5
7105 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
7106 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
7107 echo $ac_n "(cached
) $ac_c" 1>&6
7110 cat > conftest.$ac_ext <<EOF
7111 #line 7112 "configure
"
7112 #include "confdefs.h
"
7118 if { (eval echo configure:7119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7120 glibcpp_cv_func___builtin_cos_link=yes
7122 echo "configure
: failed program was
:" >&5
7123 cat conftest.$ac_ext >&5
7125 glibcpp_cv_func___builtin_cos_link=no
7132 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
7133 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
7134 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7135 cat >> confdefs.h <<EOF
7136 #define ${ac_tr_func} 1
7143 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
7144 echo "configure
:7145: checking
for __builtin_cosl declaration
" >&5
7145 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
7146 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
7147 echo $ac_n "(cached
) $ac_c" 1>&6
7152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7153 ac_cpp='$CXXCPP $CPPFLAGS'
7154 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7155 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7156 cross_compiling=$ac_cv_prog_cxx_cross
7158 cat > conftest.$ac_ext <<EOF
7159 #line 7160 "configure
"
7160 #include "confdefs.h
"
7166 if { (eval echo configure:7167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7168 glibcpp_cv_func___builtin_cosl_use=yes
7170 echo "configure
: failed program was
:" >&5
7171 cat conftest.$ac_ext >&5
7173 glibcpp_cv_func___builtin_cosl_use=no
7177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7178 ac_cpp='$CPP $CPPFLAGS'
7179 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7180 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7181 cross_compiling=$ac_cv_prog_cc_cross
7187 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
7188 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
7189 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
7190 echo "configure
:7191: checking
for __builtin_cosl linkage
" >&5
7191 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
7192 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
7193 echo $ac_n "(cached
) $ac_c" 1>&6
7196 cat > conftest.$ac_ext <<EOF
7197 #line 7198 "configure
"
7198 #include "confdefs.h
"
7204 if { (eval echo configure:7205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7206 glibcpp_cv_func___builtin_cosl_link=yes
7208 echo "configure
: failed program was
:" >&5
7209 cat conftest.$ac_ext >&5
7211 glibcpp_cv_func___builtin_cosl_link=no
7218 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
7219 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
7220 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7221 cat >> confdefs.h <<EOF
7222 #define ${ac_tr_func} 1
7230 if test x$dummyvar = x"yes"; then
7231 cat >> confdefs.h <<\EOF
7232 #define HAVE___BUILTIN_ABS 1
7235 cat >> confdefs.h <<\EOF
7236 #define HAVE___BUILTIN_LABS 1
7239 cat >> confdefs.h <<\EOF
7240 #define HAVE___BUILTIN_COS 1
7243 cat >> confdefs.h <<\EOF
7244 #define HAVE___BUILTIN_COSF 1
7247 cat >> confdefs.h <<\EOF
7248 #define HAVE___BUILTIN_COSL 1
7251 cat >> confdefs.h <<\EOF
7252 #define HAVE___BUILTIN_FABS 1
7255 cat >> confdefs.h <<\EOF
7256 #define HAVE___BUILTIN_FABSF 1
7259 cat >> confdefs.h <<\EOF
7260 #define HAVE___BUILTIN_FABSL 1
7263 cat >> confdefs.h <<\EOF
7264 #define HAVE___BUILTIN_SIN 1
7267 cat >> confdefs.h <<\EOF
7268 #define HAVE___BUILTIN_SINF 1
7271 cat >> confdefs.h <<\EOF
7272 #define HAVE___BUILTIN_SINL 1
7275 cat >> confdefs.h <<\EOF
7276 #define HAVE___BUILTIN_SQRT 1
7279 cat >> confdefs.h <<\EOF
7280 #define HAVE___BUILTIN_SQRTF 1
7283 cat >> confdefs.h <<\EOF
7284 #define HAVE___BUILTIN_SQRTL 1
7290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
7291 ac_save_CXXFLAGS="$CXXFLAGS"
7292 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
7294 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
7295 echo "configure
:7296: checking
for sin
in -lm" >&5
7296 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
7297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7298 echo $ac_n "(cached
) $ac_c" 1>&6
7300 ac_save_LIBS="$LIBS"
7302 cat > conftest.$ac_ext <<EOF
7303 #line 7304 "configure
"
7304 #include "confdefs.h
"
7305 /* Override any gcc2 internal prototype to avoid an error. */
7306 /* We use char because int might match the return type of a gcc2
7307 builtin and then its argument prototype would still apply. */
7314 if { (eval echo configure:7315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7316 eval "ac_cv_lib_
$ac_lib_var=yes"
7318 echo "configure
: failed program was
:" >&5
7319 cat conftest.$ac_ext >&5
7321 eval "ac_cv_lib_
$ac_lib_var=no
"
7324 LIBS="$ac_save_LIBS"
7327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7328 echo "$ac_t""yes" 1>&6
7331 echo "$ac_t""no
" 1>&6
7334 ac_save_LIBS="$LIBS"
7339 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
7340 echo "configure
:7341: checking
for isinf declaration
" >&5
7341 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
7342 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
7343 echo $ac_n "(cached
) $ac_c" 1>&6
7348 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7349 ac_cpp='$CXXCPP $CPPFLAGS'
7350 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7351 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7352 cross_compiling=$ac_cv_prog_cxx_cross
7354 cat > conftest.$ac_ext <<EOF
7355 #line 7356 "configure
"
7356 #include "confdefs.h
"
7358 #ifdef HAVE_IEEEFP_H
7366 if { (eval echo configure:7367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7368 glibcpp_cv_func_isinf_use=yes
7370 echo "configure
: failed program was
:" >&5
7371 cat conftest.$ac_ext >&5
7373 glibcpp_cv_func_isinf_use=no
7377 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7378 ac_cpp='$CPP $CPPFLAGS'
7379 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7380 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7381 cross_compiling=$ac_cv_prog_cc_cross
7387 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
7389 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
7390 for ac_func in isinf
7392 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7393 echo "configure
:7394: checking
for $ac_func" >&5
7394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7395 echo $ac_n "(cached
) $ac_c" 1>&6
7397 cat > conftest.$ac_ext <<EOF
7398 #line 7399 "configure
"
7399 #include "confdefs.h
"
7400 /* System header to define __stub macros and hopefully few prototypes,
7401 which can conflict with char $ac_func(); below. */
7403 /* Override any gcc2 internal prototype to avoid an error. */
7404 /* We use char because int might match the return type of a gcc2
7405 builtin and then its argument prototype would still apply. */
7410 /* The GNU C library defines this for functions which it implements
7411 to always fail with ENOSYS. Some functions are actually named
7412 something starting with __ and the normal name is an alias. */
7413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7421 if { (eval echo configure:7422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7423 eval "ac_cv_func_
$ac_func=yes"
7425 echo "configure
: failed program was
:" >&5
7426 cat conftest.$ac_ext >&5
7428 eval "ac_cv_func_
$ac_func=no
"
7433 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7434 echo "$ac_t""yes" 1>&6
7435 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7436 cat >> confdefs.h <<EOF
7437 #define $ac_tr_func 1
7441 echo "$ac_t""no
" 1>&6
7447 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
7448 echo "configure
:7449: checking
for _isinf declaration
" >&5
7449 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
7450 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
7451 echo $ac_n "(cached
) $ac_c" 1>&6
7456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7457 ac_cpp='$CXXCPP $CPPFLAGS'
7458 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7459 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7460 cross_compiling=$ac_cv_prog_cxx_cross
7462 cat > conftest.$ac_ext <<EOF
7463 #line 7464 "configure
"
7464 #include "confdefs.h
"
7466 #ifdef HAVE_IEEEFP_H
7474 if { (eval echo configure:7475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7476 glibcpp_cv_func__isinf_use=yes
7478 echo "configure
: failed program was
:" >&5
7479 cat conftest.$ac_ext >&5
7481 glibcpp_cv_func__isinf_use=no
7485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7486 ac_cpp='$CPP $CPPFLAGS'
7487 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7488 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7489 cross_compiling=$ac_cv_prog_cc_cross
7495 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
7497 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
7498 for ac_func in _isinf
7500 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7501 echo "configure
:7502: checking
for $ac_func" >&5
7502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7503 echo $ac_n "(cached
) $ac_c" 1>&6
7505 cat > conftest.$ac_ext <<EOF
7506 #line 7507 "configure
"
7507 #include "confdefs.h
"
7508 /* System header to define __stub macros and hopefully few prototypes,
7509 which can conflict with char $ac_func(); below. */
7511 /* Override any gcc2 internal prototype to avoid an error. */
7512 /* We use char because int might match the return type of a gcc2
7513 builtin and then its argument prototype would still apply. */
7518 /* The GNU C library defines this for functions which it implements
7519 to always fail with ENOSYS. Some functions are actually named
7520 something starting with __ and the normal name is an alias. */
7521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7529 if { (eval echo configure:7530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7531 eval "ac_cv_func_
$ac_func=yes"
7533 echo "configure
: failed program was
:" >&5
7534 cat conftest.$ac_ext >&5
7536 eval "ac_cv_func_
$ac_func=no
"
7541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7542 echo "$ac_t""yes" 1>&6
7543 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7544 cat >> confdefs.h <<EOF
7545 #define $ac_tr_func 1
7549 echo "$ac_t""no
" 1>&6
7558 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
7559 echo "configure
:7560: checking
for isnan declaration
" >&5
7560 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
7561 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
7562 echo $ac_n "(cached
) $ac_c" 1>&6
7567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7568 ac_cpp='$CXXCPP $CPPFLAGS'
7569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7571 cross_compiling=$ac_cv_prog_cxx_cross
7573 cat > conftest.$ac_ext <<EOF
7574 #line 7575 "configure
"
7575 #include "confdefs.h
"
7577 #ifdef HAVE_IEEEFP_H
7585 if { (eval echo configure:7586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7587 glibcpp_cv_func_isnan_use=yes
7589 echo "configure
: failed program was
:" >&5
7590 cat conftest.$ac_ext >&5
7592 glibcpp_cv_func_isnan_use=no
7596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7597 ac_cpp='$CPP $CPPFLAGS'
7598 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7599 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7600 cross_compiling=$ac_cv_prog_cc_cross
7606 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
7608 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
7609 for ac_func in isnan
7611 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7612 echo "configure
:7613: checking
for $ac_func" >&5
7613 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7614 echo $ac_n "(cached
) $ac_c" 1>&6
7616 cat > conftest.$ac_ext <<EOF
7617 #line 7618 "configure
"
7618 #include "confdefs.h
"
7619 /* System header to define __stub macros and hopefully few prototypes,
7620 which can conflict with char $ac_func(); below. */
7622 /* Override any gcc2 internal prototype to avoid an error. */
7623 /* We use char because int might match the return type of a gcc2
7624 builtin and then its argument prototype would still apply. */
7629 /* The GNU C library defines this for functions which it implements
7630 to always fail with ENOSYS. Some functions are actually named
7631 something starting with __ and the normal name is an alias. */
7632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7640 if { (eval echo configure:7641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7642 eval "ac_cv_func_
$ac_func=yes"
7644 echo "configure
: failed program was
:" >&5
7645 cat conftest.$ac_ext >&5
7647 eval "ac_cv_func_
$ac_func=no
"
7652 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7653 echo "$ac_t""yes" 1>&6
7654 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7655 cat >> confdefs.h <<EOF
7656 #define $ac_tr_func 1
7660 echo "$ac_t""no
" 1>&6
7666 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
7667 echo "configure
:7668: checking
for _isnan declaration
" >&5
7668 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
7669 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
7670 echo $ac_n "(cached
) $ac_c" 1>&6
7675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7676 ac_cpp='$CXXCPP $CPPFLAGS'
7677 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7678 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7679 cross_compiling=$ac_cv_prog_cxx_cross
7681 cat > conftest.$ac_ext <<EOF
7682 #line 7683 "configure
"
7683 #include "confdefs.h
"
7685 #ifdef HAVE_IEEEFP_H
7693 if { (eval echo configure:7694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7695 glibcpp_cv_func__isnan_use=yes
7697 echo "configure
: failed program was
:" >&5
7698 cat conftest.$ac_ext >&5
7700 glibcpp_cv_func__isnan_use=no
7704 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7705 ac_cpp='$CPP $CPPFLAGS'
7706 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7707 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7708 cross_compiling=$ac_cv_prog_cc_cross
7714 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
7716 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
7717 for ac_func in _isnan
7719 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7720 echo "configure
:7721: checking
for $ac_func" >&5
7721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7722 echo $ac_n "(cached
) $ac_c" 1>&6
7724 cat > conftest.$ac_ext <<EOF
7725 #line 7726 "configure
"
7726 #include "confdefs.h
"
7727 /* System header to define __stub macros and hopefully few prototypes,
7728 which can conflict with char $ac_func(); below. */
7730 /* Override any gcc2 internal prototype to avoid an error. */
7731 /* We use char because int might match the return type of a gcc2
7732 builtin and then its argument prototype would still apply. */
7737 /* The GNU C library defines this for functions which it implements
7738 to always fail with ENOSYS. Some functions are actually named
7739 something starting with __ and the normal name is an alias. */
7740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7748 if { (eval echo configure:7749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7750 eval "ac_cv_func_
$ac_func=yes"
7752 echo "configure
: failed program was
:" >&5
7753 cat conftest.$ac_ext >&5
7755 eval "ac_cv_func_
$ac_func=no
"
7760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7761 echo "$ac_t""yes" 1>&6
7762 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7763 cat >> confdefs.h <<EOF
7764 #define $ac_tr_func 1
7768 echo "$ac_t""no
" 1>&6
7777 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
7778 echo "configure
:7779: checking
for finite declaration
" >&5
7779 if test x${glibcpp_cv_func_finite_use+set} != xset; then
7780 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
7781 echo $ac_n "(cached
) $ac_c" 1>&6
7786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7787 ac_cpp='$CXXCPP $CPPFLAGS'
7788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7790 cross_compiling=$ac_cv_prog_cxx_cross
7792 cat > conftest.$ac_ext <<EOF
7793 #line 7794 "configure
"
7794 #include "confdefs.h
"
7796 #ifdef HAVE_IEEEFP_H
7804 if { (eval echo configure:7805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7806 glibcpp_cv_func_finite_use=yes
7808 echo "configure
: failed program was
:" >&5
7809 cat conftest.$ac_ext >&5
7811 glibcpp_cv_func_finite_use=no
7815 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7816 ac_cpp='$CPP $CPPFLAGS'
7817 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7818 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7819 cross_compiling=$ac_cv_prog_cc_cross
7825 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
7827 if test x$glibcpp_cv_func_finite_use = x"yes"; then
7828 for ac_func in finite
7830 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7831 echo "configure
:7832: checking
for $ac_func" >&5
7832 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7833 echo $ac_n "(cached
) $ac_c" 1>&6
7835 cat > conftest.$ac_ext <<EOF
7836 #line 7837 "configure
"
7837 #include "confdefs.h
"
7838 /* System header to define __stub macros and hopefully few prototypes,
7839 which can conflict with char $ac_func(); below. */
7841 /* Override any gcc2 internal prototype to avoid an error. */
7842 /* We use char because int might match the return type of a gcc2
7843 builtin and then its argument prototype would still apply. */
7848 /* The GNU C library defines this for functions which it implements
7849 to always fail with ENOSYS. Some functions are actually named
7850 something starting with __ and the normal name is an alias. */
7851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7859 if { (eval echo configure:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7861 eval "ac_cv_func_
$ac_func=yes"
7863 echo "configure
: failed program was
:" >&5
7864 cat conftest.$ac_ext >&5
7866 eval "ac_cv_func_
$ac_func=no
"
7871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7872 echo "$ac_t""yes" 1>&6
7873 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7874 cat >> confdefs.h <<EOF
7875 #define $ac_tr_func 1
7879 echo "$ac_t""no
" 1>&6
7885 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
7886 echo "configure
:7887: checking
for _finite declaration
" >&5
7887 if test x${glibcpp_cv_func__finite_use+set} != xset; then
7888 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
7889 echo $ac_n "(cached
) $ac_c" 1>&6
7894 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7895 ac_cpp='$CXXCPP $CPPFLAGS'
7896 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7897 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7898 cross_compiling=$ac_cv_prog_cxx_cross
7900 cat > conftest.$ac_ext <<EOF
7901 #line 7902 "configure
"
7902 #include "confdefs.h
"
7904 #ifdef HAVE_IEEEFP_H
7912 if { (eval echo configure:7913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7914 glibcpp_cv_func__finite_use=yes
7916 echo "configure
: failed program was
:" >&5
7917 cat conftest.$ac_ext >&5
7919 glibcpp_cv_func__finite_use=no
7923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7924 ac_cpp='$CPP $CPPFLAGS'
7925 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7926 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7927 cross_compiling=$ac_cv_prog_cc_cross
7933 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
7935 if test x$glibcpp_cv_func__finite_use = x"yes"; then
7936 for ac_func in _finite
7938 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7939 echo "configure
:7940: checking
for $ac_func" >&5
7940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7941 echo $ac_n "(cached
) $ac_c" 1>&6
7943 cat > conftest.$ac_ext <<EOF
7944 #line 7945 "configure
"
7945 #include "confdefs.h
"
7946 /* System header to define __stub macros and hopefully few prototypes,
7947 which can conflict with char $ac_func(); below. */
7949 /* Override any gcc2 internal prototype to avoid an error. */
7950 /* We use char because int might match the return type of a gcc2
7951 builtin and then its argument prototype would still apply. */
7956 /* The GNU C library defines this for functions which it implements
7957 to always fail with ENOSYS. Some functions are actually named
7958 something starting with __ and the normal name is an alias. */
7959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7967 if { (eval echo configure:7968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7969 eval "ac_cv_func_
$ac_func=yes"
7971 echo "configure
: failed program was
:" >&5
7972 cat conftest.$ac_ext >&5
7974 eval "ac_cv_func_
$ac_func=no
"
7979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7980 echo "$ac_t""yes" 1>&6
7981 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7982 cat >> confdefs.h <<EOF
7983 #define $ac_tr_func 1
7987 echo "$ac_t""no
" 1>&6
7996 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
7997 echo "configure
:7998: checking
for copysign declaration
" >&5
7998 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
7999 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
8000 echo $ac_n "(cached
) $ac_c" 1>&6
8005 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8006 ac_cpp='$CXXCPP $CPPFLAGS'
8007 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8008 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8009 cross_compiling=$ac_cv_prog_cxx_cross
8011 cat > conftest.$ac_ext <<EOF
8012 #line 8013 "configure
"
8013 #include "confdefs.h
"
8019 if { (eval echo configure:8020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8021 glibcpp_cv_func_copysign_use=yes
8023 echo "configure
: failed program was
:" >&5
8024 cat conftest.$ac_ext >&5
8026 glibcpp_cv_func_copysign_use=no
8030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8031 ac_cpp='$CPP $CPPFLAGS'
8032 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8033 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8034 cross_compiling=$ac_cv_prog_cc_cross
8040 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
8042 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
8043 for ac_func in copysign
8045 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8046 echo "configure
:8047: checking
for $ac_func" >&5
8047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8048 echo $ac_n "(cached
) $ac_c" 1>&6
8050 cat > conftest.$ac_ext <<EOF
8051 #line 8052 "configure
"
8052 #include "confdefs.h
"
8053 /* System header to define __stub macros and hopefully few prototypes,
8054 which can conflict with char $ac_func(); below. */
8056 /* Override any gcc2 internal prototype to avoid an error. */
8057 /* We use char because int might match the return type of a gcc2
8058 builtin and then its argument prototype would still apply. */
8063 /* The GNU C library defines this for functions which it implements
8064 to always fail with ENOSYS. Some functions are actually named
8065 something starting with __ and the normal name is an alias. */
8066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8074 if { (eval echo configure:8075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8076 eval "ac_cv_func_
$ac_func=yes"
8078 echo "configure
: failed program was
:" >&5
8079 cat conftest.$ac_ext >&5
8081 eval "ac_cv_func_
$ac_func=no
"
8086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8087 echo "$ac_t""yes" 1>&6
8088 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8089 cat >> confdefs.h <<EOF
8090 #define $ac_tr_func 1
8094 echo "$ac_t""no
" 1>&6
8100 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
8101 echo "configure
:8102: checking
for _copysign declaration
" >&5
8102 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
8103 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
8104 echo $ac_n "(cached
) $ac_c" 1>&6
8109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8110 ac_cpp='$CXXCPP $CPPFLAGS'
8111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8113 cross_compiling=$ac_cv_prog_cxx_cross
8115 cat > conftest.$ac_ext <<EOF
8116 #line 8117 "configure
"
8117 #include "confdefs.h
"
8123 if { (eval echo configure:8124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8125 glibcpp_cv_func__copysign_use=yes
8127 echo "configure
: failed program was
:" >&5
8128 cat conftest.$ac_ext >&5
8130 glibcpp_cv_func__copysign_use=no
8134 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8135 ac_cpp='$CPP $CPPFLAGS'
8136 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8137 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8138 cross_compiling=$ac_cv_prog_cc_cross
8144 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
8146 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
8147 for ac_func in _copysign
8149 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8150 echo "configure
:8151: checking
for $ac_func" >&5
8151 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8152 echo $ac_n "(cached
) $ac_c" 1>&6
8154 cat > conftest.$ac_ext <<EOF
8155 #line 8156 "configure
"
8156 #include "confdefs.h
"
8157 /* System header to define __stub macros and hopefully few prototypes,
8158 which can conflict with char $ac_func(); below. */
8160 /* Override any gcc2 internal prototype to avoid an error. */
8161 /* We use char because int might match the return type of a gcc2
8162 builtin and then its argument prototype would still apply. */
8167 /* The GNU C library defines this for functions which it implements
8168 to always fail with ENOSYS. Some functions are actually named
8169 something starting with __ and the normal name is an alias. */
8170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8178 if { (eval echo configure:8179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8180 eval "ac_cv_func_
$ac_func=yes"
8182 echo "configure
: failed program was
:" >&5
8183 cat conftest.$ac_ext >&5
8185 eval "ac_cv_func_
$ac_func=no
"
8190 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8191 echo "$ac_t""yes" 1>&6
8192 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8193 cat >> confdefs.h <<EOF
8194 #define $ac_tr_func 1
8198 echo "$ac_t""no
" 1>&6
8207 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
8208 echo "configure
:8209: checking
for sincos declaration
" >&5
8209 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
8210 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
8211 echo $ac_n "(cached
) $ac_c" 1>&6
8216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8217 ac_cpp='$CXXCPP $CPPFLAGS'
8218 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8219 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8220 cross_compiling=$ac_cv_prog_cxx_cross
8222 cat > conftest.$ac_ext <<EOF
8223 #line 8224 "configure
"
8224 #include "confdefs.h
"
8230 if { (eval echo configure:8231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8232 glibcpp_cv_func_sincos_use=yes
8234 echo "configure
: failed program was
:" >&5
8235 cat conftest.$ac_ext >&5
8237 glibcpp_cv_func_sincos_use=no
8241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8242 ac_cpp='$CPP $CPPFLAGS'
8243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8245 cross_compiling=$ac_cv_prog_cc_cross
8251 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
8253 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
8254 for ac_func in sincos
8256 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8257 echo "configure
:8258: checking
for $ac_func" >&5
8258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8259 echo $ac_n "(cached
) $ac_c" 1>&6
8261 cat > conftest.$ac_ext <<EOF
8262 #line 8263 "configure
"
8263 #include "confdefs.h
"
8264 /* System header to define __stub macros and hopefully few prototypes,
8265 which can conflict with char $ac_func(); below. */
8267 /* Override any gcc2 internal prototype to avoid an error. */
8268 /* We use char because int might match the return type of a gcc2
8269 builtin and then its argument prototype would still apply. */
8274 /* The GNU C library defines this for functions which it implements
8275 to always fail with ENOSYS. Some functions are actually named
8276 something starting with __ and the normal name is an alias. */
8277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8285 if { (eval echo configure:8286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8287 eval "ac_cv_func_
$ac_func=yes"
8289 echo "configure
: failed program was
:" >&5
8290 cat conftest.$ac_ext >&5
8292 eval "ac_cv_func_
$ac_func=no
"
8297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8298 echo "$ac_t""yes" 1>&6
8299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8300 cat >> confdefs.h <<EOF
8301 #define $ac_tr_func 1
8305 echo "$ac_t""no
" 1>&6
8311 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
8312 echo "configure
:8313: checking
for _sincos declaration
" >&5
8313 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
8314 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
8315 echo $ac_n "(cached
) $ac_c" 1>&6
8320 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8321 ac_cpp='$CXXCPP $CPPFLAGS'
8322 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8323 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8324 cross_compiling=$ac_cv_prog_cxx_cross
8326 cat > conftest.$ac_ext <<EOF
8327 #line 8328 "configure
"
8328 #include "confdefs.h
"
8334 if { (eval echo configure:8335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8336 glibcpp_cv_func__sincos_use=yes
8338 echo "configure
: failed program was
:" >&5
8339 cat conftest.$ac_ext >&5
8341 glibcpp_cv_func__sincos_use=no
8345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8346 ac_cpp='$CPP $CPPFLAGS'
8347 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8348 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8349 cross_compiling=$ac_cv_prog_cc_cross
8355 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
8357 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
8358 for ac_func in _sincos
8360 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8361 echo "configure
:8362: checking
for $ac_func" >&5
8362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8363 echo $ac_n "(cached
) $ac_c" 1>&6
8365 cat > conftest.$ac_ext <<EOF
8366 #line 8367 "configure
"
8367 #include "confdefs.h
"
8368 /* System header to define __stub macros and hopefully few prototypes,
8369 which can conflict with char $ac_func(); below. */
8371 /* Override any gcc2 internal prototype to avoid an error. */
8372 /* We use char because int might match the return type of a gcc2
8373 builtin and then its argument prototype would still apply. */
8378 /* The GNU C library defines this for functions which it implements
8379 to always fail with ENOSYS. Some functions are actually named
8380 something starting with __ and the normal name is an alias. */
8381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8389 if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8391 eval "ac_cv_func_
$ac_func=yes"
8393 echo "configure
: failed program was
:" >&5
8394 cat conftest.$ac_ext >&5
8396 eval "ac_cv_func_
$ac_func=no
"
8401 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8402 echo "$ac_t""yes" 1>&6
8403 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8404 cat >> confdefs.h <<EOF
8405 #define $ac_tr_func 1
8409 echo "$ac_t""no
" 1>&6
8418 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
8419 echo "configure
:8420: checking
for fpclass declaration
" >&5
8420 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
8421 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
8422 echo $ac_n "(cached
) $ac_c" 1>&6
8427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8428 ac_cpp='$CXXCPP $CPPFLAGS'
8429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8431 cross_compiling=$ac_cv_prog_cxx_cross
8433 cat > conftest.$ac_ext <<EOF
8434 #line 8435 "configure
"
8435 #include "confdefs.h
"
8437 #ifdef HAVE_IEEEFP_H
8445 if { (eval echo configure:8446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8447 glibcpp_cv_func_fpclass_use=yes
8449 echo "configure
: failed program was
:" >&5
8450 cat conftest.$ac_ext >&5
8452 glibcpp_cv_func_fpclass_use=no
8456 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8457 ac_cpp='$CPP $CPPFLAGS'
8458 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8459 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8460 cross_compiling=$ac_cv_prog_cc_cross
8466 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
8468 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
8469 for ac_func in fpclass
8471 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8472 echo "configure
:8473: checking
for $ac_func" >&5
8473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8474 echo $ac_n "(cached
) $ac_c" 1>&6
8476 cat > conftest.$ac_ext <<EOF
8477 #line 8478 "configure
"
8478 #include "confdefs.h
"
8479 /* System header to define __stub macros and hopefully few prototypes,
8480 which can conflict with char $ac_func(); below. */
8482 /* Override any gcc2 internal prototype to avoid an error. */
8483 /* We use char because int might match the return type of a gcc2
8484 builtin and then its argument prototype would still apply. */
8489 /* The GNU C library defines this for functions which it implements
8490 to always fail with ENOSYS. Some functions are actually named
8491 something starting with __ and the normal name is an alias. */
8492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8500 if { (eval echo configure:8501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8502 eval "ac_cv_func_
$ac_func=yes"
8504 echo "configure
: failed program was
:" >&5
8505 cat conftest.$ac_ext >&5
8507 eval "ac_cv_func_
$ac_func=no
"
8512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8513 echo "$ac_t""yes" 1>&6
8514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8515 cat >> confdefs.h <<EOF
8516 #define $ac_tr_func 1
8520 echo "$ac_t""no
" 1>&6
8526 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
8527 echo "configure
:8528: checking
for _fpclass declaration
" >&5
8528 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
8529 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
8530 echo $ac_n "(cached
) $ac_c" 1>&6
8535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8536 ac_cpp='$CXXCPP $CPPFLAGS'
8537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8539 cross_compiling=$ac_cv_prog_cxx_cross
8541 cat > conftest.$ac_ext <<EOF
8542 #line 8543 "configure
"
8543 #include "confdefs.h
"
8545 #ifdef HAVE_IEEEFP_H
8553 if { (eval echo configure:8554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8555 glibcpp_cv_func__fpclass_use=yes
8557 echo "configure
: failed program was
:" >&5
8558 cat conftest.$ac_ext >&5
8560 glibcpp_cv_func__fpclass_use=no
8564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8565 ac_cpp='$CPP $CPPFLAGS'
8566 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8567 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8568 cross_compiling=$ac_cv_prog_cc_cross
8574 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
8576 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
8577 for ac_func in _fpclass
8579 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8580 echo "configure
:8581: checking
for $ac_func" >&5
8581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8582 echo $ac_n "(cached
) $ac_c" 1>&6
8584 cat > conftest.$ac_ext <<EOF
8585 #line 8586 "configure
"
8586 #include "confdefs.h
"
8587 /* System header to define __stub macros and hopefully few prototypes,
8588 which can conflict with char $ac_func(); below. */
8590 /* Override any gcc2 internal prototype to avoid an error. */
8591 /* We use char because int might match the return type of a gcc2
8592 builtin and then its argument prototype would still apply. */
8597 /* The GNU C library defines this for functions which it implements
8598 to always fail with ENOSYS. Some functions are actually named
8599 something starting with __ and the normal name is an alias. */
8600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8608 if { (eval echo configure:8609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8610 eval "ac_cv_func_
$ac_func=yes"
8612 echo "configure
: failed program was
:" >&5
8613 cat conftest.$ac_ext >&5
8615 eval "ac_cv_func_
$ac_func=no
"
8620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8621 echo "$ac_t""yes" 1>&6
8622 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8623 cat >> confdefs.h <<EOF
8624 #define $ac_tr_func 1
8628 echo "$ac_t""no
" 1>&6
8637 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
8638 echo "configure
:8639: checking
for qfpclass declaration
" >&5
8639 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
8640 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
8641 echo $ac_n "(cached
) $ac_c" 1>&6
8646 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8647 ac_cpp='$CXXCPP $CPPFLAGS'
8648 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8649 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8650 cross_compiling=$ac_cv_prog_cxx_cross
8652 cat > conftest.$ac_ext <<EOF
8653 #line 8654 "configure
"
8654 #include "confdefs.h
"
8656 #ifdef HAVE_IEEEFP_H
8664 if { (eval echo configure:8665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8666 glibcpp_cv_func_qfpclass_use=yes
8668 echo "configure
: failed program was
:" >&5
8669 cat conftest.$ac_ext >&5
8671 glibcpp_cv_func_qfpclass_use=no
8675 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8676 ac_cpp='$CPP $CPPFLAGS'
8677 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8678 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8679 cross_compiling=$ac_cv_prog_cc_cross
8685 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
8687 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
8688 for ac_func in qfpclass
8690 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8691 echo "configure
:8692: checking
for $ac_func" >&5
8692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8693 echo $ac_n "(cached
) $ac_c" 1>&6
8695 cat > conftest.$ac_ext <<EOF
8696 #line 8697 "configure
"
8697 #include "confdefs.h
"
8698 /* System header to define __stub macros and hopefully few prototypes,
8699 which can conflict with char $ac_func(); below. */
8701 /* Override any gcc2 internal prototype to avoid an error. */
8702 /* We use char because int might match the return type of a gcc2
8703 builtin and then its argument prototype would still apply. */
8708 /* The GNU C library defines this for functions which it implements
8709 to always fail with ENOSYS. Some functions are actually named
8710 something starting with __ and the normal name is an alias. */
8711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8719 if { (eval echo configure:8720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8721 eval "ac_cv_func_
$ac_func=yes"
8723 echo "configure
: failed program was
:" >&5
8724 cat conftest.$ac_ext >&5
8726 eval "ac_cv_func_
$ac_func=no
"
8731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8732 echo "$ac_t""yes" 1>&6
8733 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8734 cat >> confdefs.h <<EOF
8735 #define $ac_tr_func 1
8739 echo "$ac_t""no
" 1>&6
8745 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
8746 echo "configure
:8747: checking
for _qfpclass declaration
" >&5
8747 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
8748 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
8749 echo $ac_n "(cached
) $ac_c" 1>&6
8754 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8755 ac_cpp='$CXXCPP $CPPFLAGS'
8756 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8757 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8758 cross_compiling=$ac_cv_prog_cxx_cross
8760 cat > conftest.$ac_ext <<EOF
8761 #line 8762 "configure
"
8762 #include "confdefs.h
"
8764 #ifdef HAVE_IEEEFP_H
8772 if { (eval echo configure:8773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8774 glibcpp_cv_func__qfpclass_use=yes
8776 echo "configure
: failed program was
:" >&5
8777 cat conftest.$ac_ext >&5
8779 glibcpp_cv_func__qfpclass_use=no
8783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8784 ac_cpp='$CPP $CPPFLAGS'
8785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8787 cross_compiling=$ac_cv_prog_cc_cross
8793 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
8795 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
8796 for ac_func in _qfpclass
8798 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8799 echo "configure
:8800: checking
for $ac_func" >&5
8800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8801 echo $ac_n "(cached
) $ac_c" 1>&6
8803 cat > conftest.$ac_ext <<EOF
8804 #line 8805 "configure
"
8805 #include "confdefs.h
"
8806 /* System header to define __stub macros and hopefully few prototypes,
8807 which can conflict with char $ac_func(); below. */
8809 /* Override any gcc2 internal prototype to avoid an error. */
8810 /* We use char because int might match the return type of a gcc2
8811 builtin and then its argument prototype would still apply. */
8816 /* The GNU C library defines this for functions which it implements
8817 to always fail with ENOSYS. Some functions are actually named
8818 something starting with __ and the normal name is an alias. */
8819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8827 if { (eval echo configure:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8829 eval "ac_cv_func_
$ac_func=yes"
8831 echo "configure
: failed program was
:" >&5
8832 cat conftest.$ac_ext >&5
8834 eval "ac_cv_func_
$ac_func=no
"
8839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8840 echo "$ac_t""yes" 1>&6
8841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8842 cat >> confdefs.h <<EOF
8843 #define $ac_tr_func 1
8847 echo "$ac_t""no
" 1>&6
8856 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
8857 echo "configure
:8858: checking
for hypot declaration
" >&5
8858 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
8859 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
8860 echo $ac_n "(cached
) $ac_c" 1>&6
8865 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8866 ac_cpp='$CXXCPP $CPPFLAGS'
8867 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8868 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8869 cross_compiling=$ac_cv_prog_cxx_cross
8871 cat > conftest.$ac_ext <<EOF
8872 #line 8873 "configure
"
8873 #include "confdefs.h
"
8879 if { (eval echo configure:8880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8881 glibcpp_cv_func_hypot_use=yes
8883 echo "configure
: failed program was
:" >&5
8884 cat conftest.$ac_ext >&5
8886 glibcpp_cv_func_hypot_use=no
8890 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8891 ac_cpp='$CPP $CPPFLAGS'
8892 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8893 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8894 cross_compiling=$ac_cv_prog_cc_cross
8900 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
8902 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
8903 for ac_func in hypot
8905 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8906 echo "configure
:8907: checking
for $ac_func" >&5
8907 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8908 echo $ac_n "(cached
) $ac_c" 1>&6
8910 cat > conftest.$ac_ext <<EOF
8911 #line 8912 "configure
"
8912 #include "confdefs.h
"
8913 /* System header to define __stub macros and hopefully few prototypes,
8914 which can conflict with char $ac_func(); below. */
8916 /* Override any gcc2 internal prototype to avoid an error. */
8917 /* We use char because int might match the return type of a gcc2
8918 builtin and then its argument prototype would still apply. */
8923 /* The GNU C library defines this for functions which it implements
8924 to always fail with ENOSYS. Some functions are actually named
8925 something starting with __ and the normal name is an alias. */
8926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8934 if { (eval echo configure:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8936 eval "ac_cv_func_
$ac_func=yes"
8938 echo "configure
: failed program was
:" >&5
8939 cat conftest.$ac_ext >&5
8941 eval "ac_cv_func_
$ac_func=no
"
8946 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8947 echo "$ac_t""yes" 1>&6
8948 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8949 cat >> confdefs.h <<EOF
8950 #define $ac_tr_func 1
8954 echo "$ac_t""no
" 1>&6
8960 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
8961 echo "configure
:8962: checking
for _hypot declaration
" >&5
8962 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
8963 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
8964 echo $ac_n "(cached
) $ac_c" 1>&6
8969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8970 ac_cpp='$CXXCPP $CPPFLAGS'
8971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8973 cross_compiling=$ac_cv_prog_cxx_cross
8975 cat > conftest.$ac_ext <<EOF
8976 #line 8977 "configure
"
8977 #include "confdefs.h
"
8983 if { (eval echo configure:8984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8985 glibcpp_cv_func__hypot_use=yes
8987 echo "configure
: failed program was
:" >&5
8988 cat conftest.$ac_ext >&5
8990 glibcpp_cv_func__hypot_use=no
8994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8995 ac_cpp='$CPP $CPPFLAGS'
8996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8998 cross_compiling=$ac_cv_prog_cc_cross
9004 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
9006 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
9007 for ac_func in _hypot
9009 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9010 echo "configure
:9011: checking
for $ac_func" >&5
9011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9012 echo $ac_n "(cached
) $ac_c" 1>&6
9014 cat > conftest.$ac_ext <<EOF
9015 #line 9016 "configure
"
9016 #include "confdefs.h
"
9017 /* System header to define __stub macros and hopefully few prototypes,
9018 which can conflict with char $ac_func(); below. */
9020 /* Override any gcc2 internal prototype to avoid an error. */
9021 /* We use char because int might match the return type of a gcc2
9022 builtin and then its argument prototype would still apply. */
9027 /* The GNU C library defines this for functions which it implements
9028 to always fail with ENOSYS. Some functions are actually named
9029 something starting with __ and the normal name is an alias. */
9030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9038 if { (eval echo configure:9039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9040 eval "ac_cv_func_
$ac_func=yes"
9042 echo "configure
: failed program was
:" >&5
9043 cat conftest.$ac_ext >&5
9045 eval "ac_cv_func_
$ac_func=no
"
9050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9051 echo "$ac_t""yes" 1>&6
9052 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9053 cat >> confdefs.h <<EOF
9054 #define $ac_tr_func 1
9058 echo "$ac_t""no
" 1>&6
9067 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
9068 echo "configure
:9069: checking
for float trig functions
" >&5
9069 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
9070 echo $ac_n "(cached
) $ac_c" 1>&6
9075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9076 ac_cpp='$CXXCPP $CPPFLAGS'
9077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9079 cross_compiling=$ac_cv_prog_cxx_cross
9081 cat > conftest.$ac_ext <<EOF
9082 #line 9083 "configure
"
9083 #include "confdefs.h
"
9086 `for x in acosf asinf atanf \
9088 coshf sinhf tanhf; do echo "$x (0);"; done`
9091 if { (eval echo configure:9092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9093 glibcpp_cv_func_float_trig_use=yes
9095 echo "configure
: failed program was
:" >&5
9096 cat conftest.$ac_ext >&5
9098 glibcpp_cv_func_float_trig_use=no
9102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9103 ac_cpp='$CPP $CPPFLAGS'
9104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9106 cross_compiling=$ac_cv_prog_cc_cross
9110 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
9111 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
9112 for ac_func in acosf asinf atanf \
9116 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9117 echo "configure
:9118: checking
for $ac_func" >&5
9118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9119 echo $ac_n "(cached
) $ac_c" 1>&6
9121 cat > conftest.$ac_ext <<EOF
9122 #line 9123 "configure
"
9123 #include "confdefs.h
"
9124 /* System header to define __stub macros and hopefully few prototypes,
9125 which can conflict with char $ac_func(); below. */
9127 /* Override any gcc2 internal prototype to avoid an error. */
9128 /* We use char because int might match the return type of a gcc2
9129 builtin and then its argument prototype would still apply. */
9134 /* The GNU C library defines this for functions which it implements
9135 to always fail with ENOSYS. Some functions are actually named
9136 something starting with __ and the normal name is an alias. */
9137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9145 if { (eval echo configure:9146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9147 eval "ac_cv_func_
$ac_func=yes"
9149 echo "configure
: failed program was
:" >&5
9150 cat conftest.$ac_ext >&5
9152 eval "ac_cv_func_
$ac_func=no
"
9157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9158 echo "$ac_t""yes" 1>&6
9159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9160 cat >> confdefs.h <<EOF
9161 #define $ac_tr_func 1
9165 echo "$ac_t""no
" 1>&6
9172 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
9173 echo "configure
:9174: checking
for float round functions
" >&5
9174 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
9175 echo $ac_n "(cached
) $ac_c" 1>&6
9180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9181 ac_cpp='$CXXCPP $CPPFLAGS'
9182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9184 cross_compiling=$ac_cv_prog_cxx_cross
9186 cat > conftest.$ac_ext <<EOF
9187 #line 9188 "configure
"
9188 #include "confdefs.h
"
9191 `for x in ceilf floorf; do echo "$x (0);"; done`
9194 if { (eval echo configure:9195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9196 glibcpp_cv_func_float_round_use=yes
9198 echo "configure
: failed program was
:" >&5
9199 cat conftest.$ac_ext >&5
9201 glibcpp_cv_func_float_round_use=no
9205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9206 ac_cpp='$CPP $CPPFLAGS'
9207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9209 cross_compiling=$ac_cv_prog_cc_cross
9213 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
9214 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
9215 for ac_func in ceilf floorf
9217 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9218 echo "configure
:9219: checking
for $ac_func" >&5
9219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9220 echo $ac_n "(cached
) $ac_c" 1>&6
9222 cat > conftest.$ac_ext <<EOF
9223 #line 9224 "configure
"
9224 #include "confdefs.h
"
9225 /* System header to define __stub macros and hopefully few prototypes,
9226 which can conflict with char $ac_func(); below. */
9228 /* Override any gcc2 internal prototype to avoid an error. */
9229 /* We use char because int might match the return type of a gcc2
9230 builtin and then its argument prototype would still apply. */
9235 /* The GNU C library defines this for functions which it implements
9236 to always fail with ENOSYS. Some functions are actually named
9237 something starting with __ and the normal name is an alias. */
9238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9246 if { (eval echo configure:9247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9248 eval "ac_cv_func_
$ac_func=yes"
9250 echo "configure
: failed program was
:" >&5
9251 cat conftest.$ac_ext >&5
9253 eval "ac_cv_func_
$ac_func=no
"
9258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9259 echo "$ac_t""yes" 1>&6
9260 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9261 cat >> confdefs.h <<EOF
9262 #define $ac_tr_func 1
9266 echo "$ac_t""no
" 1>&6
9274 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
9275 echo "configure
:9276: checking
for isnanf declaration
" >&5
9276 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
9277 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
9278 echo $ac_n "(cached
) $ac_c" 1>&6
9283 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9284 ac_cpp='$CXXCPP $CPPFLAGS'
9285 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9286 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9287 cross_compiling=$ac_cv_prog_cxx_cross
9289 cat > conftest.$ac_ext <<EOF
9290 #line 9291 "configure
"
9291 #include "confdefs.h
"
9293 #ifdef HAVE_IEEEFP_H
9301 if { (eval echo configure:9302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9303 glibcpp_cv_func_isnanf_use=yes
9305 echo "configure
: failed program was
:" >&5
9306 cat conftest.$ac_ext >&5
9308 glibcpp_cv_func_isnanf_use=no
9312 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9313 ac_cpp='$CPP $CPPFLAGS'
9314 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9315 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9316 cross_compiling=$ac_cv_prog_cc_cross
9322 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
9324 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
9325 for ac_func in isnanf
9327 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9328 echo "configure
:9329: checking
for $ac_func" >&5
9329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9330 echo $ac_n "(cached
) $ac_c" 1>&6
9332 cat > conftest.$ac_ext <<EOF
9333 #line 9334 "configure
"
9334 #include "confdefs.h
"
9335 /* System header to define __stub macros and hopefully few prototypes,
9336 which can conflict with char $ac_func(); below. */
9338 /* Override any gcc2 internal prototype to avoid an error. */
9339 /* We use char because int might match the return type of a gcc2
9340 builtin and then its argument prototype would still apply. */
9345 /* The GNU C library defines this for functions which it implements
9346 to always fail with ENOSYS. Some functions are actually named
9347 something starting with __ and the normal name is an alias. */
9348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9356 if { (eval echo configure:9357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9358 eval "ac_cv_func_
$ac_func=yes"
9360 echo "configure
: failed program was
:" >&5
9361 cat conftest.$ac_ext >&5
9363 eval "ac_cv_func_
$ac_func=no
"
9368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9369 echo "$ac_t""yes" 1>&6
9370 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9371 cat >> confdefs.h <<EOF
9372 #define $ac_tr_func 1
9376 echo "$ac_t""no
" 1>&6
9382 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
9383 echo "configure
:9384: checking
for _isnanf declaration
" >&5
9384 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
9385 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
9386 echo $ac_n "(cached
) $ac_c" 1>&6
9391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9392 ac_cpp='$CXXCPP $CPPFLAGS'
9393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9395 cross_compiling=$ac_cv_prog_cxx_cross
9397 cat > conftest.$ac_ext <<EOF
9398 #line 9399 "configure
"
9399 #include "confdefs.h
"
9401 #ifdef HAVE_IEEEFP_H
9409 if { (eval echo configure:9410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9411 glibcpp_cv_func__isnanf_use=yes
9413 echo "configure
: failed program was
:" >&5
9414 cat conftest.$ac_ext >&5
9416 glibcpp_cv_func__isnanf_use=no
9420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9421 ac_cpp='$CPP $CPPFLAGS'
9422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9424 cross_compiling=$ac_cv_prog_cc_cross
9430 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
9432 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
9433 for ac_func in _isnanf
9435 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9436 echo "configure
:9437: checking
for $ac_func" >&5
9437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9438 echo $ac_n "(cached
) $ac_c" 1>&6
9440 cat > conftest.$ac_ext <<EOF
9441 #line 9442 "configure
"
9442 #include "confdefs.h
"
9443 /* System header to define __stub macros and hopefully few prototypes,
9444 which can conflict with char $ac_func(); below. */
9446 /* Override any gcc2 internal prototype to avoid an error. */
9447 /* We use char because int might match the return type of a gcc2
9448 builtin and then its argument prototype would still apply. */
9453 /* The GNU C library defines this for functions which it implements
9454 to always fail with ENOSYS. Some functions are actually named
9455 something starting with __ and the normal name is an alias. */
9456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9464 if { (eval echo configure:9465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9466 eval "ac_cv_func_
$ac_func=yes"
9468 echo "configure
: failed program was
:" >&5
9469 cat conftest.$ac_ext >&5
9471 eval "ac_cv_func_
$ac_func=no
"
9476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9477 echo "$ac_t""yes" 1>&6
9478 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9479 cat >> confdefs.h <<EOF
9480 #define $ac_tr_func 1
9484 echo "$ac_t""no
" 1>&6
9493 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
9494 echo "configure
:9495: checking
for isinff declaration
" >&5
9495 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
9496 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
9497 echo $ac_n "(cached
) $ac_c" 1>&6
9502 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9503 ac_cpp='$CXXCPP $CPPFLAGS'
9504 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9505 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9506 cross_compiling=$ac_cv_prog_cxx_cross
9508 cat > conftest.$ac_ext <<EOF
9509 #line 9510 "configure
"
9510 #include "confdefs.h
"
9512 #ifdef HAVE_IEEEFP_H
9520 if { (eval echo configure:9521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9522 glibcpp_cv_func_isinff_use=yes
9524 echo "configure
: failed program was
:" >&5
9525 cat conftest.$ac_ext >&5
9527 glibcpp_cv_func_isinff_use=no
9531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9532 ac_cpp='$CPP $CPPFLAGS'
9533 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9534 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9535 cross_compiling=$ac_cv_prog_cc_cross
9541 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
9543 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
9544 for ac_func in isinff
9546 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9547 echo "configure
:9548: checking
for $ac_func" >&5
9548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9549 echo $ac_n "(cached
) $ac_c" 1>&6
9551 cat > conftest.$ac_ext <<EOF
9552 #line 9553 "configure
"
9553 #include "confdefs.h
"
9554 /* System header to define __stub macros and hopefully few prototypes,
9555 which can conflict with char $ac_func(); below. */
9557 /* Override any gcc2 internal prototype to avoid an error. */
9558 /* We use char because int might match the return type of a gcc2
9559 builtin and then its argument prototype would still apply. */
9564 /* The GNU C library defines this for functions which it implements
9565 to always fail with ENOSYS. Some functions are actually named
9566 something starting with __ and the normal name is an alias. */
9567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9575 if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9577 eval "ac_cv_func_
$ac_func=yes"
9579 echo "configure
: failed program was
:" >&5
9580 cat conftest.$ac_ext >&5
9582 eval "ac_cv_func_
$ac_func=no
"
9587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9588 echo "$ac_t""yes" 1>&6
9589 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9590 cat >> confdefs.h <<EOF
9591 #define $ac_tr_func 1
9595 echo "$ac_t""no
" 1>&6
9601 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
9602 echo "configure
:9603: checking
for _isinff declaration
" >&5
9603 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
9604 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
9605 echo $ac_n "(cached
) $ac_c" 1>&6
9610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9611 ac_cpp='$CXXCPP $CPPFLAGS'
9612 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9613 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9614 cross_compiling=$ac_cv_prog_cxx_cross
9616 cat > conftest.$ac_ext <<EOF
9617 #line 9618 "configure
"
9618 #include "confdefs.h
"
9620 #ifdef HAVE_IEEEFP_H
9628 if { (eval echo configure:9629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9630 glibcpp_cv_func__isinff_use=yes
9632 echo "configure
: failed program was
:" >&5
9633 cat conftest.$ac_ext >&5
9635 glibcpp_cv_func__isinff_use=no
9639 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9640 ac_cpp='$CPP $CPPFLAGS'
9641 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9642 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9643 cross_compiling=$ac_cv_prog_cc_cross
9649 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
9651 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
9652 for ac_func in _isinff
9654 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9655 echo "configure
:9656: checking
for $ac_func" >&5
9656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9657 echo $ac_n "(cached
) $ac_c" 1>&6
9659 cat > conftest.$ac_ext <<EOF
9660 #line 9661 "configure
"
9661 #include "confdefs.h
"
9662 /* System header to define __stub macros and hopefully few prototypes,
9663 which can conflict with char $ac_func(); below. */
9665 /* Override any gcc2 internal prototype to avoid an error. */
9666 /* We use char because int might match the return type of a gcc2
9667 builtin and then its argument prototype would still apply. */
9672 /* The GNU C library defines this for functions which it implements
9673 to always fail with ENOSYS. Some functions are actually named
9674 something starting with __ and the normal name is an alias. */
9675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9683 if { (eval echo configure:9684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9685 eval "ac_cv_func_
$ac_func=yes"
9687 echo "configure
: failed program was
:" >&5
9688 cat conftest.$ac_ext >&5
9690 eval "ac_cv_func_
$ac_func=no
"
9695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9696 echo "$ac_t""yes" 1>&6
9697 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9698 cat >> confdefs.h <<EOF
9699 #define $ac_tr_func 1
9703 echo "$ac_t""no
" 1>&6
9712 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
9713 echo "configure
:9714: checking
for atan2f declaration
" >&5
9714 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
9715 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
9716 echo $ac_n "(cached
) $ac_c" 1>&6
9721 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9722 ac_cpp='$CXXCPP $CPPFLAGS'
9723 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9724 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9725 cross_compiling=$ac_cv_prog_cxx_cross
9727 cat > conftest.$ac_ext <<EOF
9728 #line 9729 "configure
"
9729 #include "confdefs.h
"
9735 if { (eval echo configure:9736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9737 glibcpp_cv_func_atan2f_use=yes
9739 echo "configure
: failed program was
:" >&5
9740 cat conftest.$ac_ext >&5
9742 glibcpp_cv_func_atan2f_use=no
9746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9747 ac_cpp='$CPP $CPPFLAGS'
9748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9749 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9750 cross_compiling=$ac_cv_prog_cc_cross
9756 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
9758 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
9759 for ac_func in atan2f
9761 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9762 echo "configure
:9763: checking
for $ac_func" >&5
9763 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9764 echo $ac_n "(cached
) $ac_c" 1>&6
9766 cat > conftest.$ac_ext <<EOF
9767 #line 9768 "configure
"
9768 #include "confdefs.h
"
9769 /* System header to define __stub macros and hopefully few prototypes,
9770 which can conflict with char $ac_func(); below. */
9772 /* Override any gcc2 internal prototype to avoid an error. */
9773 /* We use char because int might match the return type of a gcc2
9774 builtin and then its argument prototype would still apply. */
9779 /* The GNU C library defines this for functions which it implements
9780 to always fail with ENOSYS. Some functions are actually named
9781 something starting with __ and the normal name is an alias. */
9782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9790 if { (eval echo configure:9791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9792 eval "ac_cv_func_
$ac_func=yes"
9794 echo "configure
: failed program was
:" >&5
9795 cat conftest.$ac_ext >&5
9797 eval "ac_cv_func_
$ac_func=no
"
9802 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9803 echo "$ac_t""yes" 1>&6
9804 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9805 cat >> confdefs.h <<EOF
9806 #define $ac_tr_func 1
9810 echo "$ac_t""no
" 1>&6
9816 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
9817 echo "configure
:9818: checking
for _atan2f declaration
" >&5
9818 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
9819 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
9820 echo $ac_n "(cached
) $ac_c" 1>&6
9825 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9826 ac_cpp='$CXXCPP $CPPFLAGS'
9827 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9828 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9829 cross_compiling=$ac_cv_prog_cxx_cross
9831 cat > conftest.$ac_ext <<EOF
9832 #line 9833 "configure
"
9833 #include "confdefs.h
"
9839 if { (eval echo configure:9840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9841 glibcpp_cv_func__atan2f_use=yes
9843 echo "configure
: failed program was
:" >&5
9844 cat conftest.$ac_ext >&5
9846 glibcpp_cv_func__atan2f_use=no
9850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9851 ac_cpp='$CPP $CPPFLAGS'
9852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9854 cross_compiling=$ac_cv_prog_cc_cross
9860 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
9862 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
9863 for ac_func in _atan2f
9865 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9866 echo "configure
:9867: checking
for $ac_func" >&5
9867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9868 echo $ac_n "(cached
) $ac_c" 1>&6
9870 cat > conftest.$ac_ext <<EOF
9871 #line 9872 "configure
"
9872 #include "confdefs.h
"
9873 /* System header to define __stub macros and hopefully few prototypes,
9874 which can conflict with char $ac_func(); below. */
9876 /* Override any gcc2 internal prototype to avoid an error. */
9877 /* We use char because int might match the return type of a gcc2
9878 builtin and then its argument prototype would still apply. */
9883 /* The GNU C library defines this for functions which it implements
9884 to always fail with ENOSYS. Some functions are actually named
9885 something starting with __ and the normal name is an alias. */
9886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9894 if { (eval echo configure:9895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9896 eval "ac_cv_func_
$ac_func=yes"
9898 echo "configure
: failed program was
:" >&5
9899 cat conftest.$ac_ext >&5
9901 eval "ac_cv_func_
$ac_func=no
"
9906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9907 echo "$ac_t""yes" 1>&6
9908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9909 cat >> confdefs.h <<EOF
9910 #define $ac_tr_func 1
9914 echo "$ac_t""no
" 1>&6
9923 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
9924 echo "configure
:9925: checking
for fabsf declaration
" >&5
9925 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
9926 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
9927 echo $ac_n "(cached
) $ac_c" 1>&6
9932 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9933 ac_cpp='$CXXCPP $CPPFLAGS'
9934 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9935 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9936 cross_compiling=$ac_cv_prog_cxx_cross
9938 cat > conftest.$ac_ext <<EOF
9939 #line 9940 "configure
"
9940 #include "confdefs.h
"
9942 #ifdef HAVE_IEEEFP_H
9950 if { (eval echo configure:9951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9952 glibcpp_cv_func_fabsf_use=yes
9954 echo "configure
: failed program was
:" >&5
9955 cat conftest.$ac_ext >&5
9957 glibcpp_cv_func_fabsf_use=no
9961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9962 ac_cpp='$CPP $CPPFLAGS'
9963 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9964 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9965 cross_compiling=$ac_cv_prog_cc_cross
9971 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
9973 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
9974 for ac_func in fabsf
9976 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9977 echo "configure
:9978: checking
for $ac_func" >&5
9978 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9979 echo $ac_n "(cached
) $ac_c" 1>&6
9981 cat > conftest.$ac_ext <<EOF
9982 #line 9983 "configure
"
9983 #include "confdefs.h
"
9984 /* System header to define __stub macros and hopefully few prototypes,
9985 which can conflict with char $ac_func(); below. */
9987 /* Override any gcc2 internal prototype to avoid an error. */
9988 /* We use char because int might match the return type of a gcc2
9989 builtin and then its argument prototype would still apply. */
9994 /* The GNU C library defines this for functions which it implements
9995 to always fail with ENOSYS. Some functions are actually named
9996 something starting with __ and the normal name is an alias. */
9997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10005 if { (eval echo configure:10006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10007 eval "ac_cv_func_
$ac_func=yes"
10009 echo "configure
: failed program was
:" >&5
10010 cat conftest.$ac_ext >&5
10012 eval "ac_cv_func_
$ac_func=no
"
10017 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10018 echo "$ac_t""yes" 1>&6
10019 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10020 cat >> confdefs.h <<EOF
10021 #define $ac_tr_func 1
10025 echo "$ac_t""no
" 1>&6
10031 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
10032 echo "configure
:10033: checking
for _fabsf declaration
" >&5
10033 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
10034 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
10035 echo $ac_n "(cached
) $ac_c" 1>&6
10040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10041 ac_cpp='$CXXCPP $CPPFLAGS'
10042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10044 cross_compiling=$ac_cv_prog_cxx_cross
10046 cat > conftest.$ac_ext <<EOF
10047 #line 10048 "configure
"
10048 #include "confdefs.h
"
10050 #ifdef HAVE_IEEEFP_H
10051 #include <ieeefp.h>
10058 if { (eval echo configure:10059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10060 glibcpp_cv_func__fabsf_use=yes
10062 echo "configure
: failed program was
:" >&5
10063 cat conftest.$ac_ext >&5
10065 glibcpp_cv_func__fabsf_use=no
10069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10070 ac_cpp='$CPP $CPPFLAGS'
10071 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10072 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10073 cross_compiling=$ac_cv_prog_cc_cross
10079 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
10081 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
10082 for ac_func in _fabsf
10084 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10085 echo "configure
:10086: checking
for $ac_func" >&5
10086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10087 echo $ac_n "(cached
) $ac_c" 1>&6
10089 cat > conftest.$ac_ext <<EOF
10090 #line 10091 "configure
"
10091 #include "confdefs.h
"
10092 /* System header to define __stub macros and hopefully few prototypes,
10093 which can conflict with char $ac_func(); below. */
10094 #include <assert.h>
10095 /* Override any gcc2 internal prototype to avoid an error. */
10096 /* We use char because int might match the return type of a gcc2
10097 builtin and then its argument prototype would still apply. */
10102 /* The GNU C library defines this for functions which it implements
10103 to always fail with ENOSYS. Some functions are actually named
10104 something starting with __ and the normal name is an alias. */
10105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10113 if { (eval echo configure:10114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10115 eval "ac_cv_func_
$ac_func=yes"
10117 echo "configure
: failed program was
:" >&5
10118 cat conftest.$ac_ext >&5
10120 eval "ac_cv_func_
$ac_func=no
"
10125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10126 echo "$ac_t""yes" 1>&6
10127 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10128 cat >> confdefs.h <<EOF
10129 #define $ac_tr_func 1
10133 echo "$ac_t""no
" 1>&6
10142 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
10143 echo "configure
:10144: checking
for fmodf declaration
" >&5
10144 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
10145 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
10146 echo $ac_n "(cached
) $ac_c" 1>&6
10151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10152 ac_cpp='$CXXCPP $CPPFLAGS'
10153 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10154 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10155 cross_compiling=$ac_cv_prog_cxx_cross
10157 cat > conftest.$ac_ext <<EOF
10158 #line 10159 "configure
"
10159 #include "confdefs.h
"
10165 if { (eval echo configure:10166: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10167 glibcpp_cv_func_fmodf_use=yes
10169 echo "configure
: failed program was
:" >&5
10170 cat conftest.$ac_ext >&5
10172 glibcpp_cv_func_fmodf_use=no
10176 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10177 ac_cpp='$CPP $CPPFLAGS'
10178 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10179 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10180 cross_compiling=$ac_cv_prog_cc_cross
10186 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
10188 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
10189 for ac_func in fmodf
10191 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10192 echo "configure
:10193: checking
for $ac_func" >&5
10193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10194 echo $ac_n "(cached
) $ac_c" 1>&6
10196 cat > conftest.$ac_ext <<EOF
10197 #line 10198 "configure
"
10198 #include "confdefs.h
"
10199 /* System header to define __stub macros and hopefully few prototypes,
10200 which can conflict with char $ac_func(); below. */
10201 #include <assert.h>
10202 /* Override any gcc2 internal prototype to avoid an error. */
10203 /* We use char because int might match the return type of a gcc2
10204 builtin and then its argument prototype would still apply. */
10209 /* The GNU C library defines this for functions which it implements
10210 to always fail with ENOSYS. Some functions are actually named
10211 something starting with __ and the normal name is an alias. */
10212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10220 if { (eval echo configure:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10222 eval "ac_cv_func_
$ac_func=yes"
10224 echo "configure
: failed program was
:" >&5
10225 cat conftest.$ac_ext >&5
10227 eval "ac_cv_func_
$ac_func=no
"
10232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10233 echo "$ac_t""yes" 1>&6
10234 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10235 cat >> confdefs.h <<EOF
10236 #define $ac_tr_func 1
10240 echo "$ac_t""no
" 1>&6
10246 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
10247 echo "configure
:10248: checking
for _fmodf declaration
" >&5
10248 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
10249 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
10250 echo $ac_n "(cached
) $ac_c" 1>&6
10255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10256 ac_cpp='$CXXCPP $CPPFLAGS'
10257 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10258 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10259 cross_compiling=$ac_cv_prog_cxx_cross
10261 cat > conftest.$ac_ext <<EOF
10262 #line 10263 "configure
"
10263 #include "confdefs.h
"
10269 if { (eval echo configure:10270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10271 glibcpp_cv_func__fmodf_use=yes
10273 echo "configure
: failed program was
:" >&5
10274 cat conftest.$ac_ext >&5
10276 glibcpp_cv_func__fmodf_use=no
10280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10281 ac_cpp='$CPP $CPPFLAGS'
10282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10284 cross_compiling=$ac_cv_prog_cc_cross
10290 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
10292 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
10293 for ac_func in _fmodf
10295 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10296 echo "configure
:10297: checking
for $ac_func" >&5
10297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10298 echo $ac_n "(cached
) $ac_c" 1>&6
10300 cat > conftest.$ac_ext <<EOF
10301 #line 10302 "configure
"
10302 #include "confdefs.h
"
10303 /* System header to define __stub macros and hopefully few prototypes,
10304 which can conflict with char $ac_func(); below. */
10305 #include <assert.h>
10306 /* Override any gcc2 internal prototype to avoid an error. */
10307 /* We use char because int might match the return type of a gcc2
10308 builtin and then its argument prototype would still apply. */
10313 /* The GNU C library defines this for functions which it implements
10314 to always fail with ENOSYS. Some functions are actually named
10315 something starting with __ and the normal name is an alias. */
10316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10324 if { (eval echo configure:10325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10326 eval "ac_cv_func_
$ac_func=yes"
10328 echo "configure
: failed program was
:" >&5
10329 cat conftest.$ac_ext >&5
10331 eval "ac_cv_func_
$ac_func=no
"
10336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10337 echo "$ac_t""yes" 1>&6
10338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10339 cat >> confdefs.h <<EOF
10340 #define $ac_tr_func 1
10344 echo "$ac_t""no
" 1>&6
10353 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
10354 echo "configure
:10355: checking
for frexpf declaration
" >&5
10355 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
10356 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
10357 echo $ac_n "(cached
) $ac_c" 1>&6
10362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10363 ac_cpp='$CXXCPP $CPPFLAGS'
10364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10366 cross_compiling=$ac_cv_prog_cxx_cross
10368 cat > conftest.$ac_ext <<EOF
10369 #line 10370 "configure
"
10370 #include "confdefs.h
"
10376 if { (eval echo configure:10377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10378 glibcpp_cv_func_frexpf_use=yes
10380 echo "configure
: failed program was
:" >&5
10381 cat conftest.$ac_ext >&5
10383 glibcpp_cv_func_frexpf_use=no
10387 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10388 ac_cpp='$CPP $CPPFLAGS'
10389 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10390 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10391 cross_compiling=$ac_cv_prog_cc_cross
10397 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
10399 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
10400 for ac_func in frexpf
10402 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10403 echo "configure
:10404: checking
for $ac_func" >&5
10404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10405 echo $ac_n "(cached
) $ac_c" 1>&6
10407 cat > conftest.$ac_ext <<EOF
10408 #line 10409 "configure
"
10409 #include "confdefs.h
"
10410 /* System header to define __stub macros and hopefully few prototypes,
10411 which can conflict with char $ac_func(); below. */
10412 #include <assert.h>
10413 /* Override any gcc2 internal prototype to avoid an error. */
10414 /* We use char because int might match the return type of a gcc2
10415 builtin and then its argument prototype would still apply. */
10420 /* The GNU C library defines this for functions which it implements
10421 to always fail with ENOSYS. Some functions are actually named
10422 something starting with __ and the normal name is an alias. */
10423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10431 if { (eval echo configure:10432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10433 eval "ac_cv_func_
$ac_func=yes"
10435 echo "configure
: failed program was
:" >&5
10436 cat conftest.$ac_ext >&5
10438 eval "ac_cv_func_
$ac_func=no
"
10443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10444 echo "$ac_t""yes" 1>&6
10445 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10446 cat >> confdefs.h <<EOF
10447 #define $ac_tr_func 1
10451 echo "$ac_t""no
" 1>&6
10457 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
10458 echo "configure
:10459: checking
for _frexpf declaration
" >&5
10459 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
10460 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
10461 echo $ac_n "(cached
) $ac_c" 1>&6
10466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10467 ac_cpp='$CXXCPP $CPPFLAGS'
10468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10470 cross_compiling=$ac_cv_prog_cxx_cross
10472 cat > conftest.$ac_ext <<EOF
10473 #line 10474 "configure
"
10474 #include "confdefs.h
"
10480 if { (eval echo configure:10481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10482 glibcpp_cv_func__frexpf_use=yes
10484 echo "configure
: failed program was
:" >&5
10485 cat conftest.$ac_ext >&5
10487 glibcpp_cv_func__frexpf_use=no
10491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10492 ac_cpp='$CPP $CPPFLAGS'
10493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10495 cross_compiling=$ac_cv_prog_cc_cross
10501 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
10503 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
10504 for ac_func in _frexpf
10506 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10507 echo "configure
:10508: checking
for $ac_func" >&5
10508 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10509 echo $ac_n "(cached
) $ac_c" 1>&6
10511 cat > conftest.$ac_ext <<EOF
10512 #line 10513 "configure
"
10513 #include "confdefs.h
"
10514 /* System header to define __stub macros and hopefully few prototypes,
10515 which can conflict with char $ac_func(); below. */
10516 #include <assert.h>
10517 /* Override any gcc2 internal prototype to avoid an error. */
10518 /* We use char because int might match the return type of a gcc2
10519 builtin and then its argument prototype would still apply. */
10524 /* The GNU C library defines this for functions which it implements
10525 to always fail with ENOSYS. Some functions are actually named
10526 something starting with __ and the normal name is an alias. */
10527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10535 if { (eval echo configure:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10537 eval "ac_cv_func_
$ac_func=yes"
10539 echo "configure
: failed program was
:" >&5
10540 cat conftest.$ac_ext >&5
10542 eval "ac_cv_func_
$ac_func=no
"
10547 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10548 echo "$ac_t""yes" 1>&6
10549 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10550 cat >> confdefs.h <<EOF
10551 #define $ac_tr_func 1
10555 echo "$ac_t""no
" 1>&6
10564 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
10565 echo "configure
:10566: checking
for hypotf declaration
" >&5
10566 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
10567 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
10568 echo $ac_n "(cached
) $ac_c" 1>&6
10573 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10574 ac_cpp='$CXXCPP $CPPFLAGS'
10575 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10576 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10577 cross_compiling=$ac_cv_prog_cxx_cross
10579 cat > conftest.$ac_ext <<EOF
10580 #line 10581 "configure
"
10581 #include "confdefs.h
"
10587 if { (eval echo configure:10588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10589 glibcpp_cv_func_hypotf_use=yes
10591 echo "configure
: failed program was
:" >&5
10592 cat conftest.$ac_ext >&5
10594 glibcpp_cv_func_hypotf_use=no
10598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10599 ac_cpp='$CPP $CPPFLAGS'
10600 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10601 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10602 cross_compiling=$ac_cv_prog_cc_cross
10608 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
10610 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
10611 for ac_func in hypotf
10613 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10614 echo "configure
:10615: checking
for $ac_func" >&5
10615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10616 echo $ac_n "(cached
) $ac_c" 1>&6
10618 cat > conftest.$ac_ext <<EOF
10619 #line 10620 "configure
"
10620 #include "confdefs.h
"
10621 /* System header to define __stub macros and hopefully few prototypes,
10622 which can conflict with char $ac_func(); below. */
10623 #include <assert.h>
10624 /* Override any gcc2 internal prototype to avoid an error. */
10625 /* We use char because int might match the return type of a gcc2
10626 builtin and then its argument prototype would still apply. */
10631 /* The GNU C library defines this for functions which it implements
10632 to always fail with ENOSYS. Some functions are actually named
10633 something starting with __ and the normal name is an alias. */
10634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10642 if { (eval echo configure:10643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10644 eval "ac_cv_func_
$ac_func=yes"
10646 echo "configure
: failed program was
:" >&5
10647 cat conftest.$ac_ext >&5
10649 eval "ac_cv_func_
$ac_func=no
"
10654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10655 echo "$ac_t""yes" 1>&6
10656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10657 cat >> confdefs.h <<EOF
10658 #define $ac_tr_func 1
10662 echo "$ac_t""no
" 1>&6
10668 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
10669 echo "configure
:10670: checking
for _hypotf declaration
" >&5
10670 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
10671 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
10672 echo $ac_n "(cached
) $ac_c" 1>&6
10677 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10678 ac_cpp='$CXXCPP $CPPFLAGS'
10679 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10680 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10681 cross_compiling=$ac_cv_prog_cxx_cross
10683 cat > conftest.$ac_ext <<EOF
10684 #line 10685 "configure
"
10685 #include "confdefs.h
"
10691 if { (eval echo configure:10692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10693 glibcpp_cv_func__hypotf_use=yes
10695 echo "configure
: failed program was
:" >&5
10696 cat conftest.$ac_ext >&5
10698 glibcpp_cv_func__hypotf_use=no
10702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10703 ac_cpp='$CPP $CPPFLAGS'
10704 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10705 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10706 cross_compiling=$ac_cv_prog_cc_cross
10712 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
10714 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
10715 for ac_func in _hypotf
10717 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10718 echo "configure
:10719: checking
for $ac_func" >&5
10719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10720 echo $ac_n "(cached
) $ac_c" 1>&6
10722 cat > conftest.$ac_ext <<EOF
10723 #line 10724 "configure
"
10724 #include "confdefs.h
"
10725 /* System header to define __stub macros and hopefully few prototypes,
10726 which can conflict with char $ac_func(); below. */
10727 #include <assert.h>
10728 /* Override any gcc2 internal prototype to avoid an error. */
10729 /* We use char because int might match the return type of a gcc2
10730 builtin and then its argument prototype would still apply. */
10735 /* The GNU C library defines this for functions which it implements
10736 to always fail with ENOSYS. Some functions are actually named
10737 something starting with __ and the normal name is an alias. */
10738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10746 if { (eval echo configure:10747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10748 eval "ac_cv_func_
$ac_func=yes"
10750 echo "configure
: failed program was
:" >&5
10751 cat conftest.$ac_ext >&5
10753 eval "ac_cv_func_
$ac_func=no
"
10758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10759 echo "$ac_t""yes" 1>&6
10760 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10761 cat >> confdefs.h <<EOF
10762 #define $ac_tr_func 1
10766 echo "$ac_t""no
" 1>&6
10775 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
10776 echo "configure
:10777: checking
for ldexpf declaration
" >&5
10777 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
10778 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
10779 echo $ac_n "(cached
) $ac_c" 1>&6
10784 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10785 ac_cpp='$CXXCPP $CPPFLAGS'
10786 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10787 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10788 cross_compiling=$ac_cv_prog_cxx_cross
10790 cat > conftest.$ac_ext <<EOF
10791 #line 10792 "configure
"
10792 #include "confdefs.h
"
10798 if { (eval echo configure:10799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10800 glibcpp_cv_func_ldexpf_use=yes
10802 echo "configure
: failed program was
:" >&5
10803 cat conftest.$ac_ext >&5
10805 glibcpp_cv_func_ldexpf_use=no
10809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10810 ac_cpp='$CPP $CPPFLAGS'
10811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10813 cross_compiling=$ac_cv_prog_cc_cross
10819 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
10821 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
10822 for ac_func in ldexpf
10824 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10825 echo "configure
:10826: checking
for $ac_func" >&5
10826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10827 echo $ac_n "(cached
) $ac_c" 1>&6
10829 cat > conftest.$ac_ext <<EOF
10830 #line 10831 "configure
"
10831 #include "confdefs.h
"
10832 /* System header to define __stub macros and hopefully few prototypes,
10833 which can conflict with char $ac_func(); below. */
10834 #include <assert.h>
10835 /* Override any gcc2 internal prototype to avoid an error. */
10836 /* We use char because int might match the return type of a gcc2
10837 builtin and then its argument prototype would still apply. */
10842 /* The GNU C library defines this for functions which it implements
10843 to always fail with ENOSYS. Some functions are actually named
10844 something starting with __ and the normal name is an alias. */
10845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10853 if { (eval echo configure:10854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10855 eval "ac_cv_func_
$ac_func=yes"
10857 echo "configure
: failed program was
:" >&5
10858 cat conftest.$ac_ext >&5
10860 eval "ac_cv_func_
$ac_func=no
"
10865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10866 echo "$ac_t""yes" 1>&6
10867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10868 cat >> confdefs.h <<EOF
10869 #define $ac_tr_func 1
10873 echo "$ac_t""no
" 1>&6
10879 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
10880 echo "configure
:10881: checking
for _ldexpf declaration
" >&5
10881 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
10882 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
10883 echo $ac_n "(cached
) $ac_c" 1>&6
10888 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10889 ac_cpp='$CXXCPP $CPPFLAGS'
10890 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10891 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10892 cross_compiling=$ac_cv_prog_cxx_cross
10894 cat > conftest.$ac_ext <<EOF
10895 #line 10896 "configure
"
10896 #include "confdefs.h
"
10902 if { (eval echo configure:10903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10904 glibcpp_cv_func__ldexpf_use=yes
10906 echo "configure
: failed program was
:" >&5
10907 cat conftest.$ac_ext >&5
10909 glibcpp_cv_func__ldexpf_use=no
10913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10914 ac_cpp='$CPP $CPPFLAGS'
10915 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10916 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10917 cross_compiling=$ac_cv_prog_cc_cross
10923 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
10925 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
10926 for ac_func in _ldexpf
10928 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10929 echo "configure
:10930: checking
for $ac_func" >&5
10930 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10931 echo $ac_n "(cached
) $ac_c" 1>&6
10933 cat > conftest.$ac_ext <<EOF
10934 #line 10935 "configure
"
10935 #include "confdefs.h
"
10936 /* System header to define __stub macros and hopefully few prototypes,
10937 which can conflict with char $ac_func(); below. */
10938 #include <assert.h>
10939 /* Override any gcc2 internal prototype to avoid an error. */
10940 /* We use char because int might match the return type of a gcc2
10941 builtin and then its argument prototype would still apply. */
10946 /* The GNU C library defines this for functions which it implements
10947 to always fail with ENOSYS. Some functions are actually named
10948 something starting with __ and the normal name is an alias. */
10949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10957 if { (eval echo configure:10958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10959 eval "ac_cv_func_
$ac_func=yes"
10961 echo "configure
: failed program was
:" >&5
10962 cat conftest.$ac_ext >&5
10964 eval "ac_cv_func_
$ac_func=no
"
10969 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10970 echo "$ac_t""yes" 1>&6
10971 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10972 cat >> confdefs.h <<EOF
10973 #define $ac_tr_func 1
10977 echo "$ac_t""no
" 1>&6
10986 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
10987 echo "configure
:10988: checking
for logf declaration
" >&5
10988 if test x${glibcpp_cv_func_logf_use+set} != xset; then
10989 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
10990 echo $ac_n "(cached
) $ac_c" 1>&6
10995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10996 ac_cpp='$CXXCPP $CPPFLAGS'
10997 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10998 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10999 cross_compiling=$ac_cv_prog_cxx_cross
11001 cat > conftest.$ac_ext <<EOF
11002 #line 11003 "configure
"
11003 #include "confdefs.h
"
11005 #ifdef HAVE_IEEEFP_H
11006 #include <ieeefp.h>
11013 if { (eval echo configure:11014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11015 glibcpp_cv_func_logf_use=yes
11017 echo "configure
: failed program was
:" >&5
11018 cat conftest.$ac_ext >&5
11020 glibcpp_cv_func_logf_use=no
11024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11025 ac_cpp='$CPP $CPPFLAGS'
11026 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11027 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11028 cross_compiling=$ac_cv_prog_cc_cross
11034 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
11036 if test x$glibcpp_cv_func_logf_use = x"yes"; then
11037 for ac_func in logf
11039 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11040 echo "configure
:11041: checking
for $ac_func" >&5
11041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11042 echo $ac_n "(cached
) $ac_c" 1>&6
11044 cat > conftest.$ac_ext <<EOF
11045 #line 11046 "configure
"
11046 #include "confdefs.h
"
11047 /* System header to define __stub macros and hopefully few prototypes,
11048 which can conflict with char $ac_func(); below. */
11049 #include <assert.h>
11050 /* Override any gcc2 internal prototype to avoid an error. */
11051 /* We use char because int might match the return type of a gcc2
11052 builtin and then its argument prototype would still apply. */
11057 /* The GNU C library defines this for functions which it implements
11058 to always fail with ENOSYS. Some functions are actually named
11059 something starting with __ and the normal name is an alias. */
11060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11068 if { (eval echo configure:11069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11070 eval "ac_cv_func_
$ac_func=yes"
11072 echo "configure
: failed program was
:" >&5
11073 cat conftest.$ac_ext >&5
11075 eval "ac_cv_func_
$ac_func=no
"
11080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11081 echo "$ac_t""yes" 1>&6
11082 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11083 cat >> confdefs.h <<EOF
11084 #define $ac_tr_func 1
11088 echo "$ac_t""no
" 1>&6
11094 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
11095 echo "configure
:11096: checking
for _logf declaration
" >&5
11096 if test x${glibcpp_cv_func__logf_use+set} != xset; then
11097 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
11098 echo $ac_n "(cached
) $ac_c" 1>&6
11103 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11104 ac_cpp='$CXXCPP $CPPFLAGS'
11105 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11106 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11107 cross_compiling=$ac_cv_prog_cxx_cross
11109 cat > conftest.$ac_ext <<EOF
11110 #line 11111 "configure
"
11111 #include "confdefs.h
"
11113 #ifdef HAVE_IEEEFP_H
11114 #include <ieeefp.h>
11121 if { (eval echo configure:11122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11123 glibcpp_cv_func__logf_use=yes
11125 echo "configure
: failed program was
:" >&5
11126 cat conftest.$ac_ext >&5
11128 glibcpp_cv_func__logf_use=no
11132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11133 ac_cpp='$CPP $CPPFLAGS'
11134 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11135 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11136 cross_compiling=$ac_cv_prog_cc_cross
11142 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
11144 if test x$glibcpp_cv_func__logf_use = x"yes"; then
11145 for ac_func in _logf
11147 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11148 echo "configure
:11149: checking
for $ac_func" >&5
11149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11150 echo $ac_n "(cached
) $ac_c" 1>&6
11152 cat > conftest.$ac_ext <<EOF
11153 #line 11154 "configure
"
11154 #include "confdefs.h
"
11155 /* System header to define __stub macros and hopefully few prototypes,
11156 which can conflict with char $ac_func(); below. */
11157 #include <assert.h>
11158 /* Override any gcc2 internal prototype to avoid an error. */
11159 /* We use char because int might match the return type of a gcc2
11160 builtin and then its argument prototype would still apply. */
11165 /* The GNU C library defines this for functions which it implements
11166 to always fail with ENOSYS. Some functions are actually named
11167 something starting with __ and the normal name is an alias. */
11168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11176 if { (eval echo configure:11177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11178 eval "ac_cv_func_
$ac_func=yes"
11180 echo "configure
: failed program was
:" >&5
11181 cat conftest.$ac_ext >&5
11183 eval "ac_cv_func_
$ac_func=no
"
11188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11189 echo "$ac_t""yes" 1>&6
11190 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11191 cat >> confdefs.h <<EOF
11192 #define $ac_tr_func 1
11196 echo "$ac_t""no
" 1>&6
11205 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
11206 echo "configure
:11207: checking
for log10f declaration
" >&5
11207 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
11208 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
11209 echo $ac_n "(cached
) $ac_c" 1>&6
11214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11215 ac_cpp='$CXXCPP $CPPFLAGS'
11216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11218 cross_compiling=$ac_cv_prog_cxx_cross
11220 cat > conftest.$ac_ext <<EOF
11221 #line 11222 "configure
"
11222 #include "confdefs.h
"
11224 #ifdef HAVE_IEEEFP_H
11225 #include <ieeefp.h>
11232 if { (eval echo configure:11233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11234 glibcpp_cv_func_log10f_use=yes
11236 echo "configure
: failed program was
:" >&5
11237 cat conftest.$ac_ext >&5
11239 glibcpp_cv_func_log10f_use=no
11243 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11244 ac_cpp='$CPP $CPPFLAGS'
11245 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11246 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11247 cross_compiling=$ac_cv_prog_cc_cross
11253 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
11255 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
11256 for ac_func in log10f
11258 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11259 echo "configure
:11260: checking
for $ac_func" >&5
11260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11261 echo $ac_n "(cached
) $ac_c" 1>&6
11263 cat > conftest.$ac_ext <<EOF
11264 #line 11265 "configure
"
11265 #include "confdefs.h
"
11266 /* System header to define __stub macros and hopefully few prototypes,
11267 which can conflict with char $ac_func(); below. */
11268 #include <assert.h>
11269 /* Override any gcc2 internal prototype to avoid an error. */
11270 /* We use char because int might match the return type of a gcc2
11271 builtin and then its argument prototype would still apply. */
11276 /* The GNU C library defines this for functions which it implements
11277 to always fail with ENOSYS. Some functions are actually named
11278 something starting with __ and the normal name is an alias. */
11279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11287 if { (eval echo configure:11288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11289 eval "ac_cv_func_
$ac_func=yes"
11291 echo "configure
: failed program was
:" >&5
11292 cat conftest.$ac_ext >&5
11294 eval "ac_cv_func_
$ac_func=no
"
11299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11300 echo "$ac_t""yes" 1>&6
11301 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11302 cat >> confdefs.h <<EOF
11303 #define $ac_tr_func 1
11307 echo "$ac_t""no
" 1>&6
11313 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
11314 echo "configure
:11315: checking
for _log10f declaration
" >&5
11315 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
11316 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
11317 echo $ac_n "(cached
) $ac_c" 1>&6
11322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11323 ac_cpp='$CXXCPP $CPPFLAGS'
11324 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11325 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11326 cross_compiling=$ac_cv_prog_cxx_cross
11328 cat > conftest.$ac_ext <<EOF
11329 #line 11330 "configure
"
11330 #include "confdefs.h
"
11332 #ifdef HAVE_IEEEFP_H
11333 #include <ieeefp.h>
11340 if { (eval echo configure:11341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11342 glibcpp_cv_func__log10f_use=yes
11344 echo "configure
: failed program was
:" >&5
11345 cat conftest.$ac_ext >&5
11347 glibcpp_cv_func__log10f_use=no
11351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11352 ac_cpp='$CPP $CPPFLAGS'
11353 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11354 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11355 cross_compiling=$ac_cv_prog_cc_cross
11361 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
11363 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
11364 for ac_func in _log10f
11366 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11367 echo "configure
:11368: checking
for $ac_func" >&5
11368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11369 echo $ac_n "(cached
) $ac_c" 1>&6
11371 cat > conftest.$ac_ext <<EOF
11372 #line 11373 "configure
"
11373 #include "confdefs.h
"
11374 /* System header to define __stub macros and hopefully few prototypes,
11375 which can conflict with char $ac_func(); below. */
11376 #include <assert.h>
11377 /* Override any gcc2 internal prototype to avoid an error. */
11378 /* We use char because int might match the return type of a gcc2
11379 builtin and then its argument prototype would still apply. */
11384 /* The GNU C library defines this for functions which it implements
11385 to always fail with ENOSYS. Some functions are actually named
11386 something starting with __ and the normal name is an alias. */
11387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11395 if { (eval echo configure:11396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11397 eval "ac_cv_func_
$ac_func=yes"
11399 echo "configure
: failed program was
:" >&5
11400 cat conftest.$ac_ext >&5
11402 eval "ac_cv_func_
$ac_func=no
"
11407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11408 echo "$ac_t""yes" 1>&6
11409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11410 cat >> confdefs.h <<EOF
11411 #define $ac_tr_func 1
11415 echo "$ac_t""no
" 1>&6
11424 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
11425 echo "configure
:11426: checking
for modff declaration
" >&5
11426 if test x${glibcpp_cv_func_modff_use+set} != xset; then
11427 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
11428 echo $ac_n "(cached
) $ac_c" 1>&6
11433 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11434 ac_cpp='$CXXCPP $CPPFLAGS'
11435 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11436 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11437 cross_compiling=$ac_cv_prog_cxx_cross
11439 cat > conftest.$ac_ext <<EOF
11440 #line 11441 "configure
"
11441 #include "confdefs.h
"
11447 if { (eval echo configure:11448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11449 glibcpp_cv_func_modff_use=yes
11451 echo "configure
: failed program was
:" >&5
11452 cat conftest.$ac_ext >&5
11454 glibcpp_cv_func_modff_use=no
11458 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11459 ac_cpp='$CPP $CPPFLAGS'
11460 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11461 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11462 cross_compiling=$ac_cv_prog_cc_cross
11468 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
11470 if test x$glibcpp_cv_func_modff_use = x"yes"; then
11471 for ac_func in modff
11473 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11474 echo "configure
:11475: checking
for $ac_func" >&5
11475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11476 echo $ac_n "(cached
) $ac_c" 1>&6
11478 cat > conftest.$ac_ext <<EOF
11479 #line 11480 "configure
"
11480 #include "confdefs.h
"
11481 /* System header to define __stub macros and hopefully few prototypes,
11482 which can conflict with char $ac_func(); below. */
11483 #include <assert.h>
11484 /* Override any gcc2 internal prototype to avoid an error. */
11485 /* We use char because int might match the return type of a gcc2
11486 builtin and then its argument prototype would still apply. */
11491 /* The GNU C library defines this for functions which it implements
11492 to always fail with ENOSYS. Some functions are actually named
11493 something starting with __ and the normal name is an alias. */
11494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11502 if { (eval echo configure:11503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11504 eval "ac_cv_func_
$ac_func=yes"
11506 echo "configure
: failed program was
:" >&5
11507 cat conftest.$ac_ext >&5
11509 eval "ac_cv_func_
$ac_func=no
"
11514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11515 echo "$ac_t""yes" 1>&6
11516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11517 cat >> confdefs.h <<EOF
11518 #define $ac_tr_func 1
11522 echo "$ac_t""no
" 1>&6
11528 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
11529 echo "configure
:11530: checking
for _modff declaration
" >&5
11530 if test x${glibcpp_cv_func__modff_use+set} != xset; then
11531 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
11532 echo $ac_n "(cached
) $ac_c" 1>&6
11537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11538 ac_cpp='$CXXCPP $CPPFLAGS'
11539 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11540 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11541 cross_compiling=$ac_cv_prog_cxx_cross
11543 cat > conftest.$ac_ext <<EOF
11544 #line 11545 "configure
"
11545 #include "confdefs.h
"
11551 if { (eval echo configure:11552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11553 glibcpp_cv_func__modff_use=yes
11555 echo "configure
: failed program was
:" >&5
11556 cat conftest.$ac_ext >&5
11558 glibcpp_cv_func__modff_use=no
11562 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11563 ac_cpp='$CPP $CPPFLAGS'
11564 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11565 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11566 cross_compiling=$ac_cv_prog_cc_cross
11572 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
11574 if test x$glibcpp_cv_func__modff_use = x"yes"; then
11575 for ac_func in _modff
11577 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11578 echo "configure
:11579: checking
for $ac_func" >&5
11579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11580 echo $ac_n "(cached
) $ac_c" 1>&6
11582 cat > conftest.$ac_ext <<EOF
11583 #line 11584 "configure
"
11584 #include "confdefs.h
"
11585 /* System header to define __stub macros and hopefully few prototypes,
11586 which can conflict with char $ac_func(); below. */
11587 #include <assert.h>
11588 /* Override any gcc2 internal prototype to avoid an error. */
11589 /* We use char because int might match the return type of a gcc2
11590 builtin and then its argument prototype would still apply. */
11595 /* The GNU C library defines this for functions which it implements
11596 to always fail with ENOSYS. Some functions are actually named
11597 something starting with __ and the normal name is an alias. */
11598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11606 if { (eval echo configure:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11608 eval "ac_cv_func_
$ac_func=yes"
11610 echo "configure
: failed program was
:" >&5
11611 cat conftest.$ac_ext >&5
11613 eval "ac_cv_func_
$ac_func=no
"
11618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11619 echo "$ac_t""yes" 1>&6
11620 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11621 cat >> confdefs.h <<EOF
11622 #define $ac_tr_func 1
11626 echo "$ac_t""no
" 1>&6
11635 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
11636 echo "configure
:11637: checking
for powf declaration
" >&5
11637 if test x${glibcpp_cv_func_powf_use+set} != xset; then
11638 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
11639 echo $ac_n "(cached
) $ac_c" 1>&6
11644 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11645 ac_cpp='$CXXCPP $CPPFLAGS'
11646 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11647 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11648 cross_compiling=$ac_cv_prog_cxx_cross
11650 cat > conftest.$ac_ext <<EOF
11651 #line 11652 "configure
"
11652 #include "confdefs.h
"
11658 if { (eval echo configure:11659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11660 glibcpp_cv_func_powf_use=yes
11662 echo "configure
: failed program was
:" >&5
11663 cat conftest.$ac_ext >&5
11665 glibcpp_cv_func_powf_use=no
11669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11670 ac_cpp='$CPP $CPPFLAGS'
11671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11673 cross_compiling=$ac_cv_prog_cc_cross
11679 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
11681 if test x$glibcpp_cv_func_powf_use = x"yes"; then
11682 for ac_func in powf
11684 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11685 echo "configure
:11686: checking
for $ac_func" >&5
11686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11687 echo $ac_n "(cached
) $ac_c" 1>&6
11689 cat > conftest.$ac_ext <<EOF
11690 #line 11691 "configure
"
11691 #include "confdefs.h
"
11692 /* System header to define __stub macros and hopefully few prototypes,
11693 which can conflict with char $ac_func(); below. */
11694 #include <assert.h>
11695 /* Override any gcc2 internal prototype to avoid an error. */
11696 /* We use char because int might match the return type of a gcc2
11697 builtin and then its argument prototype would still apply. */
11702 /* The GNU C library defines this for functions which it implements
11703 to always fail with ENOSYS. Some functions are actually named
11704 something starting with __ and the normal name is an alias. */
11705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11713 if { (eval echo configure:11714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11715 eval "ac_cv_func_
$ac_func=yes"
11717 echo "configure
: failed program was
:" >&5
11718 cat conftest.$ac_ext >&5
11720 eval "ac_cv_func_
$ac_func=no
"
11725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11726 echo "$ac_t""yes" 1>&6
11727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11728 cat >> confdefs.h <<EOF
11729 #define $ac_tr_func 1
11733 echo "$ac_t""no
" 1>&6
11739 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
11740 echo "configure
:11741: checking
for _powf declaration
" >&5
11741 if test x${glibcpp_cv_func__powf_use+set} != xset; then
11742 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
11743 echo $ac_n "(cached
) $ac_c" 1>&6
11748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11749 ac_cpp='$CXXCPP $CPPFLAGS'
11750 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11751 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11752 cross_compiling=$ac_cv_prog_cxx_cross
11754 cat > conftest.$ac_ext <<EOF
11755 #line 11756 "configure
"
11756 #include "confdefs.h
"
11762 if { (eval echo configure:11763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11764 glibcpp_cv_func__powf_use=yes
11766 echo "configure
: failed program was
:" >&5
11767 cat conftest.$ac_ext >&5
11769 glibcpp_cv_func__powf_use=no
11773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11774 ac_cpp='$CPP $CPPFLAGS'
11775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11777 cross_compiling=$ac_cv_prog_cc_cross
11783 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
11785 if test x$glibcpp_cv_func__powf_use = x"yes"; then
11786 for ac_func in _powf
11788 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11789 echo "configure
:11790: checking
for $ac_func" >&5
11790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11791 echo $ac_n "(cached
) $ac_c" 1>&6
11793 cat > conftest.$ac_ext <<EOF
11794 #line 11795 "configure
"
11795 #include "confdefs.h
"
11796 /* System header to define __stub macros and hopefully few prototypes,
11797 which can conflict with char $ac_func(); below. */
11798 #include <assert.h>
11799 /* Override any gcc2 internal prototype to avoid an error. */
11800 /* We use char because int might match the return type of a gcc2
11801 builtin and then its argument prototype would still apply. */
11806 /* The GNU C library defines this for functions which it implements
11807 to always fail with ENOSYS. Some functions are actually named
11808 something starting with __ and the normal name is an alias. */
11809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11817 if { (eval echo configure:11818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11819 eval "ac_cv_func_
$ac_func=yes"
11821 echo "configure
: failed program was
:" >&5
11822 cat conftest.$ac_ext >&5
11824 eval "ac_cv_func_
$ac_func=no
"
11829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11830 echo "$ac_t""yes" 1>&6
11831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11832 cat >> confdefs.h <<EOF
11833 #define $ac_tr_func 1
11837 echo "$ac_t""no
" 1>&6
11846 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
11847 echo "configure
:11848: checking
for sqrtf declaration
" >&5
11848 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
11849 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
11850 echo $ac_n "(cached
) $ac_c" 1>&6
11855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11858 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11859 cross_compiling=$ac_cv_prog_cxx_cross
11861 cat > conftest.$ac_ext <<EOF
11862 #line 11863 "configure
"
11863 #include "confdefs.h
"
11865 #ifdef HAVE_IEEEFP_H
11866 #include <ieeefp.h>
11873 if { (eval echo configure:11874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11875 glibcpp_cv_func_sqrtf_use=yes
11877 echo "configure
: failed program was
:" >&5
11878 cat conftest.$ac_ext >&5
11880 glibcpp_cv_func_sqrtf_use=no
11884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11885 ac_cpp='$CPP $CPPFLAGS'
11886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11888 cross_compiling=$ac_cv_prog_cc_cross
11894 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
11896 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
11897 for ac_func in sqrtf
11899 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11900 echo "configure
:11901: checking
for $ac_func" >&5
11901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11902 echo $ac_n "(cached
) $ac_c" 1>&6
11904 cat > conftest.$ac_ext <<EOF
11905 #line 11906 "configure
"
11906 #include "confdefs.h
"
11907 /* System header to define __stub macros and hopefully few prototypes,
11908 which can conflict with char $ac_func(); below. */
11909 #include <assert.h>
11910 /* Override any gcc2 internal prototype to avoid an error. */
11911 /* We use char because int might match the return type of a gcc2
11912 builtin and then its argument prototype would still apply. */
11917 /* The GNU C library defines this for functions which it implements
11918 to always fail with ENOSYS. Some functions are actually named
11919 something starting with __ and the normal name is an alias. */
11920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11928 if { (eval echo configure:11929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11930 eval "ac_cv_func_
$ac_func=yes"
11932 echo "configure
: failed program was
:" >&5
11933 cat conftest.$ac_ext >&5
11935 eval "ac_cv_func_
$ac_func=no
"
11940 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11941 echo "$ac_t""yes" 1>&6
11942 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11943 cat >> confdefs.h <<EOF
11944 #define $ac_tr_func 1
11948 echo "$ac_t""no
" 1>&6
11954 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
11955 echo "configure
:11956: checking
for _sqrtf declaration
" >&5
11956 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
11957 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
11958 echo $ac_n "(cached
) $ac_c" 1>&6
11963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11964 ac_cpp='$CXXCPP $CPPFLAGS'
11965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11967 cross_compiling=$ac_cv_prog_cxx_cross
11969 cat > conftest.$ac_ext <<EOF
11970 #line 11971 "configure
"
11971 #include "confdefs.h
"
11973 #ifdef HAVE_IEEEFP_H
11974 #include <ieeefp.h>
11981 if { (eval echo configure:11982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11983 glibcpp_cv_func__sqrtf_use=yes
11985 echo "configure
: failed program was
:" >&5
11986 cat conftest.$ac_ext >&5
11988 glibcpp_cv_func__sqrtf_use=no
11992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11993 ac_cpp='$CPP $CPPFLAGS'
11994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11996 cross_compiling=$ac_cv_prog_cc_cross
12002 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
12004 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
12005 for ac_func in _sqrtf
12007 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12008 echo "configure
:12009: checking
for $ac_func" >&5
12009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12010 echo $ac_n "(cached
) $ac_c" 1>&6
12012 cat > conftest.$ac_ext <<EOF
12013 #line 12014 "configure
"
12014 #include "confdefs.h
"
12015 /* System header to define __stub macros and hopefully few prototypes,
12016 which can conflict with char $ac_func(); below. */
12017 #include <assert.h>
12018 /* Override any gcc2 internal prototype to avoid an error. */
12019 /* We use char because int might match the return type of a gcc2
12020 builtin and then its argument prototype would still apply. */
12025 /* The GNU C library defines this for functions which it implements
12026 to always fail with ENOSYS. Some functions are actually named
12027 something starting with __ and the normal name is an alias. */
12028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12036 if { (eval echo configure:12037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12038 eval "ac_cv_func_
$ac_func=yes"
12040 echo "configure
: failed program was
:" >&5
12041 cat conftest.$ac_ext >&5
12043 eval "ac_cv_func_
$ac_func=no
"
12048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12049 echo "$ac_t""yes" 1>&6
12050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12051 cat >> confdefs.h <<EOF
12052 #define $ac_tr_func 1
12056 echo "$ac_t""no
" 1>&6
12065 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
12066 echo "configure
:12067: checking
for sincosf declaration
" >&5
12067 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
12068 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
12069 echo $ac_n "(cached
) $ac_c" 1>&6
12074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12075 ac_cpp='$CXXCPP $CPPFLAGS'
12076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12078 cross_compiling=$ac_cv_prog_cxx_cross
12080 cat > conftest.$ac_ext <<EOF
12081 #line 12082 "configure
"
12082 #include "confdefs.h
"
12088 if { (eval echo configure:12089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12090 glibcpp_cv_func_sincosf_use=yes
12092 echo "configure
: failed program was
:" >&5
12093 cat conftest.$ac_ext >&5
12095 glibcpp_cv_func_sincosf_use=no
12099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12100 ac_cpp='$CPP $CPPFLAGS'
12101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12103 cross_compiling=$ac_cv_prog_cc_cross
12109 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
12111 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
12112 for ac_func in sincosf
12114 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12115 echo "configure
:12116: checking
for $ac_func" >&5
12116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12117 echo $ac_n "(cached
) $ac_c" 1>&6
12119 cat > conftest.$ac_ext <<EOF
12120 #line 12121 "configure
"
12121 #include "confdefs.h
"
12122 /* System header to define __stub macros and hopefully few prototypes,
12123 which can conflict with char $ac_func(); below. */
12124 #include <assert.h>
12125 /* Override any gcc2 internal prototype to avoid an error. */
12126 /* We use char because int might match the return type of a gcc2
12127 builtin and then its argument prototype would still apply. */
12132 /* The GNU C library defines this for functions which it implements
12133 to always fail with ENOSYS. Some functions are actually named
12134 something starting with __ and the normal name is an alias. */
12135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12143 if { (eval echo configure:12144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12145 eval "ac_cv_func_
$ac_func=yes"
12147 echo "configure
: failed program was
:" >&5
12148 cat conftest.$ac_ext >&5
12150 eval "ac_cv_func_
$ac_func=no
"
12155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12156 echo "$ac_t""yes" 1>&6
12157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12158 cat >> confdefs.h <<EOF
12159 #define $ac_tr_func 1
12163 echo "$ac_t""no
" 1>&6
12169 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
12170 echo "configure
:12171: checking
for _sincosf declaration
" >&5
12171 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
12172 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
12173 echo $ac_n "(cached
) $ac_c" 1>&6
12178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12179 ac_cpp='$CXXCPP $CPPFLAGS'
12180 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12181 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12182 cross_compiling=$ac_cv_prog_cxx_cross
12184 cat > conftest.$ac_ext <<EOF
12185 #line 12186 "configure
"
12186 #include "confdefs.h
"
12192 if { (eval echo configure:12193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12194 glibcpp_cv_func__sincosf_use=yes
12196 echo "configure
: failed program was
:" >&5
12197 cat conftest.$ac_ext >&5
12199 glibcpp_cv_func__sincosf_use=no
12203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12204 ac_cpp='$CPP $CPPFLAGS'
12205 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12206 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12207 cross_compiling=$ac_cv_prog_cc_cross
12213 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
12215 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
12216 for ac_func in _sincosf
12218 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12219 echo "configure
:12220: checking
for $ac_func" >&5
12220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12221 echo $ac_n "(cached
) $ac_c" 1>&6
12223 cat > conftest.$ac_ext <<EOF
12224 #line 12225 "configure
"
12225 #include "confdefs.h
"
12226 /* System header to define __stub macros and hopefully few prototypes,
12227 which can conflict with char $ac_func(); below. */
12228 #include <assert.h>
12229 /* Override any gcc2 internal prototype to avoid an error. */
12230 /* We use char because int might match the return type of a gcc2
12231 builtin and then its argument prototype would still apply. */
12236 /* The GNU C library defines this for functions which it implements
12237 to always fail with ENOSYS. Some functions are actually named
12238 something starting with __ and the normal name is an alias. */
12239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12247 if { (eval echo configure:12248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12249 eval "ac_cv_func_
$ac_func=yes"
12251 echo "configure
: failed program was
:" >&5
12252 cat conftest.$ac_ext >&5
12254 eval "ac_cv_func_
$ac_func=no
"
12259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12260 echo "$ac_t""yes" 1>&6
12261 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12262 cat >> confdefs.h <<EOF
12263 #define $ac_tr_func 1
12267 echo "$ac_t""no
" 1>&6
12276 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
12277 echo "configure
:12278: checking
for finitef declaration
" >&5
12278 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
12279 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
12280 echo $ac_n "(cached
) $ac_c" 1>&6
12285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12286 ac_cpp='$CXXCPP $CPPFLAGS'
12287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12289 cross_compiling=$ac_cv_prog_cxx_cross
12291 cat > conftest.$ac_ext <<EOF
12292 #line 12293 "configure
"
12293 #include "confdefs.h
"
12295 #ifdef HAVE_IEEEFP_H
12296 #include <ieeefp.h>
12303 if { (eval echo configure:12304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12305 glibcpp_cv_func_finitef_use=yes
12307 echo "configure
: failed program was
:" >&5
12308 cat conftest.$ac_ext >&5
12310 glibcpp_cv_func_finitef_use=no
12314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12315 ac_cpp='$CPP $CPPFLAGS'
12316 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12317 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12318 cross_compiling=$ac_cv_prog_cc_cross
12324 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
12326 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
12327 for ac_func in finitef
12329 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12330 echo "configure
:12331: checking
for $ac_func" >&5
12331 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12332 echo $ac_n "(cached
) $ac_c" 1>&6
12334 cat > conftest.$ac_ext <<EOF
12335 #line 12336 "configure
"
12336 #include "confdefs.h
"
12337 /* System header to define __stub macros and hopefully few prototypes,
12338 which can conflict with char $ac_func(); below. */
12339 #include <assert.h>
12340 /* Override any gcc2 internal prototype to avoid an error. */
12341 /* We use char because int might match the return type of a gcc2
12342 builtin and then its argument prototype would still apply. */
12347 /* The GNU C library defines this for functions which it implements
12348 to always fail with ENOSYS. Some functions are actually named
12349 something starting with __ and the normal name is an alias. */
12350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12358 if { (eval echo configure:12359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12360 eval "ac_cv_func_
$ac_func=yes"
12362 echo "configure
: failed program was
:" >&5
12363 cat conftest.$ac_ext >&5
12365 eval "ac_cv_func_
$ac_func=no
"
12370 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12371 echo "$ac_t""yes" 1>&6
12372 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12373 cat >> confdefs.h <<EOF
12374 #define $ac_tr_func 1
12378 echo "$ac_t""no
" 1>&6
12384 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
12385 echo "configure
:12386: checking
for _finitef declaration
" >&5
12386 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
12387 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
12388 echo $ac_n "(cached
) $ac_c" 1>&6
12393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12394 ac_cpp='$CXXCPP $CPPFLAGS'
12395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12397 cross_compiling=$ac_cv_prog_cxx_cross
12399 cat > conftest.$ac_ext <<EOF
12400 #line 12401 "configure
"
12401 #include "confdefs.h
"
12403 #ifdef HAVE_IEEEFP_H
12404 #include <ieeefp.h>
12411 if { (eval echo configure:12412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12413 glibcpp_cv_func__finitef_use=yes
12415 echo "configure
: failed program was
:" >&5
12416 cat conftest.$ac_ext >&5
12418 glibcpp_cv_func__finitef_use=no
12422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12423 ac_cpp='$CPP $CPPFLAGS'
12424 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12425 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12426 cross_compiling=$ac_cv_prog_cc_cross
12432 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
12434 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
12435 for ac_func in _finitef
12437 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12438 echo "configure
:12439: checking
for $ac_func" >&5
12439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12440 echo $ac_n "(cached
) $ac_c" 1>&6
12442 cat > conftest.$ac_ext <<EOF
12443 #line 12444 "configure
"
12444 #include "confdefs.h
"
12445 /* System header to define __stub macros and hopefully few prototypes,
12446 which can conflict with char $ac_func(); below. */
12447 #include <assert.h>
12448 /* Override any gcc2 internal prototype to avoid an error. */
12449 /* We use char because int might match the return type of a gcc2
12450 builtin and then its argument prototype would still apply. */
12455 /* The GNU C library defines this for functions which it implements
12456 to always fail with ENOSYS. Some functions are actually named
12457 something starting with __ and the normal name is an alias. */
12458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12466 if { (eval echo configure:12467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12468 eval "ac_cv_func_
$ac_func=yes"
12470 echo "configure
: failed program was
:" >&5
12471 cat conftest.$ac_ext >&5
12473 eval "ac_cv_func_
$ac_func=no
"
12478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12479 echo "$ac_t""yes" 1>&6
12480 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12481 cat >> confdefs.h <<EOF
12482 #define $ac_tr_func 1
12486 echo "$ac_t""no
" 1>&6
12495 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
12496 echo "configure
:12497: checking
for long double trig functions
" >&5
12497 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
12498 echo $ac_n "(cached
) $ac_c" 1>&6
12503 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12504 ac_cpp='$CXXCPP $CPPFLAGS'
12505 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12506 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12507 cross_compiling=$ac_cv_prog_cxx_cross
12509 cat > conftest.$ac_ext <<EOF
12510 #line 12511 "configure
"
12511 #include "confdefs.h
"
12514 `for x in acosl asinl atanl \
12516 coshl sinhl tanhl; do echo "$x (0);"; done`
12519 if { (eval echo configure:12520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12521 glibcpp_cv_func_long_double_trig_use=yes
12523 echo "configure
: failed program was
:" >&5
12524 cat conftest.$ac_ext >&5
12526 glibcpp_cv_func_long_double_trig_use=no
12530 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12531 ac_cpp='$CPP $CPPFLAGS'
12532 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12533 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12534 cross_compiling=$ac_cv_prog_cc_cross
12538 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
12539 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
12540 for ac_func in acosl asinl atanl \
12544 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12545 echo "configure
:12546: checking
for $ac_func" >&5
12546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12547 echo $ac_n "(cached
) $ac_c" 1>&6
12549 cat > conftest.$ac_ext <<EOF
12550 #line 12551 "configure
"
12551 #include "confdefs.h
"
12552 /* System header to define __stub macros and hopefully few prototypes,
12553 which can conflict with char $ac_func(); below. */
12554 #include <assert.h>
12555 /* Override any gcc2 internal prototype to avoid an error. */
12556 /* We use char because int might match the return type of a gcc2
12557 builtin and then its argument prototype would still apply. */
12562 /* The GNU C library defines this for functions which it implements
12563 to always fail with ENOSYS. Some functions are actually named
12564 something starting with __ and the normal name is an alias. */
12565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12573 if { (eval echo configure:12574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12575 eval "ac_cv_func_
$ac_func=yes"
12577 echo "configure
: failed program was
:" >&5
12578 cat conftest.$ac_ext >&5
12580 eval "ac_cv_func_
$ac_func=no
"
12585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12586 echo "$ac_t""yes" 1>&6
12587 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12588 cat >> confdefs.h <<EOF
12589 #define $ac_tr_func 1
12593 echo "$ac_t""no
" 1>&6
12600 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
12601 echo "configure
:12602: checking
for long double round functions
" >&5
12602 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
12603 echo $ac_n "(cached
) $ac_c" 1>&6
12608 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12609 ac_cpp='$CXXCPP $CPPFLAGS'
12610 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12611 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12612 cross_compiling=$ac_cv_prog_cxx_cross
12614 cat > conftest.$ac_ext <<EOF
12615 #line 12616 "configure
"
12616 #include "confdefs.h
"
12619 `for x in ceill floorl; do echo "$x (0);"; done`
12622 if { (eval echo configure:12623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12624 glibcpp_cv_func_long_double_round_use=yes
12626 echo "configure
: failed program was
:" >&5
12627 cat conftest.$ac_ext >&5
12629 glibcpp_cv_func_long_double_round_use=no
12633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12634 ac_cpp='$CPP $CPPFLAGS'
12635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12637 cross_compiling=$ac_cv_prog_cc_cross
12641 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
12642 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
12643 for ac_func in ceill floorl
12645 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12646 echo "configure
:12647: checking
for $ac_func" >&5
12647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12648 echo $ac_n "(cached
) $ac_c" 1>&6
12650 cat > conftest.$ac_ext <<EOF
12651 #line 12652 "configure
"
12652 #include "confdefs.h
"
12653 /* System header to define __stub macros and hopefully few prototypes,
12654 which can conflict with char $ac_func(); below. */
12655 #include <assert.h>
12656 /* Override any gcc2 internal prototype to avoid an error. */
12657 /* We use char because int might match the return type of a gcc2
12658 builtin and then its argument prototype would still apply. */
12663 /* The GNU C library defines this for functions which it implements
12664 to always fail with ENOSYS. Some functions are actually named
12665 something starting with __ and the normal name is an alias. */
12666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12674 if { (eval echo configure:12675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12676 eval "ac_cv_func_
$ac_func=yes"
12678 echo "configure
: failed program was
:" >&5
12679 cat conftest.$ac_ext >&5
12681 eval "ac_cv_func_
$ac_func=no
"
12686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12687 echo "$ac_t""yes" 1>&6
12688 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12689 cat >> confdefs.h <<EOF
12690 #define $ac_tr_func 1
12694 echo "$ac_t""no
" 1>&6
12702 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
12703 echo "configure
:12704: checking
for isnanl declaration
" >&5
12704 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
12705 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
12706 echo $ac_n "(cached
) $ac_c" 1>&6
12711 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12712 ac_cpp='$CXXCPP $CPPFLAGS'
12713 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12714 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12715 cross_compiling=$ac_cv_prog_cxx_cross
12717 cat > conftest.$ac_ext <<EOF
12718 #line 12719 "configure
"
12719 #include "confdefs.h
"
12721 #ifdef HAVE_IEEEFP_H
12722 #include <ieeefp.h>
12729 if { (eval echo configure:12730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12731 glibcpp_cv_func_isnanl_use=yes
12733 echo "configure
: failed program was
:" >&5
12734 cat conftest.$ac_ext >&5
12736 glibcpp_cv_func_isnanl_use=no
12740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12741 ac_cpp='$CPP $CPPFLAGS'
12742 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12743 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12744 cross_compiling=$ac_cv_prog_cc_cross
12750 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
12752 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
12753 for ac_func in isnanl
12755 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12756 echo "configure
:12757: checking
for $ac_func" >&5
12757 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12758 echo $ac_n "(cached
) $ac_c" 1>&6
12760 cat > conftest.$ac_ext <<EOF
12761 #line 12762 "configure
"
12762 #include "confdefs.h
"
12763 /* System header to define __stub macros and hopefully few prototypes,
12764 which can conflict with char $ac_func(); below. */
12765 #include <assert.h>
12766 /* Override any gcc2 internal prototype to avoid an error. */
12767 /* We use char because int might match the return type of a gcc2
12768 builtin and then its argument prototype would still apply. */
12773 /* The GNU C library defines this for functions which it implements
12774 to always fail with ENOSYS. Some functions are actually named
12775 something starting with __ and the normal name is an alias. */
12776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12784 if { (eval echo configure:12785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12786 eval "ac_cv_func_
$ac_func=yes"
12788 echo "configure
: failed program was
:" >&5
12789 cat conftest.$ac_ext >&5
12791 eval "ac_cv_func_
$ac_func=no
"
12796 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12797 echo "$ac_t""yes" 1>&6
12798 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12799 cat >> confdefs.h <<EOF
12800 #define $ac_tr_func 1
12804 echo "$ac_t""no
" 1>&6
12810 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
12811 echo "configure
:12812: checking
for _isnanl declaration
" >&5
12812 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
12813 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
12814 echo $ac_n "(cached
) $ac_c" 1>&6
12819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12820 ac_cpp='$CXXCPP $CPPFLAGS'
12821 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12822 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12823 cross_compiling=$ac_cv_prog_cxx_cross
12825 cat > conftest.$ac_ext <<EOF
12826 #line 12827 "configure
"
12827 #include "confdefs.h
"
12829 #ifdef HAVE_IEEEFP_H
12830 #include <ieeefp.h>
12837 if { (eval echo configure:12838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12839 glibcpp_cv_func__isnanl_use=yes
12841 echo "configure
: failed program was
:" >&5
12842 cat conftest.$ac_ext >&5
12844 glibcpp_cv_func__isnanl_use=no
12848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12849 ac_cpp='$CPP $CPPFLAGS'
12850 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12851 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12852 cross_compiling=$ac_cv_prog_cc_cross
12858 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
12860 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
12861 for ac_func in _isnanl
12863 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12864 echo "configure
:12865: checking
for $ac_func" >&5
12865 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12866 echo $ac_n "(cached
) $ac_c" 1>&6
12868 cat > conftest.$ac_ext <<EOF
12869 #line 12870 "configure
"
12870 #include "confdefs.h
"
12871 /* System header to define __stub macros and hopefully few prototypes,
12872 which can conflict with char $ac_func(); below. */
12873 #include <assert.h>
12874 /* Override any gcc2 internal prototype to avoid an error. */
12875 /* We use char because int might match the return type of a gcc2
12876 builtin and then its argument prototype would still apply. */
12881 /* The GNU C library defines this for functions which it implements
12882 to always fail with ENOSYS. Some functions are actually named
12883 something starting with __ and the normal name is an alias. */
12884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12892 if { (eval echo configure:12893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12894 eval "ac_cv_func_
$ac_func=yes"
12896 echo "configure
: failed program was
:" >&5
12897 cat conftest.$ac_ext >&5
12899 eval "ac_cv_func_
$ac_func=no
"
12904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12905 echo "$ac_t""yes" 1>&6
12906 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12907 cat >> confdefs.h <<EOF
12908 #define $ac_tr_func 1
12912 echo "$ac_t""no
" 1>&6
12921 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
12922 echo "configure
:12923: checking
for isinfl declaration
" >&5
12923 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
12924 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
12925 echo $ac_n "(cached
) $ac_c" 1>&6
12930 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12931 ac_cpp='$CXXCPP $CPPFLAGS'
12932 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12933 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12934 cross_compiling=$ac_cv_prog_cxx_cross
12936 cat > conftest.$ac_ext <<EOF
12937 #line 12938 "configure
"
12938 #include "confdefs.h
"
12940 #ifdef HAVE_IEEEFP_H
12941 #include <ieeefp.h>
12948 if { (eval echo configure:12949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12950 glibcpp_cv_func_isinfl_use=yes
12952 echo "configure
: failed program was
:" >&5
12953 cat conftest.$ac_ext >&5
12955 glibcpp_cv_func_isinfl_use=no
12959 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12960 ac_cpp='$CPP $CPPFLAGS'
12961 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12962 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12963 cross_compiling=$ac_cv_prog_cc_cross
12969 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
12971 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
12972 for ac_func in isinfl
12974 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12975 echo "configure
:12976: checking
for $ac_func" >&5
12976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12977 echo $ac_n "(cached
) $ac_c" 1>&6
12979 cat > conftest.$ac_ext <<EOF
12980 #line 12981 "configure
"
12981 #include "confdefs.h
"
12982 /* System header to define __stub macros and hopefully few prototypes,
12983 which can conflict with char $ac_func(); below. */
12984 #include <assert.h>
12985 /* Override any gcc2 internal prototype to avoid an error. */
12986 /* We use char because int might match the return type of a gcc2
12987 builtin and then its argument prototype would still apply. */
12992 /* The GNU C library defines this for functions which it implements
12993 to always fail with ENOSYS. Some functions are actually named
12994 something starting with __ and the normal name is an alias. */
12995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13003 if { (eval echo configure:13004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13005 eval "ac_cv_func_
$ac_func=yes"
13007 echo "configure
: failed program was
:" >&5
13008 cat conftest.$ac_ext >&5
13010 eval "ac_cv_func_
$ac_func=no
"
13015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13016 echo "$ac_t""yes" 1>&6
13017 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13018 cat >> confdefs.h <<EOF
13019 #define $ac_tr_func 1
13023 echo "$ac_t""no
" 1>&6
13029 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
13030 echo "configure
:13031: checking
for _isinfl declaration
" >&5
13031 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
13032 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
13033 echo $ac_n "(cached
) $ac_c" 1>&6
13038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13039 ac_cpp='$CXXCPP $CPPFLAGS'
13040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13042 cross_compiling=$ac_cv_prog_cxx_cross
13044 cat > conftest.$ac_ext <<EOF
13045 #line 13046 "configure
"
13046 #include "confdefs.h
"
13048 #ifdef HAVE_IEEEFP_H
13049 #include <ieeefp.h>
13056 if { (eval echo configure:13057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13058 glibcpp_cv_func__isinfl_use=yes
13060 echo "configure
: failed program was
:" >&5
13061 cat conftest.$ac_ext >&5
13063 glibcpp_cv_func__isinfl_use=no
13067 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13068 ac_cpp='$CPP $CPPFLAGS'
13069 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13070 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13071 cross_compiling=$ac_cv_prog_cc_cross
13077 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
13079 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
13080 for ac_func in _isinfl
13082 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13083 echo "configure
:13084: checking
for $ac_func" >&5
13084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13085 echo $ac_n "(cached
) $ac_c" 1>&6
13087 cat > conftest.$ac_ext <<EOF
13088 #line 13089 "configure
"
13089 #include "confdefs.h
"
13090 /* System header to define __stub macros and hopefully few prototypes,
13091 which can conflict with char $ac_func(); below. */
13092 #include <assert.h>
13093 /* Override any gcc2 internal prototype to avoid an error. */
13094 /* We use char because int might match the return type of a gcc2
13095 builtin and then its argument prototype would still apply. */
13100 /* The GNU C library defines this for functions which it implements
13101 to always fail with ENOSYS. Some functions are actually named
13102 something starting with __ and the normal name is an alias. */
13103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13111 if { (eval echo configure:13112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13113 eval "ac_cv_func_
$ac_func=yes"
13115 echo "configure
: failed program was
:" >&5
13116 cat conftest.$ac_ext >&5
13118 eval "ac_cv_func_
$ac_func=no
"
13123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13124 echo "$ac_t""yes" 1>&6
13125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13126 cat >> confdefs.h <<EOF
13127 #define $ac_tr_func 1
13131 echo "$ac_t""no
" 1>&6
13140 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
13141 echo "configure
:13142: checking
for copysignl declaration
" >&5
13142 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
13143 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
13144 echo $ac_n "(cached
) $ac_c" 1>&6
13149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13150 ac_cpp='$CXXCPP $CPPFLAGS'
13151 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13152 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13153 cross_compiling=$ac_cv_prog_cxx_cross
13155 cat > conftest.$ac_ext <<EOF
13156 #line 13157 "configure
"
13157 #include "confdefs.h
"
13163 if { (eval echo configure:13164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13165 glibcpp_cv_func_copysignl_use=yes
13167 echo "configure
: failed program was
:" >&5
13168 cat conftest.$ac_ext >&5
13170 glibcpp_cv_func_copysignl_use=no
13174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13175 ac_cpp='$CPP $CPPFLAGS'
13176 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13177 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13178 cross_compiling=$ac_cv_prog_cc_cross
13184 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
13186 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
13187 for ac_func in copysignl
13189 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13190 echo "configure
:13191: checking
for $ac_func" >&5
13191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13192 echo $ac_n "(cached
) $ac_c" 1>&6
13194 cat > conftest.$ac_ext <<EOF
13195 #line 13196 "configure
"
13196 #include "confdefs.h
"
13197 /* System header to define __stub macros and hopefully few prototypes,
13198 which can conflict with char $ac_func(); below. */
13199 #include <assert.h>
13200 /* Override any gcc2 internal prototype to avoid an error. */
13201 /* We use char because int might match the return type of a gcc2
13202 builtin and then its argument prototype would still apply. */
13207 /* The GNU C library defines this for functions which it implements
13208 to always fail with ENOSYS. Some functions are actually named
13209 something starting with __ and the normal name is an alias. */
13210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13218 if { (eval echo configure:13219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13220 eval "ac_cv_func_
$ac_func=yes"
13222 echo "configure
: failed program was
:" >&5
13223 cat conftest.$ac_ext >&5
13225 eval "ac_cv_func_
$ac_func=no
"
13230 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13231 echo "$ac_t""yes" 1>&6
13232 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13233 cat >> confdefs.h <<EOF
13234 #define $ac_tr_func 1
13238 echo "$ac_t""no
" 1>&6
13244 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
13245 echo "configure
:13246: checking
for _copysignl declaration
" >&5
13246 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
13247 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
13248 echo $ac_n "(cached
) $ac_c" 1>&6
13253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13254 ac_cpp='$CXXCPP $CPPFLAGS'
13255 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13256 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13257 cross_compiling=$ac_cv_prog_cxx_cross
13259 cat > conftest.$ac_ext <<EOF
13260 #line 13261 "configure
"
13261 #include "confdefs.h
"
13267 if { (eval echo configure:13268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13269 glibcpp_cv_func__copysignl_use=yes
13271 echo "configure
: failed program was
:" >&5
13272 cat conftest.$ac_ext >&5
13274 glibcpp_cv_func__copysignl_use=no
13278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13279 ac_cpp='$CPP $CPPFLAGS'
13280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13282 cross_compiling=$ac_cv_prog_cc_cross
13288 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
13290 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
13291 for ac_func in _copysignl
13293 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13294 echo "configure
:13295: checking
for $ac_func" >&5
13295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13296 echo $ac_n "(cached
) $ac_c" 1>&6
13298 cat > conftest.$ac_ext <<EOF
13299 #line 13300 "configure
"
13300 #include "confdefs.h
"
13301 /* System header to define __stub macros and hopefully few prototypes,
13302 which can conflict with char $ac_func(); below. */
13303 #include <assert.h>
13304 /* Override any gcc2 internal prototype to avoid an error. */
13305 /* We use char because int might match the return type of a gcc2
13306 builtin and then its argument prototype would still apply. */
13311 /* The GNU C library defines this for functions which it implements
13312 to always fail with ENOSYS. Some functions are actually named
13313 something starting with __ and the normal name is an alias. */
13314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13322 if { (eval echo configure:13323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13324 eval "ac_cv_func_
$ac_func=yes"
13326 echo "configure
: failed program was
:" >&5
13327 cat conftest.$ac_ext >&5
13329 eval "ac_cv_func_
$ac_func=no
"
13334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13335 echo "$ac_t""yes" 1>&6
13336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13337 cat >> confdefs.h <<EOF
13338 #define $ac_tr_func 1
13342 echo "$ac_t""no
" 1>&6
13351 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
13352 echo "configure
:13353: checking
for atan2l declaration
" >&5
13353 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
13354 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
13355 echo $ac_n "(cached
) $ac_c" 1>&6
13360 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13361 ac_cpp='$CXXCPP $CPPFLAGS'
13362 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13363 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13364 cross_compiling=$ac_cv_prog_cxx_cross
13366 cat > conftest.$ac_ext <<EOF
13367 #line 13368 "configure
"
13368 #include "confdefs.h
"
13374 if { (eval echo configure:13375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13376 glibcpp_cv_func_atan2l_use=yes
13378 echo "configure
: failed program was
:" >&5
13379 cat conftest.$ac_ext >&5
13381 glibcpp_cv_func_atan2l_use=no
13385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13386 ac_cpp='$CPP $CPPFLAGS'
13387 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13388 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13389 cross_compiling=$ac_cv_prog_cc_cross
13395 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
13397 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
13398 for ac_func in atan2l
13400 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13401 echo "configure
:13402: checking
for $ac_func" >&5
13402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13403 echo $ac_n "(cached
) $ac_c" 1>&6
13405 cat > conftest.$ac_ext <<EOF
13406 #line 13407 "configure
"
13407 #include "confdefs.h
"
13408 /* System header to define __stub macros and hopefully few prototypes,
13409 which can conflict with char $ac_func(); below. */
13410 #include <assert.h>
13411 /* Override any gcc2 internal prototype to avoid an error. */
13412 /* We use char because int might match the return type of a gcc2
13413 builtin and then its argument prototype would still apply. */
13418 /* The GNU C library defines this for functions which it implements
13419 to always fail with ENOSYS. Some functions are actually named
13420 something starting with __ and the normal name is an alias. */
13421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13429 if { (eval echo configure:13430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13431 eval "ac_cv_func_
$ac_func=yes"
13433 echo "configure
: failed program was
:" >&5
13434 cat conftest.$ac_ext >&5
13436 eval "ac_cv_func_
$ac_func=no
"
13441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13442 echo "$ac_t""yes" 1>&6
13443 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13444 cat >> confdefs.h <<EOF
13445 #define $ac_tr_func 1
13449 echo "$ac_t""no
" 1>&6
13455 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
13456 echo "configure
:13457: checking
for _atan2l declaration
" >&5
13457 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
13458 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
13459 echo $ac_n "(cached
) $ac_c" 1>&6
13464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13465 ac_cpp='$CXXCPP $CPPFLAGS'
13466 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13467 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13468 cross_compiling=$ac_cv_prog_cxx_cross
13470 cat > conftest.$ac_ext <<EOF
13471 #line 13472 "configure
"
13472 #include "confdefs.h
"
13478 if { (eval echo configure:13479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13480 glibcpp_cv_func__atan2l_use=yes
13482 echo "configure
: failed program was
:" >&5
13483 cat conftest.$ac_ext >&5
13485 glibcpp_cv_func__atan2l_use=no
13489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13490 ac_cpp='$CPP $CPPFLAGS'
13491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13493 cross_compiling=$ac_cv_prog_cc_cross
13499 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
13501 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
13502 for ac_func in _atan2l
13504 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13505 echo "configure
:13506: checking
for $ac_func" >&5
13506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13507 echo $ac_n "(cached
) $ac_c" 1>&6
13509 cat > conftest.$ac_ext <<EOF
13510 #line 13511 "configure
"
13511 #include "confdefs.h
"
13512 /* System header to define __stub macros and hopefully few prototypes,
13513 which can conflict with char $ac_func(); below. */
13514 #include <assert.h>
13515 /* Override any gcc2 internal prototype to avoid an error. */
13516 /* We use char because int might match the return type of a gcc2
13517 builtin and then its argument prototype would still apply. */
13522 /* The GNU C library defines this for functions which it implements
13523 to always fail with ENOSYS. Some functions are actually named
13524 something starting with __ and the normal name is an alias. */
13525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13533 if { (eval echo configure:13534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13535 eval "ac_cv_func_
$ac_func=yes"
13537 echo "configure
: failed program was
:" >&5
13538 cat conftest.$ac_ext >&5
13540 eval "ac_cv_func_
$ac_func=no
"
13545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13546 echo "$ac_t""yes" 1>&6
13547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13548 cat >> confdefs.h <<EOF
13549 #define $ac_tr_func 1
13553 echo "$ac_t""no
" 1>&6
13562 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
13563 echo "configure
:13564: checking
for expl declaration
" >&5
13564 if test x${glibcpp_cv_func_expl_use+set} != xset; then
13565 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
13566 echo $ac_n "(cached
) $ac_c" 1>&6
13571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13572 ac_cpp='$CXXCPP $CPPFLAGS'
13573 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13574 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13575 cross_compiling=$ac_cv_prog_cxx_cross
13577 cat > conftest.$ac_ext <<EOF
13578 #line 13579 "configure
"
13579 #include "confdefs.h
"
13581 #ifdef HAVE_IEEEFP_H
13582 #include <ieeefp.h>
13589 if { (eval echo configure:13590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13591 glibcpp_cv_func_expl_use=yes
13593 echo "configure
: failed program was
:" >&5
13594 cat conftest.$ac_ext >&5
13596 glibcpp_cv_func_expl_use=no
13600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13601 ac_cpp='$CPP $CPPFLAGS'
13602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13604 cross_compiling=$ac_cv_prog_cc_cross
13610 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
13612 if test x$glibcpp_cv_func_expl_use = x"yes"; then
13613 for ac_func in expl
13615 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13616 echo "configure
:13617: checking
for $ac_func" >&5
13617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13618 echo $ac_n "(cached
) $ac_c" 1>&6
13620 cat > conftest.$ac_ext <<EOF
13621 #line 13622 "configure
"
13622 #include "confdefs.h
"
13623 /* System header to define __stub macros and hopefully few prototypes,
13624 which can conflict with char $ac_func(); below. */
13625 #include <assert.h>
13626 /* Override any gcc2 internal prototype to avoid an error. */
13627 /* We use char because int might match the return type of a gcc2
13628 builtin and then its argument prototype would still apply. */
13633 /* The GNU C library defines this for functions which it implements
13634 to always fail with ENOSYS. Some functions are actually named
13635 something starting with __ and the normal name is an alias. */
13636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13644 if { (eval echo configure:13645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13646 eval "ac_cv_func_
$ac_func=yes"
13648 echo "configure
: failed program was
:" >&5
13649 cat conftest.$ac_ext >&5
13651 eval "ac_cv_func_
$ac_func=no
"
13656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13657 echo "$ac_t""yes" 1>&6
13658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13659 cat >> confdefs.h <<EOF
13660 #define $ac_tr_func 1
13664 echo "$ac_t""no
" 1>&6
13670 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
13671 echo "configure
:13672: checking
for _expl declaration
" >&5
13672 if test x${glibcpp_cv_func__expl_use+set} != xset; then
13673 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
13674 echo $ac_n "(cached
) $ac_c" 1>&6
13679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13680 ac_cpp='$CXXCPP $CPPFLAGS'
13681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13683 cross_compiling=$ac_cv_prog_cxx_cross
13685 cat > conftest.$ac_ext <<EOF
13686 #line 13687 "configure
"
13687 #include "confdefs.h
"
13689 #ifdef HAVE_IEEEFP_H
13690 #include <ieeefp.h>
13697 if { (eval echo configure:13698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13699 glibcpp_cv_func__expl_use=yes
13701 echo "configure
: failed program was
:" >&5
13702 cat conftest.$ac_ext >&5
13704 glibcpp_cv_func__expl_use=no
13708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13709 ac_cpp='$CPP $CPPFLAGS'
13710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13712 cross_compiling=$ac_cv_prog_cc_cross
13718 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
13720 if test x$glibcpp_cv_func__expl_use = x"yes"; then
13721 for ac_func in _expl
13723 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13724 echo "configure
:13725: checking
for $ac_func" >&5
13725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13726 echo $ac_n "(cached
) $ac_c" 1>&6
13728 cat > conftest.$ac_ext <<EOF
13729 #line 13730 "configure
"
13730 #include "confdefs.h
"
13731 /* System header to define __stub macros and hopefully few prototypes,
13732 which can conflict with char $ac_func(); below. */
13733 #include <assert.h>
13734 /* Override any gcc2 internal prototype to avoid an error. */
13735 /* We use char because int might match the return type of a gcc2
13736 builtin and then its argument prototype would still apply. */
13741 /* The GNU C library defines this for functions which it implements
13742 to always fail with ENOSYS. Some functions are actually named
13743 something starting with __ and the normal name is an alias. */
13744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13752 if { (eval echo configure:13753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13754 eval "ac_cv_func_
$ac_func=yes"
13756 echo "configure
: failed program was
:" >&5
13757 cat conftest.$ac_ext >&5
13759 eval "ac_cv_func_
$ac_func=no
"
13764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13765 echo "$ac_t""yes" 1>&6
13766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13767 cat >> confdefs.h <<EOF
13768 #define $ac_tr_func 1
13772 echo "$ac_t""no
" 1>&6
13781 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
13782 echo "configure
:13783: checking
for fabsl declaration
" >&5
13783 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
13784 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
13785 echo $ac_n "(cached
) $ac_c" 1>&6
13790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13791 ac_cpp='$CXXCPP $CPPFLAGS'
13792 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13793 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13794 cross_compiling=$ac_cv_prog_cxx_cross
13796 cat > conftest.$ac_ext <<EOF
13797 #line 13798 "configure
"
13798 #include "confdefs.h
"
13800 #ifdef HAVE_IEEEFP_H
13801 #include <ieeefp.h>
13808 if { (eval echo configure:13809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13810 glibcpp_cv_func_fabsl_use=yes
13812 echo "configure
: failed program was
:" >&5
13813 cat conftest.$ac_ext >&5
13815 glibcpp_cv_func_fabsl_use=no
13819 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13820 ac_cpp='$CPP $CPPFLAGS'
13821 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13822 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13823 cross_compiling=$ac_cv_prog_cc_cross
13829 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
13831 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
13832 for ac_func in fabsl
13834 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13835 echo "configure
:13836: checking
for $ac_func" >&5
13836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13837 echo $ac_n "(cached
) $ac_c" 1>&6
13839 cat > conftest.$ac_ext <<EOF
13840 #line 13841 "configure
"
13841 #include "confdefs.h
"
13842 /* System header to define __stub macros and hopefully few prototypes,
13843 which can conflict with char $ac_func(); below. */
13844 #include <assert.h>
13845 /* Override any gcc2 internal prototype to avoid an error. */
13846 /* We use char because int might match the return type of a gcc2
13847 builtin and then its argument prototype would still apply. */
13852 /* The GNU C library defines this for functions which it implements
13853 to always fail with ENOSYS. Some functions are actually named
13854 something starting with __ and the normal name is an alias. */
13855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13863 if { (eval echo configure:13864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13865 eval "ac_cv_func_
$ac_func=yes"
13867 echo "configure
: failed program was
:" >&5
13868 cat conftest.$ac_ext >&5
13870 eval "ac_cv_func_
$ac_func=no
"
13875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13876 echo "$ac_t""yes" 1>&6
13877 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13878 cat >> confdefs.h <<EOF
13879 #define $ac_tr_func 1
13883 echo "$ac_t""no
" 1>&6
13889 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
13890 echo "configure
:13891: checking
for _fabsl declaration
" >&5
13891 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
13892 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
13893 echo $ac_n "(cached
) $ac_c" 1>&6
13898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13899 ac_cpp='$CXXCPP $CPPFLAGS'
13900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13902 cross_compiling=$ac_cv_prog_cxx_cross
13904 cat > conftest.$ac_ext <<EOF
13905 #line 13906 "configure
"
13906 #include "confdefs.h
"
13908 #ifdef HAVE_IEEEFP_H
13909 #include <ieeefp.h>
13916 if { (eval echo configure:13917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13918 glibcpp_cv_func__fabsl_use=yes
13920 echo "configure
: failed program was
:" >&5
13921 cat conftest.$ac_ext >&5
13923 glibcpp_cv_func__fabsl_use=no
13927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13928 ac_cpp='$CPP $CPPFLAGS'
13929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13931 cross_compiling=$ac_cv_prog_cc_cross
13937 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
13939 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
13940 for ac_func in _fabsl
13942 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13943 echo "configure
:13944: checking
for $ac_func" >&5
13944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13945 echo $ac_n "(cached
) $ac_c" 1>&6
13947 cat > conftest.$ac_ext <<EOF
13948 #line 13949 "configure
"
13949 #include "confdefs.h
"
13950 /* System header to define __stub macros and hopefully few prototypes,
13951 which can conflict with char $ac_func(); below. */
13952 #include <assert.h>
13953 /* Override any gcc2 internal prototype to avoid an error. */
13954 /* We use char because int might match the return type of a gcc2
13955 builtin and then its argument prototype would still apply. */
13960 /* The GNU C library defines this for functions which it implements
13961 to always fail with ENOSYS. Some functions are actually named
13962 something starting with __ and the normal name is an alias. */
13963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13971 if { (eval echo configure:13972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13973 eval "ac_cv_func_
$ac_func=yes"
13975 echo "configure
: failed program was
:" >&5
13976 cat conftest.$ac_ext >&5
13978 eval "ac_cv_func_
$ac_func=no
"
13983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13984 echo "$ac_t""yes" 1>&6
13985 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13986 cat >> confdefs.h <<EOF
13987 #define $ac_tr_func 1
13991 echo "$ac_t""no
" 1>&6
14000 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
14001 echo "configure
:14002: checking
for fmodl declaration
" >&5
14002 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
14003 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
14004 echo $ac_n "(cached
) $ac_c" 1>&6
14009 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14010 ac_cpp='$CXXCPP $CPPFLAGS'
14011 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14012 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14013 cross_compiling=$ac_cv_prog_cxx_cross
14015 cat > conftest.$ac_ext <<EOF
14016 #line 14017 "configure
"
14017 #include "confdefs.h
"
14023 if { (eval echo configure:14024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14025 glibcpp_cv_func_fmodl_use=yes
14027 echo "configure
: failed program was
:" >&5
14028 cat conftest.$ac_ext >&5
14030 glibcpp_cv_func_fmodl_use=no
14034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14035 ac_cpp='$CPP $CPPFLAGS'
14036 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14037 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14038 cross_compiling=$ac_cv_prog_cc_cross
14044 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
14046 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
14047 for ac_func in fmodl
14049 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14050 echo "configure
:14051: checking
for $ac_func" >&5
14051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14052 echo $ac_n "(cached
) $ac_c" 1>&6
14054 cat > conftest.$ac_ext <<EOF
14055 #line 14056 "configure
"
14056 #include "confdefs.h
"
14057 /* System header to define __stub macros and hopefully few prototypes,
14058 which can conflict with char $ac_func(); below. */
14059 #include <assert.h>
14060 /* Override any gcc2 internal prototype to avoid an error. */
14061 /* We use char because int might match the return type of a gcc2
14062 builtin and then its argument prototype would still apply. */
14067 /* The GNU C library defines this for functions which it implements
14068 to always fail with ENOSYS. Some functions are actually named
14069 something starting with __ and the normal name is an alias. */
14070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14078 if { (eval echo configure:14079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14080 eval "ac_cv_func_
$ac_func=yes"
14082 echo "configure
: failed program was
:" >&5
14083 cat conftest.$ac_ext >&5
14085 eval "ac_cv_func_
$ac_func=no
"
14090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14091 echo "$ac_t""yes" 1>&6
14092 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14093 cat >> confdefs.h <<EOF
14094 #define $ac_tr_func 1
14098 echo "$ac_t""no
" 1>&6
14104 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
14105 echo "configure
:14106: checking
for _fmodl declaration
" >&5
14106 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
14107 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
14108 echo $ac_n "(cached
) $ac_c" 1>&6
14113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14114 ac_cpp='$CXXCPP $CPPFLAGS'
14115 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14116 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14117 cross_compiling=$ac_cv_prog_cxx_cross
14119 cat > conftest.$ac_ext <<EOF
14120 #line 14121 "configure
"
14121 #include "confdefs.h
"
14127 if { (eval echo configure:14128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14129 glibcpp_cv_func__fmodl_use=yes
14131 echo "configure
: failed program was
:" >&5
14132 cat conftest.$ac_ext >&5
14134 glibcpp_cv_func__fmodl_use=no
14138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14139 ac_cpp='$CPP $CPPFLAGS'
14140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14142 cross_compiling=$ac_cv_prog_cc_cross
14148 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
14150 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
14151 for ac_func in _fmodl
14153 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14154 echo "configure
:14155: checking
for $ac_func" >&5
14155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14156 echo $ac_n "(cached
) $ac_c" 1>&6
14158 cat > conftest.$ac_ext <<EOF
14159 #line 14160 "configure
"
14160 #include "confdefs.h
"
14161 /* System header to define __stub macros and hopefully few prototypes,
14162 which can conflict with char $ac_func(); below. */
14163 #include <assert.h>
14164 /* Override any gcc2 internal prototype to avoid an error. */
14165 /* We use char because int might match the return type of a gcc2
14166 builtin and then its argument prototype would still apply. */
14171 /* The GNU C library defines this for functions which it implements
14172 to always fail with ENOSYS. Some functions are actually named
14173 something starting with __ and the normal name is an alias. */
14174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14182 if { (eval echo configure:14183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14184 eval "ac_cv_func_
$ac_func=yes"
14186 echo "configure
: failed program was
:" >&5
14187 cat conftest.$ac_ext >&5
14189 eval "ac_cv_func_
$ac_func=no
"
14194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14195 echo "$ac_t""yes" 1>&6
14196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14197 cat >> confdefs.h <<EOF
14198 #define $ac_tr_func 1
14202 echo "$ac_t""no
" 1>&6
14211 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
14212 echo "configure
:14213: checking
for frexpl declaration
" >&5
14213 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
14214 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
14215 echo $ac_n "(cached
) $ac_c" 1>&6
14220 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14221 ac_cpp='$CXXCPP $CPPFLAGS'
14222 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14223 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14224 cross_compiling=$ac_cv_prog_cxx_cross
14226 cat > conftest.$ac_ext <<EOF
14227 #line 14228 "configure
"
14228 #include "confdefs.h
"
14234 if { (eval echo configure:14235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14236 glibcpp_cv_func_frexpl_use=yes
14238 echo "configure
: failed program was
:" >&5
14239 cat conftest.$ac_ext >&5
14241 glibcpp_cv_func_frexpl_use=no
14245 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14246 ac_cpp='$CPP $CPPFLAGS'
14247 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14248 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14249 cross_compiling=$ac_cv_prog_cc_cross
14255 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
14257 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
14258 for ac_func in frexpl
14260 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14261 echo "configure
:14262: checking
for $ac_func" >&5
14262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14263 echo $ac_n "(cached
) $ac_c" 1>&6
14265 cat > conftest.$ac_ext <<EOF
14266 #line 14267 "configure
"
14267 #include "confdefs.h
"
14268 /* System header to define __stub macros and hopefully few prototypes,
14269 which can conflict with char $ac_func(); below. */
14270 #include <assert.h>
14271 /* Override any gcc2 internal prototype to avoid an error. */
14272 /* We use char because int might match the return type of a gcc2
14273 builtin and then its argument prototype would still apply. */
14278 /* The GNU C library defines this for functions which it implements
14279 to always fail with ENOSYS. Some functions are actually named
14280 something starting with __ and the normal name is an alias. */
14281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14289 if { (eval echo configure:14290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14291 eval "ac_cv_func_
$ac_func=yes"
14293 echo "configure
: failed program was
:" >&5
14294 cat conftest.$ac_ext >&5
14296 eval "ac_cv_func_
$ac_func=no
"
14301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14302 echo "$ac_t""yes" 1>&6
14303 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14304 cat >> confdefs.h <<EOF
14305 #define $ac_tr_func 1
14309 echo "$ac_t""no
" 1>&6
14315 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
14316 echo "configure
:14317: checking
for _frexpl declaration
" >&5
14317 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
14318 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
14319 echo $ac_n "(cached
) $ac_c" 1>&6
14324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14325 ac_cpp='$CXXCPP $CPPFLAGS'
14326 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14327 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14328 cross_compiling=$ac_cv_prog_cxx_cross
14330 cat > conftest.$ac_ext <<EOF
14331 #line 14332 "configure
"
14332 #include "confdefs.h
"
14338 if { (eval echo configure:14339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14340 glibcpp_cv_func__frexpl_use=yes
14342 echo "configure
: failed program was
:" >&5
14343 cat conftest.$ac_ext >&5
14345 glibcpp_cv_func__frexpl_use=no
14349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14350 ac_cpp='$CPP $CPPFLAGS'
14351 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14352 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14353 cross_compiling=$ac_cv_prog_cc_cross
14359 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
14361 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
14362 for ac_func in _frexpl
14364 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14365 echo "configure
:14366: checking
for $ac_func" >&5
14366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14367 echo $ac_n "(cached
) $ac_c" 1>&6
14369 cat > conftest.$ac_ext <<EOF
14370 #line 14371 "configure
"
14371 #include "confdefs.h
"
14372 /* System header to define __stub macros and hopefully few prototypes,
14373 which can conflict with char $ac_func(); below. */
14374 #include <assert.h>
14375 /* Override any gcc2 internal prototype to avoid an error. */
14376 /* We use char because int might match the return type of a gcc2
14377 builtin and then its argument prototype would still apply. */
14382 /* The GNU C library defines this for functions which it implements
14383 to always fail with ENOSYS. Some functions are actually named
14384 something starting with __ and the normal name is an alias. */
14385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14393 if { (eval echo configure:14394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14395 eval "ac_cv_func_
$ac_func=yes"
14397 echo "configure
: failed program was
:" >&5
14398 cat conftest.$ac_ext >&5
14400 eval "ac_cv_func_
$ac_func=no
"
14405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14406 echo "$ac_t""yes" 1>&6
14407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14408 cat >> confdefs.h <<EOF
14409 #define $ac_tr_func 1
14413 echo "$ac_t""no
" 1>&6
14422 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
14423 echo "configure
:14424: checking
for hypotl declaration
" >&5
14424 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
14425 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
14426 echo $ac_n "(cached
) $ac_c" 1>&6
14431 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14432 ac_cpp='$CXXCPP $CPPFLAGS'
14433 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14434 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14435 cross_compiling=$ac_cv_prog_cxx_cross
14437 cat > conftest.$ac_ext <<EOF
14438 #line 14439 "configure
"
14439 #include "confdefs.h
"
14445 if { (eval echo configure:14446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14447 glibcpp_cv_func_hypotl_use=yes
14449 echo "configure
: failed program was
:" >&5
14450 cat conftest.$ac_ext >&5
14452 glibcpp_cv_func_hypotl_use=no
14456 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14457 ac_cpp='$CPP $CPPFLAGS'
14458 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14459 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14460 cross_compiling=$ac_cv_prog_cc_cross
14466 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
14468 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
14469 for ac_func in hypotl
14471 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14472 echo "configure
:14473: checking
for $ac_func" >&5
14473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14474 echo $ac_n "(cached
) $ac_c" 1>&6
14476 cat > conftest.$ac_ext <<EOF
14477 #line 14478 "configure
"
14478 #include "confdefs.h
"
14479 /* System header to define __stub macros and hopefully few prototypes,
14480 which can conflict with char $ac_func(); below. */
14481 #include <assert.h>
14482 /* Override any gcc2 internal prototype to avoid an error. */
14483 /* We use char because int might match the return type of a gcc2
14484 builtin and then its argument prototype would still apply. */
14489 /* The GNU C library defines this for functions which it implements
14490 to always fail with ENOSYS. Some functions are actually named
14491 something starting with __ and the normal name is an alias. */
14492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14500 if { (eval echo configure:14501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14502 eval "ac_cv_func_
$ac_func=yes"
14504 echo "configure
: failed program was
:" >&5
14505 cat conftest.$ac_ext >&5
14507 eval "ac_cv_func_
$ac_func=no
"
14512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14513 echo "$ac_t""yes" 1>&6
14514 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14515 cat >> confdefs.h <<EOF
14516 #define $ac_tr_func 1
14520 echo "$ac_t""no
" 1>&6
14526 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
14527 echo "configure
:14528: checking
for _hypotl declaration
" >&5
14528 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
14529 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
14530 echo $ac_n "(cached
) $ac_c" 1>&6
14535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14536 ac_cpp='$CXXCPP $CPPFLAGS'
14537 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14538 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14539 cross_compiling=$ac_cv_prog_cxx_cross
14541 cat > conftest.$ac_ext <<EOF
14542 #line 14543 "configure
"
14543 #include "confdefs.h
"
14549 if { (eval echo configure:14550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14551 glibcpp_cv_func__hypotl_use=yes
14553 echo "configure
: failed program was
:" >&5
14554 cat conftest.$ac_ext >&5
14556 glibcpp_cv_func__hypotl_use=no
14560 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14561 ac_cpp='$CPP $CPPFLAGS'
14562 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14563 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14564 cross_compiling=$ac_cv_prog_cc_cross
14570 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
14572 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
14573 for ac_func in _hypotl
14575 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14576 echo "configure
:14577: checking
for $ac_func" >&5
14577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14578 echo $ac_n "(cached
) $ac_c" 1>&6
14580 cat > conftest.$ac_ext <<EOF
14581 #line 14582 "configure
"
14582 #include "confdefs.h
"
14583 /* System header to define __stub macros and hopefully few prototypes,
14584 which can conflict with char $ac_func(); below. */
14585 #include <assert.h>
14586 /* Override any gcc2 internal prototype to avoid an error. */
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14593 /* The GNU C library defines this for functions which it implements
14594 to always fail with ENOSYS. Some functions are actually named
14595 something starting with __ and the normal name is an alias. */
14596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14604 if { (eval echo configure:14605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14606 eval "ac_cv_func_
$ac_func=yes"
14608 echo "configure
: failed program was
:" >&5
14609 cat conftest.$ac_ext >&5
14611 eval "ac_cv_func_
$ac_func=no
"
14616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14617 echo "$ac_t""yes" 1>&6
14618 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14619 cat >> confdefs.h <<EOF
14620 #define $ac_tr_func 1
14624 echo "$ac_t""no
" 1>&6
14633 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
14634 echo "configure
:14635: checking
for ldexpl declaration
" >&5
14635 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
14636 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
14637 echo $ac_n "(cached
) $ac_c" 1>&6
14642 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14643 ac_cpp='$CXXCPP $CPPFLAGS'
14644 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14645 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14646 cross_compiling=$ac_cv_prog_cxx_cross
14648 cat > conftest.$ac_ext <<EOF
14649 #line 14650 "configure
"
14650 #include "confdefs.h
"
14656 if { (eval echo configure:14657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14658 glibcpp_cv_func_ldexpl_use=yes
14660 echo "configure
: failed program was
:" >&5
14661 cat conftest.$ac_ext >&5
14663 glibcpp_cv_func_ldexpl_use=no
14667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14668 ac_cpp='$CPP $CPPFLAGS'
14669 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14670 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14671 cross_compiling=$ac_cv_prog_cc_cross
14677 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
14679 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
14680 for ac_func in ldexpl
14682 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14683 echo "configure
:14684: checking
for $ac_func" >&5
14684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14685 echo $ac_n "(cached
) $ac_c" 1>&6
14687 cat > conftest.$ac_ext <<EOF
14688 #line 14689 "configure
"
14689 #include "confdefs.h
"
14690 /* System header to define __stub macros and hopefully few prototypes,
14691 which can conflict with char $ac_func(); below. */
14692 #include <assert.h>
14693 /* Override any gcc2 internal prototype to avoid an error. */
14694 /* We use char because int might match the return type of a gcc2
14695 builtin and then its argument prototype would still apply. */
14700 /* The GNU C library defines this for functions which it implements
14701 to always fail with ENOSYS. Some functions are actually named
14702 something starting with __ and the normal name is an alias. */
14703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14711 if { (eval echo configure:14712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14713 eval "ac_cv_func_
$ac_func=yes"
14715 echo "configure
: failed program was
:" >&5
14716 cat conftest.$ac_ext >&5
14718 eval "ac_cv_func_
$ac_func=no
"
14723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14724 echo "$ac_t""yes" 1>&6
14725 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14726 cat >> confdefs.h <<EOF
14727 #define $ac_tr_func 1
14731 echo "$ac_t""no
" 1>&6
14737 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
14738 echo "configure
:14739: checking
for _ldexpl declaration
" >&5
14739 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
14740 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
14741 echo $ac_n "(cached
) $ac_c" 1>&6
14746 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14747 ac_cpp='$CXXCPP $CPPFLAGS'
14748 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14749 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14750 cross_compiling=$ac_cv_prog_cxx_cross
14752 cat > conftest.$ac_ext <<EOF
14753 #line 14754 "configure
"
14754 #include "confdefs.h
"
14760 if { (eval echo configure:14761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14762 glibcpp_cv_func__ldexpl_use=yes
14764 echo "configure
: failed program was
:" >&5
14765 cat conftest.$ac_ext >&5
14767 glibcpp_cv_func__ldexpl_use=no
14771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14772 ac_cpp='$CPP $CPPFLAGS'
14773 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14774 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14775 cross_compiling=$ac_cv_prog_cc_cross
14781 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
14783 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
14784 for ac_func in _ldexpl
14786 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14787 echo "configure
:14788: checking
for $ac_func" >&5
14788 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14789 echo $ac_n "(cached
) $ac_c" 1>&6
14791 cat > conftest.$ac_ext <<EOF
14792 #line 14793 "configure
"
14793 #include "confdefs.h
"
14794 /* System header to define __stub macros and hopefully few prototypes,
14795 which can conflict with char $ac_func(); below. */
14796 #include <assert.h>
14797 /* Override any gcc2 internal prototype to avoid an error. */
14798 /* We use char because int might match the return type of a gcc2
14799 builtin and then its argument prototype would still apply. */
14804 /* The GNU C library defines this for functions which it implements
14805 to always fail with ENOSYS. Some functions are actually named
14806 something starting with __ and the normal name is an alias. */
14807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14815 if { (eval echo configure:14816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14817 eval "ac_cv_func_
$ac_func=yes"
14819 echo "configure
: failed program was
:" >&5
14820 cat conftest.$ac_ext >&5
14822 eval "ac_cv_func_
$ac_func=no
"
14827 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14828 echo "$ac_t""yes" 1>&6
14829 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14830 cat >> confdefs.h <<EOF
14831 #define $ac_tr_func 1
14835 echo "$ac_t""no
" 1>&6
14844 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
14845 echo "configure
:14846: checking
for logl declaration
" >&5
14846 if test x${glibcpp_cv_func_logl_use+set} != xset; then
14847 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
14848 echo $ac_n "(cached
) $ac_c" 1>&6
14853 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14854 ac_cpp='$CXXCPP $CPPFLAGS'
14855 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14856 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14857 cross_compiling=$ac_cv_prog_cxx_cross
14859 cat > conftest.$ac_ext <<EOF
14860 #line 14861 "configure
"
14861 #include "confdefs.h
"
14863 #ifdef HAVE_IEEEFP_H
14864 #include <ieeefp.h>
14871 if { (eval echo configure:14872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14873 glibcpp_cv_func_logl_use=yes
14875 echo "configure
: failed program was
:" >&5
14876 cat conftest.$ac_ext >&5
14878 glibcpp_cv_func_logl_use=no
14882 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14883 ac_cpp='$CPP $CPPFLAGS'
14884 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14885 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14886 cross_compiling=$ac_cv_prog_cc_cross
14892 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
14894 if test x$glibcpp_cv_func_logl_use = x"yes"; then
14895 for ac_func in logl
14897 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14898 echo "configure
:14899: checking
for $ac_func" >&5
14899 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14900 echo $ac_n "(cached
) $ac_c" 1>&6
14902 cat > conftest.$ac_ext <<EOF
14903 #line 14904 "configure
"
14904 #include "confdefs.h
"
14905 /* System header to define __stub macros and hopefully few prototypes,
14906 which can conflict with char $ac_func(); below. */
14907 #include <assert.h>
14908 /* Override any gcc2 internal prototype to avoid an error. */
14909 /* We use char because int might match the return type of a gcc2
14910 builtin and then its argument prototype would still apply. */
14915 /* The GNU C library defines this for functions which it implements
14916 to always fail with ENOSYS. Some functions are actually named
14917 something starting with __ and the normal name is an alias. */
14918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14926 if { (eval echo configure:14927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14928 eval "ac_cv_func_
$ac_func=yes"
14930 echo "configure
: failed program was
:" >&5
14931 cat conftest.$ac_ext >&5
14933 eval "ac_cv_func_
$ac_func=no
"
14938 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14939 echo "$ac_t""yes" 1>&6
14940 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14941 cat >> confdefs.h <<EOF
14942 #define $ac_tr_func 1
14946 echo "$ac_t""no
" 1>&6
14952 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
14953 echo "configure
:14954: checking
for _logl declaration
" >&5
14954 if test x${glibcpp_cv_func__logl_use+set} != xset; then
14955 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
14956 echo $ac_n "(cached
) $ac_c" 1>&6
14961 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14962 ac_cpp='$CXXCPP $CPPFLAGS'
14963 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14964 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14965 cross_compiling=$ac_cv_prog_cxx_cross
14967 cat > conftest.$ac_ext <<EOF
14968 #line 14969 "configure
"
14969 #include "confdefs.h
"
14971 #ifdef HAVE_IEEEFP_H
14972 #include <ieeefp.h>
14979 if { (eval echo configure:14980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14981 glibcpp_cv_func__logl_use=yes
14983 echo "configure
: failed program was
:" >&5
14984 cat conftest.$ac_ext >&5
14986 glibcpp_cv_func__logl_use=no
14990 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14991 ac_cpp='$CPP $CPPFLAGS'
14992 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14993 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14994 cross_compiling=$ac_cv_prog_cc_cross
15000 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15002 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15003 for ac_func in _logl
15005 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15006 echo "configure
:15007: checking
for $ac_func" >&5
15007 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15008 echo $ac_n "(cached
) $ac_c" 1>&6
15010 cat > conftest.$ac_ext <<EOF
15011 #line 15012 "configure
"
15012 #include "confdefs.h
"
15013 /* System header to define __stub macros and hopefully few prototypes,
15014 which can conflict with char $ac_func(); below. */
15015 #include <assert.h>
15016 /* Override any gcc2 internal prototype to avoid an error. */
15017 /* We use char because int might match the return type of a gcc2
15018 builtin and then its argument prototype would still apply. */
15023 /* The GNU C library defines this for functions which it implements
15024 to always fail with ENOSYS. Some functions are actually named
15025 something starting with __ and the normal name is an alias. */
15026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15034 if { (eval echo configure:15035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15036 eval "ac_cv_func_
$ac_func=yes"
15038 echo "configure
: failed program was
:" >&5
15039 cat conftest.$ac_ext >&5
15041 eval "ac_cv_func_
$ac_func=no
"
15046 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15047 echo "$ac_t""yes" 1>&6
15048 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15049 cat >> confdefs.h <<EOF
15050 #define $ac_tr_func 1
15054 echo "$ac_t""no
" 1>&6
15063 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
15064 echo "configure
:15065: checking
for log10l declaration
" >&5
15065 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
15066 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
15067 echo $ac_n "(cached
) $ac_c" 1>&6
15072 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15073 ac_cpp='$CXXCPP $CPPFLAGS'
15074 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15075 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15076 cross_compiling=$ac_cv_prog_cxx_cross
15078 cat > conftest.$ac_ext <<EOF
15079 #line 15080 "configure
"
15080 #include "confdefs.h
"
15082 #ifdef HAVE_IEEEFP_H
15083 #include <ieeefp.h>
15090 if { (eval echo configure:15091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15092 glibcpp_cv_func_log10l_use=yes
15094 echo "configure
: failed program was
:" >&5
15095 cat conftest.$ac_ext >&5
15097 glibcpp_cv_func_log10l_use=no
15101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15104 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15105 cross_compiling=$ac_cv_prog_cc_cross
15111 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
15113 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
15114 for ac_func in log10l
15116 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15117 echo "configure
:15118: checking
for $ac_func" >&5
15118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15119 echo $ac_n "(cached
) $ac_c" 1>&6
15121 cat > conftest.$ac_ext <<EOF
15122 #line 15123 "configure
"
15123 #include "confdefs.h
"
15124 /* System header to define __stub macros and hopefully few prototypes,
15125 which can conflict with char $ac_func(); below. */
15126 #include <assert.h>
15127 /* Override any gcc2 internal prototype to avoid an error. */
15128 /* We use char because int might match the return type of a gcc2
15129 builtin and then its argument prototype would still apply. */
15134 /* The GNU C library defines this for functions which it implements
15135 to always fail with ENOSYS. Some functions are actually named
15136 something starting with __ and the normal name is an alias. */
15137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15145 if { (eval echo configure:15146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15147 eval "ac_cv_func_
$ac_func=yes"
15149 echo "configure
: failed program was
:" >&5
15150 cat conftest.$ac_ext >&5
15152 eval "ac_cv_func_
$ac_func=no
"
15157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15158 echo "$ac_t""yes" 1>&6
15159 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15160 cat >> confdefs.h <<EOF
15161 #define $ac_tr_func 1
15165 echo "$ac_t""no
" 1>&6
15171 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
15172 echo "configure
:15173: checking
for _log10l declaration
" >&5
15173 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
15174 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
15175 echo $ac_n "(cached
) $ac_c" 1>&6
15180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15181 ac_cpp='$CXXCPP $CPPFLAGS'
15182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15184 cross_compiling=$ac_cv_prog_cxx_cross
15186 cat > conftest.$ac_ext <<EOF
15187 #line 15188 "configure
"
15188 #include "confdefs.h
"
15190 #ifdef HAVE_IEEEFP_H
15191 #include <ieeefp.h>
15198 if { (eval echo configure:15199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15200 glibcpp_cv_func__log10l_use=yes
15202 echo "configure
: failed program was
:" >&5
15203 cat conftest.$ac_ext >&5
15205 glibcpp_cv_func__log10l_use=no
15209 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15210 ac_cpp='$CPP $CPPFLAGS'
15211 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15212 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15213 cross_compiling=$ac_cv_prog_cc_cross
15219 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
15221 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
15222 for ac_func in _log10l
15224 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15225 echo "configure
:15226: checking
for $ac_func" >&5
15226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15227 echo $ac_n "(cached
) $ac_c" 1>&6
15229 cat > conftest.$ac_ext <<EOF
15230 #line 15231 "configure
"
15231 #include "confdefs.h
"
15232 /* System header to define __stub macros and hopefully few prototypes,
15233 which can conflict with char $ac_func(); below. */
15234 #include <assert.h>
15235 /* Override any gcc2 internal prototype to avoid an error. */
15236 /* We use char because int might match the return type of a gcc2
15237 builtin and then its argument prototype would still apply. */
15242 /* The GNU C library defines this for functions which it implements
15243 to always fail with ENOSYS. Some functions are actually named
15244 something starting with __ and the normal name is an alias. */
15245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15253 if { (eval echo configure:15254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15255 eval "ac_cv_func_
$ac_func=yes"
15257 echo "configure
: failed program was
:" >&5
15258 cat conftest.$ac_ext >&5
15260 eval "ac_cv_func_
$ac_func=no
"
15265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15266 echo "$ac_t""yes" 1>&6
15267 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15268 cat >> confdefs.h <<EOF
15269 #define $ac_tr_func 1
15273 echo "$ac_t""no
" 1>&6
15282 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
15283 echo "configure
:15284: checking
for modfl declaration
" >&5
15284 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
15285 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
15286 echo $ac_n "(cached
) $ac_c" 1>&6
15291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15292 ac_cpp='$CXXCPP $CPPFLAGS'
15293 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15294 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15295 cross_compiling=$ac_cv_prog_cxx_cross
15297 cat > conftest.$ac_ext <<EOF
15298 #line 15299 "configure
"
15299 #include "confdefs.h
"
15305 if { (eval echo configure:15306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15307 glibcpp_cv_func_modfl_use=yes
15309 echo "configure
: failed program was
:" >&5
15310 cat conftest.$ac_ext >&5
15312 glibcpp_cv_func_modfl_use=no
15316 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15317 ac_cpp='$CPP $CPPFLAGS'
15318 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15319 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15320 cross_compiling=$ac_cv_prog_cc_cross
15326 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
15328 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
15329 for ac_func in modfl
15331 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15332 echo "configure
:15333: checking
for $ac_func" >&5
15333 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15334 echo $ac_n "(cached
) $ac_c" 1>&6
15336 cat > conftest.$ac_ext <<EOF
15337 #line 15338 "configure
"
15338 #include "confdefs.h
"
15339 /* System header to define __stub macros and hopefully few prototypes,
15340 which can conflict with char $ac_func(); below. */
15341 #include <assert.h>
15342 /* Override any gcc2 internal prototype to avoid an error. */
15343 /* We use char because int might match the return type of a gcc2
15344 builtin and then its argument prototype would still apply. */
15349 /* The GNU C library defines this for functions which it implements
15350 to always fail with ENOSYS. Some functions are actually named
15351 something starting with __ and the normal name is an alias. */
15352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15360 if { (eval echo configure:15361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15362 eval "ac_cv_func_
$ac_func=yes"
15364 echo "configure
: failed program was
:" >&5
15365 cat conftest.$ac_ext >&5
15367 eval "ac_cv_func_
$ac_func=no
"
15372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15373 echo "$ac_t""yes" 1>&6
15374 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15375 cat >> confdefs.h <<EOF
15376 #define $ac_tr_func 1
15380 echo "$ac_t""no
" 1>&6
15386 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
15387 echo "configure
:15388: checking
for _modfl declaration
" >&5
15388 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
15389 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
15390 echo $ac_n "(cached
) $ac_c" 1>&6
15395 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15396 ac_cpp='$CXXCPP $CPPFLAGS'
15397 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15398 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15399 cross_compiling=$ac_cv_prog_cxx_cross
15401 cat > conftest.$ac_ext <<EOF
15402 #line 15403 "configure
"
15403 #include "confdefs.h
"
15409 if { (eval echo configure:15410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15411 glibcpp_cv_func__modfl_use=yes
15413 echo "configure
: failed program was
:" >&5
15414 cat conftest.$ac_ext >&5
15416 glibcpp_cv_func__modfl_use=no
15420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15421 ac_cpp='$CPP $CPPFLAGS'
15422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15424 cross_compiling=$ac_cv_prog_cc_cross
15430 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
15432 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
15433 for ac_func in _modfl
15435 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15436 echo "configure
:15437: checking
for $ac_func" >&5
15437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15438 echo $ac_n "(cached
) $ac_c" 1>&6
15440 cat > conftest.$ac_ext <<EOF
15441 #line 15442 "configure
"
15442 #include "confdefs.h
"
15443 /* System header to define __stub macros and hopefully few prototypes,
15444 which can conflict with char $ac_func(); below. */
15445 #include <assert.h>
15446 /* Override any gcc2 internal prototype to avoid an error. */
15447 /* We use char because int might match the return type of a gcc2
15448 builtin and then its argument prototype would still apply. */
15453 /* The GNU C library defines this for functions which it implements
15454 to always fail with ENOSYS. Some functions are actually named
15455 something starting with __ and the normal name is an alias. */
15456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15464 if { (eval echo configure:15465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15466 eval "ac_cv_func_
$ac_func=yes"
15468 echo "configure
: failed program was
:" >&5
15469 cat conftest.$ac_ext >&5
15471 eval "ac_cv_func_
$ac_func=no
"
15476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15477 echo "$ac_t""yes" 1>&6
15478 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15479 cat >> confdefs.h <<EOF
15480 #define $ac_tr_func 1
15484 echo "$ac_t""no
" 1>&6
15493 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
15494 echo "configure
:15495: checking
for powl declaration
" >&5
15495 if test x${glibcpp_cv_func_powl_use+set} != xset; then
15496 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
15497 echo $ac_n "(cached
) $ac_c" 1>&6
15502 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15503 ac_cpp='$CXXCPP $CPPFLAGS'
15504 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15505 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15506 cross_compiling=$ac_cv_prog_cxx_cross
15508 cat > conftest.$ac_ext <<EOF
15509 #line 15510 "configure
"
15510 #include "confdefs.h
"
15516 if { (eval echo configure:15517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15518 glibcpp_cv_func_powl_use=yes
15520 echo "configure
: failed program was
:" >&5
15521 cat conftest.$ac_ext >&5
15523 glibcpp_cv_func_powl_use=no
15527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15528 ac_cpp='$CPP $CPPFLAGS'
15529 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15530 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15531 cross_compiling=$ac_cv_prog_cc_cross
15537 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
15539 if test x$glibcpp_cv_func_powl_use = x"yes"; then
15540 for ac_func in powl
15542 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15543 echo "configure
:15544: checking
for $ac_func" >&5
15544 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15545 echo $ac_n "(cached
) $ac_c" 1>&6
15547 cat > conftest.$ac_ext <<EOF
15548 #line 15549 "configure
"
15549 #include "confdefs.h
"
15550 /* System header to define __stub macros and hopefully few prototypes,
15551 which can conflict with char $ac_func(); below. */
15552 #include <assert.h>
15553 /* Override any gcc2 internal prototype to avoid an error. */
15554 /* We use char because int might match the return type of a gcc2
15555 builtin and then its argument prototype would still apply. */
15560 /* The GNU C library defines this for functions which it implements
15561 to always fail with ENOSYS. Some functions are actually named
15562 something starting with __ and the normal name is an alias. */
15563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15571 if { (eval echo configure:15572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15573 eval "ac_cv_func_
$ac_func=yes"
15575 echo "configure
: failed program was
:" >&5
15576 cat conftest.$ac_ext >&5
15578 eval "ac_cv_func_
$ac_func=no
"
15583 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15584 echo "$ac_t""yes" 1>&6
15585 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15586 cat >> confdefs.h <<EOF
15587 #define $ac_tr_func 1
15591 echo "$ac_t""no
" 1>&6
15597 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
15598 echo "configure
:15599: checking
for _powl declaration
" >&5
15599 if test x${glibcpp_cv_func__powl_use+set} != xset; then
15600 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
15601 echo $ac_n "(cached
) $ac_c" 1>&6
15606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15607 ac_cpp='$CXXCPP $CPPFLAGS'
15608 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15609 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15610 cross_compiling=$ac_cv_prog_cxx_cross
15612 cat > conftest.$ac_ext <<EOF
15613 #line 15614 "configure
"
15614 #include "confdefs.h
"
15620 if { (eval echo configure:15621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15622 glibcpp_cv_func__powl_use=yes
15624 echo "configure
: failed program was
:" >&5
15625 cat conftest.$ac_ext >&5
15627 glibcpp_cv_func__powl_use=no
15631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15632 ac_cpp='$CPP $CPPFLAGS'
15633 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15634 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15635 cross_compiling=$ac_cv_prog_cc_cross
15641 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
15643 if test x$glibcpp_cv_func__powl_use = x"yes"; then
15644 for ac_func in _powl
15646 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15647 echo "configure
:15648: checking
for $ac_func" >&5
15648 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15649 echo $ac_n "(cached
) $ac_c" 1>&6
15651 cat > conftest.$ac_ext <<EOF
15652 #line 15653 "configure
"
15653 #include "confdefs.h
"
15654 /* System header to define __stub macros and hopefully few prototypes,
15655 which can conflict with char $ac_func(); below. */
15656 #include <assert.h>
15657 /* Override any gcc2 internal prototype to avoid an error. */
15658 /* We use char because int might match the return type of a gcc2
15659 builtin and then its argument prototype would still apply. */
15664 /* The GNU C library defines this for functions which it implements
15665 to always fail with ENOSYS. Some functions are actually named
15666 something starting with __ and the normal name is an alias. */
15667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15675 if { (eval echo configure:15676: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15677 eval "ac_cv_func_
$ac_func=yes"
15679 echo "configure
: failed program was
:" >&5
15680 cat conftest.$ac_ext >&5
15682 eval "ac_cv_func_
$ac_func=no
"
15687 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15688 echo "$ac_t""yes" 1>&6
15689 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15690 cat >> confdefs.h <<EOF
15691 #define $ac_tr_func 1
15695 echo "$ac_t""no
" 1>&6
15704 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
15705 echo "configure
:15706: checking
for sqrtl declaration
" >&5
15706 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
15707 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
15708 echo $ac_n "(cached
) $ac_c" 1>&6
15713 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15714 ac_cpp='$CXXCPP $CPPFLAGS'
15715 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15716 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15717 cross_compiling=$ac_cv_prog_cxx_cross
15719 cat > conftest.$ac_ext <<EOF
15720 #line 15721 "configure
"
15721 #include "confdefs.h
"
15723 #ifdef HAVE_IEEEFP_H
15724 #include <ieeefp.h>
15731 if { (eval echo configure:15732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15733 glibcpp_cv_func_sqrtl_use=yes
15735 echo "configure
: failed program was
:" >&5
15736 cat conftest.$ac_ext >&5
15738 glibcpp_cv_func_sqrtl_use=no
15742 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15743 ac_cpp='$CPP $CPPFLAGS'
15744 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15745 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15746 cross_compiling=$ac_cv_prog_cc_cross
15752 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
15754 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
15755 for ac_func in sqrtl
15757 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15758 echo "configure
:15759: checking
for $ac_func" >&5
15759 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15760 echo $ac_n "(cached
) $ac_c" 1>&6
15762 cat > conftest.$ac_ext <<EOF
15763 #line 15764 "configure
"
15764 #include "confdefs.h
"
15765 /* System header to define __stub macros and hopefully few prototypes,
15766 which can conflict with char $ac_func(); below. */
15767 #include <assert.h>
15768 /* Override any gcc2 internal prototype to avoid an error. */
15769 /* We use char because int might match the return type of a gcc2
15770 builtin and then its argument prototype would still apply. */
15775 /* The GNU C library defines this for functions which it implements
15776 to always fail with ENOSYS. Some functions are actually named
15777 something starting with __ and the normal name is an alias. */
15778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15786 if { (eval echo configure:15787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15788 eval "ac_cv_func_
$ac_func=yes"
15790 echo "configure
: failed program was
:" >&5
15791 cat conftest.$ac_ext >&5
15793 eval "ac_cv_func_
$ac_func=no
"
15798 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15799 echo "$ac_t""yes" 1>&6
15800 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15801 cat >> confdefs.h <<EOF
15802 #define $ac_tr_func 1
15806 echo "$ac_t""no
" 1>&6
15812 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
15813 echo "configure
:15814: checking
for _sqrtl declaration
" >&5
15814 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
15815 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
15816 echo $ac_n "(cached
) $ac_c" 1>&6
15821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15822 ac_cpp='$CXXCPP $CPPFLAGS'
15823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15825 cross_compiling=$ac_cv_prog_cxx_cross
15827 cat > conftest.$ac_ext <<EOF
15828 #line 15829 "configure
"
15829 #include "confdefs.h
"
15831 #ifdef HAVE_IEEEFP_H
15832 #include <ieeefp.h>
15839 if { (eval echo configure:15840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15841 glibcpp_cv_func__sqrtl_use=yes
15843 echo "configure
: failed program was
:" >&5
15844 cat conftest.$ac_ext >&5
15846 glibcpp_cv_func__sqrtl_use=no
15850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15851 ac_cpp='$CPP $CPPFLAGS'
15852 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15853 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15854 cross_compiling=$ac_cv_prog_cc_cross
15860 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
15862 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
15863 for ac_func in _sqrtl
15865 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15866 echo "configure
:15867: checking
for $ac_func" >&5
15867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15868 echo $ac_n "(cached
) $ac_c" 1>&6
15870 cat > conftest.$ac_ext <<EOF
15871 #line 15872 "configure
"
15872 #include "confdefs.h
"
15873 /* System header to define __stub macros and hopefully few prototypes,
15874 which can conflict with char $ac_func(); below. */
15875 #include <assert.h>
15876 /* Override any gcc2 internal prototype to avoid an error. */
15877 /* We use char because int might match the return type of a gcc2
15878 builtin and then its argument prototype would still apply. */
15883 /* The GNU C library defines this for functions which it implements
15884 to always fail with ENOSYS. Some functions are actually named
15885 something starting with __ and the normal name is an alias. */
15886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15894 if { (eval echo configure:15895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15896 eval "ac_cv_func_
$ac_func=yes"
15898 echo "configure
: failed program was
:" >&5
15899 cat conftest.$ac_ext >&5
15901 eval "ac_cv_func_
$ac_func=no
"
15906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15907 echo "$ac_t""yes" 1>&6
15908 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15909 cat >> confdefs.h <<EOF
15910 #define $ac_tr_func 1
15914 echo "$ac_t""no
" 1>&6
15923 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
15924 echo "configure
:15925: checking
for sincosl declaration
" >&5
15925 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
15926 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
15927 echo $ac_n "(cached
) $ac_c" 1>&6
15932 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15933 ac_cpp='$CXXCPP $CPPFLAGS'
15934 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15935 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15936 cross_compiling=$ac_cv_prog_cxx_cross
15938 cat > conftest.$ac_ext <<EOF
15939 #line 15940 "configure
"
15940 #include "confdefs.h
"
15946 if { (eval echo configure:15947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15948 glibcpp_cv_func_sincosl_use=yes
15950 echo "configure
: failed program was
:" >&5
15951 cat conftest.$ac_ext >&5
15953 glibcpp_cv_func_sincosl_use=no
15957 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15958 ac_cpp='$CPP $CPPFLAGS'
15959 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15960 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15961 cross_compiling=$ac_cv_prog_cc_cross
15967 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
15969 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
15970 for ac_func in sincosl
15972 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15973 echo "configure
:15974: checking
for $ac_func" >&5
15974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15975 echo $ac_n "(cached
) $ac_c" 1>&6
15977 cat > conftest.$ac_ext <<EOF
15978 #line 15979 "configure
"
15979 #include "confdefs.h
"
15980 /* System header to define __stub macros and hopefully few prototypes,
15981 which can conflict with char $ac_func(); below. */
15982 #include <assert.h>
15983 /* Override any gcc2 internal prototype to avoid an error. */
15984 /* We use char because int might match the return type of a gcc2
15985 builtin and then its argument prototype would still apply. */
15990 /* The GNU C library defines this for functions which it implements
15991 to always fail with ENOSYS. Some functions are actually named
15992 something starting with __ and the normal name is an alias. */
15993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16001 if { (eval echo configure:16002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16003 eval "ac_cv_func_
$ac_func=yes"
16005 echo "configure
: failed program was
:" >&5
16006 cat conftest.$ac_ext >&5
16008 eval "ac_cv_func_
$ac_func=no
"
16013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16014 echo "$ac_t""yes" 1>&6
16015 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16016 cat >> confdefs.h <<EOF
16017 #define $ac_tr_func 1
16021 echo "$ac_t""no
" 1>&6
16027 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
16028 echo "configure
:16029: checking
for _sincosl declaration
" >&5
16029 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
16030 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16031 echo $ac_n "(cached
) $ac_c" 1>&6
16036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16037 ac_cpp='$CXXCPP $CPPFLAGS'
16038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16040 cross_compiling=$ac_cv_prog_cxx_cross
16042 cat > conftest.$ac_ext <<EOF
16043 #line 16044 "configure
"
16044 #include "confdefs.h
"
16050 if { (eval echo configure:16051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16052 glibcpp_cv_func__sincosl_use=yes
16054 echo "configure
: failed program was
:" >&5
16055 cat conftest.$ac_ext >&5
16057 glibcpp_cv_func__sincosl_use=no
16061 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16062 ac_cpp='$CPP $CPPFLAGS'
16063 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16064 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16065 cross_compiling=$ac_cv_prog_cc_cross
16071 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
16073 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
16074 for ac_func in _sincosl
16076 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16077 echo "configure
:16078: checking
for $ac_func" >&5
16078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16079 echo $ac_n "(cached
) $ac_c" 1>&6
16081 cat > conftest.$ac_ext <<EOF
16082 #line 16083 "configure
"
16083 #include "confdefs.h
"
16084 /* System header to define __stub macros and hopefully few prototypes,
16085 which can conflict with char $ac_func(); below. */
16086 #include <assert.h>
16087 /* Override any gcc2 internal prototype to avoid an error. */
16088 /* We use char because int might match the return type of a gcc2
16089 builtin and then its argument prototype would still apply. */
16094 /* The GNU C library defines this for functions which it implements
16095 to always fail with ENOSYS. Some functions are actually named
16096 something starting with __ and the normal name is an alias. */
16097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16105 if { (eval echo configure:16106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16107 eval "ac_cv_func_
$ac_func=yes"
16109 echo "configure
: failed program was
:" >&5
16110 cat conftest.$ac_ext >&5
16112 eval "ac_cv_func_
$ac_func=no
"
16117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16118 echo "$ac_t""yes" 1>&6
16119 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16120 cat >> confdefs.h <<EOF
16121 #define $ac_tr_func 1
16125 echo "$ac_t""no
" 1>&6
16134 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
16135 echo "configure
:16136: checking
for finitel declaration
" >&5
16136 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
16137 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
16138 echo $ac_n "(cached
) $ac_c" 1>&6
16143 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16144 ac_cpp='$CXXCPP $CPPFLAGS'
16145 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16146 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16147 cross_compiling=$ac_cv_prog_cxx_cross
16149 cat > conftest.$ac_ext <<EOF
16150 #line 16151 "configure
"
16151 #include "confdefs.h
"
16153 #ifdef HAVE_IEEEFP_H
16154 #include <ieeefp.h>
16161 if { (eval echo configure:16162: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16163 glibcpp_cv_func_finitel_use=yes
16165 echo "configure
: failed program was
:" >&5
16166 cat conftest.$ac_ext >&5
16168 glibcpp_cv_func_finitel_use=no
16172 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16173 ac_cpp='$CPP $CPPFLAGS'
16174 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16175 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16176 cross_compiling=$ac_cv_prog_cc_cross
16182 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
16184 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
16185 for ac_func in finitel
16187 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16188 echo "configure
:16189: checking
for $ac_func" >&5
16189 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16190 echo $ac_n "(cached
) $ac_c" 1>&6
16192 cat > conftest.$ac_ext <<EOF
16193 #line 16194 "configure
"
16194 #include "confdefs.h
"
16195 /* System header to define __stub macros and hopefully few prototypes,
16196 which can conflict with char $ac_func(); below. */
16197 #include <assert.h>
16198 /* Override any gcc2 internal prototype to avoid an error. */
16199 /* We use char because int might match the return type of a gcc2
16200 builtin and then its argument prototype would still apply. */
16205 /* The GNU C library defines this for functions which it implements
16206 to always fail with ENOSYS. Some functions are actually named
16207 something starting with __ and the normal name is an alias. */
16208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16216 if { (eval echo configure:16217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16218 eval "ac_cv_func_
$ac_func=yes"
16220 echo "configure
: failed program was
:" >&5
16221 cat conftest.$ac_ext >&5
16223 eval "ac_cv_func_
$ac_func=no
"
16228 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16229 echo "$ac_t""yes" 1>&6
16230 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16231 cat >> confdefs.h <<EOF
16232 #define $ac_tr_func 1
16236 echo "$ac_t""no
" 1>&6
16242 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
16243 echo "configure
:16244: checking
for _finitel declaration
" >&5
16244 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
16245 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
16246 echo $ac_n "(cached
) $ac_c" 1>&6
16251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16252 ac_cpp='$CXXCPP $CPPFLAGS'
16253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16255 cross_compiling=$ac_cv_prog_cxx_cross
16257 cat > conftest.$ac_ext <<EOF
16258 #line 16259 "configure
"
16259 #include "confdefs.h
"
16261 #ifdef HAVE_IEEEFP_H
16262 #include <ieeefp.h>
16269 if { (eval echo configure:16270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16271 glibcpp_cv_func__finitel_use=yes
16273 echo "configure
: failed program was
:" >&5
16274 cat conftest.$ac_ext >&5
16276 glibcpp_cv_func__finitel_use=no
16280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16281 ac_cpp='$CPP $CPPFLAGS'
16282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16284 cross_compiling=$ac_cv_prog_cc_cross
16290 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
16292 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
16293 for ac_func in _finitel
16295 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16296 echo "configure
:16297: checking
for $ac_func" >&5
16297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16298 echo $ac_n "(cached
) $ac_c" 1>&6
16300 cat > conftest.$ac_ext <<EOF
16301 #line 16302 "configure
"
16302 #include "confdefs.h
"
16303 /* System header to define __stub macros and hopefully few prototypes,
16304 which can conflict with char $ac_func(); below. */
16305 #include <assert.h>
16306 /* Override any gcc2 internal prototype to avoid an error. */
16307 /* We use char because int might match the return type of a gcc2
16308 builtin and then its argument prototype would still apply. */
16313 /* The GNU C library defines this for functions which it implements
16314 to always fail with ENOSYS. Some functions are actually named
16315 something starting with __ and the normal name is an alias. */
16316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16324 if { (eval echo configure:16325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16326 eval "ac_cv_func_
$ac_func=yes"
16328 echo "configure
: failed program was
:" >&5
16329 cat conftest.$ac_ext >&5
16331 eval "ac_cv_func_
$ac_func=no
"
16336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16337 echo "$ac_t""yes" 1>&6
16338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16339 cat >> confdefs.h <<EOF
16340 #define $ac_tr_func 1
16344 echo "$ac_t""no
" 1>&6
16354 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
16355 echo "configure
:16356: checking
for _float trig functions
" >&5
16356 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
16357 echo $ac_n "(cached
) $ac_c" 1>&6
16362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16363 ac_cpp='$CXXCPP $CPPFLAGS'
16364 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16365 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16366 cross_compiling=$ac_cv_prog_cxx_cross
16368 cat > conftest.$ac_ext <<EOF
16369 #line 16370 "configure
"
16370 #include "confdefs.h
"
16373 `for x in _acosf _asinf _atanf \
16374 _cosf _sinf _tanf \
16375 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
16378 if { (eval echo configure:16379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16380 glibcpp_cv_func__float_trig_use=yes
16382 echo "configure
: failed program was
:" >&5
16383 cat conftest.$ac_ext >&5
16385 glibcpp_cv_func__float_trig_use=no
16389 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16390 ac_cpp='$CPP $CPPFLAGS'
16391 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16392 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16393 cross_compiling=$ac_cv_prog_cc_cross
16397 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
16398 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
16399 for ac_func in _acosf _asinf _atanf \
16400 _cosf _sinf _tanf \
16401 _coshf _sinhf _tanhf
16403 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16404 echo "configure
:16405: checking
for $ac_func" >&5
16405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16406 echo $ac_n "(cached
) $ac_c" 1>&6
16408 cat > conftest.$ac_ext <<EOF
16409 #line 16410 "configure
"
16410 #include "confdefs.h
"
16411 /* System header to define __stub macros and hopefully few prototypes,
16412 which can conflict with char $ac_func(); below. */
16413 #include <assert.h>
16414 /* Override any gcc2 internal prototype to avoid an error. */
16415 /* We use char because int might match the return type of a gcc2
16416 builtin and then its argument prototype would still apply. */
16421 /* The GNU C library defines this for functions which it implements
16422 to always fail with ENOSYS. Some functions are actually named
16423 something starting with __ and the normal name is an alias. */
16424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16432 if { (eval echo configure:16433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16434 eval "ac_cv_func_
$ac_func=yes"
16436 echo "configure
: failed program was
:" >&5
16437 cat conftest.$ac_ext >&5
16439 eval "ac_cv_func_
$ac_func=no
"
16444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16445 echo "$ac_t""yes" 1>&6
16446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16447 cat >> confdefs.h <<EOF
16448 #define $ac_tr_func 1
16452 echo "$ac_t""no
" 1>&6
16459 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
16460 echo "configure
:16461: checking
for _float round functions
" >&5
16461 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
16462 echo $ac_n "(cached
) $ac_c" 1>&6
16467 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16468 ac_cpp='$CXXCPP $CPPFLAGS'
16469 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16470 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16471 cross_compiling=$ac_cv_prog_cxx_cross
16473 cat > conftest.$ac_ext <<EOF
16474 #line 16475 "configure
"
16475 #include "confdefs.h
"
16478 `for x in _ceilf _floorf; do echo "$x (0);"; done`
16481 if { (eval echo configure:16482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16483 glibcpp_cv_func__float_round_use=yes
16485 echo "configure
: failed program was
:" >&5
16486 cat conftest.$ac_ext >&5
16488 glibcpp_cv_func__float_round_use=no
16492 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16493 ac_cpp='$CPP $CPPFLAGS'
16494 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16495 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16496 cross_compiling=$ac_cv_prog_cc_cross
16500 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
16501 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
16502 for ac_func in _ceilf _floorf
16504 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16505 echo "configure
:16506: checking
for $ac_func" >&5
16506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16507 echo $ac_n "(cached
) $ac_c" 1>&6
16509 cat > conftest.$ac_ext <<EOF
16510 #line 16511 "configure
"
16511 #include "confdefs.h
"
16512 /* System header to define __stub macros and hopefully few prototypes,
16513 which can conflict with char $ac_func(); below. */
16514 #include <assert.h>
16515 /* Override any gcc2 internal prototype to avoid an error. */
16516 /* We use char because int might match the return type of a gcc2
16517 builtin and then its argument prototype would still apply. */
16522 /* The GNU C library defines this for functions which it implements
16523 to always fail with ENOSYS. Some functions are actually named
16524 something starting with __ and the normal name is an alias. */
16525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16533 if { (eval echo configure:16534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16535 eval "ac_cv_func_
$ac_func=yes"
16537 echo "configure
: failed program was
:" >&5
16538 cat conftest.$ac_ext >&5
16540 eval "ac_cv_func_
$ac_func=no
"
16545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16546 echo "$ac_t""yes" 1>&6
16547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16548 cat >> confdefs.h <<EOF
16549 #define $ac_tr_func 1
16553 echo "$ac_t""no
" 1>&6
16561 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
16562 echo "configure
:16563: checking
for _long double trig functions
" >&5
16563 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
16564 echo $ac_n "(cached
) $ac_c" 1>&6
16569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16570 ac_cpp='$CXXCPP $CPPFLAGS'
16571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16573 cross_compiling=$ac_cv_prog_cxx_cross
16575 cat > conftest.$ac_ext <<EOF
16576 #line 16577 "configure
"
16577 #include "confdefs.h
"
16580 `for x in _acosl _asinl _atanl \
16581 _cosl _sinl _tanl \
16582 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
16585 if { (eval echo configure:16586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16587 glibcpp_cv_func__long_double_trig_use=yes
16589 echo "configure
: failed program was
:" >&5
16590 cat conftest.$ac_ext >&5
16592 glibcpp_cv_func__long_double_trig_use=no
16596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16597 ac_cpp='$CPP $CPPFLAGS'
16598 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16599 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16600 cross_compiling=$ac_cv_prog_cc_cross
16604 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
16605 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
16606 for ac_func in _acosl _asinl _atanl \
16607 _cosl _sinl _tanl \
16608 _coshl _sinhl _tanhl
16610 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16611 echo "configure
:16612: checking
for $ac_func" >&5
16612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16613 echo $ac_n "(cached
) $ac_c" 1>&6
16615 cat > conftest.$ac_ext <<EOF
16616 #line 16617 "configure
"
16617 #include "confdefs.h
"
16618 /* System header to define __stub macros and hopefully few prototypes,
16619 which can conflict with char $ac_func(); below. */
16620 #include <assert.h>
16621 /* Override any gcc2 internal prototype to avoid an error. */
16622 /* We use char because int might match the return type of a gcc2
16623 builtin and then its argument prototype would still apply. */
16628 /* The GNU C library defines this for functions which it implements
16629 to always fail with ENOSYS. Some functions are actually named
16630 something starting with __ and the normal name is an alias. */
16631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16639 if { (eval echo configure:16640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16641 eval "ac_cv_func_
$ac_func=yes"
16643 echo "configure
: failed program was
:" >&5
16644 cat conftest.$ac_ext >&5
16646 eval "ac_cv_func_
$ac_func=no
"
16651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16652 echo "$ac_t""yes" 1>&6
16653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16654 cat >> confdefs.h <<EOF
16655 #define $ac_tr_func 1
16659 echo "$ac_t""no
" 1>&6
16666 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
16667 echo "configure
:16668: checking
for _long double round functions
" >&5
16668 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
16669 echo $ac_n "(cached
) $ac_c" 1>&6
16674 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16675 ac_cpp='$CXXCPP $CPPFLAGS'
16676 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16677 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16678 cross_compiling=$ac_cv_prog_cxx_cross
16680 cat > conftest.$ac_ext <<EOF
16681 #line 16682 "configure
"
16682 #include "confdefs.h
"
16685 `for x in _ceill _floorl; do echo "$x (0);"; done`
16688 if { (eval echo configure:16689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16690 glibcpp_cv_func__long_double_round_use=yes
16692 echo "configure
: failed program was
:" >&5
16693 cat conftest.$ac_ext >&5
16695 glibcpp_cv_func__long_double_round_use=no
16699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16700 ac_cpp='$CPP $CPPFLAGS'
16701 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16702 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16703 cross_compiling=$ac_cv_prog_cc_cross
16707 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
16708 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
16709 for ac_func in _ceill _floorl
16711 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16712 echo "configure
:16713: checking
for $ac_func" >&5
16713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16714 echo $ac_n "(cached
) $ac_c" 1>&6
16716 cat > conftest.$ac_ext <<EOF
16717 #line 16718 "configure
"
16718 #include "confdefs.h
"
16719 /* System header to define __stub macros and hopefully few prototypes,
16720 which can conflict with char $ac_func(); below. */
16721 #include <assert.h>
16722 /* Override any gcc2 internal prototype to avoid an error. */
16723 /* We use char because int might match the return type of a gcc2
16724 builtin and then its argument prototype would still apply. */
16729 /* The GNU C library defines this for functions which it implements
16730 to always fail with ENOSYS. Some functions are actually named
16731 something starting with __ and the normal name is an alias. */
16732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16740 if { (eval echo configure:16741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16742 eval "ac_cv_func_
$ac_func=yes"
16744 echo "configure
: failed program was
:" >&5
16745 cat conftest.$ac_ext >&5
16747 eval "ac_cv_func_
$ac_func=no
"
16752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16753 echo "$ac_t""yes" 1>&6
16754 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16755 cat >> confdefs.h <<EOF
16756 #define $ac_tr_func 1
16760 echo "$ac_t""no
" 1>&6
16767 LIBS="$ac_save_LIBS"
16768 CXXFLAGS="$ac_save_CXXFLAGS"
16771 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
16772 echo "configure
:16773: checking
for main
in -lm" >&5
16773 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
16774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16775 echo $ac_n "(cached
) $ac_c" 1>&6
16777 ac_save_LIBS="$LIBS"
16779 cat > conftest.$ac_ext <<EOF
16780 #line 16781 "configure
"
16781 #include "confdefs.h
"
16787 if { (eval echo configure:16788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16789 eval "ac_cv_lib_
$ac_lib_var=yes"
16791 echo "configure
: failed program was
:" >&5
16792 cat conftest.$ac_ext >&5
16794 eval "ac_cv_lib_
$ac_lib_var=no
"
16797 LIBS="$ac_save_LIBS"
16800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16801 echo "$ac_t""yes" 1>&6
16802 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
16803 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
16804 cat >> confdefs.h <<EOF
16805 #define $ac_tr_lib 1
16811 echo "$ac_t""no
" 1>&6
16814 for ac_func in nan copysignf
16816 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16817 echo "configure
:16818: checking
for $ac_func" >&5
16818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16819 echo $ac_n "(cached
) $ac_c" 1>&6
16821 cat > conftest.$ac_ext <<EOF
16822 #line 16823 "configure
"
16823 #include "confdefs.h
"
16824 /* System header to define __stub macros and hopefully few prototypes,
16825 which can conflict with char $ac_func(); below. */
16826 #include <assert.h>
16827 /* Override any gcc2 internal prototype to avoid an error. */
16828 /* We use char because int might match the return type of a gcc2
16829 builtin and then its argument prototype would still apply. */
16834 /* The GNU C library defines this for functions which it implements
16835 to always fail with ENOSYS. Some functions are actually named
16836 something starting with __ and the normal name is an alias. */
16837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16845 if { (eval echo configure:16846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16847 eval "ac_cv_func_
$ac_func=yes"
16849 echo "configure
: failed program was
:" >&5
16850 cat conftest.$ac_ext >&5
16852 eval "ac_cv_func_
$ac_func=no
"
16857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16858 echo "$ac_t""yes" 1>&6
16859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16860 cat >> confdefs.h <<EOF
16861 #define $ac_tr_func 1
16865 echo "$ac_t""no
" 1>&6
16866 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
16872 USE_COMPLEX_LONG_DOUBLE=no
16873 if test x$ac_cv_func_copysignl = x"yes"; then
16874 USE_COMPLEX_LONG_DOUBLE=yes
16875 for ac_func in signbitl
16877 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16878 echo "configure
:16879: checking
for $ac_func" >&5
16879 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16880 echo $ac_n "(cached
) $ac_c" 1>&6
16882 cat > conftest.$ac_ext <<EOF
16883 #line 16884 "configure
"
16884 #include "confdefs.h
"
16885 /* System header to define __stub macros and hopefully few prototypes,
16886 which can conflict with char $ac_func(); below. */
16887 #include <assert.h>
16888 /* Override any gcc2 internal prototype to avoid an error. */
16889 /* We use char because int might match the return type of a gcc2
16890 builtin and then its argument prototype would still apply. */
16895 /* The GNU C library defines this for functions which it implements
16896 to always fail with ENOSYS. Some functions are actually named
16897 something starting with __ and the normal name is an alias. */
16898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16906 if { (eval echo configure:16907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16908 eval "ac_cv_func_
$ac_func=yes"
16910 echo "configure
: failed program was
:" >&5
16911 cat conftest.$ac_ext >&5
16913 eval "ac_cv_func_
$ac_func=no
"
16918 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16919 echo "$ac_t""yes" 1>&6
16920 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16921 cat >> confdefs.h <<EOF
16922 #define $ac_tr_func 1
16926 echo "$ac_t""no
" 1>&6
16927 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
16938 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
16939 echo "configure
:16940: checking
for mbstate_t
" >&5
16940 cat > conftest.$ac_ext <<EOF
16941 #line 16942 "configure
"
16942 #include "confdefs.h
"
16945 mbstate_t teststate;
16948 if { (eval echo configure:16949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16952 echo "configure
: failed program was
:" >&5
16953 cat conftest.$ac_ext >&5
16958 echo "$ac_t""$have_mbstate_t" 1>&6
16959 if test x"$have_mbstate_t" = xyes; then
16960 cat >> confdefs.h <<\EOF
16961 #define HAVE_MBSTATE_T 1
16966 for ac_hdr in wchar.h
16968 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16969 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
16970 echo "configure
:16971: checking
for $ac_hdr" >&5
16971 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16972 echo $ac_n "(cached
) $ac_c" 1>&6
16974 cat > conftest.$ac_ext <<EOF
16975 #line 16976 "configure
"
16976 #include "confdefs.h
"
16979 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
16980 { (eval echo configure:16981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
16982 if test -z "$ac_err"; then
16984 eval "ac_cv_header_
$ac_safe=yes"
16987 echo "configure
: failed program was
:" >&5
16988 cat conftest.$ac_ext >&5
16990 eval "ac_cv_header_
$ac_safe=no
"
16994 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16995 echo "$ac_t""yes" 1>&6
16996 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16997 cat >> confdefs.h <<EOF
16998 #define $ac_tr_hdr 1
17002 echo "$ac_t""no
" 1>&6
17007 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
17008 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
17009 echo "configure
:17010: checking
for wctype.h
" >&5
17010 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17011 echo $ac_n "(cached
) $ac_c" 1>&6
17013 cat > conftest.$ac_ext <<EOF
17014 #line 17015 "configure
"
17015 #include "confdefs.h
"
17016 #include <wctype.h>
17018 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17019 { (eval echo configure:17020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17020 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17021 if test -z "$ac_err"; then
17023 eval "ac_cv_header_
$ac_safe=yes"
17026 echo "configure
: failed program was
:" >&5
17027 cat conftest.$ac_ext >&5
17029 eval "ac_cv_header_
$ac_safe=no
"
17033 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17034 echo "$ac_t""yes" 1>&6
17035 ac_has_wctype_h=yes
17037 echo "$ac_t""no
" 1>&6
17042 if test x"$ac_has_wchar_h" = xyes &&
17043 test x"$ac_has_wctype_h" = xyes &&
17044 test x"$enable_c_mbchar" != xno; then
17046 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
17047 echo "configure
:17048: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
17048 cat > conftest.$ac_ext <<EOF
17049 #line 17050 "configure
"
17050 #include "confdefs.h
"
17053 int i = WCHAR_MIN; int j = WCHAR_MAX;
17056 if { (eval echo configure:17057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17058 has_wchar_minmax=yes
17060 echo "configure
: failed program was
:" >&5
17061 cat conftest.$ac_ext >&5
17063 has_wchar_minmax=no
17066 echo "$ac_t""$has_wchar_minmax" 1>&6
17068 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
17069 echo "configure
:17070: checking
for WEOF
" >&5
17070 cat > conftest.$ac_ext <<EOF
17071 #line 17072 "configure
"
17072 #include "confdefs.h
"
17075 #include <stddef.h>
17080 if { (eval echo configure:17081: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17084 echo "configure
: failed program was
:" >&5
17085 cat conftest.$ac_ext >&5
17090 echo "$ac_t""$has_weof" 1>&6
17093 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
17095 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17096 echo "configure
:17097: checking
for $ac_func" >&5
17097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17098 echo $ac_n "(cached
) $ac_c" 1>&6
17100 cat > conftest.$ac_ext <<EOF
17101 #line 17102 "configure
"
17102 #include "confdefs.h
"
17103 /* System header to define __stub macros and hopefully few prototypes,
17104 which can conflict with char $ac_func(); below. */
17105 #include <assert.h>
17106 /* Override any gcc2 internal prototype to avoid an error. */
17107 /* We use char because int might match the return type of a gcc2
17108 builtin and then its argument prototype would still apply. */
17113 /* The GNU C library defines this for functions which it implements
17114 to always fail with ENOSYS. Some functions are actually named
17115 something starting with __ and the normal name is an alias. */
17116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17124 if { (eval echo configure:17125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17126 eval "ac_cv_func_
$ac_func=yes"
17128 echo "configure
: failed program was
:" >&5
17129 cat conftest.$ac_ext >&5
17131 eval "ac_cv_func_
$ac_func=no
"
17136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17137 echo "$ac_t""yes" 1>&6
17138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17139 cat >> confdefs.h <<EOF
17140 #define $ac_tr_func 1
17144 echo "$ac_t""no
" 1>&6
17151 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
17152 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
17153 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
17154 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
17155 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
17156 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
17158 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17159 echo "configure
:17160: checking
for $ac_func" >&5
17160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17161 echo $ac_n "(cached
) $ac_c" 1>&6
17163 cat > conftest.$ac_ext <<EOF
17164 #line 17165 "configure
"
17165 #include "confdefs.h
"
17166 /* System header to define __stub macros and hopefully few prototypes,
17167 which can conflict with char $ac_func(); below. */
17168 #include <assert.h>
17169 /* Override any gcc2 internal prototype to avoid an error. */
17170 /* We use char because int might match the return type of a gcc2
17171 builtin and then its argument prototype would still apply. */
17176 /* The GNU C library defines this for functions which it implements
17177 to always fail with ENOSYS. Some functions are actually named
17178 something starting with __ and the normal name is an alias. */
17179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17187 if { (eval echo configure:17188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17189 eval "ac_cv_func_
$ac_func=yes"
17191 echo "configure
: failed program was
:" >&5
17192 cat conftest.$ac_ext >&5
17194 eval "ac_cv_func_
$ac_func=no
"
17199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17200 echo "$ac_t""yes" 1>&6
17201 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17202 cat >> confdefs.h <<EOF
17203 #define $ac_tr_func 1
17207 echo "$ac_t""no
" 1>&6
17214 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
17215 echo "configure
:17216: checking
for ISO C99 wchar_t support
" >&5
17216 if test x"$has_weof" = xyes &&
17217 test x"$has_wchar_minmax" = xyes &&
17218 test x"$ac_wfuncs" = xyes; then
17219 ac_isoC99_wchar_t=yes
17221 ac_isoC99_wchar_t=no
17223 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
17225 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
17226 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
17227 echo "configure
:17228: checking
for iconv.h
" >&5
17228 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17229 echo $ac_n "(cached
) $ac_c" 1>&6
17231 cat > conftest.$ac_ext <<EOF
17232 #line 17233 "configure
"
17233 #include "confdefs.h
"
17236 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17237 { (eval echo configure:17238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17238 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17239 if test -z "$ac_err"; then
17241 eval "ac_cv_header_
$ac_safe=yes"
17244 echo "configure
: failed program was
:" >&5
17245 cat conftest.$ac_ext >&5
17247 eval "ac_cv_header_
$ac_safe=no
"
17251 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17252 echo "$ac_t""yes" 1>&6
17255 echo "$ac_t""no
" 1>&6
17259 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
17260 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
17261 echo "configure
:17262: checking
for langinfo.h
" >&5
17262 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17263 echo $ac_n "(cached
) $ac_c" 1>&6
17265 cat > conftest.$ac_ext <<EOF
17266 #line 17267 "configure
"
17267 #include "confdefs.h
"
17268 #include <langinfo.h>
17270 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17271 { (eval echo configure:17272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17272 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17273 if test -z "$ac_err"; then
17275 eval "ac_cv_header_
$ac_safe=yes"
17278 echo "configure
: failed program was
:" >&5
17279 cat conftest.$ac_ext >&5
17281 eval "ac_cv_header_
$ac_safe=no
"
17285 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17286 echo "$ac_t""yes" 1>&6
17287 ac_has_langinfo_h=yes
17289 echo "$ac_t""no
" 1>&6
17290 ac_has_langinfo_h=no
17294 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
17295 echo "configure
:17296: checking
for iconv in -liconv" >&5
17296 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
17297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17298 echo $ac_n "(cached
) $ac_c" 1>&6
17300 ac_save_LIBS="$LIBS"
17301 LIBS="-liconv $LIBS"
17302 cat > conftest.$ac_ext <<EOF
17303 #line 17304 "configure
"
17304 #include "confdefs.h
"
17305 /* Override any gcc2 internal prototype to avoid an error. */
17306 /* We use char because int might match the return type of a gcc2
17307 builtin and then its argument prototype would still apply. */
17314 if { (eval echo configure:17315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17316 eval "ac_cv_lib_
$ac_lib_var=yes"
17318 echo "configure
: failed program was
:" >&5
17319 cat conftest.$ac_ext >&5
17321 eval "ac_cv_lib_
$ac_lib_var=no
"
17324 LIBS="$ac_save_LIBS"
17327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17328 echo "$ac_t""yes" 1>&6
17331 echo "$ac_t""no
" 1>&6
17334 ac_save_LIBS="$LIBS"
17335 LIBS="$LIBS $libiconv"
17337 for ac_func in iconv_open iconv_close iconv nl_langinfo
17339 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17340 echo "configure
:17341: checking
for $ac_func" >&5
17341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17342 echo $ac_n "(cached
) $ac_c" 1>&6
17344 cat > conftest.$ac_ext <<EOF
17345 #line 17346 "configure
"
17346 #include "confdefs.h
"
17347 /* System header to define __stub macros and hopefully few prototypes,
17348 which can conflict with char $ac_func(); below. */
17349 #include <assert.h>
17350 /* Override any gcc2 internal prototype to avoid an error. */
17351 /* We use char because int might match the return type of a gcc2
17352 builtin and then its argument prototype would still apply. */
17357 /* The GNU C library defines this for functions which it implements
17358 to always fail with ENOSYS. Some functions are actually named
17359 something starting with __ and the normal name is an alias. */
17360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17368 if { (eval echo configure:17369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17370 eval "ac_cv_func_
$ac_func=yes"
17372 echo "configure
: failed program was
:" >&5
17373 cat conftest.$ac_ext >&5
17375 eval "ac_cv_func_
$ac_func=no
"
17380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17381 echo "$ac_t""yes" 1>&6
17382 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17383 cat >> confdefs.h <<EOF
17384 #define $ac_tr_func 1
17389 echo "$ac_t""no
" 1>&6
17395 LIBS="$ac_save_LIBS"
17397 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
17398 echo "configure
:17399: checking
for XPG2 wchar_t support
" >&5
17399 if test x"$ac_has_iconv_h" = xyes &&
17400 test x"$ac_has_langinfo_h" = xyes &&
17401 test x"$ac_XPG2funcs" = xyes; then
17402 ac_XPG2_wchar_t=yes
17406 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
17408 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
17409 echo "configure
:17410: checking
for enabled wchar_t specializations
" >&5
17410 if test x"$ac_isoC99_wchar_t" = xyes &&
17411 test x"$ac_XPG2_wchar_t" = xyes; then
17412 cat >> confdefs.h <<\EOF
17413 #define _GLIBCPP_USE_WCHAR_T 1
17416 echo "$ac_t"""yes"" 1>&6
17418 echo "$ac_t"""no"" 1>&6
17421 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
17425 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17426 ac_save_CXXFLAGS="$CXXFLAGS"
17427 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
17430 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
17431 echo "configure
:17432: checking
for strtold declaration
" >&5
17432 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
17433 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
17434 echo $ac_n "(cached
) $ac_c" 1>&6
17439 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17440 ac_cpp='$CXXCPP $CPPFLAGS'
17441 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17442 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17443 cross_compiling=$ac_cv_prog_cxx_cross
17445 cat > conftest.$ac_ext <<EOF
17446 #line 17447 "configure
"
17447 #include "confdefs.h
"
17448 #include <stdlib.h>
17453 if { (eval echo configure:17454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17455 glibcpp_cv_func_strtold_use=yes
17457 echo "configure
: failed program was
:" >&5
17458 cat conftest.$ac_ext >&5
17460 glibcpp_cv_func_strtold_use=no
17464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17465 ac_cpp='$CPP $CPPFLAGS'
17466 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17467 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17468 cross_compiling=$ac_cv_prog_cc_cross
17474 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
17475 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
17476 for ac_func in strtold
17478 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17479 echo "configure
:17480: checking
for $ac_func" >&5
17480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17481 echo $ac_n "(cached
) $ac_c" 1>&6
17483 cat > conftest.$ac_ext <<EOF
17484 #line 17485 "configure
"
17485 #include "confdefs.h
"
17486 /* System header to define __stub macros and hopefully few prototypes,
17487 which can conflict with char $ac_func(); below. */
17488 #include <assert.h>
17489 /* Override any gcc2 internal prototype to avoid an error. */
17490 /* We use char because int might match the return type of a gcc2
17491 builtin and then its argument prototype would still apply. */
17496 /* The GNU C library defines this for functions which it implements
17497 to always fail with ENOSYS. Some functions are actually named
17498 something starting with __ and the normal name is an alias. */
17499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17507 if { (eval echo configure:17508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17509 eval "ac_cv_func_
$ac_func=yes"
17511 echo "configure
: failed program was
:" >&5
17512 cat conftest.$ac_ext >&5
17514 eval "ac_cv_func_
$ac_func=no
"
17519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17520 echo "$ac_t""yes" 1>&6
17521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17522 cat >> confdefs.h <<EOF
17523 #define $ac_tr_func 1
17527 echo "$ac_t""no
" 1>&6
17533 for ac_func in drand48
17535 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17536 echo "configure
:17537: checking
for $ac_func" >&5
17537 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17538 echo $ac_n "(cached
) $ac_c" 1>&6
17540 cat > conftest.$ac_ext <<EOF
17541 #line 17542 "configure
"
17542 #include "confdefs.h
"
17543 /* System header to define __stub macros and hopefully few prototypes,
17544 which can conflict with char $ac_func(); below. */
17545 #include <assert.h>
17546 /* Override any gcc2 internal prototype to avoid an error. */
17547 /* We use char because int might match the return type of a gcc2
17548 builtin and then its argument prototype would still apply. */
17553 /* The GNU C library defines this for functions which it implements
17554 to always fail with ENOSYS. Some functions are actually named
17555 something starting with __ and the normal name is an alias. */
17556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17564 if { (eval echo configure:17565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17566 eval "ac_cv_func_
$ac_func=yes"
17568 echo "configure
: failed program was
:" >&5
17569 cat conftest.$ac_ext >&5
17571 eval "ac_cv_func_
$ac_func=no
"
17576 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17577 echo "$ac_t""yes" 1>&6
17578 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17579 cat >> confdefs.h <<EOF
17580 #define $ac_tr_func 1
17584 echo "$ac_t""no
" 1>&6
17589 CXXFLAGS="$ac_save_CXXFLAGS"
17592 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
17593 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
17594 echo "configure
:17595: checking
for locale.h
" >&5
17595 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17596 echo $ac_n "(cached
) $ac_c" 1>&6
17598 cat > conftest.$ac_ext <<EOF
17599 #line 17600 "configure
"
17600 #include "confdefs.h
"
17601 #include <locale.h>
17603 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17604 { (eval echo configure:17605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17605 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17606 if test -z "$ac_err"; then
17608 eval "ac_cv_header_
$ac_safe=yes"
17611 echo "configure
: failed program was
:" >&5
17612 cat conftest.$ac_ext >&5
17614 eval "ac_cv_header_
$ac_safe=no
"
17618 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17619 echo "$ac_t""yes" 1>&6
17621 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
17622 echo "configure
:17623: checking
for LC_MESSAGES
" >&5
17623 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
17624 echo $ac_n "(cached
) $ac_c" 1>&6
17626 cat > conftest.$ac_ext <<EOF
17627 #line 17628 "configure
"
17628 #include "confdefs.h
"
17629 #include <locale.h>
17634 if { (eval echo configure:17635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17636 ac_cv_val_LC_MESSAGES=yes
17638 echo "configure
: failed program was
:" >&5
17639 cat conftest.$ac_ext >&5
17641 ac_cv_val_LC_MESSAGES=no
17646 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
17647 if test $ac_cv_val_LC_MESSAGES = yes; then
17648 cat >> confdefs.h <<\EOF
17649 #define HAVE_LC_MESSAGES 1
17655 echo "$ac_t""no
" 1>&6
17660 cat > conftest.$ac_ext <<EOF
17661 #line 17662 "configure
"
17662 #include "confdefs.h
"
17664 #include <setjmp.h>
17667 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
17670 if { (eval echo configure:17671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17672 cat >> confdefs.h <<\EOF
17673 #define HAVE_SIGSETJMP 1
17678 echo "configure
: failed program was
:" >&5
17679 cat conftest.$ac_ext >&5
17683 for ac_hdr in stdlib.h unistd.h sys/stat.h sys/types.h
17685 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17686 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
17687 echo "configure
:17688: checking
for $ac_hdr" >&5
17688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17689 echo $ac_n "(cached
) $ac_c" 1>&6
17691 cat > conftest.$ac_ext <<EOF
17692 #line 17693 "configure
"
17693 #include "confdefs.h
"
17696 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17697 { (eval echo configure:17698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17699 if test -z "$ac_err"; then
17701 eval "ac_cv_header_
$ac_safe=yes"
17704 echo "configure
: failed program was
:" >&5
17705 cat conftest.$ac_ext >&5
17707 eval "ac_cv_header_
$ac_safe=no
"
17711 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17712 echo "$ac_t""yes" 1>&6
17713 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17714 cat >> confdefs.h <<EOF
17715 #define $ac_tr_hdr 1
17719 echo "$ac_t""no
" 1>&6
17723 for ac_func in getpagesize
17725 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17726 echo "configure
:17727: checking
for $ac_func" >&5
17727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17728 echo $ac_n "(cached
) $ac_c" 1>&6
17730 cat > conftest.$ac_ext <<EOF
17731 #line 17732 "configure
"
17732 #include "confdefs.h
"
17733 /* System header to define __stub macros and hopefully few prototypes,
17734 which can conflict with char $ac_func(); below. */
17735 #include <assert.h>
17736 /* Override any gcc2 internal prototype to avoid an error. */
17737 /* We use char because int might match the return type of a gcc2
17738 builtin and then its argument prototype would still apply. */
17743 /* The GNU C library defines this for functions which it implements
17744 to always fail with ENOSYS. Some functions are actually named
17745 something starting with __ and the normal name is an alias. */
17746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17754 if { (eval echo configure:17755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17756 eval "ac_cv_func_
$ac_func=yes"
17758 echo "configure
: failed program was
:" >&5
17759 cat conftest.$ac_ext >&5
17761 eval "ac_cv_func_
$ac_func=no
"
17766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17767 echo "$ac_t""yes" 1>&6
17768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17769 cat >> confdefs.h <<EOF
17770 #define $ac_tr_func 1
17774 echo "$ac_t""no
" 1>&6
17778 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
17779 echo "configure
:17780: checking
for working mmap
" >&5
17780 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
17781 echo $ac_n "(cached
) $ac_c" 1>&6
17783 if test "$cross_compiling" = yes; then
17784 ac_cv_func_mmap_fixed_mapped=no
17786 cat > conftest.$ac_ext <<EOF
17787 #line 17788 "configure
"
17788 #include "confdefs.h
"
17790 /* Thanks to Mike Haertel and Jim Avera for this test.
17791 Here is a matrix of mmap possibilities:
17792 mmap private not fixed
17793 mmap private fixed at somewhere currently unmapped
17794 mmap private fixed at somewhere already mapped
17795 mmap shared not fixed
17796 mmap shared fixed at somewhere currently unmapped
17797 mmap shared fixed at somewhere already mapped
17798 For private mappings, we should verify that changes cannot be read()
17799 back from the file, nor mmap's back from the file at a different
17800 address. (There have been systems where private was not correctly
17801 implemented like the infamous i386 svr4.0, and systems where the
17802 VM page cache was not coherent with the filesystem buffer cache
17803 like early versions of FreeBSD and possibly contemporary NetBSD.)
17804 For shared mappings, we should conversely verify that changes get
17805 propogated back to all the places they're supposed to be.
17807 Grep wants private fixed already mapped.
17808 The main things grep needs to know about mmap are:
17809 * does it exist and is it safe to write into the mmap'd area
17810 * how to use it (BSD variants) */
17811 #include <sys/types.h>
17813 #include <sys/mman.h>
17815 #if HAVE_SYS_TYPES_H
17816 # include <sys/types.h>
17820 # include <stdlib.h>
17823 #if HAVE_SYS_STAT_H
17824 # include <sys/stat.h>
17828 # include <unistd.h>
17831 /* This mess was copied from the GNU getpagesize.h. */
17832 #ifndef HAVE_GETPAGESIZE
17834 /* Assume that all systems that can run configure have sys/param.h. */
17835 # ifndef HAVE_SYS_PARAM_H
17836 # define HAVE_SYS_PARAM_H 1
17839 # ifdef _SC_PAGESIZE
17840 # define getpagesize() sysconf(_SC_PAGESIZE)
17841 # else /* no _SC_PAGESIZE */
17842 # ifdef HAVE_SYS_PARAM_H
17843 # include <sys/param.h>
17844 # ifdef EXEC_PAGESIZE
17845 # define getpagesize() EXEC_PAGESIZE
17846 # else /* no EXEC_PAGESIZE */
17848 # define getpagesize() NBPG * CLSIZE
17851 # endif /* no CLSIZE */
17852 # else /* no NBPG */
17854 # define getpagesize() NBPC
17855 # else /* no NBPC */
17857 # define getpagesize() PAGESIZE
17858 # endif /* PAGESIZE */
17859 # endif /* no NBPC */
17860 # endif /* no NBPG */
17861 # endif /* no EXEC_PAGESIZE */
17862 # else /* no HAVE_SYS_PARAM_H */
17863 # define getpagesize() 8192 /* punt totally */
17864 # endif /* no HAVE_SYS_PARAM_H */
17865 # endif /* no _SC_PAGESIZE */
17867 #endif /* no HAVE_GETPAGESIZE */
17870 extern "C
" { void *malloc(unsigned); }
17878 char *data, *data2, *data3;
17882 pagesize = getpagesize();
17885 * First, make a file with some known garbage in it.
17887 data = malloc(pagesize);
17890 for (i = 0; i < pagesize; ++i)
17891 *(data + i) = rand();
17893 fd = creat("conftestmmap
", 0600);
17896 if (write(fd, data, pagesize) != pagesize)
17901 * Next, try to mmap the file at a fixed address which
17902 * already has something else allocated at it. If we can,
17903 * also make sure that we see the same garbage.
17905 fd = open("conftestmmap
", O_RDWR);
17908 data2 = malloc(2 * pagesize);
17911 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
17912 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
17913 MAP_PRIVATE | MAP_FIXED, fd, 0L))
17915 for (i = 0; i < pagesize; ++i)
17916 if (*(data + i) != *(data2 + i))
17920 * Finally, make sure that changes to the mapped area
17921 * do not percolate back to the file as seen by read().
17922 * (This is a bug on some variants of i386 svr4.0.)
17924 for (i = 0; i < pagesize; ++i)
17925 *(data2 + i) = *(data2 + i) + 1;
17926 data3 = malloc(pagesize);
17929 if (read(fd, data3, pagesize) != pagesize)
17931 for (i = 0; i < pagesize; ++i)
17932 if (*(data + i) != *(data3 + i))
17935 unlink("conftestmmap
");
17940 if { (eval echo configure:17941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
17942 ac_cv_func_mmap_fixed_mapped=yes
17944 echo "configure
: failed program was
:" >&5
17945 cat conftest.$ac_ext >&5
17947 ac_cv_func_mmap_fixed_mapped=no
17954 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
17955 if test $ac_cv_func_mmap_fixed_mapped = yes; then
17956 cat >> confdefs.h <<\EOF
17957 #define HAVE_MMAP 1
17963 # Establish limits on memory usage during 'make check'
17966 setrlimit_have_headers=yes
17967 for ac_hdr in sys/resource.h unistd.h
17969 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17970 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
17971 echo "configure
:17972: checking
for $ac_hdr" >&5
17972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17973 echo $ac_n "(cached
) $ac_c" 1>&6
17975 cat > conftest.$ac_ext <<EOF
17976 #line 17977 "configure
"
17977 #include "confdefs.h
"
17980 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17981 { (eval echo configure:17982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17983 if test -z "$ac_err"; then
17985 eval "ac_cv_header_
$ac_safe=yes"
17988 echo "configure
: failed program was
:" >&5
17989 cat conftest.$ac_ext >&5
17991 eval "ac_cv_header_
$ac_safe=no
"
17995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17996 echo "$ac_t""yes" 1>&6
17997 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17998 cat >> confdefs.h <<EOF
17999 #define $ac_tr_hdr 1
18003 echo "$ac_t""no
" 1>&6
18004 setrlimit_have_headers=no
18008 # If don't have the headers, then we can't run the tests now, and we
18009 # won't be seeing any of these during testsuite compilation.
18010 if test $setrlimit_have_headers = yes; then
18011 # Can't do these in a loop, else the resulting syntax is wrong.
18013 cat > conftest.$ac_ext <<EOF
18014 #line 18015 "configure
"
18015 #include "confdefs.h
"
18016 #include <sys/resource.h>
18017 #include <unistd.h>
18020 int f = RLIMIT_DATA ;
18023 if { (eval echo configure:18024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18027 echo "configure
: failed program was
:" >&5
18028 cat conftest.$ac_ext >&5
18033 cat >> confdefs.h <<EOF
18034 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
18039 cat > conftest.$ac_ext <<EOF
18040 #line 18041 "configure
"
18041 #include "confdefs.h
"
18042 #include <sys/resource.h>
18043 #include <unistd.h>
18046 int f = RLIMIT_RSS ;
18049 if { (eval echo configure:18050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18053 echo "configure
: failed program was
:" >&5
18054 cat conftest.$ac_ext >&5
18059 cat >> confdefs.h <<EOF
18060 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
18065 cat > conftest.$ac_ext <<EOF
18066 #line 18067 "configure
"
18067 #include "confdefs.h
"
18068 #include <sys/resource.h>
18069 #include <unistd.h>
18072 int f = RLIMIT_VMEM ;
18075 if { (eval echo configure:18076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18079 echo "configure
: failed program was
:" >&5
18080 cat conftest.$ac_ext >&5
18085 cat >> confdefs.h <<EOF
18086 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
18091 cat > conftest.$ac_ext <<EOF
18092 #line 18093 "configure
"
18093 #include "confdefs.h
"
18094 #include <sys/resource.h>
18095 #include <unistd.h>
18098 int f = RLIMIT_AS ;
18101 if { (eval echo configure:18102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18105 echo "configure
: failed program was
:" >&5
18106 cat conftest.$ac_ext >&5
18111 cat >> confdefs.h <<EOF
18112 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
18117 # Check for rlimit, setrlimit.
18118 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
18119 echo $ac_n "(cached
) $ac_c" 1>&6
18122 cat > conftest.$ac_ext <<EOF
18123 #line 18124 "configure
"
18124 #include "confdefs.h
"
18125 #include <sys/resource.h>
18126 #include <unistd.h>
18129 struct rlimit r; setrlimit(0, &r);
18132 if { (eval echo configure:18133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18136 echo "configure
: failed program was
:" >&5
18137 cat conftest.$ac_ext >&5
18147 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
18148 echo "configure
:18149: checking
for testsuite memory limit support
" >&5
18149 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
18151 cat >> confdefs.h <<\EOF
18152 #define _GLIBCPP_MEM_LIMITS 1
18158 echo "$ac_t""$ac_mem_limits" 1>&6
18164 # Propagate the target-specific source directories through the build chain.
18165 OS_INC_SRCDIR=$os_include_dir/bits
18166 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
18167 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
18172 # Set up cross-compile flags
18176 if test "$CANADIAN" = yes; then
18184 cat > confcache <<\EOF
18185 # This file is a shell script that caches the results of configure
18186 # tests run on this system so they can be shared between configure
18187 # scripts and configure runs. It is not useful on other systems.
18188 # If it contains results you don't want to keep, you may remove or edit it.
18190 # By default, configure uses ./config.cache as the cache file,
18191 # creating it if it does not exist already. You can give configure
18192 # the --cache-file=FILE option to use a different cache file; that is
18193 # what configure does when it calls configure scripts in
18194 # subdirectories, so they share the cache.
18195 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18196 # config.status only pays attention to the cache file if you give it the
18197 # --recheck option to rerun configure.
18200 # The following way of writing the cache mishandles newlines in values,
18201 # but we know of no workaround that is simple, portable, and efficient.
18202 # So, don't put newlines in cache variables' values.
18203 # Ultrix sh set writes to stderr and can't be redirected directly,
18204 # and sets the high bit in the cache file unless we assign to the vars.
18206 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18208 # `set' does not quote correctly, so add quotes (double-quote substitution
18209 # turns \\\\ into \\, and sed turns \\ into \).
18211 -e "s
/'/'\\\\''/g
" \
18212 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
18215 # `set' quotes correctly as required by POSIX, so do not add quotes.
18216 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18219 if cmp -s $cache_file confcache; then
18222 if test -w $cache_file; then
18223 echo "updating cache
$cache_file"
18224 cat confcache > $cache_file
18226 echo "not updating unwritable cache
$cache_file"
18232 if test "${multilib}" = "yes"; then
18233 multilib_arg="--enable-multilib"
18238 # Needed so that g++ can find the correct include subdir automatically.
18241 # Export all the install information
18243 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
18244 # exported correctly in GLIBCPP_CONFIGURE.
18245 glibcpp_toolexecdir=no
18246 glibcpp_toolexeclibdir=no
18247 glibcpp_prefixdir=${prefix}
18249 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
18250 echo "configure
:18251: checking
for interface version number
" >&5
18251 libstdcxx_interface=$INTERFACE
18252 echo "$ac_t""$libstdcxx_interface" 1>&6
18254 # Process the option --with-gxx-include-dir=<path to include-files directory>
18255 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
18256 echo "configure
:18257: checking
for --with-gxx-include-dir" >&5
18257 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
18258 if test "${with_gxx_include_dir+set}" = set; then
18259 withval="$with_gxx_include_dir"
18260 case "${withval}" in
18262 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
18269 gxx_include_dir=${withval}
18276 echo "$ac_t""$gxx_include_dir" 1>&6
18278 # Process the option "--enable-version-specific-runtime-libs"
18279 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
18280 echo "configure
:18281: checking
for --enable-version-specific-runtime-libs" >&5
18281 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
18282 if test "${enable_version_specific_runtime_libs+set}" = set; then
18283 enableval="$enable_version_specific_runtime_libs"
18284 case "$enableval" in
18285 yes) version_specific_libs=yes ;;
18286 no) version_specific_libs=no ;;
18287 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
18290 version_specific_libs=no
18292 # Option set, now we can test it.
18293 echo "$ac_t""$version_specific_libs" 1>&6
18295 if test $version_specific_libs = yes; then
18296 # Need the gcc compiler version to know where to install libraries
18297 # and header files if --enable-version-specific-runtime-libs option
18299 gcc_version_trigger=${srcdir}/../gcc/version.c
18300 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
18301 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
18302 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
18303 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
18304 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
18307 # Default case for install directory for include files.
18308 if test $version_specific_libs = no &&
18309 test $gxx_include_dir = no; then
18310 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
18313 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
18314 # Install a library built with a cross compiler in tooldir, not libdir.
18315 if test x"$glibcpp_toolexecdir" = x"no
"; then
18316 if test -n "$with_cross_host" &&
18317 test x"$with_cross_host" != x"no
"; then
18318 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
18319 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
18321 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
18322 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
18326 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
18327 echo "configure
:18328: checking
for install location
" >&5
18328 echo "$ac_t""$gxx_include_dir" 1>&6
18336 # Export all the include and flag information to makefiles.
18338 # Root level of the build directory include sources.
18339 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
18341 # Passed down for canadian crosses.
18342 if test x"$CANADIAN" = xyes; then
18343 TOPLEVEL_INCLUDES='-I$(includedir)'
18346 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
18348 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
18350 if test x"$need_libio" = xyes; then
18351 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
18355 # Now, export this to all the little Makefiles....
18362 # Optimization flags that are probably a good idea for thrill-seekers. Just
18363 # uncomment the lines below and make, everything else is ready to go...
18364 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
18368 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
18372 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
18373 grep "enable shared
" > /dev/null; then
18374 LIBSUPCXX_PICFLAGS=-prefer-pic
18376 LIBSUPCXX_PICFLAGS=
18380 # Generate the various Makefiles, include files, and scripts.
18381 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
18382 # and libsupc++/Makefile.am so that multilib installs will end up
18383 # installed in the correct place. To work around this not being passed
18384 # down from config-ml.in -> top_srcdir/Makefile.am ->
18385 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
18387 cat > confcache <<\EOF
18388 # This file is a shell script that caches the results of configure
18389 # tests run on this system so they can be shared between configure
18390 # scripts and configure runs. It is not useful on other systems.
18391 # If it contains results you don't want to keep, you may remove or edit it.
18393 # By default, configure uses ./config.cache as the cache file,
18394 # creating it if it does not exist already. You can give configure
18395 # the --cache-file=FILE option to use a different cache file; that is
18396 # what configure does when it calls configure scripts in
18397 # subdirectories, so they share the cache.
18398 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18399 # config.status only pays attention to the cache file if you give it the
18400 # --recheck option to rerun configure.
18403 # The following way of writing the cache mishandles newlines in values,
18404 # but we know of no workaround that is simple, portable, and efficient.
18405 # So, don't put newlines in cache variables' values.
18406 # Ultrix sh set writes to stderr and can't be redirected directly,
18407 # and sets the high bit in the cache file unless we assign to the vars.
18409 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18411 # `set' does not quote correctly, so add quotes (double-quote substitution
18412 # turns \\\\ into \\, and sed turns \\ into \).
18414 -e "s
/'/'\\\\''/g
" \
18415 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
18418 # `set' quotes correctly as required by POSIX, so do not add quotes.
18419 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18422 if cmp -s $cache_file confcache; then
18425 if test -w $cache_file; then
18426 echo "updating cache
$cache_file"
18427 cat confcache > $cache_file
18429 echo "not updating unwritable cache
$cache_file"
18434 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18436 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
18437 # Let make expand exec_prefix.
18438 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
18440 # Any assignment to VPATH causes Sun make to only execute
18441 # the first set of double-colon rules, so remove it if not needed.
18442 # If there is a colon in the path, we need to keep it.
18443 if test "x
$srcdir" = x.; then
18444 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
18447 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18449 DEFS=-DHAVE_CONFIG_H
18451 # Without the ".
/", some shells look in PATH for config.status.
18452 : ${CONFIG_STATUS=./config.status}
18454 echo creating $CONFIG_STATUS
18455 rm -f $CONFIG_STATUS
18456 cat > $CONFIG_STATUS <<EOF
18458 # Generated automatically by configure.
18459 # Run this file to recreate the current configuration.
18460 # This directory was configured as follows,
18461 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18463 # $0 $ac_configure_args
18465 # Compiler output produced by configure, useful for debugging
18466 # configure, is in ./config.log if it exists.
18468 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
18471 case "\
$ac_option" in
18472 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18473 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18474 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18475 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18476 echo "$CONFIG_STATUS generated by autoconf version
2.13"
18478 -help | --help | --hel | --he | --h)
18479 echo "\
$ac_cs_usage"; exit 0 ;;
18480 *) echo "\
$ac_cs_usage"; exit 1 ;;
18484 ac_given_srcdir=$srcdir
18485 ac_given_INSTALL="$INSTALL"
18487 trap 'rm -fr `echo "Makefile \
18488 include
/Makefile src
/Makefile \
18489 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
18490 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
18492 cat >> $CONFIG_STATUS <<EOF
18494 # Protect against being on the right side of a sed subst in config.status.
18495 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18496 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18500 s%@CFLAGS@%$CFLAGS%g
18501 s%@CPPFLAGS@%$CPPFLAGS%g
18502 s%@CXXFLAGS@%$CXXFLAGS%g
18503 s%@FFLAGS@%$FFLAGS%g
18505 s%@LDFLAGS@%$LDFLAGS%g
18507 s%@exec_prefix@%$exec_prefix%g
18508 s%@prefix@%$prefix%g
18509 s%@program_transform_name@%$program_transform_name%g
18510 s%@bindir@%$bindir%g
18511 s%@sbindir@%$sbindir%g
18512 s%@libexecdir@%$libexecdir%g
18513 s%@datadir@%$datadir%g
18514 s%@sysconfdir@%$sysconfdir%g
18515 s%@sharedstatedir@%$sharedstatedir%g
18516 s%@localstatedir@%$localstatedir%g
18517 s%@libdir@%$libdir%g
18518 s%@includedir@%$includedir%g
18519 s%@oldincludedir@%$oldincludedir%g
18520 s%@infodir@%$infodir%g
18521 s%@mandir@%$mandir%g
18522 s%@PACKAGE@%$PACKAGE%g
18523 s%@release_VERSION@%$release_VERSION%g
18524 s%@libtool_VERSION@%$libtool_VERSION%g
18526 s%@host_alias@%$host_alias%g
18527 s%@host_cpu@%$host_cpu%g
18528 s%@host_vendor@%$host_vendor%g
18529 s%@host_os@%$host_os%g
18530 s%@target@%$target%g
18531 s%@target_alias@%$target_alias%g
18532 s%@target_cpu@%$target_cpu%g
18533 s%@target_vendor@%$target_vendor%g
18534 s%@target_os@%$target_os%g
18536 s%@build_alias@%$build_alias%g
18537 s%@build_cpu@%$build_cpu%g
18538 s%@build_vendor@%$build_vendor%g
18539 s%@build_os@%$build_os%g
18540 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18541 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18542 s%@INSTALL_DATA@%$INSTALL_DATA%g
18543 s%@VERSION@%$VERSION%g
18544 s%@ACLOCAL@%$ACLOCAL%g
18545 s%@AUTOCONF@%$AUTOCONF%g
18546 s%@AUTOMAKE@%$AUTOMAKE%g
18547 s%@AUTOHEADER@%$AUTOHEADER%g
18548 s%@MAKEINFO@%$MAKEINFO%g
18549 s%@SET_MAKE@%$SET_MAKE%g
18550 s%@toplevel_srcdir@%$toplevel_srcdir%g
18551 s%@glibcpp_builddir@%$glibcpp_builddir%g
18552 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
18554 s%@glibcpp_basedir@%$glibcpp_basedir%g
18556 s%@glibcpp_CXX@%$glibcpp_CXX%g
18559 s%@RANLIB@%$RANLIB%g
18560 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
18561 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
18563 s%@EXEEXT@%$EXEEXT%g
18564 s%@OBJEXT@%$OBJEXT%g
18566 s%@LIBTOOL@%$LIBTOOL%g
18567 s%@CXXCPP@%$CXXCPP%g
18568 s%@enable_shared@%$enable_shared%g
18569 s%@enable_static@%$enable_static%g
18570 s%@ifGNUmake@%$ifGNUmake%g
18571 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
18573 s%@CSTDIO_H@%$CSTDIO_H%g
18574 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
18575 s%@CCODECVT_C@%$CCODECVT_C%g
18576 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
18577 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
18578 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
18579 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
18580 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
18581 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
18582 s%@libio_la@%$libio_la%g
18583 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
18584 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
18585 s%@glibcpp_localedir@%$glibcpp_localedir%g
18586 s%@USE_NLS@%$USE_NLS%g
18587 s%@CLOCALE_H@%$CLOCALE_H%g
18588 s%@CCODECVT_H@%$CCODECVT_H%g
18589 s%@CMESSAGES_H@%$CMESSAGES_H%g
18590 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
18591 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
18592 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
18593 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
18594 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
18595 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
18596 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
18597 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
18598 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
18599 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
18600 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
18601 s%@WERROR@%$WERROR%g
18602 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
18603 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
18604 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
18605 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
18606 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
18607 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
18608 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
18609 s%@gxx_include_dir@%$gxx_include_dir%g
18610 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
18611 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
18612 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
18613 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
18614 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
18615 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
18616 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
18617 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
18618 s%@WARN_FLAGS@%$WARN_FLAGS%g
18619 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
18624 cat >> $CONFIG_STATUS <<\EOF
18626 # Split the substitutions into bite-sized pieces for seds with
18627 # small command number limits, like on Digital OSF/1 and HP-UX.
18628 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
18629 ac_file=1 # Number of current file.
18630 ac_beg=1 # First line for current file.
18631 ac_end=$ac_max_sed_cmds # Line after last line for current file.
18634 while $ac_more_lines; do
18635 if test $ac_beg -gt 1; then
18636 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
18638 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
18640 if test ! -s conftest.s$ac_file; then
18641 ac_more_lines=false
18642 rm -f conftest.s$ac_file
18644 if test -z "$ac_sed_cmds"; then
18645 ac_sed_cmds="sed -f conftest.s
$ac_file"
18647 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
18649 ac_file=`expr $ac_file + 1`
18651 ac_end=`expr $ac_end + $ac_max_sed_cmds`
18654 if test -z "$ac_sed_cmds"; then
18659 cat >> $CONFIG_STATUS <<EOF
18661 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
18662 include
/Makefile src
/Makefile \
18663 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
18664 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
18666 cat >> $CONFIG_STATUS <<\EOF
18667 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
18668 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
18670 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
18671 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18672 *) ac_file_in="${ac_file}.
in" ;;
18675 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18677 # Remove last slash and all that follows it. Not all systems have dirname.
18678 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18679 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18680 # The file is in a subdirectory.
18681 test ! -d "$ac_dir" && mkdir "$ac_dir"
18682 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
18683 # A "..
/" for each directory in $ac_dir_suffix.
18684 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18686 ac_dir_suffix= ac_dots=
18689 case "$ac_given_srcdir" in
18691 if test -z "$ac_dots"; then top_srcdir=.
18692 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18693 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
18694 *) # Relative path.
18695 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18696 top_srcdir="$ac_dots$ac_given_srcdir" ;;
18699 case "$ac_given_INSTALL" in
18700 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18701 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18704 echo creating "$ac_file"
18706 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
18708 *Makefile*) ac_comsub="1i
\\
18709 # $configure_input" ;;
18713 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18715 s%@configure_input@%$configure_input%g
18716 s%@srcdir@%$srcdir%g
18717 s%@top_srcdir@%$top_srcdir%g
18718 s%@INSTALL@%$INSTALL%g
18719 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
18723 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18724 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18726 # ac_d sets the value in "#define NAME VALUE" lines.
18727 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18728 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18731 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18732 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18733 ac_uB
='\([ ]\)%\1#\2define\3'
18736 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18737 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18738 ac_eB
='$%\1#\2define\3'
18742 if test "${CONFIG_HEADERS+set}" != set; then
18744 cat >> $CONFIG_STATUS <<EOF
18745 CONFIG_HEADERS="config.h"
18747 cat >> $CONFIG_STATUS <<\EOF
18749 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18750 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18752 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18753 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18754 *) ac_file_in
="${ac_file}.in" ;;
18757 echo creating
$ac_file
18759 rm -f conftest.frag conftest.
in conftest.out
18760 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18761 cat $ac_file_inputs > conftest.
in
18765 # Transform confdefs.h into a sed script conftest.vals that substitutes
18766 # the proper values into config.h.in to produce config.h. And first:
18767 # Protect against being on the right side of a sed subst in config.status.
18768 # Protect against being in an unquoted here document in config.status.
18769 rm -f conftest.vals
18770 cat > conftest.hdr
<<\EOF
18773 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18777 sed -n -f conftest.hdr confdefs.h > conftest.vals
18780 # This sed command replaces #undef with comments. This is necessary, for
18781 # example, in the case of _POSIX_SOURCE, which is predefined and required
18782 # on some systems where configure will not decide to define it.
18783 cat >> conftest.vals <<\EOF
18784 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18787 # Break up conftest.vals because some shells have a limit on
18788 # the size of here documents, and old seds have small limits too.
18790 rm -f conftest.tail
18793 ac_lines=`grep -c . conftest.vals
`
18794 # grep -c gives empty output for an empty file on some AIX systems.
18795 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18796 # Write a limited-size here document to conftest.frag.
18797 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18798 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18800 sed -f conftest.frag conftest.in > conftest.out
18802 mv conftest.out conftest.in
18803 ' >> $CONFIG_STATUS
18804 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18805 rm -f conftest.vals
18806 mv conftest.tail conftest.vals
18808 rm -f conftest.vals
18810 cat >> $CONFIG_STATUS <<\EOF
18811 rm -f conftest.frag conftest.h
18812 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18813 cat conftest.in >> conftest.h
18815 if cmp -s $ac_file conftest.h 2>/dev/null; then
18816 echo "$ac_file is unchanged"
18819 # Remove last slash and all that follows it. Not all systems have dirname.
18820 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
18821 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18822 # The file is in a subdirectory.
18823 test ! -d "$ac_dir" && mkdir "$ac_dir"
18826 mv conftest.h $ac_file
18832 cat >> $CONFIG_STATUS <<EOF
18833 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC"
18834 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"
18837 cat >> $CONFIG_STATUS <<\EOF
18838 srcdir=$ac_given_srcdir
18839 while test -n "$ac_sources"; do
18840 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
18841 set $ac_sources; ac_source=$1; shift; ac_sources=$*
18843 echo "linking $srcdir/$ac_source to $ac_dest"
18845 if test ! -r $srcdir/$ac_source; then
18846 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
18850 # Make relative symlinks.
18851 # Remove last slash and all that follows it. Not all systems have dirname.
18852 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
18853 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
18854 # The dest file is in a subdirectory.
18855 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
18856 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
18857 # A "../" for each directory in $ac_dest_dir_suffix.
18858 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
18860 ac_dest_dir_suffix= ac_dots=
18864 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
18865 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
18868 # Make a symlink if possible; otherwise try a hard link.
18869 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
18870 ln $srcdir/$ac_source $ac_dest; then :
18872 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
18876 cat >> $CONFIG_STATUS <<EOF
18881 with_multisubdir=${with_multisubdir}
18882 ac_configure_args="${multilib_arg} ${ac_configure_args}"
18883 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
18884 glibcpp_basedir=${glibcpp_basedir}
18889 cat >> $CONFIG_STATUS <<\EOF
18890 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
18891 if test -n "$CONFIG_FILES"; then
18892 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
18893 grep '^MULTISUBDIR =' Makefile >> src/Makefile
18894 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
18897 chmod +x testsuite_flags
18901 chmod +x $CONFIG_STATUS
18902 rm -fr confdefs* $ac_clean_files
18903 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18907 # Sanity checking & User-visible messages.
18908 # Checks down here, otherwise they get scrolled off before
18909 # the user will notice.
18911 # Trying to get more people to read documentation. Possibly remove
18912 # check and warn all the time. There is no "informational" AC_MSG_
18913 # macro, so these are going to be printed even when --quiet/--silent
18915 if test ! -f stamp-sanity-warned; then
18916 touch stamp-sanity-warned
18918 echo "Please make certain that you read the installation information here:"
18919 echo " faster => ${srcdir}/docs/install.html"
18920 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
18922 echo "and the configuration information here:"
18923 echo " faster => ${srcdir}/docs/configopts.html"
18924 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
18926 echo "before proceeding with ${_cv_gnu_make_command}."