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 --enable-symvers=style enables symbol versioning of the shared library [default=no]"
64 --with-gxx-include-dir the installation directory for include files"
66 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
68 # Initialize some variables set by options.
69 # The variables have the same names as the options, with
70 # dashes changed to underlines.
72 cache_file
=.
/config.cache
81 program_transform_name
=s
,x
,x
,
90 bindir
='${exec_prefix}/bin'
91 sbindir
='${exec_prefix}/sbin'
92 libexecdir
='${exec_prefix}/libexec'
93 datadir
='${prefix}/share'
94 sysconfdir
='${prefix}/etc'
95 sharedstatedir
='${prefix}/com'
96 localstatedir
='${prefix}/var'
97 libdir
='${exec_prefix}/lib'
98 includedir
='${prefix}/include'
99 oldincludedir
='/usr/include'
100 infodir
='${prefix}/info'
101 mandir
='${prefix}/man'
103 # Initialize some other variables.
106 SHELL
=${CONFIG_SHELL-/bin/sh}
107 # Maximum number of lines to put in a shell here document.
114 # If the previous option needs an argument, assign it.
115 if test -n "$ac_prev"; then
116 eval "$ac_prev=\$ac_option"
122 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
126 # Accept the important Cygnus configure options, so we can diagnose typos.
130 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
132 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
133 bindir
="$ac_optarg" ;;
135 -build |
--build |
--buil |
--bui |
--bu)
137 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
138 build
="$ac_optarg" ;;
140 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
141 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
142 ac_prev
=cache_file
;;
143 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
144 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
145 cache_file
="$ac_optarg" ;;
147 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
149 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
151 datadir
="$ac_optarg" ;;
153 -disable-* |
--disable-*)
154 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
155 # Reject names that are not valid shell variable names.
156 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
157 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
159 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
160 eval "enable_${ac_feature}=no" ;;
162 -enable-* |
--enable-*)
163 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
164 # Reject names that are not valid shell variable names.
165 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
166 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
168 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
173 eval "enable_${ac_feature}='$ac_optarg'" ;;
175 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
176 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
177 |
--exec |
--exe |
--ex)
178 ac_prev
=exec_prefix
;;
179 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
180 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
181 |
--exec=* |
--exe=* |
--ex=*)
182 exec_prefix
="$ac_optarg" ;;
184 -gas |
--gas |
--ga |
--g)
185 # Obsolete; use --with-gas.
188 -help |
--help |
--hel |
--he)
189 # Omit some internal or obsolete options to make the list less imposing.
190 # This message is too long to be a string in the A/UX 3.1 sh.
192 Usage: configure [options] [host]
193 Options: [defaults in brackets after descriptions]
195 --cache-file=FILE cache test results in FILE
196 --help print this message
197 --no-create do not create output files
198 --quiet, --silent do not print \`checking...' messages
199 --site-file=FILE use FILE as the site file
200 --version print the version of autoconf that created configure
201 Directory and file names:
202 --prefix=PREFIX install architecture-independent files in PREFIX
204 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
206 --bindir=DIR user executables in DIR [EPREFIX/bin]
207 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
208 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
209 --datadir=DIR read-only architecture-independent data in DIR
211 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
212 --sharedstatedir=DIR modifiable architecture-independent data in DIR
214 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
215 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
216 --includedir=DIR C header files in DIR [PREFIX/include]
217 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
218 --infodir=DIR info documentation in DIR [PREFIX/info]
219 --mandir=DIR man documentation in DIR [PREFIX/man]
220 --srcdir=DIR find the sources in DIR [configure dir or ..]
221 --program-prefix=PREFIX prepend PREFIX to installed program names
222 --program-suffix=SUFFIX append SUFFIX to installed program names
223 --program-transform-name=PROGRAM
224 run sed PROGRAM on installed program names
228 --build=BUILD configure for building on BUILD [BUILD=HOST]
229 --host=HOST configure for HOST [guessed]
230 --target=TARGET configure for TARGET [TARGET=HOST]
231 Features and packages:
232 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
233 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
234 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
235 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
236 --x-includes=DIR X include files are in DIR
237 --x-libraries=DIR X library files are in DIR
239 if test -n "$ac_help"; then
240 echo "--enable and --with options recognized:$ac_help"
244 -host |
--host |
--hos |
--ho)
246 -host=* |
--host=* |
--hos=* |
--ho=*)
249 -includedir |
--includedir |
--includedi |
--included |
--include \
250 |
--includ |
--inclu |
--incl |
--inc)
251 ac_prev
=includedir
;;
252 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
253 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
254 includedir
="$ac_optarg" ;;
256 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
258 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
259 infodir
="$ac_optarg" ;;
261 -libdir |
--libdir |
--libdi |
--libd)
263 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
264 libdir
="$ac_optarg" ;;
266 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
267 |
--libexe |
--libex |
--libe)
268 ac_prev
=libexecdir
;;
269 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
270 |
--libexe=* |
--libex=* |
--libe=*)
271 libexecdir
="$ac_optarg" ;;
273 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
274 |
--localstate |
--localstat |
--localsta |
--localst \
275 |
--locals |
--local |
--loca |
--loc |
--lo)
276 ac_prev
=localstatedir
;;
277 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
278 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
279 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
280 localstatedir
="$ac_optarg" ;;
282 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
284 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
285 mandir
="$ac_optarg" ;;
288 # Obsolete; use --without-fp.
291 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
295 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
296 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
299 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
300 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
301 |
--oldin |
--oldi |
--old |
--ol |
--o)
302 ac_prev
=oldincludedir
;;
303 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
304 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
305 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
306 oldincludedir
="$ac_optarg" ;;
308 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
310 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
311 prefix
="$ac_optarg" ;;
313 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
314 |
--program-pre |
--program-pr |
--program-p)
315 ac_prev
=program_prefix
;;
316 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
317 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
318 program_prefix
="$ac_optarg" ;;
320 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
321 |
--program-suf |
--program-su |
--program-s)
322 ac_prev
=program_suffix
;;
323 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
324 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
325 program_suffix
="$ac_optarg" ;;
327 -program-transform-name |
--program-transform-name \
328 |
--program-transform-nam |
--program-transform-na \
329 |
--program-transform-n |
--program-transform- \
330 |
--program-transform |
--program-transfor \
331 |
--program-transfo |
--program-transf \
332 |
--program-trans |
--program-tran \
333 |
--progr-tra |
--program-tr |
--program-t)
334 ac_prev
=program_transform_name
;;
335 -program-transform-name=* |
--program-transform-name=* \
336 |
--program-transform-nam=* |
--program-transform-na=* \
337 |
--program-transform-n=* |
--program-transform-=* \
338 |
--program-transform=* |
--program-transfor=* \
339 |
--program-transfo=* |
--program-transf=* \
340 |
--program-trans=* |
--program-tran=* \
341 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
342 program_transform_name
="$ac_optarg" ;;
344 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
345 |
-silent |
--silent |
--silen |
--sile |
--sil)
348 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
350 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
352 sbindir
="$ac_optarg" ;;
354 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
355 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
356 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
358 ac_prev
=sharedstatedir
;;
359 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
360 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
361 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
363 sharedstatedir
="$ac_optarg" ;;
365 -site |
--site |
--sit)
367 -site=* |
--site=* |
--sit=*)
370 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
372 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
373 sitefile
="$ac_optarg" ;;
375 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
377 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
378 srcdir
="$ac_optarg" ;;
380 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
381 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
382 ac_prev
=sysconfdir
;;
383 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
384 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
385 sysconfdir
="$ac_optarg" ;;
387 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
389 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
390 target
="$ac_optarg" ;;
392 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
395 -version |
--version |
--versio |
--versi |
--vers)
396 echo "configure generated by autoconf version 2.13"
400 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package
=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}='$ac_optarg'" ;;
412 -without-* |
--without-*)
413 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package
=`echo $ac_package| sed 's/-/_/g'`
419 eval "with_${ac_package}=no" ;;
422 # Obsolete; use --with-x.
425 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
426 |
--x-incl |
--x-inc |
--x-in |
--x-i)
427 ac_prev
=x_includes
;;
428 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
429 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
430 x_includes
="$ac_optarg" ;;
432 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
433 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
434 ac_prev
=x_libraries
;;
435 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
436 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
437 x_libraries
="$ac_optarg" ;;
439 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
443 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
444 echo "configure: warning: $ac_option: invalid host type" 1>&2
446 if test "x$nonopt" != xNONE
; then
447 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
455 if test -n "$ac_prev"; then
456 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
461 # File descriptor usage:
464 # 2 errors and warnings
465 # 3 some systems may open it to /dev/tty
466 # 4 used on the Kubota Titan
467 # 6 checking for... messages and results
468 # 5 compiler messages saved in config.log
469 if test "$silent" = yes; then
477 This file contains any messages produced by compilers while
478 running configure, to aid debugging if configure makes a mistake.
481 # Strip out --no-create and --no-recursion so they do not pile up.
482 # Also quote any args containing shell metacharacters.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c) ;;
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
491 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
492 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
493 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
498 # Only set these to C if already set. These must not be set unconditionally
499 # because not all systems understand e.g. LANG=C (notably SCO).
500 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
501 # Non-C LC_CTYPE values break the ctype check.
502 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
503 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
504 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
505 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
508 rm -rf conftest
* confdefs.h
509 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
512 # A filename unique to this package, relative to the directory that
513 # configure is in, which we can look for to find out if srcdir is correct.
514 ac_unique_file
=src
/ios.cc
516 # Find the source files, if location was not specified.
517 if test -z "$srcdir"; then
518 ac_srcdir_defaulted
=yes
519 # Try the directory containing this script, then its parent.
521 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
522 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
524 if test ! -r $srcdir/$ac_unique_file; then
528 ac_srcdir_defaulted
=no
530 if test ! -r $srcdir/$ac_unique_file; then
531 if test "$ac_srcdir_defaulted" = yes; then
532 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
534 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
537 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
539 # Prefer explicitly selected file to automatically selected ones.
540 if test -z "$sitefile"; then
541 if test -z "$CONFIG_SITE"; then
542 if test "x$prefix" != xNONE
; then
543 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
545 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
549 CONFIG_SITE
="$sitefile"
551 for ac_site_file
in $CONFIG_SITE; do
552 if test -r "$ac_site_file"; then
553 echo "loading site script $ac_site_file"
558 if test -r "$cache_file"; then
559 echo "loading cache $cache_file"
562 echo "creating cache $cache_file"
567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
568 ac_cpp
='$CPP $CPPFLAGS'
569 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
570 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
571 cross_compiling
=$ac_cv_prog_cc_cross
575 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
576 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
577 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
584 ac_n
= ac_c
='\c' ac_t
=
591 # For typical GNU versioning info, format is MAJOR.MINOR.MICRO
592 release_VERSION
=3.1.0
594 # For libtool versioning info, format is CURRENT:REVISION:AGE
595 libtool_VERSION
=4:0:0
598 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
599 # AC 2.50 sets target_alias iff the user specified --target, but we use it
600 # everywhere, so we set it here just to be sure.
602 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
603 if test -f $ac_dir/install-sh
; then
605 ac_install_sh
="$ac_aux_dir/install-sh -c"
607 elif test -f $ac_dir/install.sh
; then
609 ac_install_sh
="$ac_aux_dir/install.sh -c"
613 if test -z "$ac_aux_dir"; then
614 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
616 ac_config_guess
=$ac_aux_dir/config.guess
617 ac_config_sub
=$ac_aux_dir/config.sub
618 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
621 # Do some error checking and defaulting for the host and target type.
623 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
626 # 1. You are not allowed to specify --host, --target, and nonopt at the
628 # 2. Host defaults to nonopt.
629 # 3. If nonopt is not specified, then host defaults to the current host,
630 # as determined by config.guess.
631 # 4. Target and build default to nonopt.
632 # 5. If nonopt is not specified, then target and build default to host.
634 # The aliases save the names the user supplied, while $host etc.
635 # will get canonicalized.
636 case $host---$target---$nonopt in
637 NONE---
*---* |
*---NONE---* |
*---*---NONE) ;;
638 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
642 # Make sure we can run config.sub.
643 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
644 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
647 echo $ac_n "checking host system type""... $ac_c" 1>&6
648 echo "configure:649: checking host system type" >&5
651 case "$host_alias" in
655 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
656 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
658 *) host_alias
=$nonopt ;;
662 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
663 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
664 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
665 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
666 echo "$ac_t""$host" 1>&6
668 echo $ac_n "checking target system type""... $ac_c" 1>&6
669 echo "configure:670: checking target system type" >&5
672 case "$target_alias" in
675 NONE
) target_alias
=$host_alias ;;
676 *) target_alias
=$nonopt ;;
680 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
681 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
682 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
683 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
684 echo "$ac_t""$target" 1>&6
686 echo $ac_n "checking build system type""... $ac_c" 1>&6
687 echo "configure:688: checking build system type" >&5
690 case "$build_alias" in
693 NONE
) build_alias
=$host_alias ;;
694 *) build_alias
=$nonopt ;;
698 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
699 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
700 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
701 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
702 echo "$ac_t""$build" 1>&6
704 test "$host_alias" != "$target_alias" &&
705 test "$program_prefix$program_suffix$program_transform_name" = \
707 program_prefix
=${target_alias}-
709 target_alias
=${target_alias-$target}
712 # Find a good install program. We prefer a C program (faster),
713 # so one script is as good as another. But avoid the broken or
714 # incompatible versions:
715 # SysV /etc/install, /usr/sbin/install
716 # SunOS /usr/etc/install
719 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
720 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
721 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
722 # ./install, which can be erroneously created by make from ./install.sh.
723 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
724 echo "configure:725: checking for a BSD compatible install" >&5
725 if test -z "$INSTALL"; then
726 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
727 echo $ac_n "(cached) $ac_c" 1>&6
729 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
730 for ac_dir
in $PATH; do
731 # Account for people who put trailing slashes in PATH elements.
733 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
735 # OSF1 and SCO ODT 3.0 have their own names for install.
736 # Don't use installbsd from OSF since it installs stuff as root
738 for ac_prog
in ginstall scoinst
install; do
739 if test -f $ac_dir/$ac_prog; then
740 if test $ac_prog = install &&
741 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
742 # AIX install. It has an incompatible calling convention.
745 ac_cv_path_install
="$ac_dir/$ac_prog -c"
756 if test "${ac_cv_path_install+set}" = set; then
757 INSTALL
="$ac_cv_path_install"
759 # As a last resort, use the slow shell script. We don't cache a
760 # path for INSTALL within a source directory, because that will
761 # break other packages using the cache if that directory is
762 # removed, or if the path is relative.
763 INSTALL
="$ac_install_sh"
766 echo "$ac_t""$INSTALL" 1>&6
768 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
769 # It thinks the first close brace ends the variable substitution.
770 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
772 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
774 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
776 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
777 echo "configure:778: checking whether build environment is sane" >&5
780 echo timestamp
> conftestfile
781 # Do `set' in a subshell so we don't clobber the current shell's
782 # arguments. Must try -L first in case configure is actually a
783 # symlink; some systems play weird games with the mod time of symlinks
784 # (eg FreeBSD returns the mod time of the symlink's containing
787 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
788 if test "$*" = "X"; then
790 set X
`ls -t $srcdir/configure conftestfile`
792 if test "$*" != "X $srcdir/configure conftestfile" \
793 && test "$*" != "X conftestfile $srcdir/configure"; then
795 # If neither matched, then we have a broken ls. This can happen
796 # if, for instance, CONFIG_SHELL is bash and it inherits a
797 # broken ls alias from the environment. This has actually
798 # happened. Such a system could not be considered "sane".
799 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
800 alias in your environment" 1>&2; exit 1; }
803 test "$2" = conftestfile
809 { echo "configure: error: newly created file is older than distributed files!
810 Check your system clock" 1>&2; exit 1; }
813 echo "$ac_t""yes" 1>&6
814 if test "$program_transform_name" = s
,x
,x
,; then
815 program_transform_name
=
817 # Double any \ or $. echo might interpret backslashes.
818 cat <<\EOF_SED
> conftestsed
819 s
,\\,\\\\,g
; s
,\$
,$$
,g
821 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
824 test "$program_prefix" != NONE
&&
825 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
826 # Use a double $ so make ignores it.
827 test "$program_suffix" != NONE
&&
828 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
830 # sed with no file args requires a program.
831 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
833 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
834 echo "configure:835: checking whether ${MAKE-make} sets \${MAKE}" >&5
835 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
836 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
837 echo $ac_n "(cached) $ac_c" 1>&6
839 cat > conftestmake
<<\EOF
841 @
echo 'ac_maketemp="${MAKE}"'
843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
844 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
845 if test -n "$ac_maketemp"; then
846 eval ac_cv_prog_make_
${ac_make}_set
=yes
848 eval ac_cv_prog_make_
${ac_make}_set
=no
852 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
853 echo "$ac_t""yes" 1>&6
856 echo "$ac_t""no" 1>&6
857 SET_MAKE
="MAKE=${MAKE-make}"
863 VERSION
=$release_VERSION
865 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
866 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
868 cat >> confdefs.h
<<EOF
869 #define PACKAGE "$PACKAGE"
872 cat >> confdefs.h
<<EOF
873 #define VERSION "$VERSION"
878 missing_dir
=`cd $ac_aux_dir && pwd`
879 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
880 echo "configure:881: checking for working aclocal" >&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 (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
886 echo "$ac_t""found" 1>&6
888 ACLOCAL
="$missing_dir/missing aclocal"
889 echo "$ac_t""missing" 1>&6
892 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
893 echo "configure:894: checking for working autoconf" >&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 (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
899 echo "$ac_t""found" 1>&6
901 AUTOCONF
="$missing_dir/missing autoconf"
902 echo "$ac_t""missing" 1>&6
905 echo $ac_n "checking for working automake""... $ac_c" 1>&6
906 echo "configure:907: checking for working automake" >&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 (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
912 echo "$ac_t""found" 1>&6
914 AUTOMAKE
="$missing_dir/missing automake"
915 echo "$ac_t""missing" 1>&6
918 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
919 echo "configure:920: checking for working autoheader" >&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 (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
924 AUTOHEADER
=autoheader
925 echo "$ac_t""found" 1>&6
927 AUTOHEADER
="$missing_dir/missing autoheader"
928 echo "$ac_t""missing" 1>&6
931 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
932 echo "configure:933: checking for working makeinfo" >&5
933 # Run test in a subshell; some versions of sh will print an error if
934 # an executable is not found, even if stderr is redirected.
935 # Redirect stdin to placate older versions of autoconf. Sigh.
936 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
938 echo "$ac_t""found" 1>&6
940 MAKEINFO
="$missing_dir/missing makeinfo"
941 echo "$ac_t""missing" 1>&6
949 # Runs configure.host and configure.target, as well as finds CC, CXX
950 # and assorted other critical bits. Have to run this before the
951 # GLIBCPP_ENABLE_* macros below.
952 if test $host != $build; then
953 ac_tool_prefix
=${host_alias}-
958 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
959 echo "configure:960: checking for Cygwin environment" >&5
960 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
961 echo $ac_n "(cached) $ac_c" 1>&6
963 cat > conftest.
$ac_ext <<EOF
964 #line 965 "configure"
965 #include "confdefs.h"
970 #define __CYGWIN__ __CYGWIN32__
975 if { (eval echo configure
:976: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
979 echo "configure: failed program was:" >&5
980 cat conftest.
$ac_ext >&5
988 echo "$ac_t""$ac_cv_cygwin" 1>&6
990 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
991 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
992 echo "configure:993: checking for mingw32 environment" >&5
993 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
994 echo $ac_n "(cached) $ac_c" 1>&6
996 cat > conftest.
$ac_ext <<EOF
997 #line 998 "configure"
998 #include "confdefs.h"
1004 if { (eval echo configure
:1005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1008 echo "configure: failed program was:" >&5
1009 cat conftest.
$ac_ext >&5
1017 echo "$ac_t""$ac_cv_mingw32" 1>&6
1019 test "$ac_cv_mingw32" = yes && MINGW32
=yes
1021 # Check whether --enable-multilib or --disable-multilib was given.
1022 if test "${enable_multilib+set}" = set; then
1023 enableval
="$enable_multilib"
1024 case "${enableval}" in
1025 yes) multilib
=yes ;;
1027 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
1033 # When building with srcdir == objdir, links to the source files will
1034 # be created in directories within the target_subdir. We have to
1035 # adjust toplevel_srcdir accordingly, so that configure finds
1036 # install-sh and other auxiliary files that live in the top-level
1038 if test "${srcdir}" = "."; then
1039 if test -z "${with_target_subdir}"; then
1042 if test "${with_target_subdir}" != "."; then
1043 toprel
="${with_multisrctop}../.."
1045 toprel
="${with_multisrctop}.."
1052 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
1053 if test -f $ac_dir/install-sh
; then
1055 ac_install_sh
="$ac_aux_dir/install-sh -c"
1057 elif test -f $ac_dir/install.sh
; then
1059 ac_install_sh
="$ac_aux_dir/install.sh -c"
1063 if test -z "$ac_aux_dir"; then
1064 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
1066 ac_config_guess=$ac_aux_dir/config.guess
1067 ac_config_sub=$ac_aux_dir/config.sub
1068 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
1070 toplevel_srcdir=\${top_srcdir}/$toprel
1073 # Export build and source directories.
1074 # These need to be absolute paths, yet at the same time need to
1075 # canonicalize only relative paths, because then amd will not unmount
1076 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1077 glibcpp_builddir=`pwd`
1079 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
1080 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1087 for ac_prog in mawk gawk nawk awk
1089 # Extract the first word of "$ac_prog", so it can be a program name with args.
1090 set dummy $ac_prog; ac_word=$2
1091 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1092 echo "configure
:1093: checking
for $ac_word" >&5
1093 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1094 echo $ac_n "(cached
) $ac_c" 1>&6
1096 if test -n "$AWK"; then
1097 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1099 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1101 for ac_dir in $ac_dummy; do
1102 test -z "$ac_dir" && ac_dir=.
1103 if test -f $ac_dir/$ac_word; then
1104 ac_cv_prog_AWK="$ac_prog"
1111 AWK="$ac_cv_prog_AWK"
1112 if test -n "$AWK"; then
1113 echo "$ac_t""$AWK" 1>&6
1115 echo "$ac_t""no
" 1>&6
1118 test -n "$AWK" && break
1121 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
1122 # be 'cp -p' if linking isn't available.
1123 #ac_cv_prog_LN_S='cp -p'
1124 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
1125 echo "configure
:1126: checking whether
ln -s works
" >&5
1126 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1127 echo $ac_n "(cached
) $ac_c" 1>&6
1130 if ln -s X conftestdata 2>/dev/null
1133 ac_cv_prog_LN_S="ln -s"
1138 LN_S="$ac_cv_prog_LN_S"
1139 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1140 echo "$ac_t""yes" 1>&6
1142 echo "$ac_t""no
" 1>&6
1146 # We use these options to decide which functions to include.
1147 # Check whether --with-target-subdir or --without-target-subdir was given.
1148 if test "${with_target_subdir+set}" = set; then
1149 withval="$with_target_subdir"
1153 # Check whether --with-cross-host or --without-cross-host was given.
1154 if test "${with_cross_host+set}" = set; then
1155 withval="$with_cross_host"
1160 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
1163 # Never versions of autoconf add an underscore to these functions.
1164 # Prevent future problems ...
1172 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
1173 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
1174 # are probably using a cross compiler, which will not be able to fully
1175 # link an executable. This should really be fixed in autoconf
1181 # Extract the first word of "gcc
", so it can be a program name with args.
1182 set dummy gcc; ac_word=$2
1183 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1184 echo "configure
:1185: checking
for $ac_word" >&5
1185 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1186 echo $ac_n "(cached
) $ac_c" 1>&6
1188 if test -n "$CC"; then
1189 ac_cv_prog_CC="$CC" # Let the user override the test.
1191 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1193 for ac_dir in $ac_dummy; do
1194 test -z "$ac_dir" && ac_dir=.
1195 if test -f $ac_dir/$ac_word; then
1204 if test -n "$CC"; then
1205 echo "$ac_t""$CC" 1>&6
1207 echo "$ac_t""no
" 1>&6
1210 if test -z "$CC"; then
1211 # Extract the first word of "cc
", so it can be a program name with args.
1212 set dummy cc; ac_word=$2
1213 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1214 echo "configure
:1215: checking
for $ac_word" >&5
1215 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1216 echo $ac_n "(cached
) $ac_c" 1>&6
1218 if test -n "$CC"; then
1219 ac_cv_prog_CC="$CC" # Let the user override the test.
1221 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1224 for ac_dir in $ac_dummy; do
1225 test -z "$ac_dir" && ac_dir=.
1226 if test -f $ac_dir/$ac_word; then
1227 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
1228 ac_prog_rejected=yes
1236 if test $ac_prog_rejected = yes; then
1237 # We found a bogon in the path, so make sure we never use it.
1238 set dummy $ac_cv_prog_CC
1240 if test $# -gt 0; then
1241 # We chose a different compiler from the bogus one.
1242 # However, it has the same basename, so the bogon will be chosen
1243 # first if we set CC to just the basename; use the full file name.
1245 set dummy "$ac_dir/$ac_word" "$@
"
1253 if test -n "$CC"; then
1254 echo "$ac_t""$CC" 1>&6
1256 echo "$ac_t""no
" 1>&6
1259 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1262 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1263 echo "configure
:1264: checking whether we are using GNU C
" >&5
1264 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1265 echo $ac_n "(cached
) $ac_c" 1>&6
1267 cat > conftest.c <<EOF
1272 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1279 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1281 if test $ac_cv_prog_gcc = yes; then
1283 ac_test_CFLAGS="${CFLAGS+set}"
1284 ac_save_CFLAGS="$CFLAGS"
1286 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1287 echo "configure
:1288: checking whether
${CC-cc} accepts
-g" >&5
1288 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1289 echo $ac_n "(cached
) $ac_c" 1>&6
1291 echo 'void f(){}' > conftest.c
1292 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1301 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1302 if test "$ac_test_CFLAGS" = set; then
1303 CFLAGS="$ac_save_CFLAGS"
1304 elif test $ac_cv_prog_cc_g = yes; then
1311 test "${CFLAGS+set}" = set || CFLAGS="-g"
1315 # Can't just call these here as g++ requires libstc++ to be built....
1318 # Likewise for AC_PROG_CXX.
1322 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1323 # flags that come in CXX while configuring libstdc++. They're different
1324 # from those used for all other target libraries. If CXX is set in
1325 # the environment, respect that here.
1327 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1329 # Extract the first word of "$ac_prog", so it can be a program name with args.
1330 set dummy $ac_prog; ac_word=$2
1331 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1332 echo "configure
:1333: checking
for $ac_word" >&5
1333 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1334 echo $ac_n "(cached
) $ac_c" 1>&6
1336 if test -n "$glibcpp_CXX"; then
1337 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1339 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1341 for ac_dir in $ac_dummy; do
1342 test -z "$ac_dir" && ac_dir=.
1343 if test -f $ac_dir/$ac_word; then
1344 ac_cv_prog_glibcpp_CXX="$ac_prog"
1351 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1352 if test -n "$glibcpp_CXX"; then
1353 echo "$ac_t""$glibcpp_CXX" 1>&6
1355 echo "$ac_t""no
" 1>&6
1358 test -n "$glibcpp_CXX" && break
1360 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1364 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1366 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1367 echo "configure
:1368: checking whether we are using GNU C
++" >&5
1368 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1369 echo $ac_n "(cached
) $ac_c" 1>&6
1371 cat > conftest.C <<EOF
1376 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1383 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1385 if test $ac_cv_prog_gxx = yes; then
1387 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1388 ac_save_CXXFLAGS="$CXXFLAGS"
1390 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1391 echo "configure
:1392: checking whether
${CXX-g++} accepts
-g" >&5
1392 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1393 echo $ac_n "(cached
) $ac_c" 1>&6
1395 echo 'void f(){}' > conftest.cc
1396 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1397 ac_cv_prog_cxx_g=yes
1405 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1406 if test "$ac_test_CXXFLAGS" = set; then
1407 CXXFLAGS="$ac_save_CXXFLAGS"
1408 elif test $ac_cv_prog_cxx_g = yes; then
1415 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1419 # For some reason, gettext needs this.
1420 echo $ac_n "checking
for POSIXized ISC
""...
$ac_c" 1>&6
1421 echo "configure
:1422: checking
for POSIXized ISC
" >&5
1422 if test -d /etc/conf/kconfig.d &&
1423 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1425 echo "$ac_t""yes" 1>&6
1426 ISC=yes # If later tests want to check for ISC.
1427 cat >> confdefs.h <<\EOF
1428 #define _POSIX_SOURCE 1
1431 if test "$GCC" = yes; then
1437 echo "$ac_t""no
" 1>&6
1442 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1443 set dummy ${ac_tool_prefix}as; ac_word=$2
1444 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1445 echo "configure
:1446: checking
for $ac_word" >&5
1446 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1447 echo $ac_n "(cached
) $ac_c" 1>&6
1449 if test -n "$AS"; then
1450 ac_cv_prog_AS="$AS" # Let the user override the test.
1452 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1454 for ac_dir in $ac_dummy; do
1455 test -z "$ac_dir" && ac_dir=.
1456 if test -f $ac_dir/$ac_word; then
1457 ac_cv_prog_AS="${ac_tool_prefix}as
"
1462 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1466 if test -n "$AS"; then
1467 echo "$ac_t""$AS" 1>&6
1469 echo "$ac_t""no
" 1>&6
1474 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1475 set dummy ${ac_tool_prefix}ar; ac_word=$2
1476 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1477 echo "configure
:1478: checking
for $ac_word" >&5
1478 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1479 echo $ac_n "(cached
) $ac_c" 1>&6
1481 if test -n "$AR"; then
1482 ac_cv_prog_AR="$AR" # Let the user override the test.
1484 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1486 for ac_dir in $ac_dummy; do
1487 test -z "$ac_dir" && ac_dir=.
1488 if test -f $ac_dir/$ac_word; then
1489 ac_cv_prog_AR="${ac_tool_prefix}ar"
1494 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1498 if test -n "$AR"; then
1499 echo "$ac_t""$AR" 1>&6
1501 echo "$ac_t""no
" 1>&6
1506 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1507 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1508 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1509 echo "configure
:1510: checking
for $ac_word" >&5
1510 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1511 echo $ac_n "(cached
) $ac_c" 1>&6
1513 if test -n "$RANLIB"; then
1514 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1516 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1518 for ac_dir in $ac_dummy; do
1519 test -z "$ac_dir" && ac_dir=.
1520 if test -f $ac_dir/$ac_word; then
1521 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1528 RANLIB="$ac_cv_prog_RANLIB"
1529 if test -n "$RANLIB"; then
1530 echo "$ac_t""$RANLIB" 1>&6
1532 echo "$ac_t""no
" 1>&6
1536 if test -z "$ac_cv_prog_RANLIB"; then
1537 if test -n "$ac_tool_prefix"; then
1538 # Extract the first word of "ranlib
", so it can be a program name with args.
1539 set dummy ranlib; ac_word=$2
1540 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1541 echo "configure
:1542: checking
for $ac_word" >&5
1542 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1543 echo $ac_n "(cached
) $ac_c" 1>&6
1545 if test -n "$RANLIB"; then
1546 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1548 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1550 for ac_dir in $ac_dummy; do
1551 test -z "$ac_dir" && ac_dir=.
1552 if test -f $ac_dir/$ac_word; then
1553 ac_cv_prog_RANLIB="ranlib
"
1558 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1561 RANLIB="$ac_cv_prog_RANLIB"
1562 if test -n "$RANLIB"; then
1563 echo "$ac_t""$RANLIB" 1>&6
1565 echo "$ac_t""no
" 1>&6
1569 RANLIB="ranlib-not-found-in-path-error
"
1573 # Find a good install program. We prefer a C program (faster),
1574 # so one script is as good as another. But avoid the broken or
1575 # incompatible versions:
1576 # SysV /etc/install, /usr/sbin/install
1577 # SunOS /usr/etc/install
1578 # IRIX /sbin/install
1580 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1581 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1582 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1583 # ./install, which can be erroneously created by make from ./install.sh.
1584 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1585 echo "configure
:1586: checking
for a BSD compatible
install" >&5
1586 if test -z "$INSTALL"; then
1587 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1588 echo $ac_n "(cached
) $ac_c" 1>&6
1590 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1591 for ac_dir in $PATH; do
1592 # Account for people who put trailing slashes in PATH elements.
1594 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1596 # OSF1 and SCO ODT 3.0 have their own names for install.
1597 # Don't use installbsd from OSF since it installs stuff as root
1599 for ac_prog in ginstall scoinst install; do
1600 if test -f $ac_dir/$ac_prog; then
1601 if test $ac_prog = install &&
1602 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1603 # AIX install. It has an incompatible calling convention.
1606 ac_cv_path_install="$ac_dir/$ac_prog -c"
1617 if test "${ac_cv_path_install+set}" = set; then
1618 INSTALL="$ac_cv_path_install"
1620 # As a last resort, use the slow shell script. We don't cache a
1621 # path for INSTALL within a source directory, because that will
1622 # break other packages using the cache if that directory is
1623 # removed, or if the path is relative.
1624 INSTALL="$ac_install_sh"
1627 echo "$ac_t""$INSTALL" 1>&6
1629 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1630 # It thinks the first close brace ends the variable substitution.
1631 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1633 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1635 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1638 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1639 echo "configure
:1640: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1640 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1641 if test "${enable_maintainer_mode+set}" = set; then
1642 enableval="$enable_maintainer_mode"
1643 USE_MAINTAINER_MODE=$enableval
1645 USE_MAINTAINER_MODE=no
1648 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1651 if test $USE_MAINTAINER_MODE = yes; then
1652 MAINTAINER_MODE_TRUE=
1653 MAINTAINER_MODE_FALSE='#'
1655 MAINTAINER_MODE_TRUE='#'
1656 MAINTAINER_MODE_FALSE=
1658 MAINT=$MAINTAINER_MODE_TRUE
1662 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1663 # at least currently, we never actually build a program, so we never
1664 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1665 # fails, because we are probably configuring with a cross compiler
1666 # which can't create executables. So we include AC_EXEEXT to keep
1667 # automake happy, but we don't execute it, since we don't care about
1670 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1671 # to nothing, so nothing would remain between `then' and `fi' if it
1672 # were not for the `:' below.
1676 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1677 echo "configure
:1678: checking
for executable suffix
" >&5
1678 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1679 echo $ac_n "(cached
) $ac_c" 1>&6
1681 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1685 echo 'int main () { return 0; }' > conftest.$ac_ext
1687 if { (eval echo configure:1688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1688 for file in conftest.*; do
1690 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1691 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1695 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1698 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1703 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1704 echo "$ac_t""${ac_cv_exeext}" 1>&6
1709 . ${glibcpp_basedir}/configure.host
1711 case ${glibcpp_basedir} in
1712 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1713 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1716 # This does for the target what configure.host does for the host. In
1717 # addition to possibly modifying the same flags, it also sets up symlinks.
1719 . ${glibcpp_basedir}/configure.target
1720 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1721 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1728 # Check whether --enable-shared or --disable-shared was given.
1729 if test "${enable_shared+set}" = set; then
1730 enableval="$enable_shared"
1731 p=${PACKAGE-default}
1733 yes) enable_shared=yes ;;
1734 no) enable_shared=no ;;
1737 # Look at the argument we got. We use all the common list separators.
1738 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1739 for pkg in $enableval; do
1740 if test "X
$pkg" = "X
$p"; then
1751 # Check whether --enable-static or --disable-static was given.
1752 if test "${enable_static+set}" = set; then
1753 enableval="$enable_static"
1754 p=${PACKAGE-default}
1756 yes) enable_static=yes ;;
1757 no) enable_static=no ;;
1760 # Look at the argument we got. We use all the common list separators.
1761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1762 for pkg in $enableval; do
1763 if test "X
$pkg" = "X
$p"; then
1774 # Check whether --enable-fast-install or --disable-fast-install was given.
1775 if test "${enable_fast_install+set}" = set; then
1776 enableval="$enable_fast_install"
1777 p=${PACKAGE-default}
1779 yes) enable_fast_install=yes ;;
1780 no) enable_fast_install=no ;;
1782 enable_fast_install=no
1783 # Look at the argument we got. We use all the common list separators.
1784 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1785 for pkg in $enableval; do
1786 if test "X
$pkg" = "X
$p"; then
1787 enable_fast_install=yes
1794 enable_fast_install=yes
1797 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1798 if test "${with_gnu_ld+set}" = set; then
1799 withval="$with_gnu_ld"
1800 test "$withval" = no || with_gnu_ld=yes
1806 if test "$GCC" = yes; then
1807 # Check if gcc -print-prog-name=ld gives a path.
1808 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1809 echo "configure
:1810: checking
for ld used by GCC
" >&5
1812 # gcc leaves a trailing carriage return which upsets mingw
1813 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1815 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1818 # Accept absolute paths.
1819 [\\/]* | [A-Za-z]:[\\/]*)
1820 re_direlt='/[^/][^/]*/\.\./'
1821 # Canonicalize the path of ld
1822 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1823 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1824 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1826 test -z "$LD" && LD="$ac_prog"
1829 # If it fails, then pretend we aren't using GCC.
1833 # If it is relative, then search for the first ld in PATH.
1837 elif test "$with_gnu_ld" = yes; then
1838 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1839 echo "configure
:1840: checking
for GNU ld
" >&5
1841 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1842 echo "configure
:1843: checking
for non-GNU ld
" >&5
1844 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1845 echo $ac_n "(cached
) $ac_c" 1>&6
1847 if test -z "$LD"; then
1848 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1849 for ac_dir in $PATH; do
1850 test -z "$ac_dir" && ac_dir=.
1851 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1852 lt_cv_path_LD="$ac_dir/$ac_prog"
1853 # Check to see if the program is GNU ld. I'd rather use --version,
1854 # but apparently some GNU ld's only accept -v.
1855 # Break only if it was the GNU/non-GNU ld that we prefer.
1856 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1857 test "$with_gnu_ld" != no && break
1859 test "$with_gnu_ld" != yes && break
1865 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1870 if test -n "$LD"; then
1871 echo "$ac_t""$LD" 1>&6
1873 echo "$ac_t""no
" 1>&6
1875 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1876 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1877 echo "configure
:1878: checking
if the linker
($LD) is GNU ld
" >&5
1878 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1879 echo $ac_n "(cached
) $ac_c" 1>&6
1881 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1882 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1883 lt_cv_prog_gnu_ld=yes
1885 lt_cv_prog_gnu_ld=no
1889 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1890 with_gnu_ld=$lt_cv_prog_gnu_ld
1893 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1894 echo "configure
:1895: checking
for $LD option to reload object files
" >&5
1895 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1896 echo $ac_n "(cached
) $ac_c" 1>&6
1898 lt_cv_ld_reload_flag='-r'
1901 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1902 reload_flag=$lt_cv_ld_reload_flag
1903 test -n "$reload_flag" && reload_flag=" $reload_flag"
1905 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1906 echo "configure
:1907: checking
for BSD-compatible nm
" >&5
1907 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1908 echo $ac_n "(cached
) $ac_c" 1>&6
1910 if test -n "$NM"; then
1911 # Let the user override the test.
1914 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1915 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1916 test -z "$ac_dir" && ac_dir=.
1917 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1918 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1919 # Check to see if the nm accepts a BSD-compat flag.
1920 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1921 # nm: unknown option "B
" ignored
1922 # Tru64's nm complains that /dev/null is an invalid object file
1923 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1924 lt_cv_path_NM="$tmp_nm -B"
1926 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1927 lt_cv_path_NM="$tmp_nm -p"
1930 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1931 continue # so that we can try to find one that supports BSD flags
1936 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1941 echo "$ac_t""$NM" 1>&6
1943 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1944 echo "configure
:1945: checking how to recognise dependant libraries
" >&5
1945 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1946 echo $ac_n "(cached
) $ac_c" 1>&6
1948 lt_cv_file_magic_cmd='$MAGIC_CMD'
1949 lt_cv_file_magic_test_file=
1950 lt_cv_deplibs_check_method='unknown'
1951 # Need to set the preceding variable on all platforms that support
1952 # interlibrary dependencies.
1953 # 'none' -- dependencies not supported.
1954 # `unknown' -- same as none, but documents that we really don't know.
1955 # 'pass_all' -- all dependencies passed with no checks.
1956 # 'test_compile' -- check by making test program.
1957 # 'file_magic [regex]' -- check by looking for files in library path
1958 # which responds to the $file_magic_cmd with a given egrep regex.
1959 # If you have `file' or equivalent on your system and you're not sure
1960 # whether `pass_all' will *always* work, you probably want this one.
1964 lt_cv_deplibs_check_method=pass_all
1968 lt_cv_deplibs_check_method=pass_all
1972 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1973 lt_cv_file_magic_cmd='/usr/bin/file -L'
1974 lt_cv_file_magic_test_file=/shlib/libc.so
1977 cygwin* | mingw* |pw32*)
1978 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1979 lt_cv_file_magic_cmd='$OBJDUMP -f'
1982 darwin* | rhapsody*)
1983 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1984 lt_cv_file_magic_cmd='/usr/bin/file -L'
1986 rhapsody* | darwin1.012)
1987 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1990 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1996 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1999 # Not sure whether the presence of OpenBSD here was a mistake.
2000 # Let's accept both of them until this is cleared up.
2001 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2002 lt_cv_file_magic_cmd=/usr/bin/file
2003 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2007 lt_cv_deplibs_check_method=pass_all
2012 lt_cv_deplibs_check_method=pass_all
2016 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2017 lt_cv_file_magic_cmd=/usr/bin/file
2018 lt_cv_file_magic_test_file=/usr/lib/libc.sl
2024 # this will be overridden with pass_all, but let us keep it just in case
2025 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
2029 *-32|*"-32 ") libmagic=32-bit;;
2030 *-n32|*"-n32 ") libmagic=N32;;
2031 *-64|*"-64 ") libmagic=64-bit;;
2032 *) libmagic=never-match;;
2034 # this will be overridden with pass_all, but let us keep it just in case
2035 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
2038 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2039 lt_cv_deplibs_check_method=pass_all
2042 # This must be Linux ELF.
2045 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2046 lt_cv_deplibs_check_method=pass_all ;;
2048 # glibc up to 2.1.1 does not perform some relocations on ARM
2049 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2051 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2055 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2056 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2058 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2063 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2064 lt_cv_file_magic_cmd=/usr/bin/file
2065 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2068 osf3* | osf4* | osf5*)
2069 # this will be overridden with pass_all, but let us keep it just in case
2070 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2071 lt_cv_file_magic_test_file=/shlib/libc.so
2072 lt_cv_deplibs_check_method=pass_all
2076 lt_cv_deplibs_check_method=pass_all
2080 lt_cv_deplibs_check_method=pass_all
2081 lt_cv_file_magic_test_file=/lib/libc.so
2084 sysv5uw[78]* | sysv4*uw2*)
2085 lt_cv_deplibs_check_method=pass_all
2088 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2089 case $host_vendor in
2091 lt_cv_deplibs_check_method=pass_all
2094 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]'
2095 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2103 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2104 file_magic_cmd=$lt_cv_file_magic_cmd
2105 deplibs_check_method=$lt_cv_deplibs_check_method
2107 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2108 echo "configure
:2109: checking
for object suffix
" >&5
2109 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2110 echo $ac_n "(cached
) $ac_c" 1>&6
2113 echo 'int i = 1;' > conftest.$ac_ext
2114 if { (eval echo configure:2115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2115 for ac_file in conftest.*; do
2118 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2122 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2127 echo "$ac_t""$ac_cv_objext" 1>&6
2128 OBJEXT=$ac_cv_objext
2129 ac_objext=$ac_cv_objext
2131 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2133 # Only perform the check for file, if the check method requires it
2134 case $deplibs_check_method in
2136 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2137 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2138 echo "configure
:2139: checking
for ${ac_tool_prefix}file" >&5
2139 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2140 echo $ac_n "(cached
) $ac_c" 1>&6
2144 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2147 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2150 ac_save_MAGIC_CMD="$MAGIC_CMD"
2151 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2152 ac_dummy="/usr
/bin
:$PATH"
2153 for ac_dir in $ac_dummy; do
2154 test -z "$ac_dir" && ac_dir=.
2155 if test -f $ac_dir/${ac_tool_prefix}file; then
2156 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2157 if test -n "$file_magic_test_file"; then
2158 case $deplibs_check_method in
2160 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2161 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2162 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2163 egrep "$file_magic_regex" > /dev/null; then
2168 *** Warning: the command libtool uses to detect shared libraries,
2169 *** $file_magic_cmd, produces output that libtool cannot recognize.
2170 *** The result is that libtool may fail to recognize shared libraries
2171 *** as such. This will affect the creation of libtool libraries that
2172 *** depend on shared libraries, but programs linked with such libtool
2173 *** libraries will work regardless of this problem. Nevertheless, you
2174 *** may want to report the problem to your system manager and/or to
2175 *** bug-libtool@gnu.org
2185 MAGIC_CMD="$ac_save_MAGIC_CMD"
2190 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2191 if test -n "$MAGIC_CMD"; then
2192 echo "$ac_t""$MAGIC_CMD" 1>&6
2194 echo "$ac_t""no
" 1>&6
2197 if test -z "$lt_cv_path_MAGIC_CMD"; then
2198 if test -n "$ac_tool_prefix"; then
2199 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2200 echo "configure
:2201: checking
for file" >&5
2201 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2202 echo $ac_n "(cached
) $ac_c" 1>&6
2206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2209 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2212 ac_save_MAGIC_CMD="$MAGIC_CMD"
2213 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2214 ac_dummy="/usr
/bin
:$PATH"
2215 for ac_dir in $ac_dummy; do
2216 test -z "$ac_dir" && ac_dir=.
2217 if test -f $ac_dir/file; then
2218 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2219 if test -n "$file_magic_test_file"; then
2220 case $deplibs_check_method in
2222 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2223 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2224 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2225 egrep "$file_magic_regex" > /dev/null; then
2230 *** Warning: the command libtool uses to detect shared libraries,
2231 *** $file_magic_cmd, produces output that libtool cannot recognize.
2232 *** The result is that libtool may fail to recognize shared libraries
2233 *** as such. This will affect the creation of libtool libraries that
2234 *** depend on shared libraries, but programs linked with such libtool
2235 *** libraries will work regardless of this problem. Nevertheless, you
2236 *** may want to report the problem to your system manager and/or to
2237 *** bug-libtool@gnu.org
2247 MAGIC_CMD="$ac_save_MAGIC_CMD"
2252 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2253 if test -n "$MAGIC_CMD"; then
2254 echo "$ac_t""$MAGIC_CMD" 1>&6
2256 echo "$ac_t""no
" 1>&6
2268 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2270 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2271 echo "configure
:2272: checking
for $ac_word" >&5
2272 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2273 echo $ac_n "(cached
) $ac_c" 1>&6
2275 if test -n "$RANLIB"; then
2276 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2278 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2280 for ac_dir in $ac_dummy; do
2281 test -z "$ac_dir" && ac_dir=.
2282 if test -f $ac_dir/$ac_word; then
2283 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2290 RANLIB="$ac_cv_prog_RANLIB"
2291 if test -n "$RANLIB"; then
2292 echo "$ac_t""$RANLIB" 1>&6
2294 echo "$ac_t""no
" 1>&6
2298 if test -z "$ac_cv_prog_RANLIB"; then
2299 if test -n "$ac_tool_prefix"; then
2300 # Extract the first word of "ranlib
", so it can be a program name with args.
2301 set dummy ranlib; ac_word=$2
2302 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2303 echo "configure
:2304: checking
for $ac_word" >&5
2304 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2305 echo $ac_n "(cached
) $ac_c" 1>&6
2307 if test -n "$RANLIB"; then
2308 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2312 for ac_dir in $ac_dummy; do
2313 test -z "$ac_dir" && ac_dir=.
2314 if test -f $ac_dir/$ac_word; then
2315 ac_cv_prog_RANLIB="ranlib
"
2320 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2323 RANLIB="$ac_cv_prog_RANLIB"
2324 if test -n "$RANLIB"; then
2325 echo "$ac_t""$RANLIB" 1>&6
2327 echo "$ac_t""no
" 1>&6
2335 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2336 set dummy ${ac_tool_prefix}strip; ac_word=$2
2337 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2338 echo "configure
:2339: checking
for $ac_word" >&5
2339 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2340 echo $ac_n "(cached
) $ac_c" 1>&6
2342 if test -n "$STRIP"; then
2343 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2345 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2347 for ac_dir in $ac_dummy; do
2348 test -z "$ac_dir" && ac_dir=.
2349 if test -f $ac_dir/$ac_word; then
2350 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2357 STRIP="$ac_cv_prog_STRIP"
2358 if test -n "$STRIP"; then
2359 echo "$ac_t""$STRIP" 1>&6
2361 echo "$ac_t""no
" 1>&6
2365 if test -z "$ac_cv_prog_STRIP"; then
2366 if test -n "$ac_tool_prefix"; then
2367 # Extract the first word of "strip
", so it can be a program name with args.
2368 set dummy strip; ac_word=$2
2369 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2370 echo "configure
:2371: checking
for $ac_word" >&5
2371 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2372 echo $ac_n "(cached
) $ac_c" 1>&6
2374 if test -n "$STRIP"; then
2375 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2377 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2379 for ac_dir in $ac_dummy; do
2380 test -z "$ac_dir" && ac_dir=.
2381 if test -f $ac_dir/$ac_word; then
2382 ac_cv_prog_STRIP="strip
"
2387 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2390 STRIP="$ac_cv_prog_STRIP"
2391 if test -n "$STRIP"; then
2392 echo "$ac_t""$STRIP" 1>&6
2394 echo "$ac_t""no
" 1>&6
2403 # Check for any special flags to pass to ltconfig.
2404 libtool_flags="--cache-file=$cache_file"
2405 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2406 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2407 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2408 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2409 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2410 libtool_flags="$libtool_flags --enable-dlopen"
2412 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2413 if test "${enable_libtool_lock+set}" = set; then
2414 enableval="$enable_libtool_lock"
2418 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2419 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2421 # Check whether --with-pic or --without-pic was given.
2422 if test "${with_pic+set}" = set; then
2429 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2430 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2432 # Some flags need to be propagated to the compiler or linker for good
2436 # Find out which ABI we are using.
2437 echo '#line 2438 "configure
"' > conftest.$ac_ext
2438 if { (eval echo configure:2439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2439 case `/usr/bin/file conftest.$ac_objext` in
2455 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2456 SAVE_CFLAGS="$CFLAGS"
2457 CFLAGS="$CFLAGS -belf"
2458 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2459 echo "configure
:2460: checking whether the C compiler needs
-belf" >&5
2460 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2461 echo $ac_n "(cached
) $ac_c" 1>&6
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
2471 cat > conftest.$ac_ext <<EOF
2472 #line 2473 "configure
"
2473 #include "confdefs.h
"
2479 if { (eval echo configure:2480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2481 lt_cv_cc_needs_belf=yes
2483 echo "configure
: failed program was
:" >&5
2484 cat conftest.$ac_ext >&5
2486 lt_cv_cc_needs_belf=no
2490 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2491 ac_cpp='$CPP $CPPFLAGS'
2492 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2493 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2494 cross_compiling=$ac_cv_prog_cc_cross
2498 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2499 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2500 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2501 CFLAGS="$SAVE_CFLAGS"
2508 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2509 echo "configure
:2510: checking how to run the C
++ preprocessor
" >&5
2510 if test -z "$CXXCPP"; then
2511 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2512 echo $ac_n "(cached
) $ac_c" 1>&6
2515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2516 ac_cpp='$CXXCPP $CPPFLAGS'
2517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2519 cross_compiling=$ac_cv_prog_cxx_cross
2520 CXXCPP="${CXX-g++} -E"
2521 cat > conftest.$ac_ext <<EOF
2522 #line 2523 "configure
"
2523 #include "confdefs.h
"
2526 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2527 { (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2529 if test -z "$ac_err"; then
2533 echo "configure
: failed program was
:" >&5
2534 cat conftest.$ac_ext >&5
2539 ac_cv_prog_CXXCPP="$CXXCPP"
2541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2542 ac_cpp='$CPP $CPPFLAGS'
2543 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2544 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2545 cross_compiling=$ac_cv_prog_cc_cross
2548 CXXCPP="$ac_cv_prog_CXXCPP"
2549 echo "$ac_t""$CXXCPP" 1>&6
2552 # Save cache, so that ltconfig can load it
2553 cat > confcache <<\EOF
2554 # This file is a shell script that caches the results of configure
2555 # tests run on this system so they can be shared between configure
2556 # scripts and configure runs. It is not useful on other systems.
2557 # If it contains results you don't want to keep, you may remove or edit it.
2559 # By default, configure uses ./config.cache as the cache file,
2560 # creating it if it does not exist already. You can give configure
2561 # the --cache-file=FILE option to use a different cache file; that is
2562 # what configure does when it calls configure scripts in
2563 # subdirectories, so they share the cache.
2564 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2565 # config.status only pays attention to the cache file if you give it the
2566 # --recheck option to rerun configure.
2569 # The following way of writing the cache mishandles newlines in values,
2570 # but we know of no workaround that is simple, portable, and efficient.
2571 # So, don't put newlines in cache variables' values.
2572 # Ultrix sh set writes to stderr and can't be redirected directly,
2573 # and sets the high bit in the cache file unless we assign to the vars.
2575 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2577 # `set' does not quote correctly, so add quotes (double-quote substitution
2578 # turns \\\\ into \\, and sed turns \\ into \).
2580 -e "s
/'/'\\\\''/g
" \
2581 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2584 # `set' quotes correctly as required by POSIX, so do not add quotes.
2585 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2588 if cmp -s $cache_file confcache; then
2591 if test -w $cache_file; then
2592 echo "updating cache
$cache_file"
2593 cat confcache > $cache_file
2595 echo "not updating unwritable cache
$cache_file"
2601 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2602 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2603 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2604 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2605 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2606 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2607 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2608 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2609 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2610 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2612 # Reload cache, that may have been modified by ltconfig
2613 if test -r "$cache_file"; then
2614 echo "loading cache
$cache_file"
2617 echo "creating cache
$cache_file"
2622 # This can be used to rebuild libtool when needed
2623 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2625 # Always use our own libtool.
2626 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2628 # Redirect the config.log output again, so that the ltconfig log is not
2629 # clobbered by the next message.
2630 exec 5>>./config.log
2634 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2636 lt_save_CFLAGS="$CFLAGS"
2637 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2638 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2639 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2640 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2641 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2642 deplibs_check_method="$deplibs_check_method" \
2643 file_magic_cmd="$file_magic_cmd" \
2644 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2645 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2646 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2648 CFLAGS="$lt_save_CFLAGS"
2650 # Redirect the config.log output again, so that the ltconfig log is not
2651 # clobbered by the next message.
2652 exec 5>>./config.log
2662 # Check for c++ or library specific bits that don't require linking.
2663 #GLIBCPP_CHECK_COMPILER_VERSION
2664 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2665 echo "configure
:2666: checking
for GNU
make" >&5
2666 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2667 echo $ac_n "(cached
) $ac_c" 1>&6
2669 _cv_gnu_make_command='' ;
2670 for a in "${MAKE-make}" make gmake gnumake ; do
2671 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2673 _cv_gnu_make_command=$a ;
2680 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2681 if test "x
$_cv_gnu_make_command" != "x
" ; then
2689 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2690 # Check whether --enable-debug or --disable-debug was given.
2691 if test "${enable_debug+set}" = set; then
2692 enableval="$enable_debug"
2693 case "${enableval}" in
2694 yes) enable_debug=yes ;;
2695 no) enable_debug=no ;;
2696 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2702 case "${enable_debug}" in
2704 DEBUG_FLAGS='-O0 -ggdb3'
2712 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2713 echo "configure
:2714: checking how to run the C preprocessor
" >&5
2714 # On Suns, sometimes $CPP names a directory.
2715 if test -n "$CPP" && test -d "$CPP"; then
2718 if test -z "$CPP"; then
2719 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2720 echo $ac_n "(cached
) $ac_c" 1>&6
2722 # This must be in double quotes, not single quotes, because CPP may get
2723 # substituted into the Makefile and "${CC-cc}" will confuse make.
2725 # On the NeXT, cc -E runs the code through the compiler's parser,
2726 # not just through cpp.
2727 cat > conftest.$ac_ext <<EOF
2728 #line 2729 "configure
"
2729 #include "confdefs.h
"
2733 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2734 { (eval echo configure:2735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2736 if test -z "$ac_err"; then
2740 echo "configure
: failed program was
:" >&5
2741 cat conftest.$ac_ext >&5
2743 CPP="${CC-cc} -E -traditional-cpp"
2744 cat > conftest.$ac_ext <<EOF
2745 #line 2746 "configure
"
2746 #include "confdefs.h
"
2750 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2751 { (eval echo configure:2752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2752 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2753 if test -z "$ac_err"; then
2757 echo "configure
: failed program was
:" >&5
2758 cat conftest.$ac_ext >&5
2760 CPP="${CC-cc} -nologo -E"
2761 cat > conftest.$ac_ext <<EOF
2762 #line 2763 "configure
"
2763 #include "confdefs.h
"
2767 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2768 { (eval echo configure:2769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2769 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2770 if test -z "$ac_err"; then
2774 echo "configure
: failed program was
:" >&5
2775 cat conftest.$ac_ext >&5
2784 ac_cv_prog_CPP="$CPP"
2786 CPP="$ac_cv_prog_CPP"
2788 ac_cv_prog_CPP="$CPP"
2790 echo "$ac_t""$CPP" 1>&6
2793 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2794 echo "configure
:2795: checking
for cstdio to use
" >&5
2795 # Check whether --enable-cstdio or --disable-cstdio was given.
2796 if test "${enable_cstdio+set}" = set; then
2797 enableval="$enable_cstdio"
2798 if test x$enable_cstdio = xno; then
2806 enable_cstdio_flag=$enable_cstdio
2808 case x${enable_cstdio_flag} in
2810 CSTDIO_H=config/io/c_io_libio.h
2811 BASIC_FILE_H=config/io/basic_file_libio.h
2812 BASIC_FILE_CC=config/io/basic_file_libio.cc
2813 echo "$ac_t""libio
" 1>&6
2815 # see if we are on a system with libio native (ie, linux)
2816 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2817 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2818 echo "configure
:2819: checking
for libio.h
" >&5
2819 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2820 echo $ac_n "(cached
) $ac_c" 1>&6
2822 cat > conftest.$ac_ext <<EOF
2823 #line 2824 "configure
"
2824 #include "confdefs.h
"
2827 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2828 { (eval echo configure:2829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2829 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2830 if test -z "$ac_err"; then
2832 eval "ac_cv_header_
$ac_safe=yes"
2835 echo "configure
: failed program was
:" >&5
2836 cat conftest.$ac_ext >&5
2838 eval "ac_cv_header_
$ac_safe=no
"
2842 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2843 echo "$ac_t""yes" 1>&6
2846 echo "$ac_t""no
" 1>&6
2851 # Need to check and see what version of glibc is being used. If
2852 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2853 # compile most of libio for linux systems.
2854 if test x$has_libio = x"yes"; then
2857 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2858 echo "configure
:2859: checking
for glibc version
>= 2.2" >&5
2859 cat > conftest.$ac_ext <<EOF
2860 #line 2861 "configure
"
2861 #include "confdefs.h
"
2863 #include <features.h>
2864 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2869 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2870 egrep "ok
" >/dev/null 2>&1; then
2872 glibc_satisfactory=yes
2875 glibc_satisfactory=no
2879 echo "$ac_t""$glibc_satisfactory" 1>&6
2883 # XXX at the moment, admit defeat and force the recompilation
2884 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2885 glibc_satisfactory=no
2887 if test x$glibc_satisfactory = x"yes"; then
2892 # bkoz XXX need to add checks to enable this
2893 # pme XXX here's a first pass at such a check
2894 if test x$enable_c_mbchar != xno; then
2902 # Using libio, but <libio.h> doesn't exist on the target system. . .
2904 # bkoz XXX need to add checks to enable this
2905 # pme XXX here's a first pass at such a check
2906 if test x$enable_c_mbchar != xno; then
2913 xstdio | x | xno | xnone | xyes)
2915 CSTDIO_H=config/io/c_io_stdio.h
2916 BASIC_FILE_H=config/io/basic_file_stdio.h
2917 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2918 echo "$ac_t""stdio
" 1>&6
2920 # We're not using stdio.
2925 echo "$enable_cstdio is an unknown io package
" 1>&2
2933 # 2000-08-04 bkoz hack
2934 CCODECVT_C=config/io/c_io_libio_codecvt.c
2936 # 2000-08-04 bkoz hack
2940 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2941 GLIBCPP_BUILD_LIBIO_TRUE=
2942 GLIBCPP_BUILD_LIBIO_FALSE='#'
2944 GLIBCPP_BUILD_LIBIO_TRUE='#'
2945 GLIBCPP_BUILD_LIBIO_FALSE=
2949 if test "$need_libio" = yes; then
2950 GLIBCPP_NEED_LIBIO_TRUE=
2951 GLIBCPP_NEED_LIBIO_FALSE='#'
2953 GLIBCPP_NEED_LIBIO_TRUE='#'
2954 GLIBCPP_NEED_LIBIO_FALSE=
2958 if test "$need_wlibio" = yes; then
2959 GLIBCPP_NEED_WLIBIO_TRUE=
2960 GLIBCPP_NEED_WLIBIO_FALSE='#'
2962 GLIBCPP_NEED_WLIBIO_TRUE='#'
2963 GLIBCPP_NEED_WLIBIO_FALSE=
2965 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2966 libio_la=../libio/libio.la
2973 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2974 echo "configure
:2975: checking
for clocale to use
" >&5
2975 # Check whether --enable-clocale or --disable-clocale was given.
2976 if test "${enable_clocale+set}" = set; then
2977 enableval="$enable_clocale"
2978 if test x$enable_clocale = xno; then
2986 enable_clocale_flag=$enable_clocale
2988 if test x$enable_clocale_flag = xno; then
2989 case x${target_os} in
2991 cat > conftest.$ac_ext <<EOF
2992 #line 2993 "configure
"
2993 #include "confdefs.h
"
2995 #include <features.h>
2996 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3001 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3002 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
3004 enable_clocale_flag=gnu
3007 enable_clocale_flag=generic
3012 # Test for bugs early in glibc-2.2.x series
3013 if test x$enable_clocale_flag = xgnu; then
3014 if test "$cross_compiling" = yes; then
3015 enable_clocale_flag=generic
3017 cat > conftest.$ac_ext <<EOF
3018 #line 3019 "configure
"
3019 #include "confdefs.h
"
3021 #define _GNU_SOURCE 1
3025 const char __one[] = "Äuglein Augmen
";
3026 const char __two[] = "Äuglein
";
3031 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3032 loc_dup = __duplocale(loc);
3033 i = __strcoll_l(__one, __two, loc);
3034 j = __strcoll_l(__one, __two, loc_dup);
3039 if { (eval echo configure:3040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3041 enable_clocale_flag=gnu
3043 echo "configure
: failed program was
:" >&5
3044 cat conftest.$ac_ext >&5
3046 enable_clocale_flag=generic
3053 # ... at some point put __strxfrm_l tests in as well.
3056 enable_clocale_flag=generic
3061 case x${enable_clocale_flag} in
3063 echo "$ac_t""generic
" 1>&6
3065 # Don't use gettext.
3068 CLOCALE_H=config/locale/c_locale_generic.h
3069 CLOCALE_CC=config/locale/c_locale_generic.cc
3070 CCODECVT_H=config/locale/codecvt_specializations_generic.h
3071 CCOLLATE_CC=config/locale/collate_members_generic.cc
3072 CCTYPE_CC=config/locale/ctype_members_generic.cc
3073 CMESSAGES_H=config/locale/messages_members_generic.h
3074 CMESSAGES_CC=config/locale/messages_members_generic.cc
3075 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3076 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3077 CTIME_CC=config/locale/time_members_generic.cc
3080 echo "$ac_t""gnu
" 1>&6
3082 # Declare intention to use gettext, and add support for specific
3084 # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
3086 # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
3087 # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
3090 # Export the build objects.
3091 for ling in $ALL_LINGUAS; do \
3092 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3093 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3098 CLOCALE_H=config/locale/c_locale_gnu.h
3099 CLOCALE_CC=config/locale/c_locale_gnu.cc
3100 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3101 CCOLLATE_CC=config/locale/collate_members_gnu.cc
3102 CCTYPE_CC=config/locale/ctype_members_gnu.cc
3103 CMESSAGES_H=config/locale/messages_members_gnu.h
3104 CMESSAGES_CC=config/locale/messages_members_gnu.cc
3105 CMONEY_CC=config/locale/moneypunct_members_gnu.cc
3106 CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
3107 CTIME_CC=config/locale/time_members_gnu.cc
3110 echo "$ac_t""generic
" 1>&6
3112 # Don't use gettext.
3115 CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
3116 CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
3117 CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
3118 CCOLLATE_CC=config/locale/collate_members_generic.cc
3119 CCTYPE_CC=config/locale/ctype_members_generic.cc
3120 CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
3121 CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
3122 CMONEY_CC=config/locale/moneypunct_members_generic.cc
3123 CNUMERIC_CC=config/locale/numpunct_members_generic.cc
3124 CTIME_CC=config/locale/time_members_generic.cc
3127 echo "$enable_clocale is an unknown locale package
" 1>&2
3132 # This is where the testsuite looks for locale catalogs, using the
3133 # -DLOCALEDIR define during testsuite compilation.
3134 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3149 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3150 if test "${enable_c_mbchar+set}" = set; then
3151 enableval="$enable_c_mbchar"
3152 case "$enableval" in
3153 yes) enable_c_mbchar=yes ;;
3154 no) enable_c_mbchar=no ;;
3155 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3162 # Check whether --enable-c99 or --disable-c99 was given.
3163 if test "${enable_c99+set}" = set; then
3164 enableval="$enable_c99"
3165 case "$enableval" in
3166 yes) enable_c99=yes ;;
3167 no) enable_c99=no ;;
3168 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3177 ac_cpp='$CXXCPP $CPPFLAGS'
3178 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3179 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3180 cross_compiling=$ac_cv_prog_cxx_cross
3183 # Check for the existence of <math.h> functions used if C99 is enabled.
3185 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3186 echo "configure
:3187: checking
for ISO C99 support
in <math.h
>" >&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
"
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
"
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
"
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 isgreaterequal(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 cat > conftest.$ac_ext <<EOF
3324 #line 3325 "configure
"
3325 #include "confdefs.h
"
3331 if { (eval echo configure:3332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3334 echo "configure
: failed program was
:" >&5
3335 cat conftest.$ac_ext >&5
3340 cat > conftest.$ac_ext <<EOF
3341 #line 3342 "configure
"
3342 #include "confdefs.h
"
3345 islessequal(0.0,0.0);
3348 if { (eval echo configure:3349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3351 echo "configure
: failed program was
:" >&5
3352 cat conftest.$ac_ext >&5
3357 cat > conftest.$ac_ext <<EOF
3358 #line 3359 "configure
"
3359 #include "confdefs.h
"
3362 islessgreater(0.0,0.0);
3365 if { (eval echo configure:3366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3368 echo "configure
: failed program was
:" >&5
3369 cat conftest.$ac_ext >&5
3374 cat > conftest.$ac_ext <<EOF
3375 #line 3376 "configure
"
3376 #include "confdefs.h
"
3379 isunordered(0.0,0.0);
3382 if { (eval echo configure:3383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3385 echo "configure
: failed program was
:" >&5
3386 cat conftest.$ac_ext >&5
3391 echo "$ac_t""$ac_c99_math" 1>&6
3393 # Check for the existence in <stdio.h> of vscanf, et. al.
3395 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3396 echo "configure
:3397: checking
for ISO C99 support
in <stdio.h
>" >&5
3397 cat > conftest.$ac_ext <<EOF
3398 #line 3399 "configure
"
3399 #include "confdefs.h
"
3402 snprintf("12", 0, "%i
");
3405 if { (eval echo configure:3406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3408 echo "configure
: failed program was
:" >&5
3409 cat conftest.$ac_ext >&5
3414 cat > conftest.$ac_ext <<EOF
3415 #line 3416 "configure
"
3416 #include "confdefs.h
"
3419 void foo(char* fmt, ...)
3420 {va_list args; va_start(args, fmt);
3421 vfscanf(stderr, "%i
", args);}
3426 if { (eval echo configure:3427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3429 echo "configure
: failed program was
:" >&5
3430 cat conftest.$ac_ext >&5
3435 cat > conftest.$ac_ext <<EOF
3436 #line 3437 "configure
"
3437 #include "confdefs.h
"
3440 void foo(char* fmt, ...)
3441 {va_list args; va_start(args, fmt);
3442 vscanf("%i
", args);}
3447 if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3450 echo "configure
: failed program was
:" >&5
3451 cat conftest.$ac_ext >&5
3456 cat > conftest.$ac_ext <<EOF
3457 #line 3458 "configure
"
3458 #include "confdefs.h
"
3461 void foo(char* fmt, ...)
3462 {va_list args; va_start(args, fmt);
3463 vsnprintf(fmt, 0, "%i
", args);}
3468 if { (eval echo configure:3469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3471 echo "configure
: failed program was
:" >&5
3472 cat conftest.$ac_ext >&5
3477 cat > conftest.$ac_ext <<EOF
3478 #line 3479 "configure
"
3479 #include "confdefs.h
"
3482 void foo(char* fmt, ...)
3483 {va_list args; va_start(args, fmt);
3484 vsscanf(fmt, "%i
", args);}
3489 if { (eval echo configure:3490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3492 echo "configure
: failed program was
:" >&5
3493 cat conftest.$ac_ext >&5
3498 echo "$ac_t""$ac_c99_stdio" 1>&6
3500 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3502 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3503 echo "configure
:3504: checking
for lldiv_t declaration
" >&5
3504 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3505 echo $ac_n "(cached
) $ac_c" 1>&6
3508 cat > conftest.$ac_ext <<EOF
3509 #line 3510 "configure
"
3510 #include "confdefs.h
"
3516 if { (eval echo configure:3517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3520 echo "configure
: failed program was
:" >&5
3521 cat conftest.$ac_ext >&5
3529 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3531 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3532 echo "configure
:3533: checking
for ISO C99 support
in <stdlib.h
>" >&5
3533 cat > conftest.$ac_ext <<EOF
3534 #line 3535 "configure
"
3535 #include "confdefs.h
"
3538 char* tmp; strtof("gnu
", &tmp);
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
"
3555 char* tmp; strtold("gnu
", &tmp);
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 cat > conftest.$ac_ext <<EOF
3568 #line 3569 "configure
"
3569 #include "confdefs.h
"
3575 if { (eval echo configure:3576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3578 echo "configure
: failed program was
:" >&5
3579 cat conftest.$ac_ext >&5
3584 cat > conftest.$ac_ext <<EOF
3585 #line 3586 "configure
"
3586 #include "confdefs.h
"
3592 if { (eval echo configure:3593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3595 echo "configure
: failed program was
:" >&5
3596 cat conftest.$ac_ext >&5
3601 cat > conftest.$ac_ext <<EOF
3602 #line 3603 "configure
"
3603 #include "confdefs.h
"
3609 if { (eval echo configure:3610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3612 echo "configure
: failed program was
:" >&5
3613 cat conftest.$ac_ext >&5
3618 cat > conftest.$ac_ext <<EOF
3619 #line 3620 "configure
"
3620 #include "confdefs.h
"
3626 if { (eval echo configure:3627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3629 echo "configure
: failed program was
:" >&5
3630 cat conftest.$ac_ext >&5
3635 if test x"$ac_c99_lldiv_t" = x"no
"; then
3638 echo "$ac_t""$ac_c99_stdlib" 1>&6
3640 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3641 # XXX the wchar.h checks should be rolled into the general C99 bits.
3643 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3644 echo "configure
:3645: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3645 cat > conftest.$ac_ext <<EOF
3646 #line 3647 "configure
"
3647 #include "confdefs.h
"
3650 wcstold(L"10.0", NULL);
3653 if { (eval echo configure:3654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3656 echo "configure
: failed program was
:" >&5
3657 cat conftest.$ac_ext >&5
3662 cat > conftest.$ac_ext <<EOF
3663 #line 3664 "configure
"
3664 #include "confdefs.h
"
3667 wcstoll(L"10", NULL, 10);
3670 if { (eval echo configure:3671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3673 echo "configure
: failed program was
:" >&5
3674 cat conftest.$ac_ext >&5
3679 cat > conftest.$ac_ext <<EOF
3680 #line 3681 "configure
"
3681 #include "confdefs.h
"
3684 wcstoull(L"10", NULL, 10);
3687 if { (eval echo configure:3688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3690 echo "configure
: failed program was
:" >&5
3691 cat conftest.$ac_ext >&5
3696 echo "$ac_t""$ac_c99_wchar" 1>&6
3698 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3699 echo "configure
:3700: checking
for enabled ISO C99 support
" >&5
3700 if test x"$ac_c99_math" = x"no
" ||
3701 test x"$ac_c99_stdio" = x"no
" ||
3702 test x"$ac_c99_stdlib" = x"no
" ||
3703 test x"$ac_c99_wchar" = x"no
"; then
3706 echo "$ac_t""$enable_c99" 1>&6
3708 # Option parsed, now set things appropriately
3709 if test x"$enable_c99" = x"yes"; then
3710 cat >> confdefs.h <<\EOF
3711 #define _GLIBCPP_USE_C99 1
3717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3721 cross_compiling=$ac_cv_prog_cc_cross
3725 # Check whether --enable-long-long or --disable-long-long was given.
3726 if test "${enable_long_long+set}" = set; then
3727 enableval="$enable_long_long"
3728 case "$enableval" in
3729 yes) enable_long_long=yes ;;
3730 no) enable_long_long=no ;;
3731 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3734 enable_long_long=yes
3739 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3740 ac_cpp='$CXXCPP $CPPFLAGS'
3741 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3742 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3743 cross_compiling=$ac_cv_prog_cxx_cross
3746 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3747 echo "configure
:3748: checking
for enabled long long I
/O support
" >&5
3748 # iostreams require strtoll, strtoull to compile
3749 cat > conftest.$ac_ext <<EOF
3750 #line 3751 "configure
"
3751 #include "confdefs.h
"
3754 char* tmp; strtoll("gnu
", &tmp, 10);
3757 if { (eval echo configure:3758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3760 echo "configure
: failed program was
:" >&5
3761 cat conftest.$ac_ext >&5
3766 cat > conftest.$ac_ext <<EOF
3767 #line 3768 "configure
"
3768 #include "confdefs.h
"
3771 char* tmp; strtoull("gnu
", &tmp, 10);
3774 if { (eval echo configure:3775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3777 echo "configure
: failed program was
:" >&5
3778 cat conftest.$ac_ext >&5
3784 # Option parsed, now set things appropriately
3785 if test x"$enable_long_long" = xyes; then
3786 cat >> confdefs.h <<\EOF
3787 #define _GLIBCPP_USE_LONG_LONG 1
3791 echo "$ac_t""$enable_long_long" 1>&6
3794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3795 ac_cpp='$CPP $CPPFLAGS'
3796 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3797 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3798 cross_compiling=$ac_cv_prog_cc_cross
3801 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3802 echo "configure
:3803: checking
for c header strategy to use
" >&5
3803 # Check whether --enable-cheaders or --disable-cheaders was given.
3804 if test "${enable_cheaders+set}" = set; then
3805 enableval="$enable_cheaders"
3807 case "$enableval" in
3812 enable_cheaders=c_std
3815 enable_cheaders=c_shadow
3817 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3821 enable_cheaders=c_std
3824 echo "$ac_t""$enable_cheaders" 1>&6
3826 case "$enable_cheaders" in
3828 CSHADOW_FLAGS="-fno-builtin"
3829 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3830 cat >> confdefs.h <<\EOF
3831 #define _GLIBCPP_USE_SHADOW_HEADERS 1
3837 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3841 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3849 if test "$enable_cheaders" = c_shadow; then
3850 GLIBCPP_USE_CSHADOW_TRUE=
3851 GLIBCPP_USE_CSHADOW_FALSE='#'
3853 GLIBCPP_USE_CSHADOW_TRUE='#'
3854 GLIBCPP_USE_CSHADOW_FALSE=
3858 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3859 echo "configure
:3860: checking
for thread model used by GCC
" >&5
3860 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3861 echo "$ac_t""$target_thread_file" 1>&6
3863 if test $target_thread_file != single; then
3864 cat >> confdefs.h <<\EOF
3865 #define HAVE_GTHR_DEFAULT 1
3868 cat >> confdefs.h <<\EOF
3869 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3874 glibcpp_thread_h=gthr-$target_thread_file.h
3877 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3878 if test "${enable_cxx_flags+set}" = set; then
3879 enableval="$enable_cxx_flags"
3880 case "x
$enableval" in
3882 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3884 enable_cxx_flags='' ;;
3886 enable_cxx_flags="$enableval" ;;
3889 enable_cxx_flags='none'
3893 if test "$enable_cxx_flags" = "none
"; then
3894 enable_cxx_flags='';
3897 if test -n "$enable_cxx_flags"; then
3898 for f in $enable_cxx_flags; do
3902 *) # and we're trying to pass /what/ exactly?
3903 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3907 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3911 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3912 echo "configure
:3913: checking
for exception model to use
" >&5
3915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3916 ac_cpp='$CXXCPP $CPPFLAGS'
3917 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3918 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3919 cross_compiling=$ac_cv_prog_cxx_cross
3921 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3922 if test "${enable_sjlj_exceptions+set}" = set; then
3923 enableval="$enable_sjlj_exceptions"
3926 cat > conftest.$ac_ext << EOF
3927 #line 3928 "configure
"
3936 old_CXXFLAGS="$CXXFLAGS"
3938 if { (eval echo configure:3939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3939 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3940 enable_sjlj_exceptions=yes
3941 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3942 enable_sjlj_exceptions=no
3945 CXXFLAGS="$old_CXXFLAGS"
3949 if test x$enable_sjlj_exceptions = xyes; then
3950 cat >> confdefs.h <<\EOF
3951 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3954 ac_exception_model_name=sjlj
3955 elif test x$enable_sjlj_exceptions = xno; then
3956 ac_exception_model_name="call frame
"
3958 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3962 ac_cpp='$CPP $CPPFLAGS'
3963 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3964 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3965 cross_compiling=$ac_cv_prog_cc_cross
3967 echo "$ac_t""$ac_exception_model_name" 1>&6
3969 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3970 if test "${enable_concept_checks+set}" = set; then
3971 enableval="$enable_concept_checks"
3972 case "$enableval" in
3973 yes) enable_concept_checks=yes ;;
3974 no) enable_concept_checks=no ;;
3975 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
3978 enable_concept_checks=no
3980 if test x"$enable_concept_checks" = xyes; then
3981 cat >> confdefs.h <<\EOF
3982 #define _GLIBCPP_CONCEPT_CHECKS 1
3989 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
3991 # This lets us hard-code the functionality we know
3992 # we'll have in the cross target environment. "Let
" is a
3993 # sugar-coated word placed on an especially dull and tedious hack, actually.
3994 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
3995 # that involve linking can't be used:
3996 # "cannot open sim-crt0.o
"
3997 # "cannot open crt0.o
"
3998 # etc. All this is because there currently exists no unified,
3999 # consistent way for top level CC information to be passed down
4000 # to target directories: newlib includes, newlib linking info,
4001 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4002 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4004 # We are being configured with some form of cross compiler.
4005 GLIBCPP_IS_CROSS_COMPILING=1
4007 # If Canadian cross, then don't pick up tools from the build
4009 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4015 # Construct crosses by hand, eliminating bits that need ld...
4016 # GLIBCPP_CHECK_COMPILER_FEATURES
4017 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4018 # GLIBCPP_CHECK_MATH_SUPPORT
4020 case "$target_alias" in
4022 # Check for available headers.
4023 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4024 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4025 fp.h locale.h float.h inttypes.h
4027 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4028 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4029 echo "configure
:4030: checking
for $ac_hdr" >&5
4030 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4031 echo $ac_n "(cached
) $ac_c" 1>&6
4033 cat > conftest.$ac_ext <<EOF
4034 #line 4035 "configure
"
4035 #include "confdefs.h
"
4038 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4039 { (eval echo configure:4040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4040 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4041 if test -z "$ac_err"; then
4043 eval "ac_cv_header_
$ac_safe=yes"
4046 echo "configure
: failed program was
:" >&5
4047 cat conftest.$ac_ext >&5
4049 eval "ac_cv_header_
$ac_safe=no
"
4053 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4054 echo "$ac_t""yes" 1>&6
4055 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4056 cat >> confdefs.h <<EOF
4057 #define $ac_tr_hdr 1
4061 echo "$ac_t""no
" 1>&6
4065 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4068 # If we're not using GNU ld, then there's no point in even trying these
4069 # tests. Check for that first. We should have already tested for gld
4070 # by now (in libtool), but require it now just to be safe...
4071 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4072 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4075 # The name set by libtool depends on the version of libtool. Shame on us
4076 # for depending on an impl detail, but c'est la vie. Older versions used
4077 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4078 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4079 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4080 # set (hence we're using an older libtool), then set it.
4081 if test x${with_gnu_ld+set} != xset; then
4082 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4083 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4086 with_gnu_ld=$ac_cv_prog_gnu_ld
4090 # Start by getting the version number. I think the libtool test already
4091 # does some of this, but throws away the result.
4093 ldver=`$LD --version 2>/dev/null | head -1 | \
4094 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4096 glibcpp_gnu_ld_version=`echo $ldver | \
4097 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4099 # Set --gc-sections.
4100 if test "$with_gnu_ld" = "notbroken
"; then
4101 # GNU ld it is! Joy and bunny rabbits!
4103 # All these tests are for C++; save the language and the compiler flags.
4104 # Need to do this so that g++ won't try to link in libstdc++
4105 ac_test_CFLAGS="${CFLAGS+set}"
4106 ac_save_CFLAGS="$CFLAGS"
4107 CFLAGS='-x c++ -Wl,--gc-sections'
4109 # Check for -Wl,--gc-sections
4110 # XXX This test is broken at the moment, as symbols required for
4111 # linking are now in libsupc++ (not built yet.....). In addition,
4112 # this test has cored on solaris in the past. In addition,
4113 # --gc-sections doesn't really work at the moment (keeps on discarding
4114 # used sections, first .eh_frame and now some of the glibc sections for
4115 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4116 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4117 echo "configure
:4118: checking
for ld that supports
-Wl,--gc-sections" >&5
4118 if test "$cross_compiling" = yes; then
4119 ac_sectionLDflags=yes
4121 cat > conftest.$ac_ext <<EOF
4122 #line 4123 "configure
"
4123 #include "confdefs.h
"
4133 if { (eval echo configure:4134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4135 ac_sectionLDflags=yes
4137 echo "configure
: failed program was
:" >&5
4138 cat conftest.$ac_ext >&5
4140 ac_sectionLDflags=no
4145 if test "$ac_test_CFLAGS" = set; then
4146 CFLAGS="$ac_save_CFLAGS"
4148 # this is the suspicious part
4151 if test "$ac_sectionLDflags" = "yes"; then
4152 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4154 echo "$ac_t""$ac_sectionLDflags" 1>&6
4157 # Set linker optimization flags.
4158 if test x"$with_gnu_ld" = x"yes" &&
4159 test x"$enable_debug" = x"no
"; then
4160 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4167 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4168 echo "configure
:4169: checking
for main
in -lm" >&5
4169 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4170 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4171 echo $ac_n "(cached
) $ac_c" 1>&6
4173 ac_save_LIBS="$LIBS"
4175 cat > conftest.$ac_ext <<EOF
4176 #line 4177 "configure
"
4177 #include "confdefs.h
"
4183 if { (eval echo configure:4184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4185 eval "ac_cv_lib_
$ac_lib_var=yes"
4187 echo "configure
: failed program was
:" >&5
4188 cat conftest.$ac_ext >&5
4190 eval "ac_cv_lib_
$ac_lib_var=no
"
4193 LIBS="$ac_save_LIBS"
4196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4197 echo "$ac_t""yes" 1>&6
4198 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4199 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4200 cat >> confdefs.h <<EOF
4201 #define $ac_tr_lib 1
4207 echo "$ac_t""no
" 1>&6
4210 for ac_func in nan copysignf
4212 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4213 echo "configure
:4214: checking
for $ac_func" >&5
4214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4215 echo $ac_n "(cached
) $ac_c" 1>&6
4217 cat > conftest.$ac_ext <<EOF
4218 #line 4219 "configure
"
4219 #include "confdefs.h
"
4220 /* System header to define __stub macros and hopefully few prototypes,
4221 which can conflict with char $ac_func(); below. */
4223 /* Override any gcc2 internal prototype to avoid an error. */
4224 /* We use char because int might match the return type of a gcc2
4225 builtin and then its argument prototype would still apply. */
4230 /* The GNU C library defines this for functions which it implements
4231 to always fail with ENOSYS. Some functions are actually named
4232 something starting with __ and the normal name is an alias. */
4233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4241 if { (eval echo configure:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4243 eval "ac_cv_func_
$ac_func=yes"
4245 echo "configure
: failed program was
:" >&5
4246 cat conftest.$ac_ext >&5
4248 eval "ac_cv_func_
$ac_func=no
"
4253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4254 echo "$ac_t""yes" 1>&6
4255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4256 cat >> confdefs.h <<EOF
4257 #define $ac_tr_func 1
4261 echo "$ac_t""no
" 1>&6
4262 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4268 USE_COMPLEX_LONG_DOUBLE=no
4269 if test x$ac_cv_func_copysignl = x"yes"; then
4270 USE_COMPLEX_LONG_DOUBLE=yes
4271 for ac_func in signbitl
4273 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4274 echo "configure
:4275: checking
for $ac_func" >&5
4275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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
"
4281 /* System header to define __stub macros and hopefully few prototypes,
4282 which can conflict with char $ac_func(); below. */
4284 /* Override any gcc2 internal prototype to avoid an error. */
4285 /* We use char because int might match the return type of a gcc2
4286 builtin and then its argument prototype would still apply. */
4291 /* The GNU C library defines this for functions which it implements
4292 to always fail with ENOSYS. Some functions are actually named
4293 something starting with __ and the normal name is an alias. */
4294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4302 if { (eval echo configure:4303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4304 eval "ac_cv_func_
$ac_func=yes"
4306 echo "configure
: failed program was
:" >&5
4307 cat conftest.$ac_ext >&5
4309 eval "ac_cv_func_
$ac_func=no
"
4314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4315 echo "$ac_t""yes" 1>&6
4316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4317 cat >> confdefs.h <<EOF
4318 #define $ac_tr_func 1
4322 echo "$ac_t""no
" 1>&6
4323 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4334 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4335 echo "configure
:4336: checking
for mbstate_t
" >&5
4336 cat > conftest.$ac_ext <<EOF
4337 #line 4338 "configure
"
4338 #include "confdefs.h
"
4341 mbstate_t teststate;
4344 if { (eval echo configure:4345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4348 echo "configure
: failed program was
:" >&5
4349 cat conftest.$ac_ext >&5
4354 echo "$ac_t""$have_mbstate_t" 1>&6
4355 if test x"$have_mbstate_t" = xyes; then
4356 cat >> confdefs.h <<\EOF
4357 #define HAVE_MBSTATE_T 1
4362 for ac_hdr in wchar.h
4364 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4365 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4366 echo "configure
:4367: checking
for $ac_hdr" >&5
4367 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4368 echo $ac_n "(cached
) $ac_c" 1>&6
4370 cat > conftest.$ac_ext <<EOF
4371 #line 4372 "configure
"
4372 #include "confdefs.h
"
4375 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4376 { (eval echo configure:4377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4377 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4378 if test -z "$ac_err"; then
4380 eval "ac_cv_header_
$ac_safe=yes"
4383 echo "configure
: failed program was
:" >&5
4384 cat conftest.$ac_ext >&5
4386 eval "ac_cv_header_
$ac_safe=no
"
4390 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4391 echo "$ac_t""yes" 1>&6
4392 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4393 cat >> confdefs.h <<EOF
4394 #define $ac_tr_hdr 1
4398 echo "$ac_t""no
" 1>&6
4403 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
4404 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
4405 echo "configure
:4406: checking
for wctype.h
" >&5
4406 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4407 echo $ac_n "(cached
) $ac_c" 1>&6
4409 cat > conftest.$ac_ext <<EOF
4410 #line 4411 "configure
"
4411 #include "confdefs.h
"
4414 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4415 { (eval echo configure:4416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4416 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4417 if test -z "$ac_err"; then
4419 eval "ac_cv_header_
$ac_safe=yes"
4422 echo "configure
: failed program was
:" >&5
4423 cat conftest.$ac_ext >&5
4425 eval "ac_cv_header_
$ac_safe=no
"
4429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4430 echo "$ac_t""yes" 1>&6
4433 echo "$ac_t""no
" 1>&6
4438 if test x"$ac_has_wchar_h" = xyes &&
4439 test x"$ac_has_wctype_h" = xyes &&
4440 test x"$enable_c_mbchar" != xno; then
4442 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4443 echo "configure
:4444: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4444 cat > conftest.$ac_ext <<EOF
4445 #line 4446 "configure
"
4446 #include "confdefs.h
"
4449 int i = WCHAR_MIN; int j = WCHAR_MAX;
4452 if { (eval echo configure:4453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4454 has_wchar_minmax=yes
4456 echo "configure
: failed program was
:" >&5
4457 cat conftest.$ac_ext >&5
4462 echo "$ac_t""$has_wchar_minmax" 1>&6
4464 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4465 echo "configure
:4466: checking
for WEOF
" >&5
4466 cat > conftest.$ac_ext <<EOF
4467 #line 4468 "configure
"
4468 #include "confdefs.h
"
4476 if { (eval echo configure:4477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4480 echo "configure
: failed program was
:" >&5
4481 cat conftest.$ac_ext >&5
4486 echo "$ac_t""$has_weof" 1>&6
4489 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4491 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4492 echo "configure
:4493: checking
for $ac_func" >&5
4493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4494 echo $ac_n "(cached
) $ac_c" 1>&6
4496 cat > conftest.$ac_ext <<EOF
4497 #line 4498 "configure
"
4498 #include "confdefs.h
"
4499 /* System header to define __stub macros and hopefully few prototypes,
4500 which can conflict with char $ac_func(); below. */
4502 /* Override any gcc2 internal prototype to avoid an error. */
4503 /* We use char because int might match the return type of a gcc2
4504 builtin and then its argument prototype would still apply. */
4509 /* The GNU C library defines this for functions which it implements
4510 to always fail with ENOSYS. Some functions are actually named
4511 something starting with __ and the normal name is an alias. */
4512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4520 if { (eval echo configure:4521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4522 eval "ac_cv_func_
$ac_func=yes"
4524 echo "configure
: failed program was
:" >&5
4525 cat conftest.$ac_ext >&5
4527 eval "ac_cv_func_
$ac_func=no
"
4532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4533 echo "$ac_t""yes" 1>&6
4534 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4535 cat >> confdefs.h <<EOF
4536 #define $ac_tr_func 1
4540 echo "$ac_t""no
" 1>&6
4547 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4548 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4549 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4550 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4551 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4552 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4554 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4555 echo "configure
:4556: checking
for $ac_func" >&5
4556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4557 echo $ac_n "(cached
) $ac_c" 1>&6
4559 cat > conftest.$ac_ext <<EOF
4560 #line 4561 "configure
"
4561 #include "confdefs.h
"
4562 /* System header to define __stub macros and hopefully few prototypes,
4563 which can conflict with char $ac_func(); below. */
4565 /* Override any gcc2 internal prototype to avoid an error. */
4566 /* We use char because int might match the return type of a gcc2
4567 builtin and then its argument prototype would still apply. */
4572 /* The GNU C library defines this for functions which it implements
4573 to always fail with ENOSYS. Some functions are actually named
4574 something starting with __ and the normal name is an alias. */
4575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4583 if { (eval echo configure:4584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4585 eval "ac_cv_func_
$ac_func=yes"
4587 echo "configure
: failed program was
:" >&5
4588 cat conftest.$ac_ext >&5
4590 eval "ac_cv_func_
$ac_func=no
"
4595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4596 echo "$ac_t""yes" 1>&6
4597 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4598 cat >> confdefs.h <<EOF
4599 #define $ac_tr_func 1
4603 echo "$ac_t""no
" 1>&6
4610 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4611 echo "configure
:4612: checking
for ISO C99 wchar_t support
" >&5
4612 if test x"$has_weof" = xyes &&
4613 test x"$has_wchar_minmax" = xyes &&
4614 test x"$ac_wfuncs" = xyes; then
4615 ac_isoC99_wchar_t=yes
4617 ac_isoC99_wchar_t=no
4619 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4621 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4622 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4623 echo "configure
:4624: checking
for iconv.h
" >&5
4624 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4625 echo $ac_n "(cached
) $ac_c" 1>&6
4627 cat > conftest.$ac_ext <<EOF
4628 #line 4629 "configure
"
4629 #include "confdefs.h
"
4632 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4633 { (eval echo configure:4634: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4634 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4635 if test -z "$ac_err"; then
4637 eval "ac_cv_header_
$ac_safe=yes"
4640 echo "configure
: failed program was
:" >&5
4641 cat conftest.$ac_ext >&5
4643 eval "ac_cv_header_
$ac_safe=no
"
4647 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4648 echo "$ac_t""yes" 1>&6
4651 echo "$ac_t""no
" 1>&6
4655 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4656 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4657 echo "configure
:4658: checking
for langinfo.h
" >&5
4658 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4659 echo $ac_n "(cached
) $ac_c" 1>&6
4661 cat > conftest.$ac_ext <<EOF
4662 #line 4663 "configure
"
4663 #include "confdefs.h
"
4664 #include <langinfo.h>
4666 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4667 { (eval echo configure:4668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4668 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4669 if test -z "$ac_err"; then
4671 eval "ac_cv_header_
$ac_safe=yes"
4674 echo "configure
: failed program was
:" >&5
4675 cat conftest.$ac_ext >&5
4677 eval "ac_cv_header_
$ac_safe=no
"
4681 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4682 echo "$ac_t""yes" 1>&6
4683 ac_has_langinfo_h=yes
4685 echo "$ac_t""no
" 1>&6
4686 ac_has_langinfo_h=no
4690 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4691 echo "configure
:4692: checking
for iconv in -liconv" >&5
4692 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4693 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4694 echo $ac_n "(cached
) $ac_c" 1>&6
4696 ac_save_LIBS="$LIBS"
4697 LIBS="-liconv $LIBS"
4698 cat > conftest.$ac_ext <<EOF
4699 #line 4700 "configure
"
4700 #include "confdefs.h
"
4701 /* Override any gcc2 internal prototype to avoid an error. */
4702 /* We use char because int might match the return type of a gcc2
4703 builtin and then its argument prototype would still apply. */
4710 if { (eval echo configure:4711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4712 eval "ac_cv_lib_
$ac_lib_var=yes"
4714 echo "configure
: failed program was
:" >&5
4715 cat conftest.$ac_ext >&5
4717 eval "ac_cv_lib_
$ac_lib_var=no
"
4720 LIBS="$ac_save_LIBS"
4723 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4724 echo "$ac_t""yes" 1>&6
4727 echo "$ac_t""no
" 1>&6
4730 ac_save_LIBS="$LIBS"
4731 LIBS="$LIBS $libiconv"
4733 for ac_func in iconv_open iconv_close iconv nl_langinfo
4735 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4736 echo "configure
:4737: checking
for $ac_func" >&5
4737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4738 echo $ac_n "(cached
) $ac_c" 1>&6
4740 cat > conftest.$ac_ext <<EOF
4741 #line 4742 "configure
"
4742 #include "confdefs.h
"
4743 /* System header to define __stub macros and hopefully few prototypes,
4744 which can conflict with char $ac_func(); below. */
4746 /* Override any gcc2 internal prototype to avoid an error. */
4747 /* We use char because int might match the return type of a gcc2
4748 builtin and then its argument prototype would still apply. */
4753 /* The GNU C library defines this for functions which it implements
4754 to always fail with ENOSYS. Some functions are actually named
4755 something starting with __ and the normal name is an alias. */
4756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4764 if { (eval echo configure:4765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4766 eval "ac_cv_func_
$ac_func=yes"
4768 echo "configure
: failed program was
:" >&5
4769 cat conftest.$ac_ext >&5
4771 eval "ac_cv_func_
$ac_func=no
"
4776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4777 echo "$ac_t""yes" 1>&6
4778 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4779 cat >> confdefs.h <<EOF
4780 #define $ac_tr_func 1
4785 echo "$ac_t""no
" 1>&6
4791 LIBS="$ac_save_LIBS"
4793 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4794 echo "configure
:4795: checking
for XPG2 wchar_t support
" >&5
4795 if test x"$ac_has_iconv_h" = xyes &&
4796 test x"$ac_has_langinfo_h" = xyes &&
4797 test x"$ac_XPG2funcs" = xyes; then
4802 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4804 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4805 echo "configure
:4806: checking
for enabled wchar_t specializations
" >&5
4806 if test x"$ac_isoC99_wchar_t" = xyes &&
4807 test x"$ac_XPG2_wchar_t" = xyes; then
4808 cat >> confdefs.h <<\EOF
4809 #define _GLIBCPP_USE_WCHAR_T 1
4812 echo "$ac_t"""yes"" 1>&6
4814 echo "$ac_t"""no"" 1>&6
4817 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4820 os_include_dir="config
/os
/gnu-linux
"
4821 cat >> confdefs.h <<\EOF
4822 #define HAVE_COPYSIGN 1
4825 cat >> confdefs.h <<\EOF
4826 #define HAVE_COPYSIGNF 1
4829 cat >> confdefs.h <<\EOF
4830 #define HAVE_FINITEF 1
4833 cat >> confdefs.h <<\EOF
4834 #define HAVE_FREXPF 1
4837 cat >> confdefs.h <<\EOF
4838 #define HAVE_HYPOTF 1
4841 cat >> confdefs.h <<\EOF
4842 #define HAVE_SINCOS 1
4845 cat >> confdefs.h <<\EOF
4846 #define HAVE_SINCOSF 1
4849 if test x"long_double_math_on_this_cpu
" = x"yes"; then
4850 cat >> confdefs.h <<\EOF
4851 #define HAVE_HYPOTL 1
4857 # Check for available headers.
4858 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4859 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4860 fp.h locale.h float.h inttypes.h
4862 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4863 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4864 echo "configure
:4865: checking
for $ac_hdr" >&5
4865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4866 echo $ac_n "(cached
) $ac_c" 1>&6
4868 cat > conftest.$ac_ext <<EOF
4869 #line 4870 "configure
"
4870 #include "confdefs.h
"
4873 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4874 { (eval echo configure:4875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4875 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4876 if test -z "$ac_err"; then
4878 eval "ac_cv_header_
$ac_safe=yes"
4881 echo "configure
: failed program was
:" >&5
4882 cat conftest.$ac_ext >&5
4884 eval "ac_cv_header_
$ac_safe=no
"
4888 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4889 echo "$ac_t""yes" 1>&6
4890 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4891 cat >> confdefs.h <<EOF
4892 #define $ac_tr_hdr 1
4896 echo "$ac_t""no
" 1>&6
4900 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4903 # If we're not using GNU ld, then there's no point in even trying these
4904 # tests. Check for that first. We should have already tested for gld
4905 # by now (in libtool), but require it now just to be safe...
4906 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4907 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4910 # The name set by libtool depends on the version of libtool. Shame on us
4911 # for depending on an impl detail, but c'est la vie. Older versions used
4912 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4913 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4914 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4915 # set (hence we're using an older libtool), then set it.
4916 if test x${with_gnu_ld+set} != xset; then
4917 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4918 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4921 with_gnu_ld=$ac_cv_prog_gnu_ld
4925 # Start by getting the version number. I think the libtool test already
4926 # does some of this, but throws away the result.
4928 ldver=`$LD --version 2>/dev/null | head -1 | \
4929 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4931 glibcpp_gnu_ld_version=`echo $ldver | \
4932 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4934 # Set --gc-sections.
4935 if test "$with_gnu_ld" = "notbroken
"; then
4936 # GNU ld it is! Joy and bunny rabbits!
4938 # All these tests are for C++; save the language and the compiler flags.
4939 # Need to do this so that g++ won't try to link in libstdc++
4940 ac_test_CFLAGS="${CFLAGS+set}"
4941 ac_save_CFLAGS="$CFLAGS"
4942 CFLAGS='-x c++ -Wl,--gc-sections'
4944 # Check for -Wl,--gc-sections
4945 # XXX This test is broken at the moment, as symbols required for
4946 # linking are now in libsupc++ (not built yet.....). In addition,
4947 # this test has cored on solaris in the past. In addition,
4948 # --gc-sections doesn't really work at the moment (keeps on discarding
4949 # used sections, first .eh_frame and now some of the glibc sections for
4950 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4951 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4952 echo "configure
:4953: checking
for ld that supports
-Wl,--gc-sections" >&5
4953 if test "$cross_compiling" = yes; then
4954 ac_sectionLDflags=yes
4956 cat > conftest.$ac_ext <<EOF
4957 #line 4958 "configure
"
4958 #include "confdefs.h
"
4968 if { (eval echo configure:4969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4970 ac_sectionLDflags=yes
4972 echo "configure
: failed program was
:" >&5
4973 cat conftest.$ac_ext >&5
4975 ac_sectionLDflags=no
4980 if test "$ac_test_CFLAGS" = set; then
4981 CFLAGS="$ac_save_CFLAGS"
4983 # this is the suspicious part
4986 if test "$ac_sectionLDflags" = "yes"; then
4987 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4989 echo "$ac_t""$ac_sectionLDflags" 1>&6
4992 # Set linker optimization flags.
4993 if test x"$with_gnu_ld" = x"yes" &&
4994 test x"$enable_debug" = x"no
"; then
4995 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5002 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5003 echo "configure
:5004: checking
for main
in -lm" >&5
5004 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5006 echo $ac_n "(cached
) $ac_c" 1>&6
5008 ac_save_LIBS="$LIBS"
5010 cat > conftest.$ac_ext <<EOF
5011 #line 5012 "configure
"
5012 #include "confdefs.h
"
5018 if { (eval echo configure:5019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5020 eval "ac_cv_lib_
$ac_lib_var=yes"
5022 echo "configure
: failed program was
:" >&5
5023 cat conftest.$ac_ext >&5
5025 eval "ac_cv_lib_
$ac_lib_var=no
"
5028 LIBS="$ac_save_LIBS"
5031 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5032 echo "$ac_t""yes" 1>&6
5033 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5034 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5035 cat >> confdefs.h <<EOF
5036 #define $ac_tr_lib 1
5042 echo "$ac_t""no
" 1>&6
5045 for ac_func in nan copysignf
5047 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5048 echo "configure
:5049: checking
for $ac_func" >&5
5049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5050 echo $ac_n "(cached
) $ac_c" 1>&6
5052 cat > conftest.$ac_ext <<EOF
5053 #line 5054 "configure
"
5054 #include "confdefs.h
"
5055 /* System header to define __stub macros and hopefully few prototypes,
5056 which can conflict with char $ac_func(); below. */
5058 /* Override any gcc2 internal prototype to avoid an error. */
5059 /* We use char because int might match the return type of a gcc2
5060 builtin and then its argument prototype would still apply. */
5065 /* The GNU C library defines this for functions which it implements
5066 to always fail with ENOSYS. Some functions are actually named
5067 something starting with __ and the normal name is an alias. */
5068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5076 if { (eval echo configure:5077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5078 eval "ac_cv_func_
$ac_func=yes"
5080 echo "configure
: failed program was
:" >&5
5081 cat conftest.$ac_ext >&5
5083 eval "ac_cv_func_
$ac_func=no
"
5088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5089 echo "$ac_t""yes" 1>&6
5090 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5091 cat >> confdefs.h <<EOF
5092 #define $ac_tr_func 1
5096 echo "$ac_t""no
" 1>&6
5097 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5103 USE_COMPLEX_LONG_DOUBLE=no
5104 if test x$ac_cv_func_copysignl = x"yes"; then
5105 USE_COMPLEX_LONG_DOUBLE=yes
5106 for ac_func in signbitl
5108 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5109 echo "configure
:5110: checking
for $ac_func" >&5
5110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5111 echo $ac_n "(cached
) $ac_c" 1>&6
5113 cat > conftest.$ac_ext <<EOF
5114 #line 5115 "configure
"
5115 #include "confdefs.h
"
5116 /* System header to define __stub macros and hopefully few prototypes,
5117 which can conflict with char $ac_func(); below. */
5119 /* Override any gcc2 internal prototype to avoid an error. */
5120 /* We use char because int might match the return type of a gcc2
5121 builtin and then its argument prototype would still apply. */
5126 /* The GNU C library defines this for functions which it implements
5127 to always fail with ENOSYS. Some functions are actually named
5128 something starting with __ and the normal name is an alias. */
5129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5137 if { (eval echo configure:5138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5139 eval "ac_cv_func_
$ac_func=yes"
5141 echo "configure
: failed program was
:" >&5
5142 cat conftest.$ac_ext >&5
5144 eval "ac_cv_func_
$ac_func=no
"
5149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5150 echo "$ac_t""yes" 1>&6
5151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5152 cat >> confdefs.h <<EOF
5153 #define $ac_tr_func 1
5157 echo "$ac_t""no
" 1>&6
5158 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5169 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5170 echo "configure
:5171: checking
for mbstate_t
" >&5
5171 cat > conftest.$ac_ext <<EOF
5172 #line 5173 "configure
"
5173 #include "confdefs.h
"
5176 mbstate_t teststate;
5179 if { (eval echo configure:5180: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5183 echo "configure
: failed program was
:" >&5
5184 cat conftest.$ac_ext >&5
5189 echo "$ac_t""$have_mbstate_t" 1>&6
5190 if test x"$have_mbstate_t" = xyes; then
5191 cat >> confdefs.h <<\EOF
5192 #define HAVE_MBSTATE_T 1
5197 for ac_hdr in wchar.h
5199 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5200 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5201 echo "configure
:5202: checking
for $ac_hdr" >&5
5202 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5203 echo $ac_n "(cached
) $ac_c" 1>&6
5205 cat > conftest.$ac_ext <<EOF
5206 #line 5207 "configure
"
5207 #include "confdefs.h
"
5210 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5211 { (eval echo configure:5212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5212 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5213 if test -z "$ac_err"; then
5215 eval "ac_cv_header_
$ac_safe=yes"
5218 echo "configure
: failed program was
:" >&5
5219 cat conftest.$ac_ext >&5
5221 eval "ac_cv_header_
$ac_safe=no
"
5225 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5226 echo "$ac_t""yes" 1>&6
5227 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5228 cat >> confdefs.h <<EOF
5229 #define $ac_tr_hdr 1
5233 echo "$ac_t""no
" 1>&6
5238 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
5239 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
5240 echo "configure
:5241: checking
for wctype.h
" >&5
5241 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5242 echo $ac_n "(cached
) $ac_c" 1>&6
5244 cat > conftest.$ac_ext <<EOF
5245 #line 5246 "configure
"
5246 #include "confdefs.h
"
5249 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5250 { (eval echo configure:5251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5251 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5252 if test -z "$ac_err"; then
5254 eval "ac_cv_header_
$ac_safe=yes"
5257 echo "configure
: failed program was
:" >&5
5258 cat conftest.$ac_ext >&5
5260 eval "ac_cv_header_
$ac_safe=no
"
5264 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5265 echo "$ac_t""yes" 1>&6
5268 echo "$ac_t""no
" 1>&6
5273 if test x"$ac_has_wchar_h" = xyes &&
5274 test x"$ac_has_wctype_h" = xyes &&
5275 test x"$enable_c_mbchar" != xno; then
5277 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5278 echo "configure
:5279: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5279 cat > conftest.$ac_ext <<EOF
5280 #line 5281 "configure
"
5281 #include "confdefs.h
"
5284 int i = WCHAR_MIN; int j = WCHAR_MAX;
5287 if { (eval echo configure:5288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5289 has_wchar_minmax=yes
5291 echo "configure
: failed program was
:" >&5
5292 cat conftest.$ac_ext >&5
5297 echo "$ac_t""$has_wchar_minmax" 1>&6
5299 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5300 echo "configure
:5301: checking
for WEOF
" >&5
5301 cat > conftest.$ac_ext <<EOF
5302 #line 5303 "configure
"
5303 #include "confdefs.h
"
5311 if { (eval echo configure:5312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5315 echo "configure
: failed program was
:" >&5
5316 cat conftest.$ac_ext >&5
5321 echo "$ac_t""$has_weof" 1>&6
5324 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5326 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5327 echo "configure
:5328: checking
for $ac_func" >&5
5328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5329 echo $ac_n "(cached
) $ac_c" 1>&6
5331 cat > conftest.$ac_ext <<EOF
5332 #line 5333 "configure
"
5333 #include "confdefs.h
"
5334 /* System header to define __stub macros and hopefully few prototypes,
5335 which can conflict with char $ac_func(); below. */
5337 /* Override any gcc2 internal prototype to avoid an error. */
5338 /* We use char because int might match the return type of a gcc2
5339 builtin and then its argument prototype would still apply. */
5344 /* The GNU C library defines this for functions which it implements
5345 to always fail with ENOSYS. Some functions are actually named
5346 something starting with __ and the normal name is an alias. */
5347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5355 if { (eval echo configure:5356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5357 eval "ac_cv_func_
$ac_func=yes"
5359 echo "configure
: failed program was
:" >&5
5360 cat conftest.$ac_ext >&5
5362 eval "ac_cv_func_
$ac_func=no
"
5367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5368 echo "$ac_t""yes" 1>&6
5369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5370 cat >> confdefs.h <<EOF
5371 #define $ac_tr_func 1
5375 echo "$ac_t""no
" 1>&6
5382 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5383 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5384 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5385 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5386 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5387 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5389 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5390 echo "configure
:5391: checking
for $ac_func" >&5
5391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5392 echo $ac_n "(cached
) $ac_c" 1>&6
5394 cat > conftest.$ac_ext <<EOF
5395 #line 5396 "configure
"
5396 #include "confdefs.h
"
5397 /* System header to define __stub macros and hopefully few prototypes,
5398 which can conflict with char $ac_func(); below. */
5400 /* Override any gcc2 internal prototype to avoid an error. */
5401 /* We use char because int might match the return type of a gcc2
5402 builtin and then its argument prototype would still apply. */
5407 /* The GNU C library defines this for functions which it implements
5408 to always fail with ENOSYS. Some functions are actually named
5409 something starting with __ and the normal name is an alias. */
5410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5418 if { (eval echo configure:5419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5420 eval "ac_cv_func_
$ac_func=yes"
5422 echo "configure
: failed program was
:" >&5
5423 cat conftest.$ac_ext >&5
5425 eval "ac_cv_func_
$ac_func=no
"
5430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5431 echo "$ac_t""yes" 1>&6
5432 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5433 cat >> confdefs.h <<EOF
5434 #define $ac_tr_func 1
5438 echo "$ac_t""no
" 1>&6
5445 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5446 echo "configure
:5447: checking
for ISO C99 wchar_t support
" >&5
5447 if test x"$has_weof" = xyes &&
5448 test x"$has_wchar_minmax" = xyes &&
5449 test x"$ac_wfuncs" = xyes; then
5450 ac_isoC99_wchar_t=yes
5452 ac_isoC99_wchar_t=no
5454 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5456 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5457 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5458 echo "configure
:5459: checking
for iconv.h
" >&5
5459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5460 echo $ac_n "(cached
) $ac_c" 1>&6
5462 cat > conftest.$ac_ext <<EOF
5463 #line 5464 "configure
"
5464 #include "confdefs.h
"
5467 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5468 { (eval echo configure:5469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5469 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5470 if test -z "$ac_err"; then
5472 eval "ac_cv_header_
$ac_safe=yes"
5475 echo "configure
: failed program was
:" >&5
5476 cat conftest.$ac_ext >&5
5478 eval "ac_cv_header_
$ac_safe=no
"
5482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5483 echo "$ac_t""yes" 1>&6
5486 echo "$ac_t""no
" 1>&6
5490 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5491 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5492 echo "configure
:5493: checking
for langinfo.h
" >&5
5493 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5494 echo $ac_n "(cached
) $ac_c" 1>&6
5496 cat > conftest.$ac_ext <<EOF
5497 #line 5498 "configure
"
5498 #include "confdefs.h
"
5499 #include <langinfo.h>
5501 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5502 { (eval echo configure:5503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5503 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5504 if test -z "$ac_err"; then
5506 eval "ac_cv_header_
$ac_safe=yes"
5509 echo "configure
: failed program was
:" >&5
5510 cat conftest.$ac_ext >&5
5512 eval "ac_cv_header_
$ac_safe=no
"
5516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5517 echo "$ac_t""yes" 1>&6
5518 ac_has_langinfo_h=yes
5520 echo "$ac_t""no
" 1>&6
5521 ac_has_langinfo_h=no
5525 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5526 echo "configure
:5527: checking
for iconv in -liconv" >&5
5527 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5528 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5529 echo $ac_n "(cached
) $ac_c" 1>&6
5531 ac_save_LIBS="$LIBS"
5532 LIBS="-liconv $LIBS"
5533 cat > conftest.$ac_ext <<EOF
5534 #line 5535 "configure
"
5535 #include "confdefs.h
"
5536 /* Override any gcc2 internal prototype to avoid an error. */
5537 /* We use char because int might match the return type of a gcc2
5538 builtin and then its argument prototype would still apply. */
5545 if { (eval echo configure:5546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5547 eval "ac_cv_lib_
$ac_lib_var=yes"
5549 echo "configure
: failed program was
:" >&5
5550 cat conftest.$ac_ext >&5
5552 eval "ac_cv_lib_
$ac_lib_var=no
"
5555 LIBS="$ac_save_LIBS"
5558 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5559 echo "$ac_t""yes" 1>&6
5562 echo "$ac_t""no
" 1>&6
5565 ac_save_LIBS="$LIBS"
5566 LIBS="$LIBS $libiconv"
5568 for ac_func in iconv_open iconv_close iconv nl_langinfo
5570 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5571 echo "configure
:5572: checking
for $ac_func" >&5
5572 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5573 echo $ac_n "(cached
) $ac_c" 1>&6
5575 cat > conftest.$ac_ext <<EOF
5576 #line 5577 "configure
"
5577 #include "confdefs.h
"
5578 /* System header to define __stub macros and hopefully few prototypes,
5579 which can conflict with char $ac_func(); below. */
5581 /* Override any gcc2 internal prototype to avoid an error. */
5582 /* We use char because int might match the return type of a gcc2
5583 builtin and then its argument prototype would still apply. */
5588 /* The GNU C library defines this for functions which it implements
5589 to always fail with ENOSYS. Some functions are actually named
5590 something starting with __ and the normal name is an alias. */
5591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5599 if { (eval echo configure:5600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5601 eval "ac_cv_func_
$ac_func=yes"
5603 echo "configure
: failed program was
:" >&5
5604 cat conftest.$ac_ext >&5
5606 eval "ac_cv_func_
$ac_func=no
"
5611 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5612 echo "$ac_t""yes" 1>&6
5613 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5614 cat >> confdefs.h <<EOF
5615 #define $ac_tr_func 1
5620 echo "$ac_t""no
" 1>&6
5626 LIBS="$ac_save_LIBS"
5628 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5629 echo "configure
:5630: checking
for XPG2 wchar_t support
" >&5
5630 if test x"$ac_has_iconv_h" = xyes &&
5631 test x"$ac_has_langinfo_h" = xyes &&
5632 test x"$ac_XPG2funcs" = xyes; then
5637 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5639 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5640 echo "configure
:5641: checking
for enabled wchar_t specializations
" >&5
5641 if test x"$ac_isoC99_wchar_t" = xyes &&
5642 test x"$ac_XPG2_wchar_t" = xyes; then
5643 cat >> confdefs.h <<\EOF
5644 #define _GLIBCPP_USE_WCHAR_T 1
5647 echo "$ac_t"""yes"" 1>&6
5649 echo "$ac_t"""no"" 1>&6
5652 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5655 os_include_dir="config
/os
/hpux
"
5656 cat >> confdefs.h <<\EOF
5657 #define HAVE_COPYSIGN 1
5660 cat >> confdefs.h <<\EOF
5661 #define HAVE_COPYSIGNF 1
5664 cat >> confdefs.h <<\EOF
5665 #define HAVE_FINITEF 1
5668 cat >> confdefs.h <<\EOF
5669 #define HAVE_FREXPF 1
5672 cat >> confdefs.h <<\EOF
5673 #define HAVE_HYPOT 1
5676 cat >> confdefs.h <<\EOF
5677 #define HAVE_SINCOS 1
5680 cat >> confdefs.h <<\EOF
5681 #define HAVE_SINCOSF 1
5686 # Check for available headers.
5687 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5688 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5689 fp.h locale.h float.h inttypes.h
5691 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5692 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5693 echo "configure
:5694: checking
for $ac_hdr" >&5
5694 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5695 echo $ac_n "(cached
) $ac_c" 1>&6
5697 cat > conftest.$ac_ext <<EOF
5698 #line 5699 "configure
"
5699 #include "confdefs.h
"
5702 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5703 { (eval echo configure:5704: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5704 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5705 if test -z "$ac_err"; then
5707 eval "ac_cv_header_
$ac_safe=yes"
5710 echo "configure
: failed program was
:" >&5
5711 cat conftest.$ac_ext >&5
5713 eval "ac_cv_header_
$ac_safe=no
"
5717 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5718 echo "$ac_t""yes" 1>&6
5719 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5720 cat >> confdefs.h <<EOF
5721 #define $ac_tr_hdr 1
5725 echo "$ac_t""no
" 1>&6
5729 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5732 # If we're not using GNU ld, then there's no point in even trying these
5733 # tests. Check for that first. We should have already tested for gld
5734 # by now (in libtool), but require it now just to be safe...
5735 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5736 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5739 # The name set by libtool depends on the version of libtool. Shame on us
5740 # for depending on an impl detail, but c'est la vie. Older versions used
5741 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5742 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5743 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5744 # set (hence we're using an older libtool), then set it.
5745 if test x${with_gnu_ld+set} != xset; then
5746 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5747 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5750 with_gnu_ld=$ac_cv_prog_gnu_ld
5754 # Start by getting the version number. I think the libtool test already
5755 # does some of this, but throws away the result.
5757 ldver=`$LD --version 2>/dev/null | head -1 | \
5758 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5760 glibcpp_gnu_ld_version=`echo $ldver | \
5761 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5763 # Set --gc-sections.
5764 if test "$with_gnu_ld" = "notbroken
"; then
5765 # GNU ld it is! Joy and bunny rabbits!
5767 # All these tests are for C++; save the language and the compiler flags.
5768 # Need to do this so that g++ won't try to link in libstdc++
5769 ac_test_CFLAGS="${CFLAGS+set}"
5770 ac_save_CFLAGS="$CFLAGS"
5771 CFLAGS='-x c++ -Wl,--gc-sections'
5773 # Check for -Wl,--gc-sections
5774 # XXX This test is broken at the moment, as symbols required for
5775 # linking are now in libsupc++ (not built yet.....). In addition,
5776 # this test has cored on solaris in the past. In addition,
5777 # --gc-sections doesn't really work at the moment (keeps on discarding
5778 # used sections, first .eh_frame and now some of the glibc sections for
5779 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5780 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5781 echo "configure
:5782: checking
for ld that supports
-Wl,--gc-sections" >&5
5782 if test "$cross_compiling" = yes; then
5783 ac_sectionLDflags=yes
5785 cat > conftest.$ac_ext <<EOF
5786 #line 5787 "configure
"
5787 #include "confdefs.h
"
5797 if { (eval echo configure:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5799 ac_sectionLDflags=yes
5801 echo "configure
: failed program was
:" >&5
5802 cat conftest.$ac_ext >&5
5804 ac_sectionLDflags=no
5809 if test "$ac_test_CFLAGS" = set; then
5810 CFLAGS="$ac_save_CFLAGS"
5812 # this is the suspicious part
5815 if test "$ac_sectionLDflags" = "yes"; then
5816 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5818 echo "$ac_t""$ac_sectionLDflags" 1>&6
5821 # Set linker optimization flags.
5822 if test x"$with_gnu_ld" = x"yes" &&
5823 test x"$enable_debug" = x"no
"; then
5824 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5831 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5832 echo "configure
:5833: checking
for main
in -lm" >&5
5833 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5835 echo $ac_n "(cached
) $ac_c" 1>&6
5837 ac_save_LIBS="$LIBS"
5839 cat > conftest.$ac_ext <<EOF
5840 #line 5841 "configure
"
5841 #include "confdefs.h
"
5847 if { (eval echo configure:5848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5849 eval "ac_cv_lib_
$ac_lib_var=yes"
5851 echo "configure
: failed program was
:" >&5
5852 cat conftest.$ac_ext >&5
5854 eval "ac_cv_lib_
$ac_lib_var=no
"
5857 LIBS="$ac_save_LIBS"
5860 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5861 echo "$ac_t""yes" 1>&6
5862 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5863 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5864 cat >> confdefs.h <<EOF
5865 #define $ac_tr_lib 1
5871 echo "$ac_t""no
" 1>&6
5874 for ac_func in nan copysignf
5876 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5877 echo "configure
:5878: checking
for $ac_func" >&5
5878 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5879 echo $ac_n "(cached
) $ac_c" 1>&6
5881 cat > conftest.$ac_ext <<EOF
5882 #line 5883 "configure
"
5883 #include "confdefs.h
"
5884 /* System header to define __stub macros and hopefully few prototypes,
5885 which can conflict with char $ac_func(); below. */
5887 /* Override any gcc2 internal prototype to avoid an error. */
5888 /* We use char because int might match the return type of a gcc2
5889 builtin and then its argument prototype would still apply. */
5894 /* The GNU C library defines this for functions which it implements
5895 to always fail with ENOSYS. Some functions are actually named
5896 something starting with __ and the normal name is an alias. */
5897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5905 if { (eval echo configure:5906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5907 eval "ac_cv_func_
$ac_func=yes"
5909 echo "configure
: failed program was
:" >&5
5910 cat conftest.$ac_ext >&5
5912 eval "ac_cv_func_
$ac_func=no
"
5917 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5918 echo "$ac_t""yes" 1>&6
5919 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5920 cat >> confdefs.h <<EOF
5921 #define $ac_tr_func 1
5925 echo "$ac_t""no
" 1>&6
5926 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5932 USE_COMPLEX_LONG_DOUBLE=no
5933 if test x$ac_cv_func_copysignl = x"yes"; then
5934 USE_COMPLEX_LONG_DOUBLE=yes
5935 for ac_func in signbitl
5937 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5938 echo "configure
:5939: checking
for $ac_func" >&5
5939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5940 echo $ac_n "(cached
) $ac_c" 1>&6
5942 cat > conftest.$ac_ext <<EOF
5943 #line 5944 "configure
"
5944 #include "confdefs.h
"
5945 /* System header to define __stub macros and hopefully few prototypes,
5946 which can conflict with char $ac_func(); below. */
5948 /* Override any gcc2 internal prototype to avoid an error. */
5949 /* We use char because int might match the return type of a gcc2
5950 builtin and then its argument prototype would still apply. */
5955 /* The GNU C library defines this for functions which it implements
5956 to always fail with ENOSYS. Some functions are actually named
5957 something starting with __ and the normal name is an alias. */
5958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5966 if { (eval echo configure:5967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5968 eval "ac_cv_func_
$ac_func=yes"
5970 echo "configure
: failed program was
:" >&5
5971 cat conftest.$ac_ext >&5
5973 eval "ac_cv_func_
$ac_func=no
"
5978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5979 echo "$ac_t""yes" 1>&6
5980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5981 cat >> confdefs.h <<EOF
5982 #define $ac_tr_func 1
5986 echo "$ac_t""no
" 1>&6
5987 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5998 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5999 echo "configure
:6000: checking
for mbstate_t
" >&5
6000 cat > conftest.$ac_ext <<EOF
6001 #line 6002 "configure
"
6002 #include "confdefs.h
"
6005 mbstate_t teststate;
6008 if { (eval echo configure:6009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6012 echo "configure
: failed program was
:" >&5
6013 cat conftest.$ac_ext >&5
6018 echo "$ac_t""$have_mbstate_t" 1>&6
6019 if test x"$have_mbstate_t" = xyes; then
6020 cat >> confdefs.h <<\EOF
6021 #define HAVE_MBSTATE_T 1
6026 for ac_hdr in wchar.h
6028 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6029 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6030 echo "configure
:6031: checking
for $ac_hdr" >&5
6031 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6032 echo $ac_n "(cached
) $ac_c" 1>&6
6034 cat > conftest.$ac_ext <<EOF
6035 #line 6036 "configure
"
6036 #include "confdefs.h
"
6039 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6040 { (eval echo configure:6041: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6041 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6042 if test -z "$ac_err"; then
6044 eval "ac_cv_header_
$ac_safe=yes"
6047 echo "configure
: failed program was
:" >&5
6048 cat conftest.$ac_ext >&5
6050 eval "ac_cv_header_
$ac_safe=no
"
6054 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6055 echo "$ac_t""yes" 1>&6
6056 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6057 cat >> confdefs.h <<EOF
6058 #define $ac_tr_hdr 1
6062 echo "$ac_t""no
" 1>&6
6067 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
6068 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
6069 echo "configure
:6070: checking
for wctype.h
" >&5
6070 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6071 echo $ac_n "(cached
) $ac_c" 1>&6
6073 cat > conftest.$ac_ext <<EOF
6074 #line 6075 "configure
"
6075 #include "confdefs.h
"
6078 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6079 { (eval echo configure:6080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6080 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6081 if test -z "$ac_err"; then
6083 eval "ac_cv_header_
$ac_safe=yes"
6086 echo "configure
: failed program was
:" >&5
6087 cat conftest.$ac_ext >&5
6089 eval "ac_cv_header_
$ac_safe=no
"
6093 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6094 echo "$ac_t""yes" 1>&6
6097 echo "$ac_t""no
" 1>&6
6102 if test x"$ac_has_wchar_h" = xyes &&
6103 test x"$ac_has_wctype_h" = xyes &&
6104 test x"$enable_c_mbchar" != xno; then
6106 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6107 echo "configure
:6108: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6108 cat > conftest.$ac_ext <<EOF
6109 #line 6110 "configure
"
6110 #include "confdefs.h
"
6113 int i = WCHAR_MIN; int j = WCHAR_MAX;
6116 if { (eval echo configure:6117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6118 has_wchar_minmax=yes
6120 echo "configure
: failed program was
:" >&5
6121 cat conftest.$ac_ext >&5
6126 echo "$ac_t""$has_wchar_minmax" 1>&6
6128 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6129 echo "configure
:6130: checking
for WEOF
" >&5
6130 cat > conftest.$ac_ext <<EOF
6131 #line 6132 "configure
"
6132 #include "confdefs.h
"
6140 if { (eval echo configure:6141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6144 echo "configure
: failed program was
:" >&5
6145 cat conftest.$ac_ext >&5
6150 echo "$ac_t""$has_weof" 1>&6
6153 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6155 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6156 echo "configure
:6157: checking
for $ac_func" >&5
6157 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6158 echo $ac_n "(cached
) $ac_c" 1>&6
6160 cat > conftest.$ac_ext <<EOF
6161 #line 6162 "configure
"
6162 #include "confdefs.h
"
6163 /* System header to define __stub macros and hopefully few prototypes,
6164 which can conflict with char $ac_func(); below. */
6166 /* Override any gcc2 internal prototype to avoid an error. */
6167 /* We use char because int might match the return type of a gcc2
6168 builtin and then its argument prototype would still apply. */
6173 /* The GNU C library defines this for functions which it implements
6174 to always fail with ENOSYS. Some functions are actually named
6175 something starting with __ and the normal name is an alias. */
6176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6184 if { (eval echo configure:6185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6186 eval "ac_cv_func_
$ac_func=yes"
6188 echo "configure
: failed program was
:" >&5
6189 cat conftest.$ac_ext >&5
6191 eval "ac_cv_func_
$ac_func=no
"
6196 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6197 echo "$ac_t""yes" 1>&6
6198 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6199 cat >> confdefs.h <<EOF
6200 #define $ac_tr_func 1
6204 echo "$ac_t""no
" 1>&6
6211 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6212 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6213 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6214 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6215 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6216 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6218 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6219 echo "configure
:6220: checking
for $ac_func" >&5
6220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6221 echo $ac_n "(cached
) $ac_c" 1>&6
6223 cat > conftest.$ac_ext <<EOF
6224 #line 6225 "configure
"
6225 #include "confdefs.h
"
6226 /* System header to define __stub macros and hopefully few prototypes,
6227 which can conflict with char $ac_func(); below. */
6229 /* Override any gcc2 internal prototype to avoid an error. */
6230 /* We use char because int might match the return type of a gcc2
6231 builtin and then its argument prototype would still apply. */
6236 /* The GNU C library defines this for functions which it implements
6237 to always fail with ENOSYS. Some functions are actually named
6238 something starting with __ and the normal name is an alias. */
6239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6247 if { (eval echo configure:6248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6249 eval "ac_cv_func_
$ac_func=yes"
6251 echo "configure
: failed program was
:" >&5
6252 cat conftest.$ac_ext >&5
6254 eval "ac_cv_func_
$ac_func=no
"
6259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6260 echo "$ac_t""yes" 1>&6
6261 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6262 cat >> confdefs.h <<EOF
6263 #define $ac_tr_func 1
6267 echo "$ac_t""no
" 1>&6
6274 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6275 echo "configure
:6276: checking
for ISO C99 wchar_t support
" >&5
6276 if test x"$has_weof" = xyes &&
6277 test x"$has_wchar_minmax" = xyes &&
6278 test x"$ac_wfuncs" = xyes; then
6279 ac_isoC99_wchar_t=yes
6281 ac_isoC99_wchar_t=no
6283 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6285 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6286 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6287 echo "configure
:6288: checking
for iconv.h
" >&5
6288 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6289 echo $ac_n "(cached
) $ac_c" 1>&6
6291 cat > conftest.$ac_ext <<EOF
6292 #line 6293 "configure
"
6293 #include "confdefs.h
"
6296 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6297 { (eval echo configure:6298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6299 if test -z "$ac_err"; then
6301 eval "ac_cv_header_
$ac_safe=yes"
6304 echo "configure
: failed program was
:" >&5
6305 cat conftest.$ac_ext >&5
6307 eval "ac_cv_header_
$ac_safe=no
"
6311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6312 echo "$ac_t""yes" 1>&6
6315 echo "$ac_t""no
" 1>&6
6319 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6320 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6321 echo "configure
:6322: checking
for langinfo.h
" >&5
6322 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6323 echo $ac_n "(cached
) $ac_c" 1>&6
6325 cat > conftest.$ac_ext <<EOF
6326 #line 6327 "configure
"
6327 #include "confdefs.h
"
6328 #include <langinfo.h>
6330 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6331 { (eval echo configure:6332: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6332 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6333 if test -z "$ac_err"; then
6335 eval "ac_cv_header_
$ac_safe=yes"
6338 echo "configure
: failed program was
:" >&5
6339 cat conftest.$ac_ext >&5
6341 eval "ac_cv_header_
$ac_safe=no
"
6345 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6346 echo "$ac_t""yes" 1>&6
6347 ac_has_langinfo_h=yes
6349 echo "$ac_t""no
" 1>&6
6350 ac_has_langinfo_h=no
6354 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6355 echo "configure
:6356: checking
for iconv in -liconv" >&5
6356 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6358 echo $ac_n "(cached
) $ac_c" 1>&6
6360 ac_save_LIBS="$LIBS"
6361 LIBS="-liconv $LIBS"
6362 cat > conftest.$ac_ext <<EOF
6363 #line 6364 "configure
"
6364 #include "confdefs.h
"
6365 /* Override any gcc2 internal prototype to avoid an error. */
6366 /* We use char because int might match the return type of a gcc2
6367 builtin and then its argument prototype would still apply. */
6374 if { (eval echo configure:6375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6376 eval "ac_cv_lib_
$ac_lib_var=yes"
6378 echo "configure
: failed program was
:" >&5
6379 cat conftest.$ac_ext >&5
6381 eval "ac_cv_lib_
$ac_lib_var=no
"
6384 LIBS="$ac_save_LIBS"
6387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6388 echo "$ac_t""yes" 1>&6
6391 echo "$ac_t""no
" 1>&6
6394 ac_save_LIBS="$LIBS"
6395 LIBS="$LIBS $libiconv"
6397 for ac_func in iconv_open iconv_close iconv nl_langinfo
6399 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6400 echo "configure
:6401: checking
for $ac_func" >&5
6401 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6402 echo $ac_n "(cached
) $ac_c" 1>&6
6404 cat > conftest.$ac_ext <<EOF
6405 #line 6406 "configure
"
6406 #include "confdefs.h
"
6407 /* System header to define __stub macros and hopefully few prototypes,
6408 which can conflict with char $ac_func(); below. */
6410 /* Override any gcc2 internal prototype to avoid an error. */
6411 /* We use char because int might match the return type of a gcc2
6412 builtin and then its argument prototype would still apply. */
6417 /* The GNU C library defines this for functions which it implements
6418 to always fail with ENOSYS. Some functions are actually named
6419 something starting with __ and the normal name is an alias. */
6420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6428 if { (eval echo configure:6429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6430 eval "ac_cv_func_
$ac_func=yes"
6432 echo "configure
: failed program was
:" >&5
6433 cat conftest.$ac_ext >&5
6435 eval "ac_cv_func_
$ac_func=no
"
6440 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6441 echo "$ac_t""yes" 1>&6
6442 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6443 cat >> confdefs.h <<EOF
6444 #define $ac_tr_func 1
6449 echo "$ac_t""no
" 1>&6
6455 LIBS="$ac_save_LIBS"
6457 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6458 echo "configure
:6459: checking
for XPG2 wchar_t support
" >&5
6459 if test x"$ac_has_iconv_h" = xyes &&
6460 test x"$ac_has_langinfo_h" = xyes &&
6461 test x"$ac_XPG2funcs" = xyes; then
6466 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6468 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6469 echo "configure
:6470: checking
for enabled wchar_t specializations
" >&5
6470 if test x"$ac_isoC99_wchar_t" = xyes &&
6471 test x"$ac_XPG2_wchar_t" = xyes; then
6472 cat >> confdefs.h <<\EOF
6473 #define _GLIBCPP_USE_WCHAR_T 1
6476 echo "$ac_t"""yes"" 1>&6
6478 echo "$ac_t"""no"" 1>&6
6481 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6484 os_include_dir="config
/os
/bsd
/netbsd
"
6485 cat >> confdefs.h <<\EOF
6486 #define HAVE_COPYSIGN 1
6489 cat >> confdefs.h <<\EOF
6490 #define HAVE_COPYSIGNF 1
6493 cat >> confdefs.h <<\EOF
6494 #define HAVE_FINITEF 1
6497 cat >> confdefs.h <<\EOF
6498 #define HAVE_FREXPF 1
6501 cat >> confdefs.h <<\EOF
6502 #define HAVE_HYPOTF 1
6507 os_include_dir="config
/os
/newlib
"
6508 cat >> confdefs.h <<\EOF
6509 #define HAVE_HYPOT 1
6515 # GLIBCPP_CHECK_STDLIB_SUPPORT
6516 cat >> confdefs.h <<\EOF
6517 #define HAVE_STRTOF 1
6520 cat >> confdefs.h <<\EOF
6521 #define HAVE_STRTOLD 1
6525 cat >> confdefs.h <<\EOF
6530 cat >> confdefs.h <<\EOF
6531 #define HAVE_ACOSF 1
6534 cat >> confdefs.h <<\EOF
6535 #define HAVE_ASINF 1
6538 cat >> confdefs.h <<\EOF
6539 #define HAVE_ATAN2F 1
6542 cat >> confdefs.h <<\EOF
6543 #define HAVE_ATANF 1
6546 cat >> confdefs.h <<\EOF
6547 #define HAVE_CEILF 1
6550 cat >> confdefs.h <<\EOF
6551 #define HAVE_COPYSIGN 1
6554 cat >> confdefs.h <<\EOF
6555 #define HAVE_COPYSIGNF 1
6558 cat >> confdefs.h <<\EOF
6562 cat >> confdefs.h <<\EOF
6563 #define HAVE_COSHF 1
6566 cat >> confdefs.h <<\EOF
6570 cat >> confdefs.h <<\EOF
6571 #define HAVE_FABSF 1
6574 cat >> confdefs.h <<\EOF
6575 #define HAVE_FINITE 1
6578 cat >> confdefs.h <<\EOF
6579 #define HAVE_FINITEF 1
6582 cat >> confdefs.h <<\EOF
6583 #define HAVE_FLOORF 1
6586 cat >> confdefs.h <<\EOF
6587 #define HAVE_FMODF 1
6590 cat >> confdefs.h <<\EOF
6591 #define HAVE_FREXPF 1
6594 cat >> confdefs.h <<\EOF
6595 #define HAVE_ISINF 1
6598 cat >> confdefs.h <<\EOF
6599 #define HAVE_ISINFF 1
6602 cat >> confdefs.h <<\EOF
6603 #define HAVE_ISNAN 1
6606 cat >> confdefs.h <<\EOF
6607 #define HAVE_ISNANF 1
6610 cat >> confdefs.h <<\EOF
6611 #define HAVE_LDEXPF 1
6614 cat >> confdefs.h <<\EOF
6615 #define HAVE_LOG10F 1
6618 cat >> confdefs.h <<\EOF
6622 cat >> confdefs.h <<\EOF
6623 #define HAVE_MODFF 1
6626 cat >> confdefs.h <<\EOF
6630 cat >> confdefs.h <<\EOF
6634 cat >> confdefs.h <<\EOF
6635 #define HAVE_SINHF 1
6638 cat >> confdefs.h <<\EOF
6639 #define HAVE_SQRTF 1
6642 cat >> confdefs.h <<\EOF
6646 cat >> confdefs.h <<\EOF
6647 #define HAVE_TANHF 1
6651 # At some point, we should differentiate between architectures
6652 # like x86, which have long double versions, and alpha/powerpc/etc.,
6653 # which don't. For the time being, punt.
6654 if test x"long_double_math_on_this_cpu
" = x"yes"; then
6655 cat >> confdefs.h <<\EOF
6656 #define HAVE_ACOSL 1
6659 cat >> confdefs.h <<\EOF
6660 #define HAVE_ASINL 1
6663 cat >> confdefs.h <<\EOF
6664 #define HAVE_ATAN2L 1
6667 cat >> confdefs.h <<\EOF
6668 #define HAVE_ATANL 1
6671 cat >> confdefs.h <<\EOF
6672 #define HAVE_CEILL 1
6675 cat >> confdefs.h <<\EOF
6676 #define HAVE_COPYSIGNL 1
6679 cat >> confdefs.h <<\EOF
6683 cat >> confdefs.h <<\EOF
6684 #define HAVE_COSHL 1
6687 cat >> confdefs.h <<\EOF
6691 cat >> confdefs.h <<\EOF
6692 #define HAVE_FABSL 1
6695 cat >> confdefs.h <<\EOF
6696 #define HAVE_FINITEL 1
6699 cat >> confdefs.h <<\EOF
6700 #define HAVE_FLOORL 1
6703 cat >> confdefs.h <<\EOF
6704 #define HAVE_FMODL 1
6707 cat >> confdefs.h <<\EOF
6708 #define HAVE_FREXPL 1
6711 cat >> confdefs.h <<\EOF
6712 #define HAVE_ISINFL 1
6715 cat >> confdefs.h <<\EOF
6716 #define HAVE_ISNANL 1
6719 cat >> confdefs.h <<\EOF
6720 #define HAVE_LDEXPL 1
6723 cat >> confdefs.h <<\EOF
6724 #define HAVE_LOG10L 1
6727 cat >> confdefs.h <<\EOF
6731 cat >> confdefs.h <<\EOF
6732 #define HAVE_MODFL 1
6735 cat >> confdefs.h <<\EOF
6739 cat >> confdefs.h <<\EOF
6740 #define HAVE_SINCOSL 1
6743 cat >> confdefs.h <<\EOF
6747 cat >> confdefs.h <<\EOF
6748 #define HAVE_SINHL 1
6751 cat >> confdefs.h <<\EOF
6752 #define HAVE_SQRTL 1
6755 cat >> confdefs.h <<\EOF
6759 cat >> confdefs.h <<\EOF
6760 #define HAVE_TANHL 1
6766 # We are being configured natively. We can do more elaborate tests
6767 # that include AC_TRY_COMPILE now, as the linker is assumed to be
6769 GLIBCPP_IS_CROSS_COMPILING=0
6772 # Check for available headers.
6773 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
6774 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h
6776 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6777 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6778 echo "configure
:6779: checking
for $ac_hdr" >&5
6779 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6780 echo $ac_n "(cached
) $ac_c" 1>&6
6782 cat > conftest.$ac_ext <<EOF
6783 #line 6784 "configure
"
6784 #include "confdefs.h
"
6787 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6788 { (eval echo configure:6789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6789 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6790 if test -z "$ac_err"; then
6792 eval "ac_cv_header_
$ac_safe=yes"
6795 echo "configure
: failed program was
:" >&5
6796 cat conftest.$ac_ext >&5
6798 eval "ac_cv_header_
$ac_safe=no
"
6802 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6803 echo "$ac_t""yes" 1>&6
6804 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6805 cat >> confdefs.h <<EOF
6806 #define $ac_tr_hdr 1
6810 echo "$ac_t""no
" 1>&6
6816 # All these tests are for C++; save the language and the compiler flags.
6817 # The CXXFLAGS thing is suspicious, but based on similar bits previously
6818 # found in GLIBCPP_CONFIGURE.
6821 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6822 ac_cpp='$CXXCPP $CPPFLAGS'
6823 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6824 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6825 cross_compiling=$ac_cv_prog_cxx_cross
6827 ac_test_CXXFLAGS="${CXXFLAGS+set}"
6828 ac_save_CXXFLAGS="$CXXFLAGS"
6830 # Check for maintainer-mode bits.
6831 if test x"$USE_MAINTAINER_MODE" = xno; then
6837 # Check for -ffunction-sections -fdata-sections
6838 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
6839 echo "configure
:6840: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
6840 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
6841 cat > conftest.$ac_ext <<EOF
6842 #line 6843 "configure
"
6843 #include "confdefs.h
"
6850 if { (eval echo configure:6851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6854 echo "configure
: failed program was
:" >&5
6855 cat conftest.$ac_ext >&5
6860 if test "$ac_test_CXXFLAGS" = set; then
6861 CXXFLAGS="$ac_save_CXXFLAGS"
6863 # this is the suspicious part
6866 if test x"$ac_fdsections" = x"yes" &&
6867 test x"$enable_debug" = x"no
"; then
6868 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6870 echo "$ac_t""$ac_fdsections" 1>&6
6873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6874 ac_cpp='$CPP $CPPFLAGS'
6875 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6876 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6877 cross_compiling=$ac_cv_prog_cc_cross
6883 # If we're not using GNU ld, then there's no point in even trying these
6884 # tests. Check for that first. We should have already tested for gld
6885 # by now (in libtool), but require it now just to be safe...
6886 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6887 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6890 # The name set by libtool depends on the version of libtool. Shame on us
6891 # for depending on an impl detail, but c'est la vie. Older versions used
6892 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6893 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6894 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6895 # set (hence we're using an older libtool), then set it.
6896 if test x${with_gnu_ld+set} != xset; then
6897 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6898 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6901 with_gnu_ld=$ac_cv_prog_gnu_ld
6905 # Start by getting the version number. I think the libtool test already
6906 # does some of this, but throws away the result.
6908 ldver=`$LD --version 2>/dev/null | head -1 | \
6909 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6911 glibcpp_gnu_ld_version=`echo $ldver | \
6912 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6914 # Set --gc-sections.
6915 if test "$with_gnu_ld" = "notbroken
"; then
6916 # GNU ld it is! Joy and bunny rabbits!
6918 # All these tests are for C++; save the language and the compiler flags.
6919 # Need to do this so that g++ won't try to link in libstdc++
6920 ac_test_CFLAGS="${CFLAGS+set}"
6921 ac_save_CFLAGS="$CFLAGS"
6922 CFLAGS='-x c++ -Wl,--gc-sections'
6924 # Check for -Wl,--gc-sections
6925 # XXX This test is broken at the moment, as symbols required for
6926 # linking are now in libsupc++ (not built yet.....). In addition,
6927 # this test has cored on solaris in the past. In addition,
6928 # --gc-sections doesn't really work at the moment (keeps on discarding
6929 # used sections, first .eh_frame and now some of the glibc sections for
6930 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6931 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6932 echo "configure
:6933: checking
for ld that supports
-Wl,--gc-sections" >&5
6933 if test "$cross_compiling" = yes; then
6934 ac_sectionLDflags=yes
6936 cat > conftest.$ac_ext <<EOF
6937 #line 6938 "configure
"
6938 #include "confdefs.h
"
6948 if { (eval echo configure:6949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6950 ac_sectionLDflags=yes
6952 echo "configure
: failed program was
:" >&5
6953 cat conftest.$ac_ext >&5
6955 ac_sectionLDflags=no
6960 if test "$ac_test_CFLAGS" = set; then
6961 CFLAGS="$ac_save_CFLAGS"
6963 # this is the suspicious part
6966 if test "$ac_sectionLDflags" = "yes"; then
6967 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6969 echo "$ac_t""$ac_sectionLDflags" 1>&6
6972 # Set linker optimization flags.
6973 if test x"$with_gnu_ld" = x"yes" &&
6974 test x"$enable_debug" = x"no
"; then
6975 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6983 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
6984 echo "configure
:6985: checking
for __builtin_abs declaration
" >&5
6985 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
6986 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
6987 echo $ac_n "(cached
) $ac_c" 1>&6
6992 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6993 ac_cpp='$CXXCPP $CPPFLAGS'
6994 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6995 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6996 cross_compiling=$ac_cv_prog_cxx_cross
6998 cat > conftest.$ac_ext <<EOF
6999 #line 7000 "configure
"
7000 #include "confdefs.h
"
7006 if { (eval echo configure:7007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7008 glibcpp_cv_func___builtin_abs_use=yes
7010 echo "configure
: failed program was
:" >&5
7011 cat conftest.$ac_ext >&5
7013 glibcpp_cv_func___builtin_abs_use=no
7017 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7018 ac_cpp='$CPP $CPPFLAGS'
7019 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7020 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7021 cross_compiling=$ac_cv_prog_cc_cross
7027 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
7028 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
7029 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
7030 echo "configure
:7031: checking
for __builtin_abs linkage
" >&5
7031 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
7032 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
7033 echo $ac_n "(cached
) $ac_c" 1>&6
7036 cat > conftest.$ac_ext <<EOF
7037 #line 7038 "configure
"
7038 #include "confdefs.h
"
7044 if { (eval echo configure:7045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7046 glibcpp_cv_func___builtin_abs_link=yes
7048 echo "configure
: failed program was
:" >&5
7049 cat conftest.$ac_ext >&5
7051 glibcpp_cv_func___builtin_abs_link=no
7058 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
7059 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
7060 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7061 cat >> confdefs.h <<EOF
7062 #define ${ac_tr_func} 1
7069 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
7070 echo "configure
:7071: checking
for __builtin_fabsf declaration
" >&5
7071 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
7072 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
7073 echo $ac_n "(cached
) $ac_c" 1>&6
7078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7079 ac_cpp='$CXXCPP $CPPFLAGS'
7080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7082 cross_compiling=$ac_cv_prog_cxx_cross
7084 cat > conftest.$ac_ext <<EOF
7085 #line 7086 "configure
"
7086 #include "confdefs.h
"
7092 if { (eval echo configure:7093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7094 glibcpp_cv_func___builtin_fabsf_use=yes
7096 echo "configure
: failed program was
:" >&5
7097 cat conftest.$ac_ext >&5
7099 glibcpp_cv_func___builtin_fabsf_use=no
7103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7104 ac_cpp='$CPP $CPPFLAGS'
7105 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7106 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7107 cross_compiling=$ac_cv_prog_cc_cross
7113 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
7114 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
7115 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
7116 echo "configure
:7117: checking
for __builtin_fabsf linkage
" >&5
7117 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
7118 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
7119 echo $ac_n "(cached
) $ac_c" 1>&6
7122 cat > conftest.$ac_ext <<EOF
7123 #line 7124 "configure
"
7124 #include "confdefs.h
"
7130 if { (eval echo configure:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7132 glibcpp_cv_func___builtin_fabsf_link=yes
7134 echo "configure
: failed program was
:" >&5
7135 cat conftest.$ac_ext >&5
7137 glibcpp_cv_func___builtin_fabsf_link=no
7144 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
7145 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
7146 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7147 cat >> confdefs.h <<EOF
7148 #define ${ac_tr_func} 1
7155 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
7156 echo "configure
:7157: checking
for __builtin_fabs declaration
" >&5
7157 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
7158 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
7159 echo $ac_n "(cached
) $ac_c" 1>&6
7164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7165 ac_cpp='$CXXCPP $CPPFLAGS'
7166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7168 cross_compiling=$ac_cv_prog_cxx_cross
7170 cat > conftest.$ac_ext <<EOF
7171 #line 7172 "configure
"
7172 #include "confdefs.h
"
7178 if { (eval echo configure:7179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7180 glibcpp_cv_func___builtin_fabs_use=yes
7182 echo "configure
: failed program was
:" >&5
7183 cat conftest.$ac_ext >&5
7185 glibcpp_cv_func___builtin_fabs_use=no
7189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7190 ac_cpp='$CPP $CPPFLAGS'
7191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7193 cross_compiling=$ac_cv_prog_cc_cross
7199 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
7200 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
7201 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
7202 echo "configure
:7203: checking
for __builtin_fabs linkage
" >&5
7203 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
7204 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
7205 echo $ac_n "(cached
) $ac_c" 1>&6
7208 cat > conftest.$ac_ext <<EOF
7209 #line 7210 "configure
"
7210 #include "confdefs.h
"
7216 if { (eval echo configure:7217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7218 glibcpp_cv_func___builtin_fabs_link=yes
7220 echo "configure
: failed program was
:" >&5
7221 cat conftest.$ac_ext >&5
7223 glibcpp_cv_func___builtin_fabs_link=no
7230 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
7231 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
7232 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7233 cat >> confdefs.h <<EOF
7234 #define ${ac_tr_func} 1
7241 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
7242 echo "configure
:7243: checking
for __builtin_fabsl declaration
" >&5
7243 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
7244 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
7245 echo $ac_n "(cached
) $ac_c" 1>&6
7250 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7251 ac_cpp='$CXXCPP $CPPFLAGS'
7252 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7253 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7254 cross_compiling=$ac_cv_prog_cxx_cross
7256 cat > conftest.$ac_ext <<EOF
7257 #line 7258 "configure
"
7258 #include "confdefs.h
"
7264 if { (eval echo configure:7265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7266 glibcpp_cv_func___builtin_fabsl_use=yes
7268 echo "configure
: failed program was
:" >&5
7269 cat conftest.$ac_ext >&5
7271 glibcpp_cv_func___builtin_fabsl_use=no
7275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7276 ac_cpp='$CPP $CPPFLAGS'
7277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7279 cross_compiling=$ac_cv_prog_cc_cross
7285 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
7286 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
7287 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
7288 echo "configure
:7289: checking
for __builtin_fabsl linkage
" >&5
7289 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
7290 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
7291 echo $ac_n "(cached
) $ac_c" 1>&6
7294 cat > conftest.$ac_ext <<EOF
7295 #line 7296 "configure
"
7296 #include "confdefs.h
"
7302 if { (eval echo configure:7303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7304 glibcpp_cv_func___builtin_fabsl_link=yes
7306 echo "configure
: failed program was
:" >&5
7307 cat conftest.$ac_ext >&5
7309 glibcpp_cv_func___builtin_fabsl_link=no
7316 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
7317 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
7318 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7319 cat >> confdefs.h <<EOF
7320 #define ${ac_tr_func} 1
7327 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
7328 echo "configure
:7329: checking
for __builtin_labs declaration
" >&5
7329 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
7330 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
7331 echo $ac_n "(cached
) $ac_c" 1>&6
7336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7337 ac_cpp='$CXXCPP $CPPFLAGS'
7338 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7339 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7340 cross_compiling=$ac_cv_prog_cxx_cross
7342 cat > conftest.$ac_ext <<EOF
7343 #line 7344 "configure
"
7344 #include "confdefs.h
"
7350 if { (eval echo configure:7351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7352 glibcpp_cv_func___builtin_labs_use=yes
7354 echo "configure
: failed program was
:" >&5
7355 cat conftest.$ac_ext >&5
7357 glibcpp_cv_func___builtin_labs_use=no
7361 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7362 ac_cpp='$CPP $CPPFLAGS'
7363 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7364 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7365 cross_compiling=$ac_cv_prog_cc_cross
7371 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
7372 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
7373 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
7374 echo "configure
:7375: checking
for __builtin_labs linkage
" >&5
7375 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
7376 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
7377 echo $ac_n "(cached
) $ac_c" 1>&6
7380 cat > conftest.$ac_ext <<EOF
7381 #line 7382 "configure
"
7382 #include "confdefs.h
"
7388 if { (eval echo configure:7389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7390 glibcpp_cv_func___builtin_labs_link=yes
7392 echo "configure
: failed program was
:" >&5
7393 cat conftest.$ac_ext >&5
7395 glibcpp_cv_func___builtin_labs_link=no
7402 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
7403 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
7404 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7405 cat >> confdefs.h <<EOF
7406 #define ${ac_tr_func} 1
7414 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
7415 echo "configure
:7416: checking
for __builtin_sqrtf declaration
" >&5
7416 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
7417 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
7418 echo $ac_n "(cached
) $ac_c" 1>&6
7423 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7424 ac_cpp='$CXXCPP $CPPFLAGS'
7425 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7426 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7427 cross_compiling=$ac_cv_prog_cxx_cross
7429 cat > conftest.$ac_ext <<EOF
7430 #line 7431 "configure
"
7431 #include "confdefs.h
"
7437 if { (eval echo configure:7438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7439 glibcpp_cv_func___builtin_sqrtf_use=yes
7441 echo "configure
: failed program was
:" >&5
7442 cat conftest.$ac_ext >&5
7444 glibcpp_cv_func___builtin_sqrtf_use=no
7448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7449 ac_cpp='$CPP $CPPFLAGS'
7450 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7451 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7452 cross_compiling=$ac_cv_prog_cc_cross
7458 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
7459 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
7460 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
7461 echo "configure
:7462: checking
for __builtin_sqrtf linkage
" >&5
7462 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
7463 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
7464 echo $ac_n "(cached
) $ac_c" 1>&6
7467 cat > conftest.$ac_ext <<EOF
7468 #line 7469 "configure
"
7469 #include "confdefs.h
"
7475 if { (eval echo configure:7476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7477 glibcpp_cv_func___builtin_sqrtf_link=yes
7479 echo "configure
: failed program was
:" >&5
7480 cat conftest.$ac_ext >&5
7482 glibcpp_cv_func___builtin_sqrtf_link=no
7489 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
7490 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
7491 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7492 cat >> confdefs.h <<EOF
7493 #define ${ac_tr_func} 1
7500 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
7501 echo "configure
:7502: checking
for __builtin_sqrt declaration
" >&5
7502 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
7503 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
7504 echo $ac_n "(cached
) $ac_c" 1>&6
7509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7510 ac_cpp='$CXXCPP $CPPFLAGS'
7511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7513 cross_compiling=$ac_cv_prog_cxx_cross
7515 cat > conftest.$ac_ext <<EOF
7516 #line 7517 "configure
"
7517 #include "confdefs.h
"
7523 if { (eval echo configure:7524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7525 glibcpp_cv_func___builtin_sqrt_use=yes
7527 echo "configure
: failed program was
:" >&5
7528 cat conftest.$ac_ext >&5
7530 glibcpp_cv_func___builtin_sqrt_use=no
7534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7535 ac_cpp='$CPP $CPPFLAGS'
7536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7538 cross_compiling=$ac_cv_prog_cc_cross
7544 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
7545 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
7546 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
7547 echo "configure
:7548: checking
for __builtin_sqrt linkage
" >&5
7548 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
7549 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
7550 echo $ac_n "(cached
) $ac_c" 1>&6
7553 cat > conftest.$ac_ext <<EOF
7554 #line 7555 "configure
"
7555 #include "confdefs.h
"
7561 if { (eval echo configure:7562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7563 glibcpp_cv_func___builtin_sqrt_link=yes
7565 echo "configure
: failed program was
:" >&5
7566 cat conftest.$ac_ext >&5
7568 glibcpp_cv_func___builtin_sqrt_link=no
7575 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
7576 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
7577 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7578 cat >> confdefs.h <<EOF
7579 #define ${ac_tr_func} 1
7586 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
7587 echo "configure
:7588: checking
for __builtin_sqrtl declaration
" >&5
7588 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
7589 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
7590 echo $ac_n "(cached
) $ac_c" 1>&6
7595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7596 ac_cpp='$CXXCPP $CPPFLAGS'
7597 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7598 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7599 cross_compiling=$ac_cv_prog_cxx_cross
7601 cat > conftest.$ac_ext <<EOF
7602 #line 7603 "configure
"
7603 #include "confdefs.h
"
7609 if { (eval echo configure:7610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7611 glibcpp_cv_func___builtin_sqrtl_use=yes
7613 echo "configure
: failed program was
:" >&5
7614 cat conftest.$ac_ext >&5
7616 glibcpp_cv_func___builtin_sqrtl_use=no
7620 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7621 ac_cpp='$CPP $CPPFLAGS'
7622 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7623 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7624 cross_compiling=$ac_cv_prog_cc_cross
7630 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
7631 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
7632 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
7633 echo "configure
:7634: checking
for __builtin_sqrtl linkage
" >&5
7634 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
7635 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
7636 echo $ac_n "(cached
) $ac_c" 1>&6
7639 cat > conftest.$ac_ext <<EOF
7640 #line 7641 "configure
"
7641 #include "confdefs.h
"
7647 if { (eval echo configure:7648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7649 glibcpp_cv_func___builtin_sqrtl_link=yes
7651 echo "configure
: failed program was
:" >&5
7652 cat conftest.$ac_ext >&5
7654 glibcpp_cv_func___builtin_sqrtl_link=no
7661 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
7662 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
7663 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7664 cat >> confdefs.h <<EOF
7665 #define ${ac_tr_func} 1
7673 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
7674 echo "configure
:7675: checking
for __builtin_sinf declaration
" >&5
7675 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
7676 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
7677 echo $ac_n "(cached
) $ac_c" 1>&6
7682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7683 ac_cpp='$CXXCPP $CPPFLAGS'
7684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7686 cross_compiling=$ac_cv_prog_cxx_cross
7688 cat > conftest.$ac_ext <<EOF
7689 #line 7690 "configure
"
7690 #include "confdefs.h
"
7696 if { (eval echo configure:7697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7698 glibcpp_cv_func___builtin_sinf_use=yes
7700 echo "configure
: failed program was
:" >&5
7701 cat conftest.$ac_ext >&5
7703 glibcpp_cv_func___builtin_sinf_use=no
7707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7708 ac_cpp='$CPP $CPPFLAGS'
7709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7711 cross_compiling=$ac_cv_prog_cc_cross
7717 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
7718 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
7719 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
7720 echo "configure
:7721: checking
for __builtin_sinf linkage
" >&5
7721 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
7722 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
7723 echo $ac_n "(cached
) $ac_c" 1>&6
7726 cat > conftest.$ac_ext <<EOF
7727 #line 7728 "configure
"
7728 #include "confdefs.h
"
7734 if { (eval echo configure:7735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7736 glibcpp_cv_func___builtin_sinf_link=yes
7738 echo "configure
: failed program was
:" >&5
7739 cat conftest.$ac_ext >&5
7741 glibcpp_cv_func___builtin_sinf_link=no
7748 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
7749 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
7750 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7751 cat >> confdefs.h <<EOF
7752 #define ${ac_tr_func} 1
7759 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
7760 echo "configure
:7761: checking
for __builtin_sin declaration
" >&5
7761 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
7762 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
7763 echo $ac_n "(cached
) $ac_c" 1>&6
7768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7769 ac_cpp='$CXXCPP $CPPFLAGS'
7770 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7771 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7772 cross_compiling=$ac_cv_prog_cxx_cross
7774 cat > conftest.$ac_ext <<EOF
7775 #line 7776 "configure
"
7776 #include "confdefs.h
"
7782 if { (eval echo configure:7783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7784 glibcpp_cv_func___builtin_sin_use=yes
7786 echo "configure
: failed program was
:" >&5
7787 cat conftest.$ac_ext >&5
7789 glibcpp_cv_func___builtin_sin_use=no
7793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7794 ac_cpp='$CPP $CPPFLAGS'
7795 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7796 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7797 cross_compiling=$ac_cv_prog_cc_cross
7803 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
7804 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
7805 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
7806 echo "configure
:7807: checking
for __builtin_sin linkage
" >&5
7807 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
7808 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
7809 echo $ac_n "(cached
) $ac_c" 1>&6
7812 cat > conftest.$ac_ext <<EOF
7813 #line 7814 "configure
"
7814 #include "confdefs.h
"
7820 if { (eval echo configure:7821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7822 glibcpp_cv_func___builtin_sin_link=yes
7824 echo "configure
: failed program was
:" >&5
7825 cat conftest.$ac_ext >&5
7827 glibcpp_cv_func___builtin_sin_link=no
7834 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
7835 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
7836 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7837 cat >> confdefs.h <<EOF
7838 #define ${ac_tr_func} 1
7845 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
7846 echo "configure
:7847: checking
for __builtin_sinl declaration
" >&5
7847 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
7848 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
7849 echo $ac_n "(cached
) $ac_c" 1>&6
7854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7855 ac_cpp='$CXXCPP $CPPFLAGS'
7856 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7857 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7858 cross_compiling=$ac_cv_prog_cxx_cross
7860 cat > conftest.$ac_ext <<EOF
7861 #line 7862 "configure
"
7862 #include "confdefs.h
"
7868 if { (eval echo configure:7869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7870 glibcpp_cv_func___builtin_sinl_use=yes
7872 echo "configure
: failed program was
:" >&5
7873 cat conftest.$ac_ext >&5
7875 glibcpp_cv_func___builtin_sinl_use=no
7879 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7880 ac_cpp='$CPP $CPPFLAGS'
7881 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7882 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7883 cross_compiling=$ac_cv_prog_cc_cross
7889 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
7890 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
7891 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
7892 echo "configure
:7893: checking
for __builtin_sinl linkage
" >&5
7893 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
7894 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
7895 echo $ac_n "(cached
) $ac_c" 1>&6
7898 cat > conftest.$ac_ext <<EOF
7899 #line 7900 "configure
"
7900 #include "confdefs.h
"
7906 if { (eval echo configure:7907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7908 glibcpp_cv_func___builtin_sinl_link=yes
7910 echo "configure
: failed program was
:" >&5
7911 cat conftest.$ac_ext >&5
7913 glibcpp_cv_func___builtin_sinl_link=no
7920 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
7921 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
7922 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7923 cat >> confdefs.h <<EOF
7924 #define ${ac_tr_func} 1
7932 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
7933 echo "configure
:7934: checking
for __builtin_cosf declaration
" >&5
7934 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
7935 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
7936 echo $ac_n "(cached
) $ac_c" 1>&6
7941 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7942 ac_cpp='$CXXCPP $CPPFLAGS'
7943 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7944 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7945 cross_compiling=$ac_cv_prog_cxx_cross
7947 cat > conftest.$ac_ext <<EOF
7948 #line 7949 "configure
"
7949 #include "confdefs.h
"
7955 if { (eval echo configure:7956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7957 glibcpp_cv_func___builtin_cosf_use=yes
7959 echo "configure
: failed program was
:" >&5
7960 cat conftest.$ac_ext >&5
7962 glibcpp_cv_func___builtin_cosf_use=no
7966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7967 ac_cpp='$CPP $CPPFLAGS'
7968 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7969 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7970 cross_compiling=$ac_cv_prog_cc_cross
7976 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
7977 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
7978 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
7979 echo "configure
:7980: checking
for __builtin_cosf linkage
" >&5
7980 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
7981 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
7982 echo $ac_n "(cached
) $ac_c" 1>&6
7985 cat > conftest.$ac_ext <<EOF
7986 #line 7987 "configure
"
7987 #include "confdefs.h
"
7993 if { (eval echo configure:7994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7995 glibcpp_cv_func___builtin_cosf_link=yes
7997 echo "configure
: failed program was
:" >&5
7998 cat conftest.$ac_ext >&5
8000 glibcpp_cv_func___builtin_cosf_link=no
8007 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
8008 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
8009 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8010 cat >> confdefs.h <<EOF
8011 #define ${ac_tr_func} 1
8018 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
8019 echo "configure
:8020: checking
for __builtin_cos declaration
" >&5
8020 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
8021 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
8022 echo $ac_n "(cached
) $ac_c" 1>&6
8027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8028 ac_cpp='$CXXCPP $CPPFLAGS'
8029 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8030 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8031 cross_compiling=$ac_cv_prog_cxx_cross
8033 cat > conftest.$ac_ext <<EOF
8034 #line 8035 "configure
"
8035 #include "confdefs.h
"
8041 if { (eval echo configure:8042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8043 glibcpp_cv_func___builtin_cos_use=yes
8045 echo "configure
: failed program was
:" >&5
8046 cat conftest.$ac_ext >&5
8048 glibcpp_cv_func___builtin_cos_use=no
8052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8053 ac_cpp='$CPP $CPPFLAGS'
8054 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8055 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8056 cross_compiling=$ac_cv_prog_cc_cross
8062 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
8063 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
8064 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
8065 echo "configure
:8066: checking
for __builtin_cos linkage
" >&5
8066 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
8067 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
8068 echo $ac_n "(cached
) $ac_c" 1>&6
8071 cat > conftest.$ac_ext <<EOF
8072 #line 8073 "configure
"
8073 #include "confdefs.h
"
8079 if { (eval echo configure:8080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8081 glibcpp_cv_func___builtin_cos_link=yes
8083 echo "configure
: failed program was
:" >&5
8084 cat conftest.$ac_ext >&5
8086 glibcpp_cv_func___builtin_cos_link=no
8093 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
8094 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
8095 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8096 cat >> confdefs.h <<EOF
8097 #define ${ac_tr_func} 1
8104 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
8105 echo "configure
:8106: checking
for __builtin_cosl declaration
" >&5
8106 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
8107 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
8108 echo $ac_n "(cached
) $ac_c" 1>&6
8113 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8114 ac_cpp='$CXXCPP $CPPFLAGS'
8115 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8116 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8117 cross_compiling=$ac_cv_prog_cxx_cross
8119 cat > conftest.$ac_ext <<EOF
8120 #line 8121 "configure
"
8121 #include "confdefs.h
"
8127 if { (eval echo configure:8128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8129 glibcpp_cv_func___builtin_cosl_use=yes
8131 echo "configure
: failed program was
:" >&5
8132 cat conftest.$ac_ext >&5
8134 glibcpp_cv_func___builtin_cosl_use=no
8138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8139 ac_cpp='$CPP $CPPFLAGS'
8140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8142 cross_compiling=$ac_cv_prog_cc_cross
8148 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
8149 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
8150 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
8151 echo "configure
:8152: checking
for __builtin_cosl linkage
" >&5
8152 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
8153 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
8154 echo $ac_n "(cached
) $ac_c" 1>&6
8157 cat > conftest.$ac_ext <<EOF
8158 #line 8159 "configure
"
8159 #include "confdefs.h
"
8165 if { (eval echo configure:8166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8167 glibcpp_cv_func___builtin_cosl_link=yes
8169 echo "configure
: failed program was
:" >&5
8170 cat conftest.$ac_ext >&5
8172 glibcpp_cv_func___builtin_cosl_link=no
8179 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
8180 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
8181 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8182 cat >> confdefs.h <<EOF
8183 #define ${ac_tr_func} 1
8191 if test x$dummyvar = x"yes"; then
8192 cat >> confdefs.h <<\EOF
8193 #define HAVE___BUILTIN_ABS 1
8196 cat >> confdefs.h <<\EOF
8197 #define HAVE___BUILTIN_LABS 1
8200 cat >> confdefs.h <<\EOF
8201 #define HAVE___BUILTIN_COS 1
8204 cat >> confdefs.h <<\EOF
8205 #define HAVE___BUILTIN_COSF 1
8208 cat >> confdefs.h <<\EOF
8209 #define HAVE___BUILTIN_COSL 1
8212 cat >> confdefs.h <<\EOF
8213 #define HAVE___BUILTIN_FABS 1
8216 cat >> confdefs.h <<\EOF
8217 #define HAVE___BUILTIN_FABSF 1
8220 cat >> confdefs.h <<\EOF
8221 #define HAVE___BUILTIN_FABSL 1
8224 cat >> confdefs.h <<\EOF
8225 #define HAVE___BUILTIN_SIN 1
8228 cat >> confdefs.h <<\EOF
8229 #define HAVE___BUILTIN_SINF 1
8232 cat >> confdefs.h <<\EOF
8233 #define HAVE___BUILTIN_SINL 1
8236 cat >> confdefs.h <<\EOF
8237 #define HAVE___BUILTIN_SQRT 1
8240 cat >> confdefs.h <<\EOF
8241 #define HAVE___BUILTIN_SQRTF 1
8244 cat >> confdefs.h <<\EOF
8245 #define HAVE___BUILTIN_SQRTL 1
8251 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8252 ac_save_CXXFLAGS="$CXXFLAGS"
8253 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
8255 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
8256 echo "configure
:8257: checking
for sin
in -lm" >&5
8257 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
8258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8259 echo $ac_n "(cached
) $ac_c" 1>&6
8261 ac_save_LIBS="$LIBS"
8263 cat > conftest.$ac_ext <<EOF
8264 #line 8265 "configure
"
8265 #include "confdefs.h
"
8266 /* Override any gcc2 internal prototype to avoid an error. */
8267 /* We use char because int might match the return type of a gcc2
8268 builtin and then its argument prototype would still apply. */
8275 if { (eval echo configure:8276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8277 eval "ac_cv_lib_
$ac_lib_var=yes"
8279 echo "configure
: failed program was
:" >&5
8280 cat conftest.$ac_ext >&5
8282 eval "ac_cv_lib_
$ac_lib_var=no
"
8285 LIBS="$ac_save_LIBS"
8288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8289 echo "$ac_t""yes" 1>&6
8292 echo "$ac_t""no
" 1>&6
8295 ac_save_LIBS="$LIBS"
8300 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
8301 echo "configure
:8302: checking
for isinf declaration
" >&5
8302 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
8303 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
8304 echo $ac_n "(cached
) $ac_c" 1>&6
8309 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8310 ac_cpp='$CXXCPP $CPPFLAGS'
8311 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8312 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8313 cross_compiling=$ac_cv_prog_cxx_cross
8315 cat > conftest.$ac_ext <<EOF
8316 #line 8317 "configure
"
8317 #include "confdefs.h
"
8319 #ifdef HAVE_IEEEFP_H
8327 if { (eval echo configure:8328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8329 glibcpp_cv_func_isinf_use=yes
8331 echo "configure
: failed program was
:" >&5
8332 cat conftest.$ac_ext >&5
8334 glibcpp_cv_func_isinf_use=no
8338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8339 ac_cpp='$CPP $CPPFLAGS'
8340 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8341 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8342 cross_compiling=$ac_cv_prog_cc_cross
8348 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
8350 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
8351 for ac_func in isinf
8353 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8354 echo "configure
:8355: checking
for $ac_func" >&5
8355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8356 echo $ac_n "(cached
) $ac_c" 1>&6
8358 cat > conftest.$ac_ext <<EOF
8359 #line 8360 "configure
"
8360 #include "confdefs.h
"
8361 /* System header to define __stub macros and hopefully few prototypes,
8362 which can conflict with char $ac_func(); below. */
8364 /* Override any gcc2 internal prototype to avoid an error. */
8365 /* We use char because int might match the return type of a gcc2
8366 builtin and then its argument prototype would still apply. */
8371 /* The GNU C library defines this for functions which it implements
8372 to always fail with ENOSYS. Some functions are actually named
8373 something starting with __ and the normal name is an alias. */
8374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8382 if { (eval echo configure:8383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8384 eval "ac_cv_func_
$ac_func=yes"
8386 echo "configure
: failed program was
:" >&5
8387 cat conftest.$ac_ext >&5
8389 eval "ac_cv_func_
$ac_func=no
"
8394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8395 echo "$ac_t""yes" 1>&6
8396 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8397 cat >> confdefs.h <<EOF
8398 #define $ac_tr_func 1
8402 echo "$ac_t""no
" 1>&6
8408 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
8409 echo "configure
:8410: checking
for _isinf declaration
" >&5
8410 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
8411 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
8412 echo $ac_n "(cached
) $ac_c" 1>&6
8417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8418 ac_cpp='$CXXCPP $CPPFLAGS'
8419 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8420 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8421 cross_compiling=$ac_cv_prog_cxx_cross
8423 cat > conftest.$ac_ext <<EOF
8424 #line 8425 "configure
"
8425 #include "confdefs.h
"
8427 #ifdef HAVE_IEEEFP_H
8435 if { (eval echo configure:8436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8437 glibcpp_cv_func__isinf_use=yes
8439 echo "configure
: failed program was
:" >&5
8440 cat conftest.$ac_ext >&5
8442 glibcpp_cv_func__isinf_use=no
8446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8447 ac_cpp='$CPP $CPPFLAGS'
8448 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8449 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8450 cross_compiling=$ac_cv_prog_cc_cross
8456 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
8458 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
8459 for ac_func in _isinf
8461 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8462 echo "configure
:8463: checking
for $ac_func" >&5
8463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8464 echo $ac_n "(cached
) $ac_c" 1>&6
8466 cat > conftest.$ac_ext <<EOF
8467 #line 8468 "configure
"
8468 #include "confdefs.h
"
8469 /* System header to define __stub macros and hopefully few prototypes,
8470 which can conflict with char $ac_func(); below. */
8472 /* Override any gcc2 internal prototype to avoid an error. */
8473 /* We use char because int might match the return type of a gcc2
8474 builtin and then its argument prototype would still apply. */
8479 /* The GNU C library defines this for functions which it implements
8480 to always fail with ENOSYS. Some functions are actually named
8481 something starting with __ and the normal name is an alias. */
8482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8490 if { (eval echo configure:8491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8492 eval "ac_cv_func_
$ac_func=yes"
8494 echo "configure
: failed program was
:" >&5
8495 cat conftest.$ac_ext >&5
8497 eval "ac_cv_func_
$ac_func=no
"
8502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8503 echo "$ac_t""yes" 1>&6
8504 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8505 cat >> confdefs.h <<EOF
8506 #define $ac_tr_func 1
8510 echo "$ac_t""no
" 1>&6
8519 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
8520 echo "configure
:8521: checking
for isnan declaration
" >&5
8521 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
8522 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
8523 echo $ac_n "(cached
) $ac_c" 1>&6
8528 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8529 ac_cpp='$CXXCPP $CPPFLAGS'
8530 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8531 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8532 cross_compiling=$ac_cv_prog_cxx_cross
8534 cat > conftest.$ac_ext <<EOF
8535 #line 8536 "configure
"
8536 #include "confdefs.h
"
8538 #ifdef HAVE_IEEEFP_H
8546 if { (eval echo configure:8547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8548 glibcpp_cv_func_isnan_use=yes
8550 echo "configure
: failed program was
:" >&5
8551 cat conftest.$ac_ext >&5
8553 glibcpp_cv_func_isnan_use=no
8557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8558 ac_cpp='$CPP $CPPFLAGS'
8559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8561 cross_compiling=$ac_cv_prog_cc_cross
8567 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
8569 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
8570 for ac_func in isnan
8572 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8573 echo "configure
:8574: checking
for $ac_func" >&5
8574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8575 echo $ac_n "(cached
) $ac_c" 1>&6
8577 cat > conftest.$ac_ext <<EOF
8578 #line 8579 "configure
"
8579 #include "confdefs.h
"
8580 /* System header to define __stub macros and hopefully few prototypes,
8581 which can conflict with char $ac_func(); below. */
8583 /* Override any gcc2 internal prototype to avoid an error. */
8584 /* We use char because int might match the return type of a gcc2
8585 builtin and then its argument prototype would still apply. */
8590 /* The GNU C library defines this for functions which it implements
8591 to always fail with ENOSYS. Some functions are actually named
8592 something starting with __ and the normal name is an alias. */
8593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8601 if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8603 eval "ac_cv_func_
$ac_func=yes"
8605 echo "configure
: failed program was
:" >&5
8606 cat conftest.$ac_ext >&5
8608 eval "ac_cv_func_
$ac_func=no
"
8613 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8614 echo "$ac_t""yes" 1>&6
8615 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8616 cat >> confdefs.h <<EOF
8617 #define $ac_tr_func 1
8621 echo "$ac_t""no
" 1>&6
8627 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
8628 echo "configure
:8629: checking
for _isnan declaration
" >&5
8629 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
8630 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
8631 echo $ac_n "(cached
) $ac_c" 1>&6
8636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8637 ac_cpp='$CXXCPP $CPPFLAGS'
8638 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8639 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8640 cross_compiling=$ac_cv_prog_cxx_cross
8642 cat > conftest.$ac_ext <<EOF
8643 #line 8644 "configure
"
8644 #include "confdefs.h
"
8646 #ifdef HAVE_IEEEFP_H
8654 if { (eval echo configure:8655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8656 glibcpp_cv_func__isnan_use=yes
8658 echo "configure
: failed program was
:" >&5
8659 cat conftest.$ac_ext >&5
8661 glibcpp_cv_func__isnan_use=no
8665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8666 ac_cpp='$CPP $CPPFLAGS'
8667 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8668 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8669 cross_compiling=$ac_cv_prog_cc_cross
8675 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
8677 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
8678 for ac_func in _isnan
8680 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8681 echo "configure
:8682: checking
for $ac_func" >&5
8682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8683 echo $ac_n "(cached
) $ac_c" 1>&6
8685 cat > conftest.$ac_ext <<EOF
8686 #line 8687 "configure
"
8687 #include "confdefs.h
"
8688 /* System header to define __stub macros and hopefully few prototypes,
8689 which can conflict with char $ac_func(); below. */
8691 /* Override any gcc2 internal prototype to avoid an error. */
8692 /* We use char because int might match the return type of a gcc2
8693 builtin and then its argument prototype would still apply. */
8698 /* The GNU C library defines this for functions which it implements
8699 to always fail with ENOSYS. Some functions are actually named
8700 something starting with __ and the normal name is an alias. */
8701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8709 if { (eval echo configure:8710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8711 eval "ac_cv_func_
$ac_func=yes"
8713 echo "configure
: failed program was
:" >&5
8714 cat conftest.$ac_ext >&5
8716 eval "ac_cv_func_
$ac_func=no
"
8721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8722 echo "$ac_t""yes" 1>&6
8723 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8724 cat >> confdefs.h <<EOF
8725 #define $ac_tr_func 1
8729 echo "$ac_t""no
" 1>&6
8738 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
8739 echo "configure
:8740: checking
for finite declaration
" >&5
8740 if test x${glibcpp_cv_func_finite_use+set} != xset; then
8741 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
8742 echo $ac_n "(cached
) $ac_c" 1>&6
8747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8748 ac_cpp='$CXXCPP $CPPFLAGS'
8749 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8750 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8751 cross_compiling=$ac_cv_prog_cxx_cross
8753 cat > conftest.$ac_ext <<EOF
8754 #line 8755 "configure
"
8755 #include "confdefs.h
"
8757 #ifdef HAVE_IEEEFP_H
8765 if { (eval echo configure:8766: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8767 glibcpp_cv_func_finite_use=yes
8769 echo "configure
: failed program was
:" >&5
8770 cat conftest.$ac_ext >&5
8772 glibcpp_cv_func_finite_use=no
8776 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8777 ac_cpp='$CPP $CPPFLAGS'
8778 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8779 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8780 cross_compiling=$ac_cv_prog_cc_cross
8786 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
8788 if test x$glibcpp_cv_func_finite_use = x"yes"; then
8789 for ac_func in finite
8791 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8792 echo "configure
:8793: checking
for $ac_func" >&5
8793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8794 echo $ac_n "(cached
) $ac_c" 1>&6
8796 cat > conftest.$ac_ext <<EOF
8797 #line 8798 "configure
"
8798 #include "confdefs.h
"
8799 /* System header to define __stub macros and hopefully few prototypes,
8800 which can conflict with char $ac_func(); below. */
8802 /* Override any gcc2 internal prototype to avoid an error. */
8803 /* We use char because int might match the return type of a gcc2
8804 builtin and then its argument prototype would still apply. */
8809 /* The GNU C library defines this for functions which it implements
8810 to always fail with ENOSYS. Some functions are actually named
8811 something starting with __ and the normal name is an alias. */
8812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8820 if { (eval echo configure:8821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8822 eval "ac_cv_func_
$ac_func=yes"
8824 echo "configure
: failed program was
:" >&5
8825 cat conftest.$ac_ext >&5
8827 eval "ac_cv_func_
$ac_func=no
"
8832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8833 echo "$ac_t""yes" 1>&6
8834 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8835 cat >> confdefs.h <<EOF
8836 #define $ac_tr_func 1
8840 echo "$ac_t""no
" 1>&6
8846 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
8847 echo "configure
:8848: checking
for _finite declaration
" >&5
8848 if test x${glibcpp_cv_func__finite_use+set} != xset; then
8849 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
8850 echo $ac_n "(cached
) $ac_c" 1>&6
8855 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8856 ac_cpp='$CXXCPP $CPPFLAGS'
8857 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8858 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8859 cross_compiling=$ac_cv_prog_cxx_cross
8861 cat > conftest.$ac_ext <<EOF
8862 #line 8863 "configure
"
8863 #include "confdefs.h
"
8865 #ifdef HAVE_IEEEFP_H
8873 if { (eval echo configure:8874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8875 glibcpp_cv_func__finite_use=yes
8877 echo "configure
: failed program was
:" >&5
8878 cat conftest.$ac_ext >&5
8880 glibcpp_cv_func__finite_use=no
8884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8885 ac_cpp='$CPP $CPPFLAGS'
8886 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8887 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8888 cross_compiling=$ac_cv_prog_cc_cross
8894 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
8896 if test x$glibcpp_cv_func__finite_use = x"yes"; then
8897 for ac_func in _finite
8899 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8900 echo "configure
:8901: checking
for $ac_func" >&5
8901 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8902 echo $ac_n "(cached
) $ac_c" 1>&6
8904 cat > conftest.$ac_ext <<EOF
8905 #line 8906 "configure
"
8906 #include "confdefs.h
"
8907 /* System header to define __stub macros and hopefully few prototypes,
8908 which can conflict with char $ac_func(); below. */
8910 /* Override any gcc2 internal prototype to avoid an error. */
8911 /* We use char because int might match the return type of a gcc2
8912 builtin and then its argument prototype would still apply. */
8917 /* The GNU C library defines this for functions which it implements
8918 to always fail with ENOSYS. Some functions are actually named
8919 something starting with __ and the normal name is an alias. */
8920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8928 if { (eval echo configure:8929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8930 eval "ac_cv_func_
$ac_func=yes"
8932 echo "configure
: failed program was
:" >&5
8933 cat conftest.$ac_ext >&5
8935 eval "ac_cv_func_
$ac_func=no
"
8940 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8941 echo "$ac_t""yes" 1>&6
8942 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8943 cat >> confdefs.h <<EOF
8944 #define $ac_tr_func 1
8948 echo "$ac_t""no
" 1>&6
8957 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
8958 echo "configure
:8959: checking
for copysign declaration
" >&5
8959 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
8960 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
8961 echo $ac_n "(cached
) $ac_c" 1>&6
8966 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8967 ac_cpp='$CXXCPP $CPPFLAGS'
8968 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8969 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8970 cross_compiling=$ac_cv_prog_cxx_cross
8972 cat > conftest.$ac_ext <<EOF
8973 #line 8974 "configure
"
8974 #include "confdefs.h
"
8980 if { (eval echo configure:8981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8982 glibcpp_cv_func_copysign_use=yes
8984 echo "configure
: failed program was
:" >&5
8985 cat conftest.$ac_ext >&5
8987 glibcpp_cv_func_copysign_use=no
8991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8992 ac_cpp='$CPP $CPPFLAGS'
8993 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8994 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8995 cross_compiling=$ac_cv_prog_cc_cross
9001 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
9003 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
9004 for ac_func in copysign
9006 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9007 echo "configure
:9008: checking
for $ac_func" >&5
9008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9009 echo $ac_n "(cached
) $ac_c" 1>&6
9011 cat > conftest.$ac_ext <<EOF
9012 #line 9013 "configure
"
9013 #include "confdefs.h
"
9014 /* System header to define __stub macros and hopefully few prototypes,
9015 which can conflict with char $ac_func(); below. */
9017 /* Override any gcc2 internal prototype to avoid an error. */
9018 /* We use char because int might match the return type of a gcc2
9019 builtin and then its argument prototype would still apply. */
9024 /* The GNU C library defines this for functions which it implements
9025 to always fail with ENOSYS. Some functions are actually named
9026 something starting with __ and the normal name is an alias. */
9027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9035 if { (eval echo configure:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9037 eval "ac_cv_func_
$ac_func=yes"
9039 echo "configure
: failed program was
:" >&5
9040 cat conftest.$ac_ext >&5
9042 eval "ac_cv_func_
$ac_func=no
"
9047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9048 echo "$ac_t""yes" 1>&6
9049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9050 cat >> confdefs.h <<EOF
9051 #define $ac_tr_func 1
9055 echo "$ac_t""no
" 1>&6
9061 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
9062 echo "configure
:9063: checking
for _copysign declaration
" >&5
9063 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
9064 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
9065 echo $ac_n "(cached
) $ac_c" 1>&6
9070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9071 ac_cpp='$CXXCPP $CPPFLAGS'
9072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9074 cross_compiling=$ac_cv_prog_cxx_cross
9076 cat > conftest.$ac_ext <<EOF
9077 #line 9078 "configure
"
9078 #include "confdefs.h
"
9084 if { (eval echo configure:9085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9086 glibcpp_cv_func__copysign_use=yes
9088 echo "configure
: failed program was
:" >&5
9089 cat conftest.$ac_ext >&5
9091 glibcpp_cv_func__copysign_use=no
9095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9096 ac_cpp='$CPP $CPPFLAGS'
9097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9099 cross_compiling=$ac_cv_prog_cc_cross
9105 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
9107 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
9108 for ac_func in _copysign
9110 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9111 echo "configure
:9112: checking
for $ac_func" >&5
9112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9113 echo $ac_n "(cached
) $ac_c" 1>&6
9115 cat > conftest.$ac_ext <<EOF
9116 #line 9117 "configure
"
9117 #include "confdefs.h
"
9118 /* System header to define __stub macros and hopefully few prototypes,
9119 which can conflict with char $ac_func(); below. */
9121 /* Override any gcc2 internal prototype to avoid an error. */
9122 /* We use char because int might match the return type of a gcc2
9123 builtin and then its argument prototype would still apply. */
9128 /* The GNU C library defines this for functions which it implements
9129 to always fail with ENOSYS. Some functions are actually named
9130 something starting with __ and the normal name is an alias. */
9131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9139 if { (eval echo configure:9140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9141 eval "ac_cv_func_
$ac_func=yes"
9143 echo "configure
: failed program was
:" >&5
9144 cat conftest.$ac_ext >&5
9146 eval "ac_cv_func_
$ac_func=no
"
9151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9152 echo "$ac_t""yes" 1>&6
9153 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9154 cat >> confdefs.h <<EOF
9155 #define $ac_tr_func 1
9159 echo "$ac_t""no
" 1>&6
9168 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
9169 echo "configure
:9170: checking
for sincos declaration
" >&5
9170 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
9171 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
9172 echo $ac_n "(cached
) $ac_c" 1>&6
9177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9178 ac_cpp='$CXXCPP $CPPFLAGS'
9179 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9180 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9181 cross_compiling=$ac_cv_prog_cxx_cross
9183 cat > conftest.$ac_ext <<EOF
9184 #line 9185 "configure
"
9185 #include "confdefs.h
"
9191 if { (eval echo configure:9192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9193 glibcpp_cv_func_sincos_use=yes
9195 echo "configure
: failed program was
:" >&5
9196 cat conftest.$ac_ext >&5
9198 glibcpp_cv_func_sincos_use=no
9202 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9203 ac_cpp='$CPP $CPPFLAGS'
9204 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9205 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9206 cross_compiling=$ac_cv_prog_cc_cross
9212 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
9214 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
9215 for ac_func in sincos
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
9272 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
9273 echo "configure
:9274: checking
for _sincos declaration
" >&5
9274 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
9275 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
9276 echo $ac_n "(cached
) $ac_c" 1>&6
9281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9282 ac_cpp='$CXXCPP $CPPFLAGS'
9283 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9284 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9285 cross_compiling=$ac_cv_prog_cxx_cross
9287 cat > conftest.$ac_ext <<EOF
9288 #line 9289 "configure
"
9289 #include "confdefs.h
"
9295 if { (eval echo configure:9296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9297 glibcpp_cv_func__sincos_use=yes
9299 echo "configure
: failed program was
:" >&5
9300 cat conftest.$ac_ext >&5
9302 glibcpp_cv_func__sincos_use=no
9306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9307 ac_cpp='$CPP $CPPFLAGS'
9308 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9309 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9310 cross_compiling=$ac_cv_prog_cc_cross
9316 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
9318 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
9319 for ac_func in _sincos
9321 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9322 echo "configure
:9323: checking
for $ac_func" >&5
9323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9324 echo $ac_n "(cached
) $ac_c" 1>&6
9326 cat > conftest.$ac_ext <<EOF
9327 #line 9328 "configure
"
9328 #include "confdefs.h
"
9329 /* System header to define __stub macros and hopefully few prototypes,
9330 which can conflict with char $ac_func(); below. */
9332 /* Override any gcc2 internal prototype to avoid an error. */
9333 /* We use char because int might match the return type of a gcc2
9334 builtin and then its argument prototype would still apply. */
9339 /* The GNU C library defines this for functions which it implements
9340 to always fail with ENOSYS. Some functions are actually named
9341 something starting with __ and the normal name is an alias. */
9342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9350 if { (eval echo configure:9351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9352 eval "ac_cv_func_
$ac_func=yes"
9354 echo "configure
: failed program was
:" >&5
9355 cat conftest.$ac_ext >&5
9357 eval "ac_cv_func_
$ac_func=no
"
9362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9363 echo "$ac_t""yes" 1>&6
9364 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9365 cat >> confdefs.h <<EOF
9366 #define $ac_tr_func 1
9370 echo "$ac_t""no
" 1>&6
9379 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
9380 echo "configure
:9381: checking
for fpclass declaration
" >&5
9381 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
9382 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
9383 echo $ac_n "(cached
) $ac_c" 1>&6
9388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9389 ac_cpp='$CXXCPP $CPPFLAGS'
9390 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9391 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9392 cross_compiling=$ac_cv_prog_cxx_cross
9394 cat > conftest.$ac_ext <<EOF
9395 #line 9396 "configure
"
9396 #include "confdefs.h
"
9398 #ifdef HAVE_IEEEFP_H
9406 if { (eval echo configure:9407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9408 glibcpp_cv_func_fpclass_use=yes
9410 echo "configure
: failed program was
:" >&5
9411 cat conftest.$ac_ext >&5
9413 glibcpp_cv_func_fpclass_use=no
9417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9418 ac_cpp='$CPP $CPPFLAGS'
9419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9421 cross_compiling=$ac_cv_prog_cc_cross
9427 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
9429 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
9430 for ac_func in fpclass
9432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9433 echo "configure
:9434: checking
for $ac_func" >&5
9434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9435 echo $ac_n "(cached
) $ac_c" 1>&6
9437 cat > conftest.$ac_ext <<EOF
9438 #line 9439 "configure
"
9439 #include "confdefs.h
"
9440 /* System header to define __stub macros and hopefully few prototypes,
9441 which can conflict with char $ac_func(); below. */
9443 /* Override any gcc2 internal prototype to avoid an error. */
9444 /* We use char because int might match the return type of a gcc2
9445 builtin and then its argument prototype would still apply. */
9450 /* The GNU C library defines this for functions which it implements
9451 to always fail with ENOSYS. Some functions are actually named
9452 something starting with __ and the normal name is an alias. */
9453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9461 if { (eval echo configure:9462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9463 eval "ac_cv_func_
$ac_func=yes"
9465 echo "configure
: failed program was
:" >&5
9466 cat conftest.$ac_ext >&5
9468 eval "ac_cv_func_
$ac_func=no
"
9473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9474 echo "$ac_t""yes" 1>&6
9475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9476 cat >> confdefs.h <<EOF
9477 #define $ac_tr_func 1
9481 echo "$ac_t""no
" 1>&6
9487 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
9488 echo "configure
:9489: checking
for _fpclass declaration
" >&5
9489 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
9490 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
9491 echo $ac_n "(cached
) $ac_c" 1>&6
9496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9497 ac_cpp='$CXXCPP $CPPFLAGS'
9498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9500 cross_compiling=$ac_cv_prog_cxx_cross
9502 cat > conftest.$ac_ext <<EOF
9503 #line 9504 "configure
"
9504 #include "confdefs.h
"
9506 #ifdef HAVE_IEEEFP_H
9514 if { (eval echo configure:9515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9516 glibcpp_cv_func__fpclass_use=yes
9518 echo "configure
: failed program was
:" >&5
9519 cat conftest.$ac_ext >&5
9521 glibcpp_cv_func__fpclass_use=no
9525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9526 ac_cpp='$CPP $CPPFLAGS'
9527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9529 cross_compiling=$ac_cv_prog_cc_cross
9535 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
9537 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
9538 for ac_func in _fpclass
9540 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9541 echo "configure
:9542: checking
for $ac_func" >&5
9542 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9543 echo $ac_n "(cached
) $ac_c" 1>&6
9545 cat > conftest.$ac_ext <<EOF
9546 #line 9547 "configure
"
9547 #include "confdefs.h
"
9548 /* System header to define __stub macros and hopefully few prototypes,
9549 which can conflict with char $ac_func(); below. */
9551 /* Override any gcc2 internal prototype to avoid an error. */
9552 /* We use char because int might match the return type of a gcc2
9553 builtin and then its argument prototype would still apply. */
9558 /* The GNU C library defines this for functions which it implements
9559 to always fail with ENOSYS. Some functions are actually named
9560 something starting with __ and the normal name is an alias. */
9561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9569 if { (eval echo configure:9570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9571 eval "ac_cv_func_
$ac_func=yes"
9573 echo "configure
: failed program was
:" >&5
9574 cat conftest.$ac_ext >&5
9576 eval "ac_cv_func_
$ac_func=no
"
9581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9582 echo "$ac_t""yes" 1>&6
9583 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9584 cat >> confdefs.h <<EOF
9585 #define $ac_tr_func 1
9589 echo "$ac_t""no
" 1>&6
9598 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
9599 echo "configure
:9600: checking
for qfpclass declaration
" >&5
9600 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
9601 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
9602 echo $ac_n "(cached
) $ac_c" 1>&6
9607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9608 ac_cpp='$CXXCPP $CPPFLAGS'
9609 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9610 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9611 cross_compiling=$ac_cv_prog_cxx_cross
9613 cat > conftest.$ac_ext <<EOF
9614 #line 9615 "configure
"
9615 #include "confdefs.h
"
9617 #ifdef HAVE_IEEEFP_H
9625 if { (eval echo configure:9626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9627 glibcpp_cv_func_qfpclass_use=yes
9629 echo "configure
: failed program was
:" >&5
9630 cat conftest.$ac_ext >&5
9632 glibcpp_cv_func_qfpclass_use=no
9636 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9637 ac_cpp='$CPP $CPPFLAGS'
9638 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9639 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9640 cross_compiling=$ac_cv_prog_cc_cross
9646 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
9648 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
9649 for ac_func in qfpclass
9651 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9652 echo "configure
:9653: checking
for $ac_func" >&5
9653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9654 echo $ac_n "(cached
) $ac_c" 1>&6
9656 cat > conftest.$ac_ext <<EOF
9657 #line 9658 "configure
"
9658 #include "confdefs.h
"
9659 /* System header to define __stub macros and hopefully few prototypes,
9660 which can conflict with char $ac_func(); below. */
9662 /* Override any gcc2 internal prototype to avoid an error. */
9663 /* We use char because int might match the return type of a gcc2
9664 builtin and then its argument prototype would still apply. */
9669 /* The GNU C library defines this for functions which it implements
9670 to always fail with ENOSYS. Some functions are actually named
9671 something starting with __ and the normal name is an alias. */
9672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9680 if { (eval echo configure:9681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9682 eval "ac_cv_func_
$ac_func=yes"
9684 echo "configure
: failed program was
:" >&5
9685 cat conftest.$ac_ext >&5
9687 eval "ac_cv_func_
$ac_func=no
"
9692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9693 echo "$ac_t""yes" 1>&6
9694 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9695 cat >> confdefs.h <<EOF
9696 #define $ac_tr_func 1
9700 echo "$ac_t""no
" 1>&6
9706 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
9707 echo "configure
:9708: checking
for _qfpclass declaration
" >&5
9708 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
9709 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
9710 echo $ac_n "(cached
) $ac_c" 1>&6
9715 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9716 ac_cpp='$CXXCPP $CPPFLAGS'
9717 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9718 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9719 cross_compiling=$ac_cv_prog_cxx_cross
9721 cat > conftest.$ac_ext <<EOF
9722 #line 9723 "configure
"
9723 #include "confdefs.h
"
9725 #ifdef HAVE_IEEEFP_H
9733 if { (eval echo configure:9734: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9735 glibcpp_cv_func__qfpclass_use=yes
9737 echo "configure
: failed program was
:" >&5
9738 cat conftest.$ac_ext >&5
9740 glibcpp_cv_func__qfpclass_use=no
9744 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9745 ac_cpp='$CPP $CPPFLAGS'
9746 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9747 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9748 cross_compiling=$ac_cv_prog_cc_cross
9754 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
9756 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
9757 for ac_func in _qfpclass
9759 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9760 echo "configure
:9761: checking
for $ac_func" >&5
9761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9762 echo $ac_n "(cached
) $ac_c" 1>&6
9764 cat > conftest.$ac_ext <<EOF
9765 #line 9766 "configure
"
9766 #include "confdefs.h
"
9767 /* System header to define __stub macros and hopefully few prototypes,
9768 which can conflict with char $ac_func(); below. */
9770 /* Override any gcc2 internal prototype to avoid an error. */
9771 /* We use char because int might match the return type of a gcc2
9772 builtin and then its argument prototype would still apply. */
9777 /* The GNU C library defines this for functions which it implements
9778 to always fail with ENOSYS. Some functions are actually named
9779 something starting with __ and the normal name is an alias. */
9780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9788 if { (eval echo configure:9789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9790 eval "ac_cv_func_
$ac_func=yes"
9792 echo "configure
: failed program was
:" >&5
9793 cat conftest.$ac_ext >&5
9795 eval "ac_cv_func_
$ac_func=no
"
9800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9801 echo "$ac_t""yes" 1>&6
9802 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9803 cat >> confdefs.h <<EOF
9804 #define $ac_tr_func 1
9808 echo "$ac_t""no
" 1>&6
9817 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
9818 echo "configure
:9819: checking
for hypot declaration
" >&5
9819 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
9820 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
9821 echo $ac_n "(cached
) $ac_c" 1>&6
9826 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9827 ac_cpp='$CXXCPP $CPPFLAGS'
9828 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9829 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9830 cross_compiling=$ac_cv_prog_cxx_cross
9832 cat > conftest.$ac_ext <<EOF
9833 #line 9834 "configure
"
9834 #include "confdefs.h
"
9840 if { (eval echo configure:9841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9842 glibcpp_cv_func_hypot_use=yes
9844 echo "configure
: failed program was
:" >&5
9845 cat conftest.$ac_ext >&5
9847 glibcpp_cv_func_hypot_use=no
9851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9852 ac_cpp='$CPP $CPPFLAGS'
9853 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9854 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9855 cross_compiling=$ac_cv_prog_cc_cross
9861 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
9863 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
9864 for ac_func in hypot
9866 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9867 echo "configure
:9868: checking
for $ac_func" >&5
9868 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9869 echo $ac_n "(cached
) $ac_c" 1>&6
9871 cat > conftest.$ac_ext <<EOF
9872 #line 9873 "configure
"
9873 #include "confdefs.h
"
9874 /* System header to define __stub macros and hopefully few prototypes,
9875 which can conflict with char $ac_func(); below. */
9877 /* Override any gcc2 internal prototype to avoid an error. */
9878 /* We use char because int might match the return type of a gcc2
9879 builtin and then its argument prototype would still apply. */
9884 /* The GNU C library defines this for functions which it implements
9885 to always fail with ENOSYS. Some functions are actually named
9886 something starting with __ and the normal name is an alias. */
9887 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9895 if { (eval echo configure:9896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9897 eval "ac_cv_func_
$ac_func=yes"
9899 echo "configure
: failed program was
:" >&5
9900 cat conftest.$ac_ext >&5
9902 eval "ac_cv_func_
$ac_func=no
"
9907 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9908 echo "$ac_t""yes" 1>&6
9909 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9910 cat >> confdefs.h <<EOF
9911 #define $ac_tr_func 1
9915 echo "$ac_t""no
" 1>&6
9921 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
9922 echo "configure
:9923: checking
for _hypot declaration
" >&5
9923 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
9924 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
9925 echo $ac_n "(cached
) $ac_c" 1>&6
9930 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9931 ac_cpp='$CXXCPP $CPPFLAGS'
9932 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9933 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9934 cross_compiling=$ac_cv_prog_cxx_cross
9936 cat > conftest.$ac_ext <<EOF
9937 #line 9938 "configure
"
9938 #include "confdefs.h
"
9944 if { (eval echo configure:9945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9946 glibcpp_cv_func__hypot_use=yes
9948 echo "configure
: failed program was
:" >&5
9949 cat conftest.$ac_ext >&5
9951 glibcpp_cv_func__hypot_use=no
9955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9956 ac_cpp='$CPP $CPPFLAGS'
9957 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9958 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9959 cross_compiling=$ac_cv_prog_cc_cross
9965 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
9967 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
9968 for ac_func in _hypot
9970 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9971 echo "configure
:9972: checking
for $ac_func" >&5
9972 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9973 echo $ac_n "(cached
) $ac_c" 1>&6
9975 cat > conftest.$ac_ext <<EOF
9976 #line 9977 "configure
"
9977 #include "confdefs.h
"
9978 /* System header to define __stub macros and hopefully few prototypes,
9979 which can conflict with char $ac_func(); below. */
9981 /* Override any gcc2 internal prototype to avoid an error. */
9982 /* We use char because int might match the return type of a gcc2
9983 builtin and then its argument prototype would still apply. */
9988 /* The GNU C library defines this for functions which it implements
9989 to always fail with ENOSYS. Some functions are actually named
9990 something starting with __ and the normal name is an alias. */
9991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9999 if { (eval echo configure:10000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10001 eval "ac_cv_func_
$ac_func=yes"
10003 echo "configure
: failed program was
:" >&5
10004 cat conftest.$ac_ext >&5
10006 eval "ac_cv_func_
$ac_func=no
"
10011 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10012 echo "$ac_t""yes" 1>&6
10013 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10014 cat >> confdefs.h <<EOF
10015 #define $ac_tr_func 1
10019 echo "$ac_t""no
" 1>&6
10028 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
10029 echo "configure
:10030: checking
for float trig functions
" >&5
10030 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
10031 echo $ac_n "(cached
) $ac_c" 1>&6
10036 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10037 ac_cpp='$CXXCPP $CPPFLAGS'
10038 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10039 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10040 cross_compiling=$ac_cv_prog_cxx_cross
10042 cat > conftest.$ac_ext <<EOF
10043 #line 10044 "configure
"
10044 #include "confdefs.h
"
10047 `for x in acosf asinf atanf \
10049 coshf sinhf tanhf; do echo "$x (0);"; done`
10052 if { (eval echo configure:10053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10054 glibcpp_cv_func_float_trig_use=yes
10056 echo "configure
: failed program was
:" >&5
10057 cat conftest.$ac_ext >&5
10059 glibcpp_cv_func_float_trig_use=no
10063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10064 ac_cpp='$CPP $CPPFLAGS'
10065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10067 cross_compiling=$ac_cv_prog_cc_cross
10071 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
10072 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
10073 for ac_func in acosf asinf atanf \
10077 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10078 echo "configure
:10079: checking
for $ac_func" >&5
10079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10080 echo $ac_n "(cached
) $ac_c" 1>&6
10082 cat > conftest.$ac_ext <<EOF
10083 #line 10084 "configure
"
10084 #include "confdefs.h
"
10085 /* System header to define __stub macros and hopefully few prototypes,
10086 which can conflict with char $ac_func(); below. */
10087 #include <assert.h>
10088 /* Override any gcc2 internal prototype to avoid an error. */
10089 /* We use char because int might match the return type of a gcc2
10090 builtin and then its argument prototype would still apply. */
10095 /* The GNU C library defines this for functions which it implements
10096 to always fail with ENOSYS. Some functions are actually named
10097 something starting with __ and the normal name is an alias. */
10098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10106 if { (eval echo configure:10107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10108 eval "ac_cv_func_
$ac_func=yes"
10110 echo "configure
: failed program was
:" >&5
10111 cat conftest.$ac_ext >&5
10113 eval "ac_cv_func_
$ac_func=no
"
10118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10119 echo "$ac_t""yes" 1>&6
10120 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10121 cat >> confdefs.h <<EOF
10122 #define $ac_tr_func 1
10126 echo "$ac_t""no
" 1>&6
10133 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
10134 echo "configure
:10135: checking
for float round functions
" >&5
10135 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
10136 echo $ac_n "(cached
) $ac_c" 1>&6
10141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10142 ac_cpp='$CXXCPP $CPPFLAGS'
10143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10145 cross_compiling=$ac_cv_prog_cxx_cross
10147 cat > conftest.$ac_ext <<EOF
10148 #line 10149 "configure
"
10149 #include "confdefs.h
"
10152 `for x in ceilf floorf; do echo "$x (0);"; done`
10155 if { (eval echo configure:10156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10157 glibcpp_cv_func_float_round_use=yes
10159 echo "configure
: failed program was
:" >&5
10160 cat conftest.$ac_ext >&5
10162 glibcpp_cv_func_float_round_use=no
10166 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10167 ac_cpp='$CPP $CPPFLAGS'
10168 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10169 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10170 cross_compiling=$ac_cv_prog_cc_cross
10174 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
10175 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
10176 for ac_func in ceilf floorf
10178 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10179 echo "configure
:10180: checking
for $ac_func" >&5
10180 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10181 echo $ac_n "(cached
) $ac_c" 1>&6
10183 cat > conftest.$ac_ext <<EOF
10184 #line 10185 "configure
"
10185 #include "confdefs.h
"
10186 /* System header to define __stub macros and hopefully few prototypes,
10187 which can conflict with char $ac_func(); below. */
10188 #include <assert.h>
10189 /* Override any gcc2 internal prototype to avoid an error. */
10190 /* We use char because int might match the return type of a gcc2
10191 builtin and then its argument prototype would still apply. */
10196 /* The GNU C library defines this for functions which it implements
10197 to always fail with ENOSYS. Some functions are actually named
10198 something starting with __ and the normal name is an alias. */
10199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10207 if { (eval echo configure:10208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10209 eval "ac_cv_func_
$ac_func=yes"
10211 echo "configure
: failed program was
:" >&5
10212 cat conftest.$ac_ext >&5
10214 eval "ac_cv_func_
$ac_func=no
"
10219 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10220 echo "$ac_t""yes" 1>&6
10221 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10222 cat >> confdefs.h <<EOF
10223 #define $ac_tr_func 1
10227 echo "$ac_t""no
" 1>&6
10235 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
10236 echo "configure
:10237: checking
for isnanf declaration
" >&5
10237 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
10238 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
10239 echo $ac_n "(cached
) $ac_c" 1>&6
10244 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10245 ac_cpp='$CXXCPP $CPPFLAGS'
10246 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10247 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10248 cross_compiling=$ac_cv_prog_cxx_cross
10250 cat > conftest.$ac_ext <<EOF
10251 #line 10252 "configure
"
10252 #include "confdefs.h
"
10254 #ifdef HAVE_IEEEFP_H
10255 #include <ieeefp.h>
10262 if { (eval echo configure:10263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10264 glibcpp_cv_func_isnanf_use=yes
10266 echo "configure
: failed program was
:" >&5
10267 cat conftest.$ac_ext >&5
10269 glibcpp_cv_func_isnanf_use=no
10273 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10274 ac_cpp='$CPP $CPPFLAGS'
10275 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10276 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10277 cross_compiling=$ac_cv_prog_cc_cross
10283 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
10285 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
10286 for ac_func in isnanf
10288 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10289 echo "configure
:10290: checking
for $ac_func" >&5
10290 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10291 echo $ac_n "(cached
) $ac_c" 1>&6
10293 cat > conftest.$ac_ext <<EOF
10294 #line 10295 "configure
"
10295 #include "confdefs.h
"
10296 /* System header to define __stub macros and hopefully few prototypes,
10297 which can conflict with char $ac_func(); below. */
10298 #include <assert.h>
10299 /* Override any gcc2 internal prototype to avoid an error. */
10300 /* We use char because int might match the return type of a gcc2
10301 builtin and then its argument prototype would still apply. */
10306 /* The GNU C library defines this for functions which it implements
10307 to always fail with ENOSYS. Some functions are actually named
10308 something starting with __ and the normal name is an alias. */
10309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10317 if { (eval echo configure:10318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10319 eval "ac_cv_func_
$ac_func=yes"
10321 echo "configure
: failed program was
:" >&5
10322 cat conftest.$ac_ext >&5
10324 eval "ac_cv_func_
$ac_func=no
"
10329 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10330 echo "$ac_t""yes" 1>&6
10331 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10332 cat >> confdefs.h <<EOF
10333 #define $ac_tr_func 1
10337 echo "$ac_t""no
" 1>&6
10343 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
10344 echo "configure
:10345: checking
for _isnanf declaration
" >&5
10345 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
10346 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
10347 echo $ac_n "(cached
) $ac_c" 1>&6
10352 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10353 ac_cpp='$CXXCPP $CPPFLAGS'
10354 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10355 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10356 cross_compiling=$ac_cv_prog_cxx_cross
10358 cat > conftest.$ac_ext <<EOF
10359 #line 10360 "configure
"
10360 #include "confdefs.h
"
10362 #ifdef HAVE_IEEEFP_H
10363 #include <ieeefp.h>
10370 if { (eval echo configure:10371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10372 glibcpp_cv_func__isnanf_use=yes
10374 echo "configure
: failed program was
:" >&5
10375 cat conftest.$ac_ext >&5
10377 glibcpp_cv_func__isnanf_use=no
10381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10382 ac_cpp='$CPP $CPPFLAGS'
10383 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10384 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10385 cross_compiling=$ac_cv_prog_cc_cross
10391 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
10393 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
10394 for ac_func in _isnanf
10396 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10397 echo "configure
:10398: checking
for $ac_func" >&5
10398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10399 echo $ac_n "(cached
) $ac_c" 1>&6
10401 cat > conftest.$ac_ext <<EOF
10402 #line 10403 "configure
"
10403 #include "confdefs.h
"
10404 /* System header to define __stub macros and hopefully few prototypes,
10405 which can conflict with char $ac_func(); below. */
10406 #include <assert.h>
10407 /* Override any gcc2 internal prototype to avoid an error. */
10408 /* We use char because int might match the return type of a gcc2
10409 builtin and then its argument prototype would still apply. */
10414 /* The GNU C library defines this for functions which it implements
10415 to always fail with ENOSYS. Some functions are actually named
10416 something starting with __ and the normal name is an alias. */
10417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10425 if { (eval echo configure:10426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10427 eval "ac_cv_func_
$ac_func=yes"
10429 echo "configure
: failed program was
:" >&5
10430 cat conftest.$ac_ext >&5
10432 eval "ac_cv_func_
$ac_func=no
"
10437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10438 echo "$ac_t""yes" 1>&6
10439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10440 cat >> confdefs.h <<EOF
10441 #define $ac_tr_func 1
10445 echo "$ac_t""no
" 1>&6
10454 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
10455 echo "configure
:10456: checking
for isinff declaration
" >&5
10456 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
10457 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
10458 echo $ac_n "(cached
) $ac_c" 1>&6
10463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10464 ac_cpp='$CXXCPP $CPPFLAGS'
10465 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10466 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10467 cross_compiling=$ac_cv_prog_cxx_cross
10469 cat > conftest.$ac_ext <<EOF
10470 #line 10471 "configure
"
10471 #include "confdefs.h
"
10473 #ifdef HAVE_IEEEFP_H
10474 #include <ieeefp.h>
10481 if { (eval echo configure:10482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10483 glibcpp_cv_func_isinff_use=yes
10485 echo "configure
: failed program was
:" >&5
10486 cat conftest.$ac_ext >&5
10488 glibcpp_cv_func_isinff_use=no
10492 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10493 ac_cpp='$CPP $CPPFLAGS'
10494 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10495 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10496 cross_compiling=$ac_cv_prog_cc_cross
10502 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
10504 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
10505 for ac_func in isinff
10507 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10508 echo "configure
:10509: checking
for $ac_func" >&5
10509 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10510 echo $ac_n "(cached
) $ac_c" 1>&6
10512 cat > conftest.$ac_ext <<EOF
10513 #line 10514 "configure
"
10514 #include "confdefs.h
"
10515 /* System header to define __stub macros and hopefully few prototypes,
10516 which can conflict with char $ac_func(); below. */
10517 #include <assert.h>
10518 /* Override any gcc2 internal prototype to avoid an error. */
10519 /* We use char because int might match the return type of a gcc2
10520 builtin and then its argument prototype would still apply. */
10525 /* The GNU C library defines this for functions which it implements
10526 to always fail with ENOSYS. Some functions are actually named
10527 something starting with __ and the normal name is an alias. */
10528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10536 if { (eval echo configure:10537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10538 eval "ac_cv_func_
$ac_func=yes"
10540 echo "configure
: failed program was
:" >&5
10541 cat conftest.$ac_ext >&5
10543 eval "ac_cv_func_
$ac_func=no
"
10548 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10549 echo "$ac_t""yes" 1>&6
10550 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10551 cat >> confdefs.h <<EOF
10552 #define $ac_tr_func 1
10556 echo "$ac_t""no
" 1>&6
10562 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
10563 echo "configure
:10564: checking
for _isinff declaration
" >&5
10564 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
10565 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
10566 echo $ac_n "(cached
) $ac_c" 1>&6
10571 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10572 ac_cpp='$CXXCPP $CPPFLAGS'
10573 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10574 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10575 cross_compiling=$ac_cv_prog_cxx_cross
10577 cat > conftest.$ac_ext <<EOF
10578 #line 10579 "configure
"
10579 #include "confdefs.h
"
10581 #ifdef HAVE_IEEEFP_H
10582 #include <ieeefp.h>
10589 if { (eval echo configure:10590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10591 glibcpp_cv_func__isinff_use=yes
10593 echo "configure
: failed program was
:" >&5
10594 cat conftest.$ac_ext >&5
10596 glibcpp_cv_func__isinff_use=no
10600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10601 ac_cpp='$CPP $CPPFLAGS'
10602 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10603 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10604 cross_compiling=$ac_cv_prog_cc_cross
10610 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
10612 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
10613 for ac_func in _isinff
10615 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10616 echo "configure
:10617: checking
for $ac_func" >&5
10617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10618 echo $ac_n "(cached
) $ac_c" 1>&6
10620 cat > conftest.$ac_ext <<EOF
10621 #line 10622 "configure
"
10622 #include "confdefs.h
"
10623 /* System header to define __stub macros and hopefully few prototypes,
10624 which can conflict with char $ac_func(); below. */
10625 #include <assert.h>
10626 /* Override any gcc2 internal prototype to avoid an error. */
10627 /* We use char because int might match the return type of a gcc2
10628 builtin and then its argument prototype would still apply. */
10633 /* The GNU C library defines this for functions which it implements
10634 to always fail with ENOSYS. Some functions are actually named
10635 something starting with __ and the normal name is an alias. */
10636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10644 if { (eval echo configure:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10646 eval "ac_cv_func_
$ac_func=yes"
10648 echo "configure
: failed program was
:" >&5
10649 cat conftest.$ac_ext >&5
10651 eval "ac_cv_func_
$ac_func=no
"
10656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10657 echo "$ac_t""yes" 1>&6
10658 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10659 cat >> confdefs.h <<EOF
10660 #define $ac_tr_func 1
10664 echo "$ac_t""no
" 1>&6
10673 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
10674 echo "configure
:10675: checking
for atan2f declaration
" >&5
10675 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
10676 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
10677 echo $ac_n "(cached
) $ac_c" 1>&6
10682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10683 ac_cpp='$CXXCPP $CPPFLAGS'
10684 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10685 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10686 cross_compiling=$ac_cv_prog_cxx_cross
10688 cat > conftest.$ac_ext <<EOF
10689 #line 10690 "configure
"
10690 #include "confdefs.h
"
10696 if { (eval echo configure:10697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10698 glibcpp_cv_func_atan2f_use=yes
10700 echo "configure
: failed program was
:" >&5
10701 cat conftest.$ac_ext >&5
10703 glibcpp_cv_func_atan2f_use=no
10707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10708 ac_cpp='$CPP $CPPFLAGS'
10709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10711 cross_compiling=$ac_cv_prog_cc_cross
10717 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
10719 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
10720 for ac_func in atan2f
10722 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10723 echo "configure
:10724: checking
for $ac_func" >&5
10724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10725 echo $ac_n "(cached
) $ac_c" 1>&6
10727 cat > conftest.$ac_ext <<EOF
10728 #line 10729 "configure
"
10729 #include "confdefs.h
"
10730 /* System header to define __stub macros and hopefully few prototypes,
10731 which can conflict with char $ac_func(); below. */
10732 #include <assert.h>
10733 /* Override any gcc2 internal prototype to avoid an error. */
10734 /* We use char because int might match the return type of a gcc2
10735 builtin and then its argument prototype would still apply. */
10740 /* The GNU C library defines this for functions which it implements
10741 to always fail with ENOSYS. Some functions are actually named
10742 something starting with __ and the normal name is an alias. */
10743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10751 if { (eval echo configure:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10753 eval "ac_cv_func_
$ac_func=yes"
10755 echo "configure
: failed program was
:" >&5
10756 cat conftest.$ac_ext >&5
10758 eval "ac_cv_func_
$ac_func=no
"
10763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10764 echo "$ac_t""yes" 1>&6
10765 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10766 cat >> confdefs.h <<EOF
10767 #define $ac_tr_func 1
10771 echo "$ac_t""no
" 1>&6
10777 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
10778 echo "configure
:10779: checking
for _atan2f declaration
" >&5
10779 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
10780 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
10781 echo $ac_n "(cached
) $ac_c" 1>&6
10786 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10787 ac_cpp='$CXXCPP $CPPFLAGS'
10788 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10789 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10790 cross_compiling=$ac_cv_prog_cxx_cross
10792 cat > conftest.$ac_ext <<EOF
10793 #line 10794 "configure
"
10794 #include "confdefs.h
"
10800 if { (eval echo configure:10801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10802 glibcpp_cv_func__atan2f_use=yes
10804 echo "configure
: failed program was
:" >&5
10805 cat conftest.$ac_ext >&5
10807 glibcpp_cv_func__atan2f_use=no
10811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10812 ac_cpp='$CPP $CPPFLAGS'
10813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10815 cross_compiling=$ac_cv_prog_cc_cross
10821 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
10823 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
10824 for ac_func in _atan2f
10826 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10827 echo "configure
:10828: checking
for $ac_func" >&5
10828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10829 echo $ac_n "(cached
) $ac_c" 1>&6
10831 cat > conftest.$ac_ext <<EOF
10832 #line 10833 "configure
"
10833 #include "confdefs.h
"
10834 /* System header to define __stub macros and hopefully few prototypes,
10835 which can conflict with char $ac_func(); below. */
10836 #include <assert.h>
10837 /* Override any gcc2 internal prototype to avoid an error. */
10838 /* We use char because int might match the return type of a gcc2
10839 builtin and then its argument prototype would still apply. */
10844 /* The GNU C library defines this for functions which it implements
10845 to always fail with ENOSYS. Some functions are actually named
10846 something starting with __ and the normal name is an alias. */
10847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10855 if { (eval echo configure:10856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10857 eval "ac_cv_func_
$ac_func=yes"
10859 echo "configure
: failed program was
:" >&5
10860 cat conftest.$ac_ext >&5
10862 eval "ac_cv_func_
$ac_func=no
"
10867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10868 echo "$ac_t""yes" 1>&6
10869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10870 cat >> confdefs.h <<EOF
10871 #define $ac_tr_func 1
10875 echo "$ac_t""no
" 1>&6
10884 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
10885 echo "configure
:10886: checking
for fabsf declaration
" >&5
10886 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
10887 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
10888 echo $ac_n "(cached
) $ac_c" 1>&6
10893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10894 ac_cpp='$CXXCPP $CPPFLAGS'
10895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10897 cross_compiling=$ac_cv_prog_cxx_cross
10899 cat > conftest.$ac_ext <<EOF
10900 #line 10901 "configure
"
10901 #include "confdefs.h
"
10903 #ifdef HAVE_IEEEFP_H
10904 #include <ieeefp.h>
10911 if { (eval echo configure:10912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10913 glibcpp_cv_func_fabsf_use=yes
10915 echo "configure
: failed program was
:" >&5
10916 cat conftest.$ac_ext >&5
10918 glibcpp_cv_func_fabsf_use=no
10922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10923 ac_cpp='$CPP $CPPFLAGS'
10924 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10925 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10926 cross_compiling=$ac_cv_prog_cc_cross
10932 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
10934 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
10935 for ac_func in fabsf
10937 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10938 echo "configure
:10939: checking
for $ac_func" >&5
10939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10940 echo $ac_n "(cached
) $ac_c" 1>&6
10942 cat > conftest.$ac_ext <<EOF
10943 #line 10944 "configure
"
10944 #include "confdefs.h
"
10945 /* System header to define __stub macros and hopefully few prototypes,
10946 which can conflict with char $ac_func(); below. */
10947 #include <assert.h>
10948 /* Override any gcc2 internal prototype to avoid an error. */
10949 /* We use char because int might match the return type of a gcc2
10950 builtin and then its argument prototype would still apply. */
10955 /* The GNU C library defines this for functions which it implements
10956 to always fail with ENOSYS. Some functions are actually named
10957 something starting with __ and the normal name is an alias. */
10958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10966 if { (eval echo configure:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10968 eval "ac_cv_func_
$ac_func=yes"
10970 echo "configure
: failed program was
:" >&5
10971 cat conftest.$ac_ext >&5
10973 eval "ac_cv_func_
$ac_func=no
"
10978 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10979 echo "$ac_t""yes" 1>&6
10980 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10981 cat >> confdefs.h <<EOF
10982 #define $ac_tr_func 1
10986 echo "$ac_t""no
" 1>&6
10992 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
10993 echo "configure
:10994: checking
for _fabsf declaration
" >&5
10994 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
10995 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
10996 echo $ac_n "(cached
) $ac_c" 1>&6
11001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11002 ac_cpp='$CXXCPP $CPPFLAGS'
11003 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11004 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11005 cross_compiling=$ac_cv_prog_cxx_cross
11007 cat > conftest.$ac_ext <<EOF
11008 #line 11009 "configure
"
11009 #include "confdefs.h
"
11011 #ifdef HAVE_IEEEFP_H
11012 #include <ieeefp.h>
11019 if { (eval echo configure:11020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11021 glibcpp_cv_func__fabsf_use=yes
11023 echo "configure
: failed program was
:" >&5
11024 cat conftest.$ac_ext >&5
11026 glibcpp_cv_func__fabsf_use=no
11030 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11031 ac_cpp='$CPP $CPPFLAGS'
11032 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11033 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11034 cross_compiling=$ac_cv_prog_cc_cross
11040 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
11042 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
11043 for ac_func in _fabsf
11045 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11046 echo "configure
:11047: checking
for $ac_func" >&5
11047 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11048 echo $ac_n "(cached
) $ac_c" 1>&6
11050 cat > conftest.$ac_ext <<EOF
11051 #line 11052 "configure
"
11052 #include "confdefs.h
"
11053 /* System header to define __stub macros and hopefully few prototypes,
11054 which can conflict with char $ac_func(); below. */
11055 #include <assert.h>
11056 /* Override any gcc2 internal prototype to avoid an error. */
11057 /* We use char because int might match the return type of a gcc2
11058 builtin and then its argument prototype would still apply. */
11063 /* The GNU C library defines this for functions which it implements
11064 to always fail with ENOSYS. Some functions are actually named
11065 something starting with __ and the normal name is an alias. */
11066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11074 if { (eval echo configure:11075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11076 eval "ac_cv_func_
$ac_func=yes"
11078 echo "configure
: failed program was
:" >&5
11079 cat conftest.$ac_ext >&5
11081 eval "ac_cv_func_
$ac_func=no
"
11086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11087 echo "$ac_t""yes" 1>&6
11088 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11089 cat >> confdefs.h <<EOF
11090 #define $ac_tr_func 1
11094 echo "$ac_t""no
" 1>&6
11103 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
11104 echo "configure
:11105: checking
for fmodf declaration
" >&5
11105 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
11106 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
11107 echo $ac_n "(cached
) $ac_c" 1>&6
11112 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11113 ac_cpp='$CXXCPP $CPPFLAGS'
11114 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11115 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11116 cross_compiling=$ac_cv_prog_cxx_cross
11118 cat > conftest.$ac_ext <<EOF
11119 #line 11120 "configure
"
11120 #include "confdefs.h
"
11126 if { (eval echo configure:11127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11128 glibcpp_cv_func_fmodf_use=yes
11130 echo "configure
: failed program was
:" >&5
11131 cat conftest.$ac_ext >&5
11133 glibcpp_cv_func_fmodf_use=no
11137 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11138 ac_cpp='$CPP $CPPFLAGS'
11139 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11140 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11141 cross_compiling=$ac_cv_prog_cc_cross
11147 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
11149 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
11150 for ac_func in fmodf
11152 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11153 echo "configure
:11154: checking
for $ac_func" >&5
11154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11155 echo $ac_n "(cached
) $ac_c" 1>&6
11157 cat > conftest.$ac_ext <<EOF
11158 #line 11159 "configure
"
11159 #include "confdefs.h
"
11160 /* System header to define __stub macros and hopefully few prototypes,
11161 which can conflict with char $ac_func(); below. */
11162 #include <assert.h>
11163 /* Override any gcc2 internal prototype to avoid an error. */
11164 /* We use char because int might match the return type of a gcc2
11165 builtin and then its argument prototype would still apply. */
11170 /* The GNU C library defines this for functions which it implements
11171 to always fail with ENOSYS. Some functions are actually named
11172 something starting with __ and the normal name is an alias. */
11173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11181 if { (eval echo configure:11182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11183 eval "ac_cv_func_
$ac_func=yes"
11185 echo "configure
: failed program was
:" >&5
11186 cat conftest.$ac_ext >&5
11188 eval "ac_cv_func_
$ac_func=no
"
11193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11194 echo "$ac_t""yes" 1>&6
11195 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11196 cat >> confdefs.h <<EOF
11197 #define $ac_tr_func 1
11201 echo "$ac_t""no
" 1>&6
11207 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
11208 echo "configure
:11209: checking
for _fmodf declaration
" >&5
11209 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
11210 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
11211 echo $ac_n "(cached
) $ac_c" 1>&6
11216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11217 ac_cpp='$CXXCPP $CPPFLAGS'
11218 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11219 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11220 cross_compiling=$ac_cv_prog_cxx_cross
11222 cat > conftest.$ac_ext <<EOF
11223 #line 11224 "configure
"
11224 #include "confdefs.h
"
11230 if { (eval echo configure:11231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11232 glibcpp_cv_func__fmodf_use=yes
11234 echo "configure
: failed program was
:" >&5
11235 cat conftest.$ac_ext >&5
11237 glibcpp_cv_func__fmodf_use=no
11241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11242 ac_cpp='$CPP $CPPFLAGS'
11243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11245 cross_compiling=$ac_cv_prog_cc_cross
11251 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
11253 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
11254 for ac_func in _fmodf
11256 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11257 echo "configure
:11258: checking
for $ac_func" >&5
11258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11259 echo $ac_n "(cached
) $ac_c" 1>&6
11261 cat > conftest.$ac_ext <<EOF
11262 #line 11263 "configure
"
11263 #include "confdefs.h
"
11264 /* System header to define __stub macros and hopefully few prototypes,
11265 which can conflict with char $ac_func(); below. */
11266 #include <assert.h>
11267 /* Override any gcc2 internal prototype to avoid an error. */
11268 /* We use char because int might match the return type of a gcc2
11269 builtin and then its argument prototype would still apply. */
11274 /* The GNU C library defines this for functions which it implements
11275 to always fail with ENOSYS. Some functions are actually named
11276 something starting with __ and the normal name is an alias. */
11277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11285 if { (eval echo configure:11286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11287 eval "ac_cv_func_
$ac_func=yes"
11289 echo "configure
: failed program was
:" >&5
11290 cat conftest.$ac_ext >&5
11292 eval "ac_cv_func_
$ac_func=no
"
11297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11298 echo "$ac_t""yes" 1>&6
11299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11300 cat >> confdefs.h <<EOF
11301 #define $ac_tr_func 1
11305 echo "$ac_t""no
" 1>&6
11314 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
11315 echo "configure
:11316: checking
for frexpf declaration
" >&5
11316 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
11317 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
11318 echo $ac_n "(cached
) $ac_c" 1>&6
11323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11324 ac_cpp='$CXXCPP $CPPFLAGS'
11325 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11326 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11327 cross_compiling=$ac_cv_prog_cxx_cross
11329 cat > conftest.$ac_ext <<EOF
11330 #line 11331 "configure
"
11331 #include "confdefs.h
"
11337 if { (eval echo configure:11338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11339 glibcpp_cv_func_frexpf_use=yes
11341 echo "configure
: failed program was
:" >&5
11342 cat conftest.$ac_ext >&5
11344 glibcpp_cv_func_frexpf_use=no
11348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11349 ac_cpp='$CPP $CPPFLAGS'
11350 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11351 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11352 cross_compiling=$ac_cv_prog_cc_cross
11358 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
11360 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
11361 for ac_func in frexpf
11363 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11364 echo "configure
:11365: checking
for $ac_func" >&5
11365 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11366 echo $ac_n "(cached
) $ac_c" 1>&6
11368 cat > conftest.$ac_ext <<EOF
11369 #line 11370 "configure
"
11370 #include "confdefs.h
"
11371 /* System header to define __stub macros and hopefully few prototypes,
11372 which can conflict with char $ac_func(); below. */
11373 #include <assert.h>
11374 /* Override any gcc2 internal prototype to avoid an error. */
11375 /* We use char because int might match the return type of a gcc2
11376 builtin and then its argument prototype would still apply. */
11381 /* The GNU C library defines this for functions which it implements
11382 to always fail with ENOSYS. Some functions are actually named
11383 something starting with __ and the normal name is an alias. */
11384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11392 if { (eval echo configure:11393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11394 eval "ac_cv_func_
$ac_func=yes"
11396 echo "configure
: failed program was
:" >&5
11397 cat conftest.$ac_ext >&5
11399 eval "ac_cv_func_
$ac_func=no
"
11404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11405 echo "$ac_t""yes" 1>&6
11406 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11407 cat >> confdefs.h <<EOF
11408 #define $ac_tr_func 1
11412 echo "$ac_t""no
" 1>&6
11418 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
11419 echo "configure
:11420: checking
for _frexpf declaration
" >&5
11420 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
11421 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
11422 echo $ac_n "(cached
) $ac_c" 1>&6
11427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11428 ac_cpp='$CXXCPP $CPPFLAGS'
11429 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11430 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11431 cross_compiling=$ac_cv_prog_cxx_cross
11433 cat > conftest.$ac_ext <<EOF
11434 #line 11435 "configure
"
11435 #include "confdefs.h
"
11441 if { (eval echo configure:11442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11443 glibcpp_cv_func__frexpf_use=yes
11445 echo "configure
: failed program was
:" >&5
11446 cat conftest.$ac_ext >&5
11448 glibcpp_cv_func__frexpf_use=no
11452 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11453 ac_cpp='$CPP $CPPFLAGS'
11454 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11455 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11456 cross_compiling=$ac_cv_prog_cc_cross
11462 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
11464 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
11465 for ac_func in _frexpf
11467 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11468 echo "configure
:11469: checking
for $ac_func" >&5
11469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11470 echo $ac_n "(cached
) $ac_c" 1>&6
11472 cat > conftest.$ac_ext <<EOF
11473 #line 11474 "configure
"
11474 #include "confdefs.h
"
11475 /* System header to define __stub macros and hopefully few prototypes,
11476 which can conflict with char $ac_func(); below. */
11477 #include <assert.h>
11478 /* Override any gcc2 internal prototype to avoid an error. */
11479 /* We use char because int might match the return type of a gcc2
11480 builtin and then its argument prototype would still apply. */
11485 /* The GNU C library defines this for functions which it implements
11486 to always fail with ENOSYS. Some functions are actually named
11487 something starting with __ and the normal name is an alias. */
11488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11496 if { (eval echo configure:11497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11498 eval "ac_cv_func_
$ac_func=yes"
11500 echo "configure
: failed program was
:" >&5
11501 cat conftest.$ac_ext >&5
11503 eval "ac_cv_func_
$ac_func=no
"
11508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11509 echo "$ac_t""yes" 1>&6
11510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11511 cat >> confdefs.h <<EOF
11512 #define $ac_tr_func 1
11516 echo "$ac_t""no
" 1>&6
11525 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
11526 echo "configure
:11527: checking
for hypotf declaration
" >&5
11527 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
11528 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
11529 echo $ac_n "(cached
) $ac_c" 1>&6
11534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11535 ac_cpp='$CXXCPP $CPPFLAGS'
11536 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11537 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11538 cross_compiling=$ac_cv_prog_cxx_cross
11540 cat > conftest.$ac_ext <<EOF
11541 #line 11542 "configure
"
11542 #include "confdefs.h
"
11548 if { (eval echo configure:11549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11550 glibcpp_cv_func_hypotf_use=yes
11552 echo "configure
: failed program was
:" >&5
11553 cat conftest.$ac_ext >&5
11555 glibcpp_cv_func_hypotf_use=no
11559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11560 ac_cpp='$CPP $CPPFLAGS'
11561 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11562 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11563 cross_compiling=$ac_cv_prog_cc_cross
11569 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
11571 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
11572 for ac_func in hypotf
11574 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11575 echo "configure
:11576: checking
for $ac_func" >&5
11576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11577 echo $ac_n "(cached
) $ac_c" 1>&6
11579 cat > conftest.$ac_ext <<EOF
11580 #line 11581 "configure
"
11581 #include "confdefs.h
"
11582 /* System header to define __stub macros and hopefully few prototypes,
11583 which can conflict with char $ac_func(); below. */
11584 #include <assert.h>
11585 /* Override any gcc2 internal prototype to avoid an error. */
11586 /* We use char because int might match the return type of a gcc2
11587 builtin and then its argument prototype would still apply. */
11592 /* The GNU C library defines this for functions which it implements
11593 to always fail with ENOSYS. Some functions are actually named
11594 something starting with __ and the normal name is an alias. */
11595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11603 if { (eval echo configure:11604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11605 eval "ac_cv_func_
$ac_func=yes"
11607 echo "configure
: failed program was
:" >&5
11608 cat conftest.$ac_ext >&5
11610 eval "ac_cv_func_
$ac_func=no
"
11615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11616 echo "$ac_t""yes" 1>&6
11617 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11618 cat >> confdefs.h <<EOF
11619 #define $ac_tr_func 1
11623 echo "$ac_t""no
" 1>&6
11629 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
11630 echo "configure
:11631: checking
for _hypotf declaration
" >&5
11631 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
11632 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
11633 echo $ac_n "(cached
) $ac_c" 1>&6
11638 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11639 ac_cpp='$CXXCPP $CPPFLAGS'
11640 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11641 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11642 cross_compiling=$ac_cv_prog_cxx_cross
11644 cat > conftest.$ac_ext <<EOF
11645 #line 11646 "configure
"
11646 #include "confdefs.h
"
11652 if { (eval echo configure:11653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11654 glibcpp_cv_func__hypotf_use=yes
11656 echo "configure
: failed program was
:" >&5
11657 cat conftest.$ac_ext >&5
11659 glibcpp_cv_func__hypotf_use=no
11663 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11664 ac_cpp='$CPP $CPPFLAGS'
11665 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11666 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11667 cross_compiling=$ac_cv_prog_cc_cross
11673 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
11675 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
11676 for ac_func in _hypotf
11678 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11679 echo "configure
:11680: checking
for $ac_func" >&5
11680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11681 echo $ac_n "(cached
) $ac_c" 1>&6
11683 cat > conftest.$ac_ext <<EOF
11684 #line 11685 "configure
"
11685 #include "confdefs.h
"
11686 /* System header to define __stub macros and hopefully few prototypes,
11687 which can conflict with char $ac_func(); below. */
11688 #include <assert.h>
11689 /* Override any gcc2 internal prototype to avoid an error. */
11690 /* We use char because int might match the return type of a gcc2
11691 builtin and then its argument prototype would still apply. */
11696 /* The GNU C library defines this for functions which it implements
11697 to always fail with ENOSYS. Some functions are actually named
11698 something starting with __ and the normal name is an alias. */
11699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11707 if { (eval echo configure:11708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11709 eval "ac_cv_func_
$ac_func=yes"
11711 echo "configure
: failed program was
:" >&5
11712 cat conftest.$ac_ext >&5
11714 eval "ac_cv_func_
$ac_func=no
"
11719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11720 echo "$ac_t""yes" 1>&6
11721 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11722 cat >> confdefs.h <<EOF
11723 #define $ac_tr_func 1
11727 echo "$ac_t""no
" 1>&6
11736 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
11737 echo "configure
:11738: checking
for ldexpf declaration
" >&5
11738 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
11739 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
11740 echo $ac_n "(cached
) $ac_c" 1>&6
11745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11746 ac_cpp='$CXXCPP $CPPFLAGS'
11747 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11748 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11749 cross_compiling=$ac_cv_prog_cxx_cross
11751 cat > conftest.$ac_ext <<EOF
11752 #line 11753 "configure
"
11753 #include "confdefs.h
"
11759 if { (eval echo configure:11760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11761 glibcpp_cv_func_ldexpf_use=yes
11763 echo "configure
: failed program was
:" >&5
11764 cat conftest.$ac_ext >&5
11766 glibcpp_cv_func_ldexpf_use=no
11770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11771 ac_cpp='$CPP $CPPFLAGS'
11772 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11773 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11774 cross_compiling=$ac_cv_prog_cc_cross
11780 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
11782 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
11783 for ac_func in ldexpf
11785 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11786 echo "configure
:11787: checking
for $ac_func" >&5
11787 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11788 echo $ac_n "(cached
) $ac_c" 1>&6
11790 cat > conftest.$ac_ext <<EOF
11791 #line 11792 "configure
"
11792 #include "confdefs.h
"
11793 /* System header to define __stub macros and hopefully few prototypes,
11794 which can conflict with char $ac_func(); below. */
11795 #include <assert.h>
11796 /* Override any gcc2 internal prototype to avoid an error. */
11797 /* We use char because int might match the return type of a gcc2
11798 builtin and then its argument prototype would still apply. */
11803 /* The GNU C library defines this for functions which it implements
11804 to always fail with ENOSYS. Some functions are actually named
11805 something starting with __ and the normal name is an alias. */
11806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11814 if { (eval echo configure:11815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11816 eval "ac_cv_func_
$ac_func=yes"
11818 echo "configure
: failed program was
:" >&5
11819 cat conftest.$ac_ext >&5
11821 eval "ac_cv_func_
$ac_func=no
"
11826 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11827 echo "$ac_t""yes" 1>&6
11828 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11829 cat >> confdefs.h <<EOF
11830 #define $ac_tr_func 1
11834 echo "$ac_t""no
" 1>&6
11840 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
11841 echo "configure
:11842: checking
for _ldexpf declaration
" >&5
11842 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
11843 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
11844 echo $ac_n "(cached
) $ac_c" 1>&6
11849 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11850 ac_cpp='$CXXCPP $CPPFLAGS'
11851 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11852 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11853 cross_compiling=$ac_cv_prog_cxx_cross
11855 cat > conftest.$ac_ext <<EOF
11856 #line 11857 "configure
"
11857 #include "confdefs.h
"
11863 if { (eval echo configure:11864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11865 glibcpp_cv_func__ldexpf_use=yes
11867 echo "configure
: failed program was
:" >&5
11868 cat conftest.$ac_ext >&5
11870 glibcpp_cv_func__ldexpf_use=no
11874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11875 ac_cpp='$CPP $CPPFLAGS'
11876 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11877 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11878 cross_compiling=$ac_cv_prog_cc_cross
11884 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
11886 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
11887 for ac_func in _ldexpf
11889 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11890 echo "configure
:11891: checking
for $ac_func" >&5
11891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11892 echo $ac_n "(cached
) $ac_c" 1>&6
11894 cat > conftest.$ac_ext <<EOF
11895 #line 11896 "configure
"
11896 #include "confdefs.h
"
11897 /* System header to define __stub macros and hopefully few prototypes,
11898 which can conflict with char $ac_func(); below. */
11899 #include <assert.h>
11900 /* Override any gcc2 internal prototype to avoid an error. */
11901 /* We use char because int might match the return type of a gcc2
11902 builtin and then its argument prototype would still apply. */
11907 /* The GNU C library defines this for functions which it implements
11908 to always fail with ENOSYS. Some functions are actually named
11909 something starting with __ and the normal name is an alias. */
11910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11918 if { (eval echo configure:11919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11920 eval "ac_cv_func_
$ac_func=yes"
11922 echo "configure
: failed program was
:" >&5
11923 cat conftest.$ac_ext >&5
11925 eval "ac_cv_func_
$ac_func=no
"
11930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11931 echo "$ac_t""yes" 1>&6
11932 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11933 cat >> confdefs.h <<EOF
11934 #define $ac_tr_func 1
11938 echo "$ac_t""no
" 1>&6
11947 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
11948 echo "configure
:11949: checking
for logf declaration
" >&5
11949 if test x${glibcpp_cv_func_logf_use+set} != xset; then
11950 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
11951 echo $ac_n "(cached
) $ac_c" 1>&6
11956 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11957 ac_cpp='$CXXCPP $CPPFLAGS'
11958 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11959 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11960 cross_compiling=$ac_cv_prog_cxx_cross
11962 cat > conftest.$ac_ext <<EOF
11963 #line 11964 "configure
"
11964 #include "confdefs.h
"
11966 #ifdef HAVE_IEEEFP_H
11967 #include <ieeefp.h>
11974 if { (eval echo configure:11975: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11976 glibcpp_cv_func_logf_use=yes
11978 echo "configure
: failed program was
:" >&5
11979 cat conftest.$ac_ext >&5
11981 glibcpp_cv_func_logf_use=no
11985 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11986 ac_cpp='$CPP $CPPFLAGS'
11987 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11988 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11989 cross_compiling=$ac_cv_prog_cc_cross
11995 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
11997 if test x$glibcpp_cv_func_logf_use = x"yes"; then
11998 for ac_func in logf
12000 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12001 echo "configure
:12002: checking
for $ac_func" >&5
12002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12003 echo $ac_n "(cached
) $ac_c" 1>&6
12005 cat > conftest.$ac_ext <<EOF
12006 #line 12007 "configure
"
12007 #include "confdefs.h
"
12008 /* System header to define __stub macros and hopefully few prototypes,
12009 which can conflict with char $ac_func(); below. */
12010 #include <assert.h>
12011 /* Override any gcc2 internal prototype to avoid an error. */
12012 /* We use char because int might match the return type of a gcc2
12013 builtin and then its argument prototype would still apply. */
12018 /* The GNU C library defines this for functions which it implements
12019 to always fail with ENOSYS. Some functions are actually named
12020 something starting with __ and the normal name is an alias. */
12021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12029 if { (eval echo configure:12030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12031 eval "ac_cv_func_
$ac_func=yes"
12033 echo "configure
: failed program was
:" >&5
12034 cat conftest.$ac_ext >&5
12036 eval "ac_cv_func_
$ac_func=no
"
12041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12042 echo "$ac_t""yes" 1>&6
12043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12044 cat >> confdefs.h <<EOF
12045 #define $ac_tr_func 1
12049 echo "$ac_t""no
" 1>&6
12055 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
12056 echo "configure
:12057: checking
for _logf declaration
" >&5
12057 if test x${glibcpp_cv_func__logf_use+set} != xset; then
12058 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
12059 echo $ac_n "(cached
) $ac_c" 1>&6
12064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12065 ac_cpp='$CXXCPP $CPPFLAGS'
12066 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12067 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12068 cross_compiling=$ac_cv_prog_cxx_cross
12070 cat > conftest.$ac_ext <<EOF
12071 #line 12072 "configure
"
12072 #include "confdefs.h
"
12074 #ifdef HAVE_IEEEFP_H
12075 #include <ieeefp.h>
12082 if { (eval echo configure:12083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12084 glibcpp_cv_func__logf_use=yes
12086 echo "configure
: failed program was
:" >&5
12087 cat conftest.$ac_ext >&5
12089 glibcpp_cv_func__logf_use=no
12093 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12094 ac_cpp='$CPP $CPPFLAGS'
12095 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12096 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12097 cross_compiling=$ac_cv_prog_cc_cross
12103 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
12105 if test x$glibcpp_cv_func__logf_use = x"yes"; then
12106 for ac_func in _logf
12108 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12109 echo "configure
:12110: checking
for $ac_func" >&5
12110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12111 echo $ac_n "(cached
) $ac_c" 1>&6
12113 cat > conftest.$ac_ext <<EOF
12114 #line 12115 "configure
"
12115 #include "confdefs.h
"
12116 /* System header to define __stub macros and hopefully few prototypes,
12117 which can conflict with char $ac_func(); below. */
12118 #include <assert.h>
12119 /* Override any gcc2 internal prototype to avoid an error. */
12120 /* We use char because int might match the return type of a gcc2
12121 builtin and then its argument prototype would still apply. */
12126 /* The GNU C library defines this for functions which it implements
12127 to always fail with ENOSYS. Some functions are actually named
12128 something starting with __ and the normal name is an alias. */
12129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12137 if { (eval echo configure:12138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12139 eval "ac_cv_func_
$ac_func=yes"
12141 echo "configure
: failed program was
:" >&5
12142 cat conftest.$ac_ext >&5
12144 eval "ac_cv_func_
$ac_func=no
"
12149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12150 echo "$ac_t""yes" 1>&6
12151 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12152 cat >> confdefs.h <<EOF
12153 #define $ac_tr_func 1
12157 echo "$ac_t""no
" 1>&6
12166 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
12167 echo "configure
:12168: checking
for log10f declaration
" >&5
12168 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
12169 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
12170 echo $ac_n "(cached
) $ac_c" 1>&6
12175 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12176 ac_cpp='$CXXCPP $CPPFLAGS'
12177 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12178 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12179 cross_compiling=$ac_cv_prog_cxx_cross
12181 cat > conftest.$ac_ext <<EOF
12182 #line 12183 "configure
"
12183 #include "confdefs.h
"
12185 #ifdef HAVE_IEEEFP_H
12186 #include <ieeefp.h>
12193 if { (eval echo configure:12194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12195 glibcpp_cv_func_log10f_use=yes
12197 echo "configure
: failed program was
:" >&5
12198 cat conftest.$ac_ext >&5
12200 glibcpp_cv_func_log10f_use=no
12204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12205 ac_cpp='$CPP $CPPFLAGS'
12206 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12207 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12208 cross_compiling=$ac_cv_prog_cc_cross
12214 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
12216 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
12217 for ac_func in log10f
12219 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12220 echo "configure
:12221: checking
for $ac_func" >&5
12221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12222 echo $ac_n "(cached
) $ac_c" 1>&6
12224 cat > conftest.$ac_ext <<EOF
12225 #line 12226 "configure
"
12226 #include "confdefs.h
"
12227 /* System header to define __stub macros and hopefully few prototypes,
12228 which can conflict with char $ac_func(); below. */
12229 #include <assert.h>
12230 /* Override any gcc2 internal prototype to avoid an error. */
12231 /* We use char because int might match the return type of a gcc2
12232 builtin and then its argument prototype would still apply. */
12237 /* The GNU C library defines this for functions which it implements
12238 to always fail with ENOSYS. Some functions are actually named
12239 something starting with __ and the normal name is an alias. */
12240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12248 if { (eval echo configure:12249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12250 eval "ac_cv_func_
$ac_func=yes"
12252 echo "configure
: failed program was
:" >&5
12253 cat conftest.$ac_ext >&5
12255 eval "ac_cv_func_
$ac_func=no
"
12260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12261 echo "$ac_t""yes" 1>&6
12262 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12263 cat >> confdefs.h <<EOF
12264 #define $ac_tr_func 1
12268 echo "$ac_t""no
" 1>&6
12274 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
12275 echo "configure
:12276: checking
for _log10f declaration
" >&5
12276 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
12277 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
12278 echo $ac_n "(cached
) $ac_c" 1>&6
12283 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12284 ac_cpp='$CXXCPP $CPPFLAGS'
12285 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12286 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12287 cross_compiling=$ac_cv_prog_cxx_cross
12289 cat > conftest.$ac_ext <<EOF
12290 #line 12291 "configure
"
12291 #include "confdefs.h
"
12293 #ifdef HAVE_IEEEFP_H
12294 #include <ieeefp.h>
12301 if { (eval echo configure:12302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12303 glibcpp_cv_func__log10f_use=yes
12305 echo "configure
: failed program was
:" >&5
12306 cat conftest.$ac_ext >&5
12308 glibcpp_cv_func__log10f_use=no
12312 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12313 ac_cpp='$CPP $CPPFLAGS'
12314 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12315 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12316 cross_compiling=$ac_cv_prog_cc_cross
12322 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
12324 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
12325 for ac_func in _log10f
12327 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12328 echo "configure
:12329: checking
for $ac_func" >&5
12329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12330 echo $ac_n "(cached
) $ac_c" 1>&6
12332 cat > conftest.$ac_ext <<EOF
12333 #line 12334 "configure
"
12334 #include "confdefs.h
"
12335 /* System header to define __stub macros and hopefully few prototypes,
12336 which can conflict with char $ac_func(); below. */
12337 #include <assert.h>
12338 /* Override any gcc2 internal prototype to avoid an error. */
12339 /* We use char because int might match the return type of a gcc2
12340 builtin and then its argument prototype would still apply. */
12345 /* The GNU C library defines this for functions which it implements
12346 to always fail with ENOSYS. Some functions are actually named
12347 something starting with __ and the normal name is an alias. */
12348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12356 if { (eval echo configure:12357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12358 eval "ac_cv_func_
$ac_func=yes"
12360 echo "configure
: failed program was
:" >&5
12361 cat conftest.$ac_ext >&5
12363 eval "ac_cv_func_
$ac_func=no
"
12368 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12369 echo "$ac_t""yes" 1>&6
12370 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12371 cat >> confdefs.h <<EOF
12372 #define $ac_tr_func 1
12376 echo "$ac_t""no
" 1>&6
12385 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
12386 echo "configure
:12387: checking
for modff declaration
" >&5
12387 if test x${glibcpp_cv_func_modff_use+set} != xset; then
12388 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
12389 echo $ac_n "(cached
) $ac_c" 1>&6
12394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12395 ac_cpp='$CXXCPP $CPPFLAGS'
12396 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12397 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12398 cross_compiling=$ac_cv_prog_cxx_cross
12400 cat > conftest.$ac_ext <<EOF
12401 #line 12402 "configure
"
12402 #include "confdefs.h
"
12408 if { (eval echo configure:12409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12410 glibcpp_cv_func_modff_use=yes
12412 echo "configure
: failed program was
:" >&5
12413 cat conftest.$ac_ext >&5
12415 glibcpp_cv_func_modff_use=no
12419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12420 ac_cpp='$CPP $CPPFLAGS'
12421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12423 cross_compiling=$ac_cv_prog_cc_cross
12429 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
12431 if test x$glibcpp_cv_func_modff_use = x"yes"; then
12432 for ac_func in modff
12434 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12435 echo "configure
:12436: checking
for $ac_func" >&5
12436 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12437 echo $ac_n "(cached
) $ac_c" 1>&6
12439 cat > conftest.$ac_ext <<EOF
12440 #line 12441 "configure
"
12441 #include "confdefs.h
"
12442 /* System header to define __stub macros and hopefully few prototypes,
12443 which can conflict with char $ac_func(); below. */
12444 #include <assert.h>
12445 /* Override any gcc2 internal prototype to avoid an error. */
12446 /* We use char because int might match the return type of a gcc2
12447 builtin and then its argument prototype would still apply. */
12452 /* The GNU C library defines this for functions which it implements
12453 to always fail with ENOSYS. Some functions are actually named
12454 something starting with __ and the normal name is an alias. */
12455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12463 if { (eval echo configure:12464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12465 eval "ac_cv_func_
$ac_func=yes"
12467 echo "configure
: failed program was
:" >&5
12468 cat conftest.$ac_ext >&5
12470 eval "ac_cv_func_
$ac_func=no
"
12475 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12476 echo "$ac_t""yes" 1>&6
12477 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12478 cat >> confdefs.h <<EOF
12479 #define $ac_tr_func 1
12483 echo "$ac_t""no
" 1>&6
12489 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
12490 echo "configure
:12491: checking
for _modff declaration
" >&5
12491 if test x${glibcpp_cv_func__modff_use+set} != xset; then
12492 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
12493 echo $ac_n "(cached
) $ac_c" 1>&6
12498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12499 ac_cpp='$CXXCPP $CPPFLAGS'
12500 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12501 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12502 cross_compiling=$ac_cv_prog_cxx_cross
12504 cat > conftest.$ac_ext <<EOF
12505 #line 12506 "configure
"
12506 #include "confdefs.h
"
12512 if { (eval echo configure:12513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12514 glibcpp_cv_func__modff_use=yes
12516 echo "configure
: failed program was
:" >&5
12517 cat conftest.$ac_ext >&5
12519 glibcpp_cv_func__modff_use=no
12523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12524 ac_cpp='$CPP $CPPFLAGS'
12525 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12526 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12527 cross_compiling=$ac_cv_prog_cc_cross
12533 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
12535 if test x$glibcpp_cv_func__modff_use = x"yes"; then
12536 for ac_func in _modff
12538 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12539 echo "configure
:12540: checking
for $ac_func" >&5
12540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12541 echo $ac_n "(cached
) $ac_c" 1>&6
12543 cat > conftest.$ac_ext <<EOF
12544 #line 12545 "configure
"
12545 #include "confdefs.h
"
12546 /* System header to define __stub macros and hopefully few prototypes,
12547 which can conflict with char $ac_func(); below. */
12548 #include <assert.h>
12549 /* Override any gcc2 internal prototype to avoid an error. */
12550 /* We use char because int might match the return type of a gcc2
12551 builtin and then its argument prototype would still apply. */
12556 /* The GNU C library defines this for functions which it implements
12557 to always fail with ENOSYS. Some functions are actually named
12558 something starting with __ and the normal name is an alias. */
12559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12567 if { (eval echo configure:12568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12569 eval "ac_cv_func_
$ac_func=yes"
12571 echo "configure
: failed program was
:" >&5
12572 cat conftest.$ac_ext >&5
12574 eval "ac_cv_func_
$ac_func=no
"
12579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12580 echo "$ac_t""yes" 1>&6
12581 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12582 cat >> confdefs.h <<EOF
12583 #define $ac_tr_func 1
12587 echo "$ac_t""no
" 1>&6
12596 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
12597 echo "configure
:12598: checking
for powf declaration
" >&5
12598 if test x${glibcpp_cv_func_powf_use+set} != xset; then
12599 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
12600 echo $ac_n "(cached
) $ac_c" 1>&6
12605 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12606 ac_cpp='$CXXCPP $CPPFLAGS'
12607 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12608 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12609 cross_compiling=$ac_cv_prog_cxx_cross
12611 cat > conftest.$ac_ext <<EOF
12612 #line 12613 "configure
"
12613 #include "confdefs.h
"
12619 if { (eval echo configure:12620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12621 glibcpp_cv_func_powf_use=yes
12623 echo "configure
: failed program was
:" >&5
12624 cat conftest.$ac_ext >&5
12626 glibcpp_cv_func_powf_use=no
12630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12631 ac_cpp='$CPP $CPPFLAGS'
12632 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12633 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12634 cross_compiling=$ac_cv_prog_cc_cross
12640 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
12642 if test x$glibcpp_cv_func_powf_use = x"yes"; then
12643 for ac_func in powf
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
12700 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
12701 echo "configure
:12702: checking
for _powf declaration
" >&5
12702 if test x${glibcpp_cv_func__powf_use+set} != xset; then
12703 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
12704 echo $ac_n "(cached
) $ac_c" 1>&6
12709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12710 ac_cpp='$CXXCPP $CPPFLAGS'
12711 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12712 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12713 cross_compiling=$ac_cv_prog_cxx_cross
12715 cat > conftest.$ac_ext <<EOF
12716 #line 12717 "configure
"
12717 #include "confdefs.h
"
12723 if { (eval echo configure:12724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12725 glibcpp_cv_func__powf_use=yes
12727 echo "configure
: failed program was
:" >&5
12728 cat conftest.$ac_ext >&5
12730 glibcpp_cv_func__powf_use=no
12734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12735 ac_cpp='$CPP $CPPFLAGS'
12736 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12737 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12738 cross_compiling=$ac_cv_prog_cc_cross
12744 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
12746 if test x$glibcpp_cv_func__powf_use = x"yes"; then
12747 for ac_func in _powf
12749 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12750 echo "configure
:12751: checking
for $ac_func" >&5
12751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12752 echo $ac_n "(cached
) $ac_c" 1>&6
12754 cat > conftest.$ac_ext <<EOF
12755 #line 12756 "configure
"
12756 #include "confdefs.h
"
12757 /* System header to define __stub macros and hopefully few prototypes,
12758 which can conflict with char $ac_func(); below. */
12759 #include <assert.h>
12760 /* Override any gcc2 internal prototype to avoid an error. */
12761 /* We use char because int might match the return type of a gcc2
12762 builtin and then its argument prototype would still apply. */
12767 /* The GNU C library defines this for functions which it implements
12768 to always fail with ENOSYS. Some functions are actually named
12769 something starting with __ and the normal name is an alias. */
12770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12778 if { (eval echo configure:12779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12780 eval "ac_cv_func_
$ac_func=yes"
12782 echo "configure
: failed program was
:" >&5
12783 cat conftest.$ac_ext >&5
12785 eval "ac_cv_func_
$ac_func=no
"
12790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12791 echo "$ac_t""yes" 1>&6
12792 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12793 cat >> confdefs.h <<EOF
12794 #define $ac_tr_func 1
12798 echo "$ac_t""no
" 1>&6
12807 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
12808 echo "configure
:12809: checking
for sqrtf declaration
" >&5
12809 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
12810 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
12811 echo $ac_n "(cached
) $ac_c" 1>&6
12816 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12817 ac_cpp='$CXXCPP $CPPFLAGS'
12818 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12819 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12820 cross_compiling=$ac_cv_prog_cxx_cross
12822 cat > conftest.$ac_ext <<EOF
12823 #line 12824 "configure
"
12824 #include "confdefs.h
"
12826 #ifdef HAVE_IEEEFP_H
12827 #include <ieeefp.h>
12834 if { (eval echo configure:12835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12836 glibcpp_cv_func_sqrtf_use=yes
12838 echo "configure
: failed program was
:" >&5
12839 cat conftest.$ac_ext >&5
12841 glibcpp_cv_func_sqrtf_use=no
12845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12846 ac_cpp='$CPP $CPPFLAGS'
12847 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12848 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12849 cross_compiling=$ac_cv_prog_cc_cross
12855 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
12857 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
12858 for ac_func in sqrtf
12860 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12861 echo "configure
:12862: checking
for $ac_func" >&5
12862 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12863 echo $ac_n "(cached
) $ac_c" 1>&6
12865 cat > conftest.$ac_ext <<EOF
12866 #line 12867 "configure
"
12867 #include "confdefs.h
"
12868 /* System header to define __stub macros and hopefully few prototypes,
12869 which can conflict with char $ac_func(); below. */
12870 #include <assert.h>
12871 /* Override any gcc2 internal prototype to avoid an error. */
12872 /* We use char because int might match the return type of a gcc2
12873 builtin and then its argument prototype would still apply. */
12878 /* The GNU C library defines this for functions which it implements
12879 to always fail with ENOSYS. Some functions are actually named
12880 something starting with __ and the normal name is an alias. */
12881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12889 if { (eval echo configure:12890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12891 eval "ac_cv_func_
$ac_func=yes"
12893 echo "configure
: failed program was
:" >&5
12894 cat conftest.$ac_ext >&5
12896 eval "ac_cv_func_
$ac_func=no
"
12901 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12902 echo "$ac_t""yes" 1>&6
12903 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12904 cat >> confdefs.h <<EOF
12905 #define $ac_tr_func 1
12909 echo "$ac_t""no
" 1>&6
12915 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
12916 echo "configure
:12917: checking
for _sqrtf declaration
" >&5
12917 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
12918 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
12919 echo $ac_n "(cached
) $ac_c" 1>&6
12924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12925 ac_cpp='$CXXCPP $CPPFLAGS'
12926 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12927 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12928 cross_compiling=$ac_cv_prog_cxx_cross
12930 cat > conftest.$ac_ext <<EOF
12931 #line 12932 "configure
"
12932 #include "confdefs.h
"
12934 #ifdef HAVE_IEEEFP_H
12935 #include <ieeefp.h>
12942 if { (eval echo configure:12943: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12944 glibcpp_cv_func__sqrtf_use=yes
12946 echo "configure
: failed program was
:" >&5
12947 cat conftest.$ac_ext >&5
12949 glibcpp_cv_func__sqrtf_use=no
12953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12954 ac_cpp='$CPP $CPPFLAGS'
12955 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12956 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12957 cross_compiling=$ac_cv_prog_cc_cross
12963 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
12965 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
12966 for ac_func in _sqrtf
12968 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12969 echo "configure
:12970: checking
for $ac_func" >&5
12970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12971 echo $ac_n "(cached
) $ac_c" 1>&6
12973 cat > conftest.$ac_ext <<EOF
12974 #line 12975 "configure
"
12975 #include "confdefs.h
"
12976 /* System header to define __stub macros and hopefully few prototypes,
12977 which can conflict with char $ac_func(); below. */
12978 #include <assert.h>
12979 /* Override any gcc2 internal prototype to avoid an error. */
12980 /* We use char because int might match the return type of a gcc2
12981 builtin and then its argument prototype would still apply. */
12986 /* The GNU C library defines this for functions which it implements
12987 to always fail with ENOSYS. Some functions are actually named
12988 something starting with __ and the normal name is an alias. */
12989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12997 if { (eval echo configure:12998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12999 eval "ac_cv_func_
$ac_func=yes"
13001 echo "configure
: failed program was
:" >&5
13002 cat conftest.$ac_ext >&5
13004 eval "ac_cv_func_
$ac_func=no
"
13009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13010 echo "$ac_t""yes" 1>&6
13011 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13012 cat >> confdefs.h <<EOF
13013 #define $ac_tr_func 1
13017 echo "$ac_t""no
" 1>&6
13026 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
13027 echo "configure
:13028: checking
for sincosf declaration
" >&5
13028 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
13029 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
13030 echo $ac_n "(cached
) $ac_c" 1>&6
13035 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13036 ac_cpp='$CXXCPP $CPPFLAGS'
13037 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13038 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13039 cross_compiling=$ac_cv_prog_cxx_cross
13041 cat > conftest.$ac_ext <<EOF
13042 #line 13043 "configure
"
13043 #include "confdefs.h
"
13049 if { (eval echo configure:13050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13051 glibcpp_cv_func_sincosf_use=yes
13053 echo "configure
: failed program was
:" >&5
13054 cat conftest.$ac_ext >&5
13056 glibcpp_cv_func_sincosf_use=no
13060 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13061 ac_cpp='$CPP $CPPFLAGS'
13062 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13063 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13064 cross_compiling=$ac_cv_prog_cc_cross
13070 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
13072 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
13073 for ac_func in sincosf
13075 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13076 echo "configure
:13077: checking
for $ac_func" >&5
13077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13078 echo $ac_n "(cached
) $ac_c" 1>&6
13080 cat > conftest.$ac_ext <<EOF
13081 #line 13082 "configure
"
13082 #include "confdefs.h
"
13083 /* System header to define __stub macros and hopefully few prototypes,
13084 which can conflict with char $ac_func(); below. */
13085 #include <assert.h>
13086 /* Override any gcc2 internal prototype to avoid an error. */
13087 /* We use char because int might match the return type of a gcc2
13088 builtin and then its argument prototype would still apply. */
13093 /* The GNU C library defines this for functions which it implements
13094 to always fail with ENOSYS. Some functions are actually named
13095 something starting with __ and the normal name is an alias. */
13096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13104 if { (eval echo configure:13105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13106 eval "ac_cv_func_
$ac_func=yes"
13108 echo "configure
: failed program was
:" >&5
13109 cat conftest.$ac_ext >&5
13111 eval "ac_cv_func_
$ac_func=no
"
13116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13117 echo "$ac_t""yes" 1>&6
13118 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13119 cat >> confdefs.h <<EOF
13120 #define $ac_tr_func 1
13124 echo "$ac_t""no
" 1>&6
13130 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
13131 echo "configure
:13132: checking
for _sincosf declaration
" >&5
13132 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
13133 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
13134 echo $ac_n "(cached
) $ac_c" 1>&6
13139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13140 ac_cpp='$CXXCPP $CPPFLAGS'
13141 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13142 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13143 cross_compiling=$ac_cv_prog_cxx_cross
13145 cat > conftest.$ac_ext <<EOF
13146 #line 13147 "configure
"
13147 #include "confdefs.h
"
13153 if { (eval echo configure:13154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13155 glibcpp_cv_func__sincosf_use=yes
13157 echo "configure
: failed program was
:" >&5
13158 cat conftest.$ac_ext >&5
13160 glibcpp_cv_func__sincosf_use=no
13164 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13165 ac_cpp='$CPP $CPPFLAGS'
13166 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13167 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13168 cross_compiling=$ac_cv_prog_cc_cross
13174 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
13176 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
13177 for ac_func in _sincosf
13179 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13180 echo "configure
:13181: checking
for $ac_func" >&5
13181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13182 echo $ac_n "(cached
) $ac_c" 1>&6
13184 cat > conftest.$ac_ext <<EOF
13185 #line 13186 "configure
"
13186 #include "confdefs.h
"
13187 /* System header to define __stub macros and hopefully few prototypes,
13188 which can conflict with char $ac_func(); below. */
13189 #include <assert.h>
13190 /* Override any gcc2 internal prototype to avoid an error. */
13191 /* We use char because int might match the return type of a gcc2
13192 builtin and then its argument prototype would still apply. */
13197 /* The GNU C library defines this for functions which it implements
13198 to always fail with ENOSYS. Some functions are actually named
13199 something starting with __ and the normal name is an alias. */
13200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13208 if { (eval echo configure:13209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13210 eval "ac_cv_func_
$ac_func=yes"
13212 echo "configure
: failed program was
:" >&5
13213 cat conftest.$ac_ext >&5
13215 eval "ac_cv_func_
$ac_func=no
"
13220 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13221 echo "$ac_t""yes" 1>&6
13222 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13223 cat >> confdefs.h <<EOF
13224 #define $ac_tr_func 1
13228 echo "$ac_t""no
" 1>&6
13237 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
13238 echo "configure
:13239: checking
for finitef declaration
" >&5
13239 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
13240 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
13241 echo $ac_n "(cached
) $ac_c" 1>&6
13246 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13247 ac_cpp='$CXXCPP $CPPFLAGS'
13248 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13249 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13250 cross_compiling=$ac_cv_prog_cxx_cross
13252 cat > conftest.$ac_ext <<EOF
13253 #line 13254 "configure
"
13254 #include "confdefs.h
"
13256 #ifdef HAVE_IEEEFP_H
13257 #include <ieeefp.h>
13264 if { (eval echo configure:13265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13266 glibcpp_cv_func_finitef_use=yes
13268 echo "configure
: failed program was
:" >&5
13269 cat conftest.$ac_ext >&5
13271 glibcpp_cv_func_finitef_use=no
13275 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13276 ac_cpp='$CPP $CPPFLAGS'
13277 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13278 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13279 cross_compiling=$ac_cv_prog_cc_cross
13285 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
13287 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
13288 for ac_func in finitef
13290 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13291 echo "configure
:13292: checking
for $ac_func" >&5
13292 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13293 echo $ac_n "(cached
) $ac_c" 1>&6
13295 cat > conftest.$ac_ext <<EOF
13296 #line 13297 "configure
"
13297 #include "confdefs.h
"
13298 /* System header to define __stub macros and hopefully few prototypes,
13299 which can conflict with char $ac_func(); below. */
13300 #include <assert.h>
13301 /* Override any gcc2 internal prototype to avoid an error. */
13302 /* We use char because int might match the return type of a gcc2
13303 builtin and then its argument prototype would still apply. */
13308 /* The GNU C library defines this for functions which it implements
13309 to always fail with ENOSYS. Some functions are actually named
13310 something starting with __ and the normal name is an alias. */
13311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13319 if { (eval echo configure:13320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13321 eval "ac_cv_func_
$ac_func=yes"
13323 echo "configure
: failed program was
:" >&5
13324 cat conftest.$ac_ext >&5
13326 eval "ac_cv_func_
$ac_func=no
"
13331 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13332 echo "$ac_t""yes" 1>&6
13333 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13334 cat >> confdefs.h <<EOF
13335 #define $ac_tr_func 1
13339 echo "$ac_t""no
" 1>&6
13345 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
13346 echo "configure
:13347: checking
for _finitef declaration
" >&5
13347 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
13348 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
13349 echo $ac_n "(cached
) $ac_c" 1>&6
13354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13355 ac_cpp='$CXXCPP $CPPFLAGS'
13356 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13357 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13358 cross_compiling=$ac_cv_prog_cxx_cross
13360 cat > conftest.$ac_ext <<EOF
13361 #line 13362 "configure
"
13362 #include "confdefs.h
"
13364 #ifdef HAVE_IEEEFP_H
13365 #include <ieeefp.h>
13372 if { (eval echo configure:13373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13374 glibcpp_cv_func__finitef_use=yes
13376 echo "configure
: failed program was
:" >&5
13377 cat conftest.$ac_ext >&5
13379 glibcpp_cv_func__finitef_use=no
13383 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13384 ac_cpp='$CPP $CPPFLAGS'
13385 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13386 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13387 cross_compiling=$ac_cv_prog_cc_cross
13393 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
13395 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
13396 for ac_func in _finitef
13398 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13399 echo "configure
:13400: checking
for $ac_func" >&5
13400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13401 echo $ac_n "(cached
) $ac_c" 1>&6
13403 cat > conftest.$ac_ext <<EOF
13404 #line 13405 "configure
"
13405 #include "confdefs.h
"
13406 /* System header to define __stub macros and hopefully few prototypes,
13407 which can conflict with char $ac_func(); below. */
13408 #include <assert.h>
13409 /* Override any gcc2 internal prototype to avoid an error. */
13410 /* We use char because int might match the return type of a gcc2
13411 builtin and then its argument prototype would still apply. */
13416 /* The GNU C library defines this for functions which it implements
13417 to always fail with ENOSYS. Some functions are actually named
13418 something starting with __ and the normal name is an alias. */
13419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13427 if { (eval echo configure:13428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13429 eval "ac_cv_func_
$ac_func=yes"
13431 echo "configure
: failed program was
:" >&5
13432 cat conftest.$ac_ext >&5
13434 eval "ac_cv_func_
$ac_func=no
"
13439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13440 echo "$ac_t""yes" 1>&6
13441 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13442 cat >> confdefs.h <<EOF
13443 #define $ac_tr_func 1
13447 echo "$ac_t""no
" 1>&6
13456 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
13457 echo "configure
:13458: checking
for long double trig functions
" >&5
13458 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_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
"
13475 `for x in acosl asinl atanl \
13477 coshl sinhl tanhl; do echo "$x (0);"; done`
13480 if { (eval echo configure:13481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13482 glibcpp_cv_func_long_double_trig_use=yes
13484 echo "configure
: failed program was
:" >&5
13485 cat conftest.$ac_ext >&5
13487 glibcpp_cv_func_long_double_trig_use=no
13491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13492 ac_cpp='$CPP $CPPFLAGS'
13493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13495 cross_compiling=$ac_cv_prog_cc_cross
13499 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
13500 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
13501 for ac_func in acosl asinl atanl \
13505 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13506 echo "configure
:13507: checking
for $ac_func" >&5
13507 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13508 echo $ac_n "(cached
) $ac_c" 1>&6
13510 cat > conftest.$ac_ext <<EOF
13511 #line 13512 "configure
"
13512 #include "confdefs.h
"
13513 /* System header to define __stub macros and hopefully few prototypes,
13514 which can conflict with char $ac_func(); below. */
13515 #include <assert.h>
13516 /* Override any gcc2 internal prototype to avoid an error. */
13517 /* We use char because int might match the return type of a gcc2
13518 builtin and then its argument prototype would still apply. */
13523 /* The GNU C library defines this for functions which it implements
13524 to always fail with ENOSYS. Some functions are actually named
13525 something starting with __ and the normal name is an alias. */
13526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13534 if { (eval echo configure:13535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13536 eval "ac_cv_func_
$ac_func=yes"
13538 echo "configure
: failed program was
:" >&5
13539 cat conftest.$ac_ext >&5
13541 eval "ac_cv_func_
$ac_func=no
"
13546 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13547 echo "$ac_t""yes" 1>&6
13548 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13549 cat >> confdefs.h <<EOF
13550 #define $ac_tr_func 1
13554 echo "$ac_t""no
" 1>&6
13561 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
13562 echo "configure
:13563: checking
for long double round functions
" >&5
13563 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
13564 echo $ac_n "(cached
) $ac_c" 1>&6
13569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13570 ac_cpp='$CXXCPP $CPPFLAGS'
13571 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13572 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13573 cross_compiling=$ac_cv_prog_cxx_cross
13575 cat > conftest.$ac_ext <<EOF
13576 #line 13577 "configure
"
13577 #include "confdefs.h
"
13580 `for x in ceill floorl; do echo "$x (0);"; done`
13583 if { (eval echo configure:13584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13585 glibcpp_cv_func_long_double_round_use=yes
13587 echo "configure
: failed program was
:" >&5
13588 cat conftest.$ac_ext >&5
13590 glibcpp_cv_func_long_double_round_use=no
13594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13595 ac_cpp='$CPP $CPPFLAGS'
13596 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13597 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13598 cross_compiling=$ac_cv_prog_cc_cross
13602 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
13603 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
13604 for ac_func in ceill floorl
13606 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13607 echo "configure
:13608: checking
for $ac_func" >&5
13608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13609 echo $ac_n "(cached
) $ac_c" 1>&6
13611 cat > conftest.$ac_ext <<EOF
13612 #line 13613 "configure
"
13613 #include "confdefs.h
"
13614 /* System header to define __stub macros and hopefully few prototypes,
13615 which can conflict with char $ac_func(); below. */
13616 #include <assert.h>
13617 /* Override any gcc2 internal prototype to avoid an error. */
13618 /* We use char because int might match the return type of a gcc2
13619 builtin and then its argument prototype would still apply. */
13624 /* The GNU C library defines this for functions which it implements
13625 to always fail with ENOSYS. Some functions are actually named
13626 something starting with __ and the normal name is an alias. */
13627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13635 if { (eval echo configure:13636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13637 eval "ac_cv_func_
$ac_func=yes"
13639 echo "configure
: failed program was
:" >&5
13640 cat conftest.$ac_ext >&5
13642 eval "ac_cv_func_
$ac_func=no
"
13647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13648 echo "$ac_t""yes" 1>&6
13649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13650 cat >> confdefs.h <<EOF
13651 #define $ac_tr_func 1
13655 echo "$ac_t""no
" 1>&6
13663 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
13664 echo "configure
:13665: checking
for isnanl declaration
" >&5
13665 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
13666 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
13667 echo $ac_n "(cached
) $ac_c" 1>&6
13672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13673 ac_cpp='$CXXCPP $CPPFLAGS'
13674 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13675 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13676 cross_compiling=$ac_cv_prog_cxx_cross
13678 cat > conftest.$ac_ext <<EOF
13679 #line 13680 "configure
"
13680 #include "confdefs.h
"
13682 #ifdef HAVE_IEEEFP_H
13683 #include <ieeefp.h>
13690 if { (eval echo configure:13691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13692 glibcpp_cv_func_isnanl_use=yes
13694 echo "configure
: failed program was
:" >&5
13695 cat conftest.$ac_ext >&5
13697 glibcpp_cv_func_isnanl_use=no
13701 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13702 ac_cpp='$CPP $CPPFLAGS'
13703 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13704 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13705 cross_compiling=$ac_cv_prog_cc_cross
13711 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
13713 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
13714 for ac_func in isnanl
13716 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13717 echo "configure
:13718: checking
for $ac_func" >&5
13718 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13719 echo $ac_n "(cached
) $ac_c" 1>&6
13721 cat > conftest.$ac_ext <<EOF
13722 #line 13723 "configure
"
13723 #include "confdefs.h
"
13724 /* System header to define __stub macros and hopefully few prototypes,
13725 which can conflict with char $ac_func(); below. */
13726 #include <assert.h>
13727 /* Override any gcc2 internal prototype to avoid an error. */
13728 /* We use char because int might match the return type of a gcc2
13729 builtin and then its argument prototype would still apply. */
13734 /* The GNU C library defines this for functions which it implements
13735 to always fail with ENOSYS. Some functions are actually named
13736 something starting with __ and the normal name is an alias. */
13737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13745 if { (eval echo configure:13746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13747 eval "ac_cv_func_
$ac_func=yes"
13749 echo "configure
: failed program was
:" >&5
13750 cat conftest.$ac_ext >&5
13752 eval "ac_cv_func_
$ac_func=no
"
13757 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13758 echo "$ac_t""yes" 1>&6
13759 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13760 cat >> confdefs.h <<EOF
13761 #define $ac_tr_func 1
13765 echo "$ac_t""no
" 1>&6
13771 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
13772 echo "configure
:13773: checking
for _isnanl declaration
" >&5
13773 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
13774 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
13775 echo $ac_n "(cached
) $ac_c" 1>&6
13780 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13781 ac_cpp='$CXXCPP $CPPFLAGS'
13782 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13783 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13784 cross_compiling=$ac_cv_prog_cxx_cross
13786 cat > conftest.$ac_ext <<EOF
13787 #line 13788 "configure
"
13788 #include "confdefs.h
"
13790 #ifdef HAVE_IEEEFP_H
13791 #include <ieeefp.h>
13798 if { (eval echo configure:13799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13800 glibcpp_cv_func__isnanl_use=yes
13802 echo "configure
: failed program was
:" >&5
13803 cat conftest.$ac_ext >&5
13805 glibcpp_cv_func__isnanl_use=no
13809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13810 ac_cpp='$CPP $CPPFLAGS'
13811 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13812 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13813 cross_compiling=$ac_cv_prog_cc_cross
13819 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
13821 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
13822 for ac_func in _isnanl
13824 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13825 echo "configure
:13826: checking
for $ac_func" >&5
13826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13827 echo $ac_n "(cached
) $ac_c" 1>&6
13829 cat > conftest.$ac_ext <<EOF
13830 #line 13831 "configure
"
13831 #include "confdefs.h
"
13832 /* System header to define __stub macros and hopefully few prototypes,
13833 which can conflict with char $ac_func(); below. */
13834 #include <assert.h>
13835 /* Override any gcc2 internal prototype to avoid an error. */
13836 /* We use char because int might match the return type of a gcc2
13837 builtin and then its argument prototype would still apply. */
13842 /* The GNU C library defines this for functions which it implements
13843 to always fail with ENOSYS. Some functions are actually named
13844 something starting with __ and the normal name is an alias. */
13845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13853 if { (eval echo configure:13854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13855 eval "ac_cv_func_
$ac_func=yes"
13857 echo "configure
: failed program was
:" >&5
13858 cat conftest.$ac_ext >&5
13860 eval "ac_cv_func_
$ac_func=no
"
13865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13866 echo "$ac_t""yes" 1>&6
13867 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13868 cat >> confdefs.h <<EOF
13869 #define $ac_tr_func 1
13873 echo "$ac_t""no
" 1>&6
13882 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
13883 echo "configure
:13884: checking
for isinfl declaration
" >&5
13884 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
13885 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
13886 echo $ac_n "(cached
) $ac_c" 1>&6
13891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13892 ac_cpp='$CXXCPP $CPPFLAGS'
13893 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13894 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13895 cross_compiling=$ac_cv_prog_cxx_cross
13897 cat > conftest.$ac_ext <<EOF
13898 #line 13899 "configure
"
13899 #include "confdefs.h
"
13901 #ifdef HAVE_IEEEFP_H
13902 #include <ieeefp.h>
13909 if { (eval echo configure:13910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13911 glibcpp_cv_func_isinfl_use=yes
13913 echo "configure
: failed program was
:" >&5
13914 cat conftest.$ac_ext >&5
13916 glibcpp_cv_func_isinfl_use=no
13920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13921 ac_cpp='$CPP $CPPFLAGS'
13922 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13923 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13924 cross_compiling=$ac_cv_prog_cc_cross
13930 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
13932 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
13933 for ac_func in isinfl
13935 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13936 echo "configure
:13937: checking
for $ac_func" >&5
13937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13938 echo $ac_n "(cached
) $ac_c" 1>&6
13940 cat > conftest.$ac_ext <<EOF
13941 #line 13942 "configure
"
13942 #include "confdefs.h
"
13943 /* System header to define __stub macros and hopefully few prototypes,
13944 which can conflict with char $ac_func(); below. */
13945 #include <assert.h>
13946 /* Override any gcc2 internal prototype to avoid an error. */
13947 /* We use char because int might match the return type of a gcc2
13948 builtin and then its argument prototype would still apply. */
13953 /* The GNU C library defines this for functions which it implements
13954 to always fail with ENOSYS. Some functions are actually named
13955 something starting with __ and the normal name is an alias. */
13956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13964 if { (eval echo configure:13965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13966 eval "ac_cv_func_
$ac_func=yes"
13968 echo "configure
: failed program was
:" >&5
13969 cat conftest.$ac_ext >&5
13971 eval "ac_cv_func_
$ac_func=no
"
13976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13977 echo "$ac_t""yes" 1>&6
13978 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13979 cat >> confdefs.h <<EOF
13980 #define $ac_tr_func 1
13984 echo "$ac_t""no
" 1>&6
13990 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
13991 echo "configure
:13992: checking
for _isinfl declaration
" >&5
13992 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
13993 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
13994 echo $ac_n "(cached
) $ac_c" 1>&6
13999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14000 ac_cpp='$CXXCPP $CPPFLAGS'
14001 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14002 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14003 cross_compiling=$ac_cv_prog_cxx_cross
14005 cat > conftest.$ac_ext <<EOF
14006 #line 14007 "configure
"
14007 #include "confdefs.h
"
14009 #ifdef HAVE_IEEEFP_H
14010 #include <ieeefp.h>
14017 if { (eval echo configure:14018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14019 glibcpp_cv_func__isinfl_use=yes
14021 echo "configure
: failed program was
:" >&5
14022 cat conftest.$ac_ext >&5
14024 glibcpp_cv_func__isinfl_use=no
14028 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14029 ac_cpp='$CPP $CPPFLAGS'
14030 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14031 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14032 cross_compiling=$ac_cv_prog_cc_cross
14038 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
14040 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
14041 for ac_func in _isinfl
14043 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14044 echo "configure
:14045: checking
for $ac_func" >&5
14045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14046 echo $ac_n "(cached
) $ac_c" 1>&6
14048 cat > conftest.$ac_ext <<EOF
14049 #line 14050 "configure
"
14050 #include "confdefs.h
"
14051 /* System header to define __stub macros and hopefully few prototypes,
14052 which can conflict with char $ac_func(); below. */
14053 #include <assert.h>
14054 /* Override any gcc2 internal prototype to avoid an error. */
14055 /* We use char because int might match the return type of a gcc2
14056 builtin and then its argument prototype would still apply. */
14061 /* The GNU C library defines this for functions which it implements
14062 to always fail with ENOSYS. Some functions are actually named
14063 something starting with __ and the normal name is an alias. */
14064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14072 if { (eval echo configure:14073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14074 eval "ac_cv_func_
$ac_func=yes"
14076 echo "configure
: failed program was
:" >&5
14077 cat conftest.$ac_ext >&5
14079 eval "ac_cv_func_
$ac_func=no
"
14084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14085 echo "$ac_t""yes" 1>&6
14086 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14087 cat >> confdefs.h <<EOF
14088 #define $ac_tr_func 1
14092 echo "$ac_t""no
" 1>&6
14101 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
14102 echo "configure
:14103: checking
for copysignl declaration
" >&5
14103 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
14104 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
14105 echo $ac_n "(cached
) $ac_c" 1>&6
14110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14111 ac_cpp='$CXXCPP $CPPFLAGS'
14112 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14113 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14114 cross_compiling=$ac_cv_prog_cxx_cross
14116 cat > conftest.$ac_ext <<EOF
14117 #line 14118 "configure
"
14118 #include "confdefs.h
"
14124 if { (eval echo configure:14125: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14126 glibcpp_cv_func_copysignl_use=yes
14128 echo "configure
: failed program was
:" >&5
14129 cat conftest.$ac_ext >&5
14131 glibcpp_cv_func_copysignl_use=no
14135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14136 ac_cpp='$CPP $CPPFLAGS'
14137 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14138 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14139 cross_compiling=$ac_cv_prog_cc_cross
14145 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
14147 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
14148 for ac_func in copysignl
14150 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14151 echo "configure
:14152: checking
for $ac_func" >&5
14152 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14153 echo $ac_n "(cached
) $ac_c" 1>&6
14155 cat > conftest.$ac_ext <<EOF
14156 #line 14157 "configure
"
14157 #include "confdefs.h
"
14158 /* System header to define __stub macros and hopefully few prototypes,
14159 which can conflict with char $ac_func(); below. */
14160 #include <assert.h>
14161 /* Override any gcc2 internal prototype to avoid an error. */
14162 /* We use char because int might match the return type of a gcc2
14163 builtin and then its argument prototype would still apply. */
14168 /* The GNU C library defines this for functions which it implements
14169 to always fail with ENOSYS. Some functions are actually named
14170 something starting with __ and the normal name is an alias. */
14171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14179 if { (eval echo configure:14180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14181 eval "ac_cv_func_
$ac_func=yes"
14183 echo "configure
: failed program was
:" >&5
14184 cat conftest.$ac_ext >&5
14186 eval "ac_cv_func_
$ac_func=no
"
14191 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14192 echo "$ac_t""yes" 1>&6
14193 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14194 cat >> confdefs.h <<EOF
14195 #define $ac_tr_func 1
14199 echo "$ac_t""no
" 1>&6
14205 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
14206 echo "configure
:14207: checking
for _copysignl declaration
" >&5
14207 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
14208 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
14209 echo $ac_n "(cached
) $ac_c" 1>&6
14214 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14215 ac_cpp='$CXXCPP $CPPFLAGS'
14216 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14217 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14218 cross_compiling=$ac_cv_prog_cxx_cross
14220 cat > conftest.$ac_ext <<EOF
14221 #line 14222 "configure
"
14222 #include "confdefs.h
"
14228 if { (eval echo configure:14229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14230 glibcpp_cv_func__copysignl_use=yes
14232 echo "configure
: failed program was
:" >&5
14233 cat conftest.$ac_ext >&5
14235 glibcpp_cv_func__copysignl_use=no
14239 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14240 ac_cpp='$CPP $CPPFLAGS'
14241 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14242 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14243 cross_compiling=$ac_cv_prog_cc_cross
14249 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
14251 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
14252 for ac_func in _copysignl
14254 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14255 echo "configure
:14256: checking
for $ac_func" >&5
14256 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14257 echo $ac_n "(cached
) $ac_c" 1>&6
14259 cat > conftest.$ac_ext <<EOF
14260 #line 14261 "configure
"
14261 #include "confdefs.h
"
14262 /* System header to define __stub macros and hopefully few prototypes,
14263 which can conflict with char $ac_func(); below. */
14264 #include <assert.h>
14265 /* Override any gcc2 internal prototype to avoid an error. */
14266 /* We use char because int might match the return type of a gcc2
14267 builtin and then its argument prototype would still apply. */
14272 /* The GNU C library defines this for functions which it implements
14273 to always fail with ENOSYS. Some functions are actually named
14274 something starting with __ and the normal name is an alias. */
14275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14283 if { (eval echo configure:14284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14285 eval "ac_cv_func_
$ac_func=yes"
14287 echo "configure
: failed program was
:" >&5
14288 cat conftest.$ac_ext >&5
14290 eval "ac_cv_func_
$ac_func=no
"
14295 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14296 echo "$ac_t""yes" 1>&6
14297 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14298 cat >> confdefs.h <<EOF
14299 #define $ac_tr_func 1
14303 echo "$ac_t""no
" 1>&6
14312 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
14313 echo "configure
:14314: checking
for atan2l declaration
" >&5
14314 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
14315 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
14316 echo $ac_n "(cached
) $ac_c" 1>&6
14321 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14322 ac_cpp='$CXXCPP $CPPFLAGS'
14323 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14324 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14325 cross_compiling=$ac_cv_prog_cxx_cross
14327 cat > conftest.$ac_ext <<EOF
14328 #line 14329 "configure
"
14329 #include "confdefs.h
"
14335 if { (eval echo configure:14336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14337 glibcpp_cv_func_atan2l_use=yes
14339 echo "configure
: failed program was
:" >&5
14340 cat conftest.$ac_ext >&5
14342 glibcpp_cv_func_atan2l_use=no
14346 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14347 ac_cpp='$CPP $CPPFLAGS'
14348 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14349 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14350 cross_compiling=$ac_cv_prog_cc_cross
14356 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
14358 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
14359 for ac_func in atan2l
14361 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14362 echo "configure
:14363: checking
for $ac_func" >&5
14363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14364 echo $ac_n "(cached
) $ac_c" 1>&6
14366 cat > conftest.$ac_ext <<EOF
14367 #line 14368 "configure
"
14368 #include "confdefs.h
"
14369 /* System header to define __stub macros and hopefully few prototypes,
14370 which can conflict with char $ac_func(); below. */
14371 #include <assert.h>
14372 /* Override any gcc2 internal prototype to avoid an error. */
14373 /* We use char because int might match the return type of a gcc2
14374 builtin and then its argument prototype would still apply. */
14379 /* The GNU C library defines this for functions which it implements
14380 to always fail with ENOSYS. Some functions are actually named
14381 something starting with __ and the normal name is an alias. */
14382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14390 if { (eval echo configure:14391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14392 eval "ac_cv_func_
$ac_func=yes"
14394 echo "configure
: failed program was
:" >&5
14395 cat conftest.$ac_ext >&5
14397 eval "ac_cv_func_
$ac_func=no
"
14402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14403 echo "$ac_t""yes" 1>&6
14404 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14405 cat >> confdefs.h <<EOF
14406 #define $ac_tr_func 1
14410 echo "$ac_t""no
" 1>&6
14416 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
14417 echo "configure
:14418: checking
for _atan2l declaration
" >&5
14418 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
14419 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
14420 echo $ac_n "(cached
) $ac_c" 1>&6
14425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14426 ac_cpp='$CXXCPP $CPPFLAGS'
14427 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14428 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14429 cross_compiling=$ac_cv_prog_cxx_cross
14431 cat > conftest.$ac_ext <<EOF
14432 #line 14433 "configure
"
14433 #include "confdefs.h
"
14439 if { (eval echo configure:14440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14441 glibcpp_cv_func__atan2l_use=yes
14443 echo "configure
: failed program was
:" >&5
14444 cat conftest.$ac_ext >&5
14446 glibcpp_cv_func__atan2l_use=no
14450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14451 ac_cpp='$CPP $CPPFLAGS'
14452 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14453 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14454 cross_compiling=$ac_cv_prog_cc_cross
14460 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
14462 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
14463 for ac_func in _atan2l
14465 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14466 echo "configure
:14467: checking
for $ac_func" >&5
14467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14468 echo $ac_n "(cached
) $ac_c" 1>&6
14470 cat > conftest.$ac_ext <<EOF
14471 #line 14472 "configure
"
14472 #include "confdefs.h
"
14473 /* System header to define __stub macros and hopefully few prototypes,
14474 which can conflict with char $ac_func(); below. */
14475 #include <assert.h>
14476 /* Override any gcc2 internal prototype to avoid an error. */
14477 /* We use char because int might match the return type of a gcc2
14478 builtin and then its argument prototype would still apply. */
14483 /* The GNU C library defines this for functions which it implements
14484 to always fail with ENOSYS. Some functions are actually named
14485 something starting with __ and the normal name is an alias. */
14486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14494 if { (eval echo configure:14495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14496 eval "ac_cv_func_
$ac_func=yes"
14498 echo "configure
: failed program was
:" >&5
14499 cat conftest.$ac_ext >&5
14501 eval "ac_cv_func_
$ac_func=no
"
14506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14507 echo "$ac_t""yes" 1>&6
14508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14509 cat >> confdefs.h <<EOF
14510 #define $ac_tr_func 1
14514 echo "$ac_t""no
" 1>&6
14523 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
14524 echo "configure
:14525: checking
for expl declaration
" >&5
14525 if test x${glibcpp_cv_func_expl_use+set} != xset; then
14526 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
14527 echo $ac_n "(cached
) $ac_c" 1>&6
14532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14533 ac_cpp='$CXXCPP $CPPFLAGS'
14534 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14535 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14536 cross_compiling=$ac_cv_prog_cxx_cross
14538 cat > conftest.$ac_ext <<EOF
14539 #line 14540 "configure
"
14540 #include "confdefs.h
"
14542 #ifdef HAVE_IEEEFP_H
14543 #include <ieeefp.h>
14550 if { (eval echo configure:14551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14552 glibcpp_cv_func_expl_use=yes
14554 echo "configure
: failed program was
:" >&5
14555 cat conftest.$ac_ext >&5
14557 glibcpp_cv_func_expl_use=no
14561 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14562 ac_cpp='$CPP $CPPFLAGS'
14563 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14564 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14565 cross_compiling=$ac_cv_prog_cc_cross
14571 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
14573 if test x$glibcpp_cv_func_expl_use = x"yes"; then
14574 for ac_func in expl
14576 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14577 echo "configure
:14578: checking
for $ac_func" >&5
14578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14579 echo $ac_n "(cached
) $ac_c" 1>&6
14581 cat > conftest.$ac_ext <<EOF
14582 #line 14583 "configure
"
14583 #include "confdefs.h
"
14584 /* System header to define __stub macros and hopefully few prototypes,
14585 which can conflict with char $ac_func(); below. */
14586 #include <assert.h>
14587 /* Override any gcc2 internal prototype to avoid an error. */
14588 /* We use char because int might match the return type of a gcc2
14589 builtin and then its argument prototype would still apply. */
14594 /* The GNU C library defines this for functions which it implements
14595 to always fail with ENOSYS. Some functions are actually named
14596 something starting with __ and the normal name is an alias. */
14597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14605 if { (eval echo configure:14606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14607 eval "ac_cv_func_
$ac_func=yes"
14609 echo "configure
: failed program was
:" >&5
14610 cat conftest.$ac_ext >&5
14612 eval "ac_cv_func_
$ac_func=no
"
14617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14618 echo "$ac_t""yes" 1>&6
14619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14620 cat >> confdefs.h <<EOF
14621 #define $ac_tr_func 1
14625 echo "$ac_t""no
" 1>&6
14631 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
14632 echo "configure
:14633: checking
for _expl declaration
" >&5
14633 if test x${glibcpp_cv_func__expl_use+set} != xset; then
14634 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
14635 echo $ac_n "(cached
) $ac_c" 1>&6
14640 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14641 ac_cpp='$CXXCPP $CPPFLAGS'
14642 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14643 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14644 cross_compiling=$ac_cv_prog_cxx_cross
14646 cat > conftest.$ac_ext <<EOF
14647 #line 14648 "configure
"
14648 #include "confdefs.h
"
14650 #ifdef HAVE_IEEEFP_H
14651 #include <ieeefp.h>
14658 if { (eval echo configure:14659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14660 glibcpp_cv_func__expl_use=yes
14662 echo "configure
: failed program was
:" >&5
14663 cat conftest.$ac_ext >&5
14665 glibcpp_cv_func__expl_use=no
14669 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14670 ac_cpp='$CPP $CPPFLAGS'
14671 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14672 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14673 cross_compiling=$ac_cv_prog_cc_cross
14679 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
14681 if test x$glibcpp_cv_func__expl_use = x"yes"; then
14682 for ac_func in _expl
14684 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14685 echo "configure
:14686: checking
for $ac_func" >&5
14686 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14687 echo $ac_n "(cached
) $ac_c" 1>&6
14689 cat > conftest.$ac_ext <<EOF
14690 #line 14691 "configure
"
14691 #include "confdefs.h
"
14692 /* System header to define __stub macros and hopefully few prototypes,
14693 which can conflict with char $ac_func(); below. */
14694 #include <assert.h>
14695 /* Override any gcc2 internal prototype to avoid an error. */
14696 /* We use char because int might match the return type of a gcc2
14697 builtin and then its argument prototype would still apply. */
14702 /* The GNU C library defines this for functions which it implements
14703 to always fail with ENOSYS. Some functions are actually named
14704 something starting with __ and the normal name is an alias. */
14705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14713 if { (eval echo configure:14714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14715 eval "ac_cv_func_
$ac_func=yes"
14717 echo "configure
: failed program was
:" >&5
14718 cat conftest.$ac_ext >&5
14720 eval "ac_cv_func_
$ac_func=no
"
14725 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14726 echo "$ac_t""yes" 1>&6
14727 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14728 cat >> confdefs.h <<EOF
14729 #define $ac_tr_func 1
14733 echo "$ac_t""no
" 1>&6
14742 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
14743 echo "configure
:14744: checking
for fabsl declaration
" >&5
14744 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
14745 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
14746 echo $ac_n "(cached
) $ac_c" 1>&6
14751 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14752 ac_cpp='$CXXCPP $CPPFLAGS'
14753 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14754 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14755 cross_compiling=$ac_cv_prog_cxx_cross
14757 cat > conftest.$ac_ext <<EOF
14758 #line 14759 "configure
"
14759 #include "confdefs.h
"
14761 #ifdef HAVE_IEEEFP_H
14762 #include <ieeefp.h>
14769 if { (eval echo configure:14770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14771 glibcpp_cv_func_fabsl_use=yes
14773 echo "configure
: failed program was
:" >&5
14774 cat conftest.$ac_ext >&5
14776 glibcpp_cv_func_fabsl_use=no
14780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14781 ac_cpp='$CPP $CPPFLAGS'
14782 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14783 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14784 cross_compiling=$ac_cv_prog_cc_cross
14790 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
14792 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
14793 for ac_func in fabsl
14795 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14796 echo "configure
:14797: checking
for $ac_func" >&5
14797 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14798 echo $ac_n "(cached
) $ac_c" 1>&6
14800 cat > conftest.$ac_ext <<EOF
14801 #line 14802 "configure
"
14802 #include "confdefs.h
"
14803 /* System header to define __stub macros and hopefully few prototypes,
14804 which can conflict with char $ac_func(); below. */
14805 #include <assert.h>
14806 /* Override any gcc2 internal prototype to avoid an error. */
14807 /* We use char because int might match the return type of a gcc2
14808 builtin and then its argument prototype would still apply. */
14813 /* The GNU C library defines this for functions which it implements
14814 to always fail with ENOSYS. Some functions are actually named
14815 something starting with __ and the normal name is an alias. */
14816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14824 if { (eval echo configure:14825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14826 eval "ac_cv_func_
$ac_func=yes"
14828 echo "configure
: failed program was
:" >&5
14829 cat conftest.$ac_ext >&5
14831 eval "ac_cv_func_
$ac_func=no
"
14836 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14837 echo "$ac_t""yes" 1>&6
14838 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14839 cat >> confdefs.h <<EOF
14840 #define $ac_tr_func 1
14844 echo "$ac_t""no
" 1>&6
14850 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
14851 echo "configure
:14852: checking
for _fabsl declaration
" >&5
14852 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
14853 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
14854 echo $ac_n "(cached
) $ac_c" 1>&6
14859 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14860 ac_cpp='$CXXCPP $CPPFLAGS'
14861 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14862 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14863 cross_compiling=$ac_cv_prog_cxx_cross
14865 cat > conftest.$ac_ext <<EOF
14866 #line 14867 "configure
"
14867 #include "confdefs.h
"
14869 #ifdef HAVE_IEEEFP_H
14870 #include <ieeefp.h>
14877 if { (eval echo configure:14878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14879 glibcpp_cv_func__fabsl_use=yes
14881 echo "configure
: failed program was
:" >&5
14882 cat conftest.$ac_ext >&5
14884 glibcpp_cv_func__fabsl_use=no
14888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14889 ac_cpp='$CPP $CPPFLAGS'
14890 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14891 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14892 cross_compiling=$ac_cv_prog_cc_cross
14898 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
14900 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
14901 for ac_func in _fabsl
14903 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14904 echo "configure
:14905: checking
for $ac_func" >&5
14905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14906 echo $ac_n "(cached
) $ac_c" 1>&6
14908 cat > conftest.$ac_ext <<EOF
14909 #line 14910 "configure
"
14910 #include "confdefs.h
"
14911 /* System header to define __stub macros and hopefully few prototypes,
14912 which can conflict with char $ac_func(); below. */
14913 #include <assert.h>
14914 /* Override any gcc2 internal prototype to avoid an error. */
14915 /* We use char because int might match the return type of a gcc2
14916 builtin and then its argument prototype would still apply. */
14921 /* The GNU C library defines this for functions which it implements
14922 to always fail with ENOSYS. Some functions are actually named
14923 something starting with __ and the normal name is an alias. */
14924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14932 if { (eval echo configure:14933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14934 eval "ac_cv_func_
$ac_func=yes"
14936 echo "configure
: failed program was
:" >&5
14937 cat conftest.$ac_ext >&5
14939 eval "ac_cv_func_
$ac_func=no
"
14944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14945 echo "$ac_t""yes" 1>&6
14946 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14947 cat >> confdefs.h <<EOF
14948 #define $ac_tr_func 1
14952 echo "$ac_t""no
" 1>&6
14961 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
14962 echo "configure
:14963: checking
for fmodl declaration
" >&5
14963 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
14964 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
14965 echo $ac_n "(cached
) $ac_c" 1>&6
14970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14971 ac_cpp='$CXXCPP $CPPFLAGS'
14972 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14973 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14974 cross_compiling=$ac_cv_prog_cxx_cross
14976 cat > conftest.$ac_ext <<EOF
14977 #line 14978 "configure
"
14978 #include "confdefs.h
"
14984 if { (eval echo configure:14985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14986 glibcpp_cv_func_fmodl_use=yes
14988 echo "configure
: failed program was
:" >&5
14989 cat conftest.$ac_ext >&5
14991 glibcpp_cv_func_fmodl_use=no
14995 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14998 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14999 cross_compiling=$ac_cv_prog_cc_cross
15005 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
15007 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
15008 for ac_func in fmodl
15010 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15011 echo "configure
:15012: checking
for $ac_func" >&5
15012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15013 echo $ac_n "(cached
) $ac_c" 1>&6
15015 cat > conftest.$ac_ext <<EOF
15016 #line 15017 "configure
"
15017 #include "confdefs.h
"
15018 /* System header to define __stub macros and hopefully few prototypes,
15019 which can conflict with char $ac_func(); below. */
15020 #include <assert.h>
15021 /* Override any gcc2 internal prototype to avoid an error. */
15022 /* We use char because int might match the return type of a gcc2
15023 builtin and then its argument prototype would still apply. */
15028 /* The GNU C library defines this for functions which it implements
15029 to always fail with ENOSYS. Some functions are actually named
15030 something starting with __ and the normal name is an alias. */
15031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15039 if { (eval echo configure:15040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15041 eval "ac_cv_func_
$ac_func=yes"
15043 echo "configure
: failed program was
:" >&5
15044 cat conftest.$ac_ext >&5
15046 eval "ac_cv_func_
$ac_func=no
"
15051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15052 echo "$ac_t""yes" 1>&6
15053 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15054 cat >> confdefs.h <<EOF
15055 #define $ac_tr_func 1
15059 echo "$ac_t""no
" 1>&6
15065 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
15066 echo "configure
:15067: checking
for _fmodl declaration
" >&5
15067 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
15068 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
15069 echo $ac_n "(cached
) $ac_c" 1>&6
15074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15075 ac_cpp='$CXXCPP $CPPFLAGS'
15076 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15077 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15078 cross_compiling=$ac_cv_prog_cxx_cross
15080 cat > conftest.$ac_ext <<EOF
15081 #line 15082 "configure
"
15082 #include "confdefs.h
"
15088 if { (eval echo configure:15089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15090 glibcpp_cv_func__fmodl_use=yes
15092 echo "configure
: failed program was
:" >&5
15093 cat conftest.$ac_ext >&5
15095 glibcpp_cv_func__fmodl_use=no
15099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15100 ac_cpp='$CPP $CPPFLAGS'
15101 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15102 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15103 cross_compiling=$ac_cv_prog_cc_cross
15109 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
15111 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
15112 for ac_func in _fmodl
15114 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15115 echo "configure
:15116: checking
for $ac_func" >&5
15116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15117 echo $ac_n "(cached
) $ac_c" 1>&6
15119 cat > conftest.$ac_ext <<EOF
15120 #line 15121 "configure
"
15121 #include "confdefs.h
"
15122 /* System header to define __stub macros and hopefully few prototypes,
15123 which can conflict with char $ac_func(); below. */
15124 #include <assert.h>
15125 /* Override any gcc2 internal prototype to avoid an error. */
15126 /* We use char because int might match the return type of a gcc2
15127 builtin and then its argument prototype would still apply. */
15132 /* The GNU C library defines this for functions which it implements
15133 to always fail with ENOSYS. Some functions are actually named
15134 something starting with __ and the normal name is an alias. */
15135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15143 if { (eval echo configure:15144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15145 eval "ac_cv_func_
$ac_func=yes"
15147 echo "configure
: failed program was
:" >&5
15148 cat conftest.$ac_ext >&5
15150 eval "ac_cv_func_
$ac_func=no
"
15155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15156 echo "$ac_t""yes" 1>&6
15157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15158 cat >> confdefs.h <<EOF
15159 #define $ac_tr_func 1
15163 echo "$ac_t""no
" 1>&6
15172 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
15173 echo "configure
:15174: checking
for frexpl declaration
" >&5
15174 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
15175 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
15176 echo $ac_n "(cached
) $ac_c" 1>&6
15181 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15184 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15185 cross_compiling=$ac_cv_prog_cxx_cross
15187 cat > conftest.$ac_ext <<EOF
15188 #line 15189 "configure
"
15189 #include "confdefs.h
"
15195 if { (eval echo configure:15196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15197 glibcpp_cv_func_frexpl_use=yes
15199 echo "configure
: failed program was
:" >&5
15200 cat conftest.$ac_ext >&5
15202 glibcpp_cv_func_frexpl_use=no
15206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15207 ac_cpp='$CPP $CPPFLAGS'
15208 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15209 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15210 cross_compiling=$ac_cv_prog_cc_cross
15216 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
15218 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
15219 for ac_func in frexpl
15221 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15222 echo "configure
:15223: checking
for $ac_func" >&5
15223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15224 echo $ac_n "(cached
) $ac_c" 1>&6
15226 cat > conftest.$ac_ext <<EOF
15227 #line 15228 "configure
"
15228 #include "confdefs.h
"
15229 /* System header to define __stub macros and hopefully few prototypes,
15230 which can conflict with char $ac_func(); below. */
15231 #include <assert.h>
15232 /* Override any gcc2 internal prototype to avoid an error. */
15233 /* We use char because int might match the return type of a gcc2
15234 builtin and then its argument prototype would still apply. */
15239 /* The GNU C library defines this for functions which it implements
15240 to always fail with ENOSYS. Some functions are actually named
15241 something starting with __ and the normal name is an alias. */
15242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15250 if { (eval echo configure:15251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15252 eval "ac_cv_func_
$ac_func=yes"
15254 echo "configure
: failed program was
:" >&5
15255 cat conftest.$ac_ext >&5
15257 eval "ac_cv_func_
$ac_func=no
"
15262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15263 echo "$ac_t""yes" 1>&6
15264 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15265 cat >> confdefs.h <<EOF
15266 #define $ac_tr_func 1
15270 echo "$ac_t""no
" 1>&6
15276 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
15277 echo "configure
:15278: checking
for _frexpl declaration
" >&5
15278 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
15279 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
15280 echo $ac_n "(cached
) $ac_c" 1>&6
15285 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15286 ac_cpp='$CXXCPP $CPPFLAGS'
15287 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15288 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15289 cross_compiling=$ac_cv_prog_cxx_cross
15291 cat > conftest.$ac_ext <<EOF
15292 #line 15293 "configure
"
15293 #include "confdefs.h
"
15299 if { (eval echo configure:15300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15301 glibcpp_cv_func__frexpl_use=yes
15303 echo "configure
: failed program was
:" >&5
15304 cat conftest.$ac_ext >&5
15306 glibcpp_cv_func__frexpl_use=no
15310 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15311 ac_cpp='$CPP $CPPFLAGS'
15312 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15313 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15314 cross_compiling=$ac_cv_prog_cc_cross
15320 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
15322 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
15323 for ac_func in _frexpl
15325 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15326 echo "configure
:15327: checking
for $ac_func" >&5
15327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15328 echo $ac_n "(cached
) $ac_c" 1>&6
15330 cat > conftest.$ac_ext <<EOF
15331 #line 15332 "configure
"
15332 #include "confdefs.h
"
15333 /* System header to define __stub macros and hopefully few prototypes,
15334 which can conflict with char $ac_func(); below. */
15335 #include <assert.h>
15336 /* Override any gcc2 internal prototype to avoid an error. */
15337 /* We use char because int might match the return type of a gcc2
15338 builtin and then its argument prototype would still apply. */
15343 /* The GNU C library defines this for functions which it implements
15344 to always fail with ENOSYS. Some functions are actually named
15345 something starting with __ and the normal name is an alias. */
15346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15354 if { (eval echo configure:15355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15356 eval "ac_cv_func_
$ac_func=yes"
15358 echo "configure
: failed program was
:" >&5
15359 cat conftest.$ac_ext >&5
15361 eval "ac_cv_func_
$ac_func=no
"
15366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15367 echo "$ac_t""yes" 1>&6
15368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15369 cat >> confdefs.h <<EOF
15370 #define $ac_tr_func 1
15374 echo "$ac_t""no
" 1>&6
15383 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
15384 echo "configure
:15385: checking
for hypotl declaration
" >&5
15385 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
15386 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
15387 echo $ac_n "(cached
) $ac_c" 1>&6
15392 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15393 ac_cpp='$CXXCPP $CPPFLAGS'
15394 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15395 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15396 cross_compiling=$ac_cv_prog_cxx_cross
15398 cat > conftest.$ac_ext <<EOF
15399 #line 15400 "configure
"
15400 #include "confdefs.h
"
15406 if { (eval echo configure:15407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15408 glibcpp_cv_func_hypotl_use=yes
15410 echo "configure
: failed program was
:" >&5
15411 cat conftest.$ac_ext >&5
15413 glibcpp_cv_func_hypotl_use=no
15417 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15418 ac_cpp='$CPP $CPPFLAGS'
15419 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15420 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15421 cross_compiling=$ac_cv_prog_cc_cross
15427 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
15429 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
15430 for ac_func in hypotl
15432 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15433 echo "configure
:15434: checking
for $ac_func" >&5
15434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15435 echo $ac_n "(cached
) $ac_c" 1>&6
15437 cat > conftest.$ac_ext <<EOF
15438 #line 15439 "configure
"
15439 #include "confdefs.h
"
15440 /* System header to define __stub macros and hopefully few prototypes,
15441 which can conflict with char $ac_func(); below. */
15442 #include <assert.h>
15443 /* Override any gcc2 internal prototype to avoid an error. */
15444 /* We use char because int might match the return type of a gcc2
15445 builtin and then its argument prototype would still apply. */
15450 /* The GNU C library defines this for functions which it implements
15451 to always fail with ENOSYS. Some functions are actually named
15452 something starting with __ and the normal name is an alias. */
15453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15461 if { (eval echo configure:15462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15463 eval "ac_cv_func_
$ac_func=yes"
15465 echo "configure
: failed program was
:" >&5
15466 cat conftest.$ac_ext >&5
15468 eval "ac_cv_func_
$ac_func=no
"
15473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15474 echo "$ac_t""yes" 1>&6
15475 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15476 cat >> confdefs.h <<EOF
15477 #define $ac_tr_func 1
15481 echo "$ac_t""no
" 1>&6
15487 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
15488 echo "configure
:15489: checking
for _hypotl declaration
" >&5
15489 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
15490 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
15491 echo $ac_n "(cached
) $ac_c" 1>&6
15496 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15497 ac_cpp='$CXXCPP $CPPFLAGS'
15498 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15499 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15500 cross_compiling=$ac_cv_prog_cxx_cross
15502 cat > conftest.$ac_ext <<EOF
15503 #line 15504 "configure
"
15504 #include "confdefs.h
"
15510 if { (eval echo configure:15511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15512 glibcpp_cv_func__hypotl_use=yes
15514 echo "configure
: failed program was
:" >&5
15515 cat conftest.$ac_ext >&5
15517 glibcpp_cv_func__hypotl_use=no
15521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15522 ac_cpp='$CPP $CPPFLAGS'
15523 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15524 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15525 cross_compiling=$ac_cv_prog_cc_cross
15531 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
15533 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
15534 for ac_func in _hypotl
15536 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15537 echo "configure
:15538: checking
for $ac_func" >&5
15538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15539 echo $ac_n "(cached
) $ac_c" 1>&6
15541 cat > conftest.$ac_ext <<EOF
15542 #line 15543 "configure
"
15543 #include "confdefs.h
"
15544 /* System header to define __stub macros and hopefully few prototypes,
15545 which can conflict with char $ac_func(); below. */
15546 #include <assert.h>
15547 /* Override any gcc2 internal prototype to avoid an error. */
15548 /* We use char because int might match the return type of a gcc2
15549 builtin and then its argument prototype would still apply. */
15554 /* The GNU C library defines this for functions which it implements
15555 to always fail with ENOSYS. Some functions are actually named
15556 something starting with __ and the normal name is an alias. */
15557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15565 if { (eval echo configure:15566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15567 eval "ac_cv_func_
$ac_func=yes"
15569 echo "configure
: failed program was
:" >&5
15570 cat conftest.$ac_ext >&5
15572 eval "ac_cv_func_
$ac_func=no
"
15577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15578 echo "$ac_t""yes" 1>&6
15579 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15580 cat >> confdefs.h <<EOF
15581 #define $ac_tr_func 1
15585 echo "$ac_t""no
" 1>&6
15594 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
15595 echo "configure
:15596: checking
for ldexpl declaration
" >&5
15596 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
15597 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
15598 echo $ac_n "(cached
) $ac_c" 1>&6
15603 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15604 ac_cpp='$CXXCPP $CPPFLAGS'
15605 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15606 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15607 cross_compiling=$ac_cv_prog_cxx_cross
15609 cat > conftest.$ac_ext <<EOF
15610 #line 15611 "configure
"
15611 #include "confdefs.h
"
15617 if { (eval echo configure:15618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15619 glibcpp_cv_func_ldexpl_use=yes
15621 echo "configure
: failed program was
:" >&5
15622 cat conftest.$ac_ext >&5
15624 glibcpp_cv_func_ldexpl_use=no
15628 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15629 ac_cpp='$CPP $CPPFLAGS'
15630 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15631 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15632 cross_compiling=$ac_cv_prog_cc_cross
15638 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
15640 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
15641 for ac_func in ldexpl
15643 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15644 echo "configure
:15645: checking
for $ac_func" >&5
15645 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15646 echo $ac_n "(cached
) $ac_c" 1>&6
15648 cat > conftest.$ac_ext <<EOF
15649 #line 15650 "configure
"
15650 #include "confdefs.h
"
15651 /* System header to define __stub macros and hopefully few prototypes,
15652 which can conflict with char $ac_func(); below. */
15653 #include <assert.h>
15654 /* Override any gcc2 internal prototype to avoid an error. */
15655 /* We use char because int might match the return type of a gcc2
15656 builtin and then its argument prototype would still apply. */
15661 /* The GNU C library defines this for functions which it implements
15662 to always fail with ENOSYS. Some functions are actually named
15663 something starting with __ and the normal name is an alias. */
15664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15672 if { (eval echo configure:15673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15674 eval "ac_cv_func_
$ac_func=yes"
15676 echo "configure
: failed program was
:" >&5
15677 cat conftest.$ac_ext >&5
15679 eval "ac_cv_func_
$ac_func=no
"
15684 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15685 echo "$ac_t""yes" 1>&6
15686 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15687 cat >> confdefs.h <<EOF
15688 #define $ac_tr_func 1
15692 echo "$ac_t""no
" 1>&6
15698 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
15699 echo "configure
:15700: checking
for _ldexpl declaration
" >&5
15700 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
15701 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
15702 echo $ac_n "(cached
) $ac_c" 1>&6
15707 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15708 ac_cpp='$CXXCPP $CPPFLAGS'
15709 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15710 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15711 cross_compiling=$ac_cv_prog_cxx_cross
15713 cat > conftest.$ac_ext <<EOF
15714 #line 15715 "configure
"
15715 #include "confdefs.h
"
15721 if { (eval echo configure:15722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15723 glibcpp_cv_func__ldexpl_use=yes
15725 echo "configure
: failed program was
:" >&5
15726 cat conftest.$ac_ext >&5
15728 glibcpp_cv_func__ldexpl_use=no
15732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15733 ac_cpp='$CPP $CPPFLAGS'
15734 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15735 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15736 cross_compiling=$ac_cv_prog_cc_cross
15742 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
15744 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
15745 for ac_func in _ldexpl
15747 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15748 echo "configure
:15749: checking
for $ac_func" >&5
15749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15750 echo $ac_n "(cached
) $ac_c" 1>&6
15752 cat > conftest.$ac_ext <<EOF
15753 #line 15754 "configure
"
15754 #include "confdefs.h
"
15755 /* System header to define __stub macros and hopefully few prototypes,
15756 which can conflict with char $ac_func(); below. */
15757 #include <assert.h>
15758 /* Override any gcc2 internal prototype to avoid an error. */
15759 /* We use char because int might match the return type of a gcc2
15760 builtin and then its argument prototype would still apply. */
15765 /* The GNU C library defines this for functions which it implements
15766 to always fail with ENOSYS. Some functions are actually named
15767 something starting with __ and the normal name is an alias. */
15768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15776 if { (eval echo configure:15777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15778 eval "ac_cv_func_
$ac_func=yes"
15780 echo "configure
: failed program was
:" >&5
15781 cat conftest.$ac_ext >&5
15783 eval "ac_cv_func_
$ac_func=no
"
15788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15789 echo "$ac_t""yes" 1>&6
15790 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15791 cat >> confdefs.h <<EOF
15792 #define $ac_tr_func 1
15796 echo "$ac_t""no
" 1>&6
15805 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
15806 echo "configure
:15807: checking
for logl declaration
" >&5
15807 if test x${glibcpp_cv_func_logl_use+set} != xset; then
15808 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
15809 echo $ac_n "(cached
) $ac_c" 1>&6
15814 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15815 ac_cpp='$CXXCPP $CPPFLAGS'
15816 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15817 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15818 cross_compiling=$ac_cv_prog_cxx_cross
15820 cat > conftest.$ac_ext <<EOF
15821 #line 15822 "configure
"
15822 #include "confdefs.h
"
15824 #ifdef HAVE_IEEEFP_H
15825 #include <ieeefp.h>
15832 if { (eval echo configure:15833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15834 glibcpp_cv_func_logl_use=yes
15836 echo "configure
: failed program was
:" >&5
15837 cat conftest.$ac_ext >&5
15839 glibcpp_cv_func_logl_use=no
15843 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15844 ac_cpp='$CPP $CPPFLAGS'
15845 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15846 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15847 cross_compiling=$ac_cv_prog_cc_cross
15853 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
15855 if test x$glibcpp_cv_func_logl_use = x"yes"; then
15856 for ac_func in logl
15858 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15859 echo "configure
:15860: checking
for $ac_func" >&5
15860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15861 echo $ac_n "(cached
) $ac_c" 1>&6
15863 cat > conftest.$ac_ext <<EOF
15864 #line 15865 "configure
"
15865 #include "confdefs.h
"
15866 /* System header to define __stub macros and hopefully few prototypes,
15867 which can conflict with char $ac_func(); below. */
15868 #include <assert.h>
15869 /* Override any gcc2 internal prototype to avoid an error. */
15870 /* We use char because int might match the return type of a gcc2
15871 builtin and then its argument prototype would still apply. */
15876 /* The GNU C library defines this for functions which it implements
15877 to always fail with ENOSYS. Some functions are actually named
15878 something starting with __ and the normal name is an alias. */
15879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15887 if { (eval echo configure:15888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15889 eval "ac_cv_func_
$ac_func=yes"
15891 echo "configure
: failed program was
:" >&5
15892 cat conftest.$ac_ext >&5
15894 eval "ac_cv_func_
$ac_func=no
"
15899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15900 echo "$ac_t""yes" 1>&6
15901 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15902 cat >> confdefs.h <<EOF
15903 #define $ac_tr_func 1
15907 echo "$ac_t""no
" 1>&6
15913 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
15914 echo "configure
:15915: checking
for _logl declaration
" >&5
15915 if test x${glibcpp_cv_func__logl_use+set} != xset; then
15916 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
15917 echo $ac_n "(cached
) $ac_c" 1>&6
15922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15923 ac_cpp='$CXXCPP $CPPFLAGS'
15924 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15925 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15926 cross_compiling=$ac_cv_prog_cxx_cross
15928 cat > conftest.$ac_ext <<EOF
15929 #line 15930 "configure
"
15930 #include "confdefs.h
"
15932 #ifdef HAVE_IEEEFP_H
15933 #include <ieeefp.h>
15940 if { (eval echo configure:15941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15942 glibcpp_cv_func__logl_use=yes
15944 echo "configure
: failed program was
:" >&5
15945 cat conftest.$ac_ext >&5
15947 glibcpp_cv_func__logl_use=no
15951 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15952 ac_cpp='$CPP $CPPFLAGS'
15953 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15954 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15955 cross_compiling=$ac_cv_prog_cc_cross
15961 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
15963 if test x$glibcpp_cv_func__logl_use = x"yes"; then
15964 for ac_func in _logl
15966 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15967 echo "configure
:15968: checking
for $ac_func" >&5
15968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15969 echo $ac_n "(cached
) $ac_c" 1>&6
15971 cat > conftest.$ac_ext <<EOF
15972 #line 15973 "configure
"
15973 #include "confdefs.h
"
15974 /* System header to define __stub macros and hopefully few prototypes,
15975 which can conflict with char $ac_func(); below. */
15976 #include <assert.h>
15977 /* Override any gcc2 internal prototype to avoid an error. */
15978 /* We use char because int might match the return type of a gcc2
15979 builtin and then its argument prototype would still apply. */
15984 /* The GNU C library defines this for functions which it implements
15985 to always fail with ENOSYS. Some functions are actually named
15986 something starting with __ and the normal name is an alias. */
15987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15995 if { (eval echo configure:15996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15997 eval "ac_cv_func_
$ac_func=yes"
15999 echo "configure
: failed program was
:" >&5
16000 cat conftest.$ac_ext >&5
16002 eval "ac_cv_func_
$ac_func=no
"
16007 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16008 echo "$ac_t""yes" 1>&6
16009 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16010 cat >> confdefs.h <<EOF
16011 #define $ac_tr_func 1
16015 echo "$ac_t""no
" 1>&6
16024 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
16025 echo "configure
:16026: checking
for log10l declaration
" >&5
16026 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
16027 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
16028 echo $ac_n "(cached
) $ac_c" 1>&6
16033 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16034 ac_cpp='$CXXCPP $CPPFLAGS'
16035 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16036 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16037 cross_compiling=$ac_cv_prog_cxx_cross
16039 cat > conftest.$ac_ext <<EOF
16040 #line 16041 "configure
"
16041 #include "confdefs.h
"
16043 #ifdef HAVE_IEEEFP_H
16044 #include <ieeefp.h>
16051 if { (eval echo configure:16052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16053 glibcpp_cv_func_log10l_use=yes
16055 echo "configure
: failed program was
:" >&5
16056 cat conftest.$ac_ext >&5
16058 glibcpp_cv_func_log10l_use=no
16062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16063 ac_cpp='$CPP $CPPFLAGS'
16064 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16065 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16066 cross_compiling=$ac_cv_prog_cc_cross
16072 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
16074 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
16075 for ac_func in log10l
16077 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16078 echo "configure
:16079: checking
for $ac_func" >&5
16079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16080 echo $ac_n "(cached
) $ac_c" 1>&6
16082 cat > conftest.$ac_ext <<EOF
16083 #line 16084 "configure
"
16084 #include "confdefs.h
"
16085 /* System header to define __stub macros and hopefully few prototypes,
16086 which can conflict with char $ac_func(); below. */
16087 #include <assert.h>
16088 /* Override any gcc2 internal prototype to avoid an error. */
16089 /* We use char because int might match the return type of a gcc2
16090 builtin and then its argument prototype would still apply. */
16095 /* The GNU C library defines this for functions which it implements
16096 to always fail with ENOSYS. Some functions are actually named
16097 something starting with __ and the normal name is an alias. */
16098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16106 if { (eval echo configure:16107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16108 eval "ac_cv_func_
$ac_func=yes"
16110 echo "configure
: failed program was
:" >&5
16111 cat conftest.$ac_ext >&5
16113 eval "ac_cv_func_
$ac_func=no
"
16118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16119 echo "$ac_t""yes" 1>&6
16120 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16121 cat >> confdefs.h <<EOF
16122 #define $ac_tr_func 1
16126 echo "$ac_t""no
" 1>&6
16132 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
16133 echo "configure
:16134: checking
for _log10l declaration
" >&5
16134 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
16135 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
16136 echo $ac_n "(cached
) $ac_c" 1>&6
16141 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16142 ac_cpp='$CXXCPP $CPPFLAGS'
16143 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16144 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16145 cross_compiling=$ac_cv_prog_cxx_cross
16147 cat > conftest.$ac_ext <<EOF
16148 #line 16149 "configure
"
16149 #include "confdefs.h
"
16151 #ifdef HAVE_IEEEFP_H
16152 #include <ieeefp.h>
16159 if { (eval echo configure:16160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16161 glibcpp_cv_func__log10l_use=yes
16163 echo "configure
: failed program was
:" >&5
16164 cat conftest.$ac_ext >&5
16166 glibcpp_cv_func__log10l_use=no
16170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16171 ac_cpp='$CPP $CPPFLAGS'
16172 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16173 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16174 cross_compiling=$ac_cv_prog_cc_cross
16180 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
16182 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
16183 for ac_func in _log10l
16185 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16186 echo "configure
:16187: checking
for $ac_func" >&5
16187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16188 echo $ac_n "(cached
) $ac_c" 1>&6
16190 cat > conftest.$ac_ext <<EOF
16191 #line 16192 "configure
"
16192 #include "confdefs.h
"
16193 /* System header to define __stub macros and hopefully few prototypes,
16194 which can conflict with char $ac_func(); below. */
16195 #include <assert.h>
16196 /* Override any gcc2 internal prototype to avoid an error. */
16197 /* We use char because int might match the return type of a gcc2
16198 builtin and then its argument prototype would still apply. */
16203 /* The GNU C library defines this for functions which it implements
16204 to always fail with ENOSYS. Some functions are actually named
16205 something starting with __ and the normal name is an alias. */
16206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16214 if { (eval echo configure:16215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16216 eval "ac_cv_func_
$ac_func=yes"
16218 echo "configure
: failed program was
:" >&5
16219 cat conftest.$ac_ext >&5
16221 eval "ac_cv_func_
$ac_func=no
"
16226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16227 echo "$ac_t""yes" 1>&6
16228 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16229 cat >> confdefs.h <<EOF
16230 #define $ac_tr_func 1
16234 echo "$ac_t""no
" 1>&6
16243 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
16244 echo "configure
:16245: checking
for modfl declaration
" >&5
16245 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
16246 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
16247 echo $ac_n "(cached
) $ac_c" 1>&6
16252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16253 ac_cpp='$CXXCPP $CPPFLAGS'
16254 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16255 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16256 cross_compiling=$ac_cv_prog_cxx_cross
16258 cat > conftest.$ac_ext <<EOF
16259 #line 16260 "configure
"
16260 #include "confdefs.h
"
16266 if { (eval echo configure:16267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16268 glibcpp_cv_func_modfl_use=yes
16270 echo "configure
: failed program was
:" >&5
16271 cat conftest.$ac_ext >&5
16273 glibcpp_cv_func_modfl_use=no
16277 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16278 ac_cpp='$CPP $CPPFLAGS'
16279 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16280 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16281 cross_compiling=$ac_cv_prog_cc_cross
16287 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
16289 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
16290 for ac_func in modfl
16292 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16293 echo "configure
:16294: checking
for $ac_func" >&5
16294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16295 echo $ac_n "(cached
) $ac_c" 1>&6
16297 cat > conftest.$ac_ext <<EOF
16298 #line 16299 "configure
"
16299 #include "confdefs.h
"
16300 /* System header to define __stub macros and hopefully few prototypes,
16301 which can conflict with char $ac_func(); below. */
16302 #include <assert.h>
16303 /* Override any gcc2 internal prototype to avoid an error. */
16304 /* We use char because int might match the return type of a gcc2
16305 builtin and then its argument prototype would still apply. */
16310 /* The GNU C library defines this for functions which it implements
16311 to always fail with ENOSYS. Some functions are actually named
16312 something starting with __ and the normal name is an alias. */
16313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16321 if { (eval echo configure:16322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16323 eval "ac_cv_func_
$ac_func=yes"
16325 echo "configure
: failed program was
:" >&5
16326 cat conftest.$ac_ext >&5
16328 eval "ac_cv_func_
$ac_func=no
"
16333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16334 echo "$ac_t""yes" 1>&6
16335 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16336 cat >> confdefs.h <<EOF
16337 #define $ac_tr_func 1
16341 echo "$ac_t""no
" 1>&6
16347 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
16348 echo "configure
:16349: checking
for _modfl declaration
" >&5
16349 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
16350 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
16351 echo $ac_n "(cached
) $ac_c" 1>&6
16356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16357 ac_cpp='$CXXCPP $CPPFLAGS'
16358 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16359 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16360 cross_compiling=$ac_cv_prog_cxx_cross
16362 cat > conftest.$ac_ext <<EOF
16363 #line 16364 "configure
"
16364 #include "confdefs.h
"
16370 if { (eval echo configure:16371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16372 glibcpp_cv_func__modfl_use=yes
16374 echo "configure
: failed program was
:" >&5
16375 cat conftest.$ac_ext >&5
16377 glibcpp_cv_func__modfl_use=no
16381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16382 ac_cpp='$CPP $CPPFLAGS'
16383 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16384 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16385 cross_compiling=$ac_cv_prog_cc_cross
16391 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
16393 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
16394 for ac_func in _modfl
16396 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16397 echo "configure
:16398: checking
for $ac_func" >&5
16398 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16399 echo $ac_n "(cached
) $ac_c" 1>&6
16401 cat > conftest.$ac_ext <<EOF
16402 #line 16403 "configure
"
16403 #include "confdefs.h
"
16404 /* System header to define __stub macros and hopefully few prototypes,
16405 which can conflict with char $ac_func(); below. */
16406 #include <assert.h>
16407 /* Override any gcc2 internal prototype to avoid an error. */
16408 /* We use char because int might match the return type of a gcc2
16409 builtin and then its argument prototype would still apply. */
16414 /* The GNU C library defines this for functions which it implements
16415 to always fail with ENOSYS. Some functions are actually named
16416 something starting with __ and the normal name is an alias. */
16417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16425 if { (eval echo configure:16426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16427 eval "ac_cv_func_
$ac_func=yes"
16429 echo "configure
: failed program was
:" >&5
16430 cat conftest.$ac_ext >&5
16432 eval "ac_cv_func_
$ac_func=no
"
16437 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16438 echo "$ac_t""yes" 1>&6
16439 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16440 cat >> confdefs.h <<EOF
16441 #define $ac_tr_func 1
16445 echo "$ac_t""no
" 1>&6
16454 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
16455 echo "configure
:16456: checking
for powl declaration
" >&5
16456 if test x${glibcpp_cv_func_powl_use+set} != xset; then
16457 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
16458 echo $ac_n "(cached
) $ac_c" 1>&6
16463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16464 ac_cpp='$CXXCPP $CPPFLAGS'
16465 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16466 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16467 cross_compiling=$ac_cv_prog_cxx_cross
16469 cat > conftest.$ac_ext <<EOF
16470 #line 16471 "configure
"
16471 #include "confdefs.h
"
16477 if { (eval echo configure:16478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16479 glibcpp_cv_func_powl_use=yes
16481 echo "configure
: failed program was
:" >&5
16482 cat conftest.$ac_ext >&5
16484 glibcpp_cv_func_powl_use=no
16488 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16489 ac_cpp='$CPP $CPPFLAGS'
16490 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16491 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16492 cross_compiling=$ac_cv_prog_cc_cross
16498 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
16500 if test x$glibcpp_cv_func_powl_use = x"yes"; then
16501 for ac_func in powl
16503 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16504 echo "configure
:16505: checking
for $ac_func" >&5
16505 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16506 echo $ac_n "(cached
) $ac_c" 1>&6
16508 cat > conftest.$ac_ext <<EOF
16509 #line 16510 "configure
"
16510 #include "confdefs.h
"
16511 /* System header to define __stub macros and hopefully few prototypes,
16512 which can conflict with char $ac_func(); below. */
16513 #include <assert.h>
16514 /* Override any gcc2 internal prototype to avoid an error. */
16515 /* We use char because int might match the return type of a gcc2
16516 builtin and then its argument prototype would still apply. */
16521 /* The GNU C library defines this for functions which it implements
16522 to always fail with ENOSYS. Some functions are actually named
16523 something starting with __ and the normal name is an alias. */
16524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16532 if { (eval echo configure:16533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16534 eval "ac_cv_func_
$ac_func=yes"
16536 echo "configure
: failed program was
:" >&5
16537 cat conftest.$ac_ext >&5
16539 eval "ac_cv_func_
$ac_func=no
"
16544 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16545 echo "$ac_t""yes" 1>&6
16546 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16547 cat >> confdefs.h <<EOF
16548 #define $ac_tr_func 1
16552 echo "$ac_t""no
" 1>&6
16558 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
16559 echo "configure
:16560: checking
for _powl declaration
" >&5
16560 if test x${glibcpp_cv_func__powl_use+set} != xset; then
16561 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
16562 echo $ac_n "(cached
) $ac_c" 1>&6
16567 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16568 ac_cpp='$CXXCPP $CPPFLAGS'
16569 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16570 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16571 cross_compiling=$ac_cv_prog_cxx_cross
16573 cat > conftest.$ac_ext <<EOF
16574 #line 16575 "configure
"
16575 #include "confdefs.h
"
16581 if { (eval echo configure:16582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16583 glibcpp_cv_func__powl_use=yes
16585 echo "configure
: failed program was
:" >&5
16586 cat conftest.$ac_ext >&5
16588 glibcpp_cv_func__powl_use=no
16592 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16593 ac_cpp='$CPP $CPPFLAGS'
16594 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16595 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16596 cross_compiling=$ac_cv_prog_cc_cross
16602 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
16604 if test x$glibcpp_cv_func__powl_use = x"yes"; then
16605 for ac_func in _powl
16607 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16608 echo "configure
:16609: checking
for $ac_func" >&5
16609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16610 echo $ac_n "(cached
) $ac_c" 1>&6
16612 cat > conftest.$ac_ext <<EOF
16613 #line 16614 "configure
"
16614 #include "confdefs.h
"
16615 /* System header to define __stub macros and hopefully few prototypes,
16616 which can conflict with char $ac_func(); below. */
16617 #include <assert.h>
16618 /* Override any gcc2 internal prototype to avoid an error. */
16619 /* We use char because int might match the return type of a gcc2
16620 builtin and then its argument prototype would still apply. */
16625 /* The GNU C library defines this for functions which it implements
16626 to always fail with ENOSYS. Some functions are actually named
16627 something starting with __ and the normal name is an alias. */
16628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16636 if { (eval echo configure:16637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16638 eval "ac_cv_func_
$ac_func=yes"
16640 echo "configure
: failed program was
:" >&5
16641 cat conftest.$ac_ext >&5
16643 eval "ac_cv_func_
$ac_func=no
"
16648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16649 echo "$ac_t""yes" 1>&6
16650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16651 cat >> confdefs.h <<EOF
16652 #define $ac_tr_func 1
16656 echo "$ac_t""no
" 1>&6
16665 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
16666 echo "configure
:16667: checking
for sqrtl declaration
" >&5
16667 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
16668 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_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
"
16684 #ifdef HAVE_IEEEFP_H
16685 #include <ieeefp.h>
16692 if { (eval echo configure:16693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16694 glibcpp_cv_func_sqrtl_use=yes
16696 echo "configure
: failed program was
:" >&5
16697 cat conftest.$ac_ext >&5
16699 glibcpp_cv_func_sqrtl_use=no
16703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16704 ac_cpp='$CPP $CPPFLAGS'
16705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16707 cross_compiling=$ac_cv_prog_cc_cross
16713 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
16715 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
16716 for ac_func in sqrtl
16718 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16719 echo "configure
:16720: checking
for $ac_func" >&5
16720 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16721 echo $ac_n "(cached
) $ac_c" 1>&6
16723 cat > conftest.$ac_ext <<EOF
16724 #line 16725 "configure
"
16725 #include "confdefs.h
"
16726 /* System header to define __stub macros and hopefully few prototypes,
16727 which can conflict with char $ac_func(); below. */
16728 #include <assert.h>
16729 /* Override any gcc2 internal prototype to avoid an error. */
16730 /* We use char because int might match the return type of a gcc2
16731 builtin and then its argument prototype would still apply. */
16736 /* The GNU C library defines this for functions which it implements
16737 to always fail with ENOSYS. Some functions are actually named
16738 something starting with __ and the normal name is an alias. */
16739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16747 if { (eval echo configure:16748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16749 eval "ac_cv_func_
$ac_func=yes"
16751 echo "configure
: failed program was
:" >&5
16752 cat conftest.$ac_ext >&5
16754 eval "ac_cv_func_
$ac_func=no
"
16759 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16760 echo "$ac_t""yes" 1>&6
16761 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16762 cat >> confdefs.h <<EOF
16763 #define $ac_tr_func 1
16767 echo "$ac_t""no
" 1>&6
16773 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
16774 echo "configure
:16775: checking
for _sqrtl declaration
" >&5
16775 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
16776 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
16777 echo $ac_n "(cached
) $ac_c" 1>&6
16782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16783 ac_cpp='$CXXCPP $CPPFLAGS'
16784 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16785 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16786 cross_compiling=$ac_cv_prog_cxx_cross
16788 cat > conftest.$ac_ext <<EOF
16789 #line 16790 "configure
"
16790 #include "confdefs.h
"
16792 #ifdef HAVE_IEEEFP_H
16793 #include <ieeefp.h>
16800 if { (eval echo configure:16801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16802 glibcpp_cv_func__sqrtl_use=yes
16804 echo "configure
: failed program was
:" >&5
16805 cat conftest.$ac_ext >&5
16807 glibcpp_cv_func__sqrtl_use=no
16811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16812 ac_cpp='$CPP $CPPFLAGS'
16813 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16814 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16815 cross_compiling=$ac_cv_prog_cc_cross
16821 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
16823 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
16824 for ac_func in _sqrtl
16826 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16827 echo "configure
:16828: checking
for $ac_func" >&5
16828 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16829 echo $ac_n "(cached
) $ac_c" 1>&6
16831 cat > conftest.$ac_ext <<EOF
16832 #line 16833 "configure
"
16833 #include "confdefs.h
"
16834 /* System header to define __stub macros and hopefully few prototypes,
16835 which can conflict with char $ac_func(); below. */
16836 #include <assert.h>
16837 /* Override any gcc2 internal prototype to avoid an error. */
16838 /* We use char because int might match the return type of a gcc2
16839 builtin and then its argument prototype would still apply. */
16844 /* The GNU C library defines this for functions which it implements
16845 to always fail with ENOSYS. Some functions are actually named
16846 something starting with __ and the normal name is an alias. */
16847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16855 if { (eval echo configure:16856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16857 eval "ac_cv_func_
$ac_func=yes"
16859 echo "configure
: failed program was
:" >&5
16860 cat conftest.$ac_ext >&5
16862 eval "ac_cv_func_
$ac_func=no
"
16867 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16868 echo "$ac_t""yes" 1>&6
16869 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16870 cat >> confdefs.h <<EOF
16871 #define $ac_tr_func 1
16875 echo "$ac_t""no
" 1>&6
16884 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
16885 echo "configure
:16886: checking
for sincosl declaration
" >&5
16886 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
16887 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
16888 echo $ac_n "(cached
) $ac_c" 1>&6
16893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16894 ac_cpp='$CXXCPP $CPPFLAGS'
16895 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16896 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16897 cross_compiling=$ac_cv_prog_cxx_cross
16899 cat > conftest.$ac_ext <<EOF
16900 #line 16901 "configure
"
16901 #include "confdefs.h
"
16907 if { (eval echo configure:16908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16909 glibcpp_cv_func_sincosl_use=yes
16911 echo "configure
: failed program was
:" >&5
16912 cat conftest.$ac_ext >&5
16914 glibcpp_cv_func_sincosl_use=no
16918 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16919 ac_cpp='$CPP $CPPFLAGS'
16920 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16921 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16922 cross_compiling=$ac_cv_prog_cc_cross
16928 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
16930 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
16931 for ac_func in sincosl
16933 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16934 echo "configure
:16935: checking
for $ac_func" >&5
16935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16936 echo $ac_n "(cached
) $ac_c" 1>&6
16938 cat > conftest.$ac_ext <<EOF
16939 #line 16940 "configure
"
16940 #include "confdefs.h
"
16941 /* System header to define __stub macros and hopefully few prototypes,
16942 which can conflict with char $ac_func(); below. */
16943 #include <assert.h>
16944 /* Override any gcc2 internal prototype to avoid an error. */
16945 /* We use char because int might match the return type of a gcc2
16946 builtin and then its argument prototype would still apply. */
16951 /* The GNU C library defines this for functions which it implements
16952 to always fail with ENOSYS. Some functions are actually named
16953 something starting with __ and the normal name is an alias. */
16954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16962 if { (eval echo configure:16963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16964 eval "ac_cv_func_
$ac_func=yes"
16966 echo "configure
: failed program was
:" >&5
16967 cat conftest.$ac_ext >&5
16969 eval "ac_cv_func_
$ac_func=no
"
16974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16975 echo "$ac_t""yes" 1>&6
16976 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16977 cat >> confdefs.h <<EOF
16978 #define $ac_tr_func 1
16982 echo "$ac_t""no
" 1>&6
16988 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
16989 echo "configure
:16990: checking
for _sincosl declaration
" >&5
16990 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
16991 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
16992 echo $ac_n "(cached
) $ac_c" 1>&6
16997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16998 ac_cpp='$CXXCPP $CPPFLAGS'
16999 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17000 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17001 cross_compiling=$ac_cv_prog_cxx_cross
17003 cat > conftest.$ac_ext <<EOF
17004 #line 17005 "configure
"
17005 #include "confdefs.h
"
17011 if { (eval echo configure:17012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17013 glibcpp_cv_func__sincosl_use=yes
17015 echo "configure
: failed program was
:" >&5
17016 cat conftest.$ac_ext >&5
17018 glibcpp_cv_func__sincosl_use=no
17022 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17023 ac_cpp='$CPP $CPPFLAGS'
17024 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17025 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17026 cross_compiling=$ac_cv_prog_cc_cross
17032 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
17034 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
17035 for ac_func in _sincosl
17037 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17038 echo "configure
:17039: checking
for $ac_func" >&5
17039 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17040 echo $ac_n "(cached
) $ac_c" 1>&6
17042 cat > conftest.$ac_ext <<EOF
17043 #line 17044 "configure
"
17044 #include "confdefs.h
"
17045 /* System header to define __stub macros and hopefully few prototypes,
17046 which can conflict with char $ac_func(); below. */
17047 #include <assert.h>
17048 /* Override any gcc2 internal prototype to avoid an error. */
17049 /* We use char because int might match the return type of a gcc2
17050 builtin and then its argument prototype would still apply. */
17055 /* The GNU C library defines this for functions which it implements
17056 to always fail with ENOSYS. Some functions are actually named
17057 something starting with __ and the normal name is an alias. */
17058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17066 if { (eval echo configure:17067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17068 eval "ac_cv_func_
$ac_func=yes"
17070 echo "configure
: failed program was
:" >&5
17071 cat conftest.$ac_ext >&5
17073 eval "ac_cv_func_
$ac_func=no
"
17078 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17079 echo "$ac_t""yes" 1>&6
17080 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17081 cat >> confdefs.h <<EOF
17082 #define $ac_tr_func 1
17086 echo "$ac_t""no
" 1>&6
17095 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
17096 echo "configure
:17097: checking
for finitel declaration
" >&5
17097 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
17098 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
17099 echo $ac_n "(cached
) $ac_c" 1>&6
17104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17105 ac_cpp='$CXXCPP $CPPFLAGS'
17106 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17107 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17108 cross_compiling=$ac_cv_prog_cxx_cross
17110 cat > conftest.$ac_ext <<EOF
17111 #line 17112 "configure
"
17112 #include "confdefs.h
"
17114 #ifdef HAVE_IEEEFP_H
17115 #include <ieeefp.h>
17122 if { (eval echo configure:17123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17124 glibcpp_cv_func_finitel_use=yes
17126 echo "configure
: failed program was
:" >&5
17127 cat conftest.$ac_ext >&5
17129 glibcpp_cv_func_finitel_use=no
17133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17134 ac_cpp='$CPP $CPPFLAGS'
17135 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17136 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17137 cross_compiling=$ac_cv_prog_cc_cross
17143 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
17145 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
17146 for ac_func in finitel
17148 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17149 echo "configure
:17150: checking
for $ac_func" >&5
17150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17151 echo $ac_n "(cached
) $ac_c" 1>&6
17153 cat > conftest.$ac_ext <<EOF
17154 #line 17155 "configure
"
17155 #include "confdefs.h
"
17156 /* System header to define __stub macros and hopefully few prototypes,
17157 which can conflict with char $ac_func(); below. */
17158 #include <assert.h>
17159 /* Override any gcc2 internal prototype to avoid an error. */
17160 /* We use char because int might match the return type of a gcc2
17161 builtin and then its argument prototype would still apply. */
17166 /* The GNU C library defines this for functions which it implements
17167 to always fail with ENOSYS. Some functions are actually named
17168 something starting with __ and the normal name is an alias. */
17169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17177 if { (eval echo configure:17178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17179 eval "ac_cv_func_
$ac_func=yes"
17181 echo "configure
: failed program was
:" >&5
17182 cat conftest.$ac_ext >&5
17184 eval "ac_cv_func_
$ac_func=no
"
17189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17190 echo "$ac_t""yes" 1>&6
17191 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17192 cat >> confdefs.h <<EOF
17193 #define $ac_tr_func 1
17197 echo "$ac_t""no
" 1>&6
17203 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
17204 echo "configure
:17205: checking
for _finitel declaration
" >&5
17205 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
17206 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
17207 echo $ac_n "(cached
) $ac_c" 1>&6
17212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17213 ac_cpp='$CXXCPP $CPPFLAGS'
17214 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17215 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17216 cross_compiling=$ac_cv_prog_cxx_cross
17218 cat > conftest.$ac_ext <<EOF
17219 #line 17220 "configure
"
17220 #include "confdefs.h
"
17222 #ifdef HAVE_IEEEFP_H
17223 #include <ieeefp.h>
17230 if { (eval echo configure:17231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17232 glibcpp_cv_func__finitel_use=yes
17234 echo "configure
: failed program was
:" >&5
17235 cat conftest.$ac_ext >&5
17237 glibcpp_cv_func__finitel_use=no
17241 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17242 ac_cpp='$CPP $CPPFLAGS'
17243 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17244 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17245 cross_compiling=$ac_cv_prog_cc_cross
17251 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
17253 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
17254 for ac_func in _finitel
17256 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17257 echo "configure
:17258: checking
for $ac_func" >&5
17258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17259 echo $ac_n "(cached
) $ac_c" 1>&6
17261 cat > conftest.$ac_ext <<EOF
17262 #line 17263 "configure
"
17263 #include "confdefs.h
"
17264 /* System header to define __stub macros and hopefully few prototypes,
17265 which can conflict with char $ac_func(); below. */
17266 #include <assert.h>
17267 /* Override any gcc2 internal prototype to avoid an error. */
17268 /* We use char because int might match the return type of a gcc2
17269 builtin and then its argument prototype would still apply. */
17274 /* The GNU C library defines this for functions which it implements
17275 to always fail with ENOSYS. Some functions are actually named
17276 something starting with __ and the normal name is an alias. */
17277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17285 if { (eval echo configure:17286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17287 eval "ac_cv_func_
$ac_func=yes"
17289 echo "configure
: failed program was
:" >&5
17290 cat conftest.$ac_ext >&5
17292 eval "ac_cv_func_
$ac_func=no
"
17297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17298 echo "$ac_t""yes" 1>&6
17299 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17300 cat >> confdefs.h <<EOF
17301 #define $ac_tr_func 1
17305 echo "$ac_t""no
" 1>&6
17315 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
17316 echo "configure
:17317: checking
for _float trig functions
" >&5
17317 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
17318 echo $ac_n "(cached
) $ac_c" 1>&6
17323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17324 ac_cpp='$CXXCPP $CPPFLAGS'
17325 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17326 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17327 cross_compiling=$ac_cv_prog_cxx_cross
17329 cat > conftest.$ac_ext <<EOF
17330 #line 17331 "configure
"
17331 #include "confdefs.h
"
17334 `for x in _acosf _asinf _atanf \
17335 _cosf _sinf _tanf \
17336 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
17339 if { (eval echo configure:17340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17341 glibcpp_cv_func__float_trig_use=yes
17343 echo "configure
: failed program was
:" >&5
17344 cat conftest.$ac_ext >&5
17346 glibcpp_cv_func__float_trig_use=no
17350 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17351 ac_cpp='$CPP $CPPFLAGS'
17352 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17353 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17354 cross_compiling=$ac_cv_prog_cc_cross
17358 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
17359 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
17360 for ac_func in _acosf _asinf _atanf \
17361 _cosf _sinf _tanf \
17362 _coshf _sinhf _tanhf
17364 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17365 echo "configure
:17366: checking
for $ac_func" >&5
17366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17367 echo $ac_n "(cached
) $ac_c" 1>&6
17369 cat > conftest.$ac_ext <<EOF
17370 #line 17371 "configure
"
17371 #include "confdefs.h
"
17372 /* System header to define __stub macros and hopefully few prototypes,
17373 which can conflict with char $ac_func(); below. */
17374 #include <assert.h>
17375 /* Override any gcc2 internal prototype to avoid an error. */
17376 /* We use char because int might match the return type of a gcc2
17377 builtin and then its argument prototype would still apply. */
17382 /* The GNU C library defines this for functions which it implements
17383 to always fail with ENOSYS. Some functions are actually named
17384 something starting with __ and the normal name is an alias. */
17385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17393 if { (eval echo configure:17394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17395 eval "ac_cv_func_
$ac_func=yes"
17397 echo "configure
: failed program was
:" >&5
17398 cat conftest.$ac_ext >&5
17400 eval "ac_cv_func_
$ac_func=no
"
17405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17406 echo "$ac_t""yes" 1>&6
17407 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17408 cat >> confdefs.h <<EOF
17409 #define $ac_tr_func 1
17413 echo "$ac_t""no
" 1>&6
17420 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
17421 echo "configure
:17422: checking
for _float round functions
" >&5
17422 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
17423 echo $ac_n "(cached
) $ac_c" 1>&6
17428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17429 ac_cpp='$CXXCPP $CPPFLAGS'
17430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17432 cross_compiling=$ac_cv_prog_cxx_cross
17434 cat > conftest.$ac_ext <<EOF
17435 #line 17436 "configure
"
17436 #include "confdefs.h
"
17439 `for x in _ceilf _floorf; do echo "$x (0);"; done`
17442 if { (eval echo configure:17443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17444 glibcpp_cv_func__float_round_use=yes
17446 echo "configure
: failed program was
:" >&5
17447 cat conftest.$ac_ext >&5
17449 glibcpp_cv_func__float_round_use=no
17453 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17454 ac_cpp='$CPP $CPPFLAGS'
17455 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17456 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17457 cross_compiling=$ac_cv_prog_cc_cross
17461 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
17462 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
17463 for ac_func in _ceilf _floorf
17465 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17466 echo "configure
:17467: checking
for $ac_func" >&5
17467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17468 echo $ac_n "(cached
) $ac_c" 1>&6
17470 cat > conftest.$ac_ext <<EOF
17471 #line 17472 "configure
"
17472 #include "confdefs.h
"
17473 /* System header to define __stub macros and hopefully few prototypes,
17474 which can conflict with char $ac_func(); below. */
17475 #include <assert.h>
17476 /* Override any gcc2 internal prototype to avoid an error. */
17477 /* We use char because int might match the return type of a gcc2
17478 builtin and then its argument prototype would still apply. */
17483 /* The GNU C library defines this for functions which it implements
17484 to always fail with ENOSYS. Some functions are actually named
17485 something starting with __ and the normal name is an alias. */
17486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17494 if { (eval echo configure:17495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17496 eval "ac_cv_func_
$ac_func=yes"
17498 echo "configure
: failed program was
:" >&5
17499 cat conftest.$ac_ext >&5
17501 eval "ac_cv_func_
$ac_func=no
"
17506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17507 echo "$ac_t""yes" 1>&6
17508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17509 cat >> confdefs.h <<EOF
17510 #define $ac_tr_func 1
17514 echo "$ac_t""no
" 1>&6
17522 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
17523 echo "configure
:17524: checking
for _long double trig functions
" >&5
17524 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
17525 echo $ac_n "(cached
) $ac_c" 1>&6
17530 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17531 ac_cpp='$CXXCPP $CPPFLAGS'
17532 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17533 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17534 cross_compiling=$ac_cv_prog_cxx_cross
17536 cat > conftest.$ac_ext <<EOF
17537 #line 17538 "configure
"
17538 #include "confdefs.h
"
17541 `for x in _acosl _asinl _atanl \
17542 _cosl _sinl _tanl \
17543 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
17546 if { (eval echo configure:17547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17548 glibcpp_cv_func__long_double_trig_use=yes
17550 echo "configure
: failed program was
:" >&5
17551 cat conftest.$ac_ext >&5
17553 glibcpp_cv_func__long_double_trig_use=no
17557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17558 ac_cpp='$CPP $CPPFLAGS'
17559 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17560 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17561 cross_compiling=$ac_cv_prog_cc_cross
17565 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
17566 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
17567 for ac_func in _acosl _asinl _atanl \
17568 _cosl _sinl _tanl \
17569 _coshl _sinhl _tanhl
17571 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17572 echo "configure
:17573: checking
for $ac_func" >&5
17573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17574 echo $ac_n "(cached
) $ac_c" 1>&6
17576 cat > conftest.$ac_ext <<EOF
17577 #line 17578 "configure
"
17578 #include "confdefs.h
"
17579 /* System header to define __stub macros and hopefully few prototypes,
17580 which can conflict with char $ac_func(); below. */
17581 #include <assert.h>
17582 /* Override any gcc2 internal prototype to avoid an error. */
17583 /* We use char because int might match the return type of a gcc2
17584 builtin and then its argument prototype would still apply. */
17589 /* The GNU C library defines this for functions which it implements
17590 to always fail with ENOSYS. Some functions are actually named
17591 something starting with __ and the normal name is an alias. */
17592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17600 if { (eval echo configure:17601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17602 eval "ac_cv_func_
$ac_func=yes"
17604 echo "configure
: failed program was
:" >&5
17605 cat conftest.$ac_ext >&5
17607 eval "ac_cv_func_
$ac_func=no
"
17612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17613 echo "$ac_t""yes" 1>&6
17614 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17615 cat >> confdefs.h <<EOF
17616 #define $ac_tr_func 1
17620 echo "$ac_t""no
" 1>&6
17627 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
17628 echo "configure
:17629: checking
for _long double round functions
" >&5
17629 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
17630 echo $ac_n "(cached
) $ac_c" 1>&6
17635 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17636 ac_cpp='$CXXCPP $CPPFLAGS'
17637 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17638 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17639 cross_compiling=$ac_cv_prog_cxx_cross
17641 cat > conftest.$ac_ext <<EOF
17642 #line 17643 "configure
"
17643 #include "confdefs.h
"
17646 `for x in _ceill _floorl; do echo "$x (0);"; done`
17649 if { (eval echo configure:17650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17651 glibcpp_cv_func__long_double_round_use=yes
17653 echo "configure
: failed program was
:" >&5
17654 cat conftest.$ac_ext >&5
17656 glibcpp_cv_func__long_double_round_use=no
17660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17661 ac_cpp='$CPP $CPPFLAGS'
17662 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17663 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17664 cross_compiling=$ac_cv_prog_cc_cross
17668 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
17669 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
17670 for ac_func in _ceill _floorl
17672 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17673 echo "configure
:17674: checking
for $ac_func" >&5
17674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17675 echo $ac_n "(cached
) $ac_c" 1>&6
17677 cat > conftest.$ac_ext <<EOF
17678 #line 17679 "configure
"
17679 #include "confdefs.h
"
17680 /* System header to define __stub macros and hopefully few prototypes,
17681 which can conflict with char $ac_func(); below. */
17682 #include <assert.h>
17683 /* Override any gcc2 internal prototype to avoid an error. */
17684 /* We use char because int might match the return type of a gcc2
17685 builtin and then its argument prototype would still apply. */
17690 /* The GNU C library defines this for functions which it implements
17691 to always fail with ENOSYS. Some functions are actually named
17692 something starting with __ and the normal name is an alias. */
17693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17701 if { (eval echo configure:17702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17703 eval "ac_cv_func_
$ac_func=yes"
17705 echo "configure
: failed program was
:" >&5
17706 cat conftest.$ac_ext >&5
17708 eval "ac_cv_func_
$ac_func=no
"
17713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17714 echo "$ac_t""yes" 1>&6
17715 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17716 cat >> confdefs.h <<EOF
17717 #define $ac_tr_func 1
17721 echo "$ac_t""no
" 1>&6
17728 LIBS="$ac_save_LIBS"
17729 CXXFLAGS="$ac_save_CXXFLAGS"
17732 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
17733 echo "configure
:17734: checking
for main
in -lm" >&5
17734 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
17735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17736 echo $ac_n "(cached
) $ac_c" 1>&6
17738 ac_save_LIBS="$LIBS"
17740 cat > conftest.$ac_ext <<EOF
17741 #line 17742 "configure
"
17742 #include "confdefs.h
"
17748 if { (eval echo configure:17749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17750 eval "ac_cv_lib_
$ac_lib_var=yes"
17752 echo "configure
: failed program was
:" >&5
17753 cat conftest.$ac_ext >&5
17755 eval "ac_cv_lib_
$ac_lib_var=no
"
17758 LIBS="$ac_save_LIBS"
17761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17762 echo "$ac_t""yes" 1>&6
17763 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
17764 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
17765 cat >> confdefs.h <<EOF
17766 #define $ac_tr_lib 1
17772 echo "$ac_t""no
" 1>&6
17775 for ac_func in nan copysignf
17777 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17778 echo "configure
:17779: checking
for $ac_func" >&5
17779 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17780 echo $ac_n "(cached
) $ac_c" 1>&6
17782 cat > conftest.$ac_ext <<EOF
17783 #line 17784 "configure
"
17784 #include "confdefs.h
"
17785 /* System header to define __stub macros and hopefully few prototypes,
17786 which can conflict with char $ac_func(); below. */
17787 #include <assert.h>
17788 /* Override any gcc2 internal prototype to avoid an error. */
17789 /* We use char because int might match the return type of a gcc2
17790 builtin and then its argument prototype would still apply. */
17795 /* The GNU C library defines this for functions which it implements
17796 to always fail with ENOSYS. Some functions are actually named
17797 something starting with __ and the normal name is an alias. */
17798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17806 if { (eval echo configure:17807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17808 eval "ac_cv_func_
$ac_func=yes"
17810 echo "configure
: failed program was
:" >&5
17811 cat conftest.$ac_ext >&5
17813 eval "ac_cv_func_
$ac_func=no
"
17818 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17819 echo "$ac_t""yes" 1>&6
17820 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17821 cat >> confdefs.h <<EOF
17822 #define $ac_tr_func 1
17826 echo "$ac_t""no
" 1>&6
17827 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
17833 USE_COMPLEX_LONG_DOUBLE=no
17834 if test x$ac_cv_func_copysignl = x"yes"; then
17835 USE_COMPLEX_LONG_DOUBLE=yes
17836 for ac_func in signbitl
17838 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17839 echo "configure
:17840: checking
for $ac_func" >&5
17840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17841 echo $ac_n "(cached
) $ac_c" 1>&6
17843 cat > conftest.$ac_ext <<EOF
17844 #line 17845 "configure
"
17845 #include "confdefs.h
"
17846 /* System header to define __stub macros and hopefully few prototypes,
17847 which can conflict with char $ac_func(); below. */
17848 #include <assert.h>
17849 /* Override any gcc2 internal prototype to avoid an error. */
17850 /* We use char because int might match the return type of a gcc2
17851 builtin and then its argument prototype would still apply. */
17856 /* The GNU C library defines this for functions which it implements
17857 to always fail with ENOSYS. Some functions are actually named
17858 something starting with __ and the normal name is an alias. */
17859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17867 if { (eval echo configure:17868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17869 eval "ac_cv_func_
$ac_func=yes"
17871 echo "configure
: failed program was
:" >&5
17872 cat conftest.$ac_ext >&5
17874 eval "ac_cv_func_
$ac_func=no
"
17879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17880 echo "$ac_t""yes" 1>&6
17881 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17882 cat >> confdefs.h <<EOF
17883 #define $ac_tr_func 1
17887 echo "$ac_t""no
" 1>&6
17888 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
17899 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
17900 echo "configure
:17901: checking
for mbstate_t
" >&5
17901 cat > conftest.$ac_ext <<EOF
17902 #line 17903 "configure
"
17903 #include "confdefs.h
"
17906 mbstate_t teststate;
17909 if { (eval echo configure:17910: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17913 echo "configure
: failed program was
:" >&5
17914 cat conftest.$ac_ext >&5
17919 echo "$ac_t""$have_mbstate_t" 1>&6
17920 if test x"$have_mbstate_t" = xyes; then
17921 cat >> confdefs.h <<\EOF
17922 #define HAVE_MBSTATE_T 1
17927 for ac_hdr in wchar.h
17929 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17930 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
17931 echo "configure
:17932: checking
for $ac_hdr" >&5
17932 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17933 echo $ac_n "(cached
) $ac_c" 1>&6
17935 cat > conftest.$ac_ext <<EOF
17936 #line 17937 "configure
"
17937 #include "confdefs.h
"
17940 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17941 { (eval echo configure:17942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17942 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17943 if test -z "$ac_err"; then
17945 eval "ac_cv_header_
$ac_safe=yes"
17948 echo "configure
: failed program was
:" >&5
17949 cat conftest.$ac_ext >&5
17951 eval "ac_cv_header_
$ac_safe=no
"
17955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17956 echo "$ac_t""yes" 1>&6
17957 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17958 cat >> confdefs.h <<EOF
17959 #define $ac_tr_hdr 1
17963 echo "$ac_t""no
" 1>&6
17968 ac_safe=`echo "wctype.h
" | sed 'y%./+-%__p_%'`
17969 echo $ac_n "checking
for wctype.h
""...
$ac_c" 1>&6
17970 echo "configure
:17971: checking
for wctype.h
" >&5
17971 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17972 echo $ac_n "(cached
) $ac_c" 1>&6
17974 cat > conftest.$ac_ext <<EOF
17975 #line 17976 "configure
"
17976 #include "confdefs.h
"
17977 #include <wctype.h>
17979 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
17980 { (eval echo configure:17981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17981 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
17982 if test -z "$ac_err"; then
17984 eval "ac_cv_header_
$ac_safe=yes"
17987 echo "configure
: failed program was
:" >&5
17988 cat conftest.$ac_ext >&5
17990 eval "ac_cv_header_
$ac_safe=no
"
17994 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17995 echo "$ac_t""yes" 1>&6
17996 ac_has_wctype_h=yes
17998 echo "$ac_t""no
" 1>&6
18003 if test x"$ac_has_wchar_h" = xyes &&
18004 test x"$ac_has_wctype_h" = xyes &&
18005 test x"$enable_c_mbchar" != xno; then
18007 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
18008 echo "configure
:18009: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
18009 cat > conftest.$ac_ext <<EOF
18010 #line 18011 "configure
"
18011 #include "confdefs.h
"
18014 int i = WCHAR_MIN; int j = WCHAR_MAX;
18017 if { (eval echo configure:18018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18019 has_wchar_minmax=yes
18021 echo "configure
: failed program was
:" >&5
18022 cat conftest.$ac_ext >&5
18024 has_wchar_minmax=no
18027 echo "$ac_t""$has_wchar_minmax" 1>&6
18029 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
18030 echo "configure
:18031: checking
for WEOF
" >&5
18031 cat > conftest.$ac_ext <<EOF
18032 #line 18033 "configure
"
18033 #include "confdefs.h
"
18036 #include <stddef.h>
18041 if { (eval echo configure:18042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18045 echo "configure
: failed program was
:" >&5
18046 cat conftest.$ac_ext >&5
18051 echo "$ac_t""$has_weof" 1>&6
18054 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
18056 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18057 echo "configure
:18058: checking
for $ac_func" >&5
18058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18059 echo $ac_n "(cached
) $ac_c" 1>&6
18061 cat > conftest.$ac_ext <<EOF
18062 #line 18063 "configure
"
18063 #include "confdefs.h
"
18064 /* System header to define __stub macros and hopefully few prototypes,
18065 which can conflict with char $ac_func(); below. */
18066 #include <assert.h>
18067 /* Override any gcc2 internal prototype to avoid an error. */
18068 /* We use char because int might match the return type of a gcc2
18069 builtin and then its argument prototype would still apply. */
18074 /* The GNU C library defines this for functions which it implements
18075 to always fail with ENOSYS. Some functions are actually named
18076 something starting with __ and the normal name is an alias. */
18077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18085 if { (eval echo configure:18086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18087 eval "ac_cv_func_
$ac_func=yes"
18089 echo "configure
: failed program was
:" >&5
18090 cat conftest.$ac_ext >&5
18092 eval "ac_cv_func_
$ac_func=no
"
18097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18098 echo "$ac_t""yes" 1>&6
18099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18100 cat >> confdefs.h <<EOF
18101 #define $ac_tr_func 1
18105 echo "$ac_t""no
" 1>&6
18112 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
18113 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
18114 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
18115 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
18116 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
18117 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
18119 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18120 echo "configure
:18121: checking
for $ac_func" >&5
18121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18122 echo $ac_n "(cached
) $ac_c" 1>&6
18124 cat > conftest.$ac_ext <<EOF
18125 #line 18126 "configure
"
18126 #include "confdefs.h
"
18127 /* System header to define __stub macros and hopefully few prototypes,
18128 which can conflict with char $ac_func(); below. */
18129 #include <assert.h>
18130 /* Override any gcc2 internal prototype to avoid an error. */
18131 /* We use char because int might match the return type of a gcc2
18132 builtin and then its argument prototype would still apply. */
18137 /* The GNU C library defines this for functions which it implements
18138 to always fail with ENOSYS. Some functions are actually named
18139 something starting with __ and the normal name is an alias. */
18140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18148 if { (eval echo configure:18149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18150 eval "ac_cv_func_
$ac_func=yes"
18152 echo "configure
: failed program was
:" >&5
18153 cat conftest.$ac_ext >&5
18155 eval "ac_cv_func_
$ac_func=no
"
18160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18161 echo "$ac_t""yes" 1>&6
18162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18163 cat >> confdefs.h <<EOF
18164 #define $ac_tr_func 1
18168 echo "$ac_t""no
" 1>&6
18175 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
18176 echo "configure
:18177: checking
for ISO C99 wchar_t support
" >&5
18177 if test x"$has_weof" = xyes &&
18178 test x"$has_wchar_minmax" = xyes &&
18179 test x"$ac_wfuncs" = xyes; then
18180 ac_isoC99_wchar_t=yes
18182 ac_isoC99_wchar_t=no
18184 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
18186 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
18187 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
18188 echo "configure
:18189: checking
for iconv.h
" >&5
18189 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18190 echo $ac_n "(cached
) $ac_c" 1>&6
18192 cat > conftest.$ac_ext <<EOF
18193 #line 18194 "configure
"
18194 #include "confdefs.h
"
18197 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18198 { (eval echo configure:18199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18200 if test -z "$ac_err"; then
18202 eval "ac_cv_header_
$ac_safe=yes"
18205 echo "configure
: failed program was
:" >&5
18206 cat conftest.$ac_ext >&5
18208 eval "ac_cv_header_
$ac_safe=no
"
18212 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18213 echo "$ac_t""yes" 1>&6
18216 echo "$ac_t""no
" 1>&6
18220 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
18221 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
18222 echo "configure
:18223: checking
for langinfo.h
" >&5
18223 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18224 echo $ac_n "(cached
) $ac_c" 1>&6
18226 cat > conftest.$ac_ext <<EOF
18227 #line 18228 "configure
"
18228 #include "confdefs.h
"
18229 #include <langinfo.h>
18231 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18232 { (eval echo configure:18233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18233 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18234 if test -z "$ac_err"; then
18236 eval "ac_cv_header_
$ac_safe=yes"
18239 echo "configure
: failed program was
:" >&5
18240 cat conftest.$ac_ext >&5
18242 eval "ac_cv_header_
$ac_safe=no
"
18246 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18247 echo "$ac_t""yes" 1>&6
18248 ac_has_langinfo_h=yes
18250 echo "$ac_t""no
" 1>&6
18251 ac_has_langinfo_h=no
18255 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
18256 echo "configure
:18257: checking
for iconv in -liconv" >&5
18257 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
18258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18259 echo $ac_n "(cached
) $ac_c" 1>&6
18261 ac_save_LIBS="$LIBS"
18262 LIBS="-liconv $LIBS"
18263 cat > conftest.$ac_ext <<EOF
18264 #line 18265 "configure
"
18265 #include "confdefs.h
"
18266 /* Override any gcc2 internal prototype to avoid an error. */
18267 /* We use char because int might match the return type of a gcc2
18268 builtin and then its argument prototype would still apply. */
18275 if { (eval echo configure:18276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18277 eval "ac_cv_lib_
$ac_lib_var=yes"
18279 echo "configure
: failed program was
:" >&5
18280 cat conftest.$ac_ext >&5
18282 eval "ac_cv_lib_
$ac_lib_var=no
"
18285 LIBS="$ac_save_LIBS"
18288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18289 echo "$ac_t""yes" 1>&6
18292 echo "$ac_t""no
" 1>&6
18295 ac_save_LIBS="$LIBS"
18296 LIBS="$LIBS $libiconv"
18298 for ac_func in iconv_open iconv_close iconv nl_langinfo
18300 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18301 echo "configure
:18302: checking
for $ac_func" >&5
18302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18303 echo $ac_n "(cached
) $ac_c" 1>&6
18305 cat > conftest.$ac_ext <<EOF
18306 #line 18307 "configure
"
18307 #include "confdefs.h
"
18308 /* System header to define __stub macros and hopefully few prototypes,
18309 which can conflict with char $ac_func(); below. */
18310 #include <assert.h>
18311 /* Override any gcc2 internal prototype to avoid an error. */
18312 /* We use char because int might match the return type of a gcc2
18313 builtin and then its argument prototype would still apply. */
18318 /* The GNU C library defines this for functions which it implements
18319 to always fail with ENOSYS. Some functions are actually named
18320 something starting with __ and the normal name is an alias. */
18321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18329 if { (eval echo configure:18330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18331 eval "ac_cv_func_
$ac_func=yes"
18333 echo "configure
: failed program was
:" >&5
18334 cat conftest.$ac_ext >&5
18336 eval "ac_cv_func_
$ac_func=no
"
18341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18342 echo "$ac_t""yes" 1>&6
18343 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18344 cat >> confdefs.h <<EOF
18345 #define $ac_tr_func 1
18350 echo "$ac_t""no
" 1>&6
18356 LIBS="$ac_save_LIBS"
18358 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
18359 echo "configure
:18360: checking
for XPG2 wchar_t support
" >&5
18360 if test x"$ac_has_iconv_h" = xyes &&
18361 test x"$ac_has_langinfo_h" = xyes &&
18362 test x"$ac_XPG2funcs" = xyes; then
18363 ac_XPG2_wchar_t=yes
18367 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
18369 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
18370 echo "configure
:18371: checking
for enabled wchar_t specializations
" >&5
18371 if test x"$ac_isoC99_wchar_t" = xyes &&
18372 test x"$ac_XPG2_wchar_t" = xyes; then
18373 cat >> confdefs.h <<\EOF
18374 #define _GLIBCPP_USE_WCHAR_T 1
18377 echo "$ac_t"""yes"" 1>&6
18379 echo "$ac_t"""no"" 1>&6
18382 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
18386 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18387 ac_save_CXXFLAGS="$CXXFLAGS"
18388 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
18391 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
18392 echo "configure
:18393: checking
for strtold declaration
" >&5
18393 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
18394 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
18395 echo $ac_n "(cached
) $ac_c" 1>&6
18400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18401 ac_cpp='$CXXCPP $CPPFLAGS'
18402 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18403 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18404 cross_compiling=$ac_cv_prog_cxx_cross
18406 cat > conftest.$ac_ext <<EOF
18407 #line 18408 "configure
"
18408 #include "confdefs.h
"
18409 #include <stdlib.h>
18414 if { (eval echo configure:18415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18416 glibcpp_cv_func_strtold_use=yes
18418 echo "configure
: failed program was
:" >&5
18419 cat conftest.$ac_ext >&5
18421 glibcpp_cv_func_strtold_use=no
18425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18426 ac_cpp='$CPP $CPPFLAGS'
18427 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18428 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18429 cross_compiling=$ac_cv_prog_cc_cross
18435 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
18436 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
18437 for ac_func in strtold
18439 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18440 echo "configure
:18441: checking
for $ac_func" >&5
18441 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18442 echo $ac_n "(cached
) $ac_c" 1>&6
18444 cat > conftest.$ac_ext <<EOF
18445 #line 18446 "configure
"
18446 #include "confdefs.h
"
18447 /* System header to define __stub macros and hopefully few prototypes,
18448 which can conflict with char $ac_func(); below. */
18449 #include <assert.h>
18450 /* Override any gcc2 internal prototype to avoid an error. */
18451 /* We use char because int might match the return type of a gcc2
18452 builtin and then its argument prototype would still apply. */
18457 /* The GNU C library defines this for functions which it implements
18458 to always fail with ENOSYS. Some functions are actually named
18459 something starting with __ and the normal name is an alias. */
18460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18468 if { (eval echo configure:18469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18470 eval "ac_cv_func_
$ac_func=yes"
18472 echo "configure
: failed program was
:" >&5
18473 cat conftest.$ac_ext >&5
18475 eval "ac_cv_func_
$ac_func=no
"
18480 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18481 echo "$ac_t""yes" 1>&6
18482 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18483 cat >> confdefs.h <<EOF
18484 #define $ac_tr_func 1
18488 echo "$ac_t""no
" 1>&6
18495 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
18496 echo "configure
:18497: checking
for strtof declaration
" >&5
18497 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
18498 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
18499 echo $ac_n "(cached
) $ac_c" 1>&6
18504 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18505 ac_cpp='$CXXCPP $CPPFLAGS'
18506 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18507 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18508 cross_compiling=$ac_cv_prog_cxx_cross
18510 cat > conftest.$ac_ext <<EOF
18511 #line 18512 "configure
"
18512 #include "confdefs.h
"
18513 #include <stdlib.h>
18518 if { (eval echo configure:18519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18520 glibcpp_cv_func_strtof_use=yes
18522 echo "configure
: failed program was
:" >&5
18523 cat conftest.$ac_ext >&5
18525 glibcpp_cv_func_strtof_use=no
18529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18530 ac_cpp='$CPP $CPPFLAGS'
18531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18533 cross_compiling=$ac_cv_prog_cc_cross
18539 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
18540 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
18541 for ac_func in strtof
18543 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18544 echo "configure
:18545: checking
for $ac_func" >&5
18545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18546 echo $ac_n "(cached
) $ac_c" 1>&6
18548 cat > conftest.$ac_ext <<EOF
18549 #line 18550 "configure
"
18550 #include "confdefs.h
"
18551 /* System header to define __stub macros and hopefully few prototypes,
18552 which can conflict with char $ac_func(); below. */
18553 #include <assert.h>
18554 /* Override any gcc2 internal prototype to avoid an error. */
18555 /* We use char because int might match the return type of a gcc2
18556 builtin and then its argument prototype would still apply. */
18561 /* The GNU C library defines this for functions which it implements
18562 to always fail with ENOSYS. Some functions are actually named
18563 something starting with __ and the normal name is an alias. */
18564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18572 if { (eval echo configure:18573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18574 eval "ac_cv_func_
$ac_func=yes"
18576 echo "configure
: failed program was
:" >&5
18577 cat conftest.$ac_ext >&5
18579 eval "ac_cv_func_
$ac_func=no
"
18584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18585 echo "$ac_t""yes" 1>&6
18586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18587 cat >> confdefs.h <<EOF
18588 #define $ac_tr_func 1
18592 echo "$ac_t""no
" 1>&6
18598 for ac_func in drand48
18600 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18601 echo "configure
:18602: checking
for $ac_func" >&5
18602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18603 echo $ac_n "(cached
) $ac_c" 1>&6
18605 cat > conftest.$ac_ext <<EOF
18606 #line 18607 "configure
"
18607 #include "confdefs.h
"
18608 /* System header to define __stub macros and hopefully few prototypes,
18609 which can conflict with char $ac_func(); below. */
18610 #include <assert.h>
18611 /* Override any gcc2 internal prototype to avoid an error. */
18612 /* We use char because int might match the return type of a gcc2
18613 builtin and then its argument prototype would still apply. */
18618 /* The GNU C library defines this for functions which it implements
18619 to always fail with ENOSYS. Some functions are actually named
18620 something starting with __ and the normal name is an alias. */
18621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18629 if { (eval echo configure:18630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18631 eval "ac_cv_func_
$ac_func=yes"
18633 echo "configure
: failed program was
:" >&5
18634 cat conftest.$ac_ext >&5
18636 eval "ac_cv_func_
$ac_func=no
"
18641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18642 echo "$ac_t""yes" 1>&6
18643 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18644 cat >> confdefs.h <<EOF
18645 #define $ac_tr_func 1
18649 echo "$ac_t""no
" 1>&6
18654 CXXFLAGS="$ac_save_CXXFLAGS"
18657 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
18658 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
18659 echo "configure
:18660: checking
for locale.h
" >&5
18660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18661 echo $ac_n "(cached
) $ac_c" 1>&6
18663 cat > conftest.$ac_ext <<EOF
18664 #line 18665 "configure
"
18665 #include "confdefs.h
"
18666 #include <locale.h>
18668 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18669 { (eval echo configure:18670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18670 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18671 if test -z "$ac_err"; then
18673 eval "ac_cv_header_
$ac_safe=yes"
18676 echo "configure
: failed program was
:" >&5
18677 cat conftest.$ac_ext >&5
18679 eval "ac_cv_header_
$ac_safe=no
"
18683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18684 echo "$ac_t""yes" 1>&6
18686 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
18687 echo "configure
:18688: checking
for LC_MESSAGES
" >&5
18688 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
18689 echo $ac_n "(cached
) $ac_c" 1>&6
18691 cat > conftest.$ac_ext <<EOF
18692 #line 18693 "configure
"
18693 #include "confdefs.h
"
18694 #include <locale.h>
18699 if { (eval echo configure:18700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18701 ac_cv_val_LC_MESSAGES=yes
18703 echo "configure
: failed program was
:" >&5
18704 cat conftest.$ac_ext >&5
18706 ac_cv_val_LC_MESSAGES=no
18711 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
18712 if test $ac_cv_val_LC_MESSAGES = yes; then
18713 cat >> confdefs.h <<\EOF
18714 #define HAVE_LC_MESSAGES 1
18720 echo "$ac_t""no
" 1>&6
18725 cat > conftest.$ac_ext <<EOF
18726 #line 18727 "configure
"
18727 #include "confdefs.h
"
18729 #include <setjmp.h>
18732 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
18735 if { (eval echo configure:18736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18737 cat >> confdefs.h <<\EOF
18738 #define HAVE_SIGSETJMP 1
18743 echo "configure
: failed program was
:" >&5
18744 cat conftest.$ac_ext >&5
18748 for ac_hdr in unistd.h
18750 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18751 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
18752 echo "configure
:18753: checking
for $ac_hdr" >&5
18753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18754 echo $ac_n "(cached
) $ac_c" 1>&6
18756 cat > conftest.$ac_ext <<EOF
18757 #line 18758 "configure
"
18758 #include "confdefs.h
"
18761 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
18762 { (eval echo configure:18763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18763 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
18764 if test -z "$ac_err"; then
18766 eval "ac_cv_header_
$ac_safe=yes"
18769 echo "configure
: failed program was
:" >&5
18770 cat conftest.$ac_ext >&5
18772 eval "ac_cv_header_
$ac_safe=no
"
18776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18777 echo "$ac_t""yes" 1>&6
18778 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18779 cat >> confdefs.h <<EOF
18780 #define $ac_tr_hdr 1
18784 echo "$ac_t""no
" 1>&6
18788 for ac_func in getpagesize
18790 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18791 echo "configure
:18792: checking
for $ac_func" >&5
18792 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18793 echo $ac_n "(cached
) $ac_c" 1>&6
18795 cat > conftest.$ac_ext <<EOF
18796 #line 18797 "configure
"
18797 #include "confdefs.h
"
18798 /* System header to define __stub macros and hopefully few prototypes,
18799 which can conflict with char $ac_func(); below. */
18800 #include <assert.h>
18801 /* Override any gcc2 internal prototype to avoid an error. */
18802 /* We use char because int might match the return type of a gcc2
18803 builtin and then its argument prototype would still apply. */
18808 /* The GNU C library defines this for functions which it implements
18809 to always fail with ENOSYS. Some functions are actually named
18810 something starting with __ and the normal name is an alias. */
18811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18819 if { (eval echo configure:18820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18821 eval "ac_cv_func_
$ac_func=yes"
18823 echo "configure
: failed program was
:" >&5
18824 cat conftest.$ac_ext >&5
18826 eval "ac_cv_func_
$ac_func=no
"
18831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18832 echo "$ac_t""yes" 1>&6
18833 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18834 cat >> confdefs.h <<EOF
18835 #define $ac_tr_func 1
18839 echo "$ac_t""no
" 1>&6
18843 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
18844 echo "configure
:18845: checking
for working mmap
" >&5
18845 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
18846 echo $ac_n "(cached
) $ac_c" 1>&6
18848 if test "$cross_compiling" = yes; then
18849 ac_cv_func_mmap_fixed_mapped=no
18851 cat > conftest.$ac_ext <<EOF
18852 #line 18853 "configure
"
18853 #include "confdefs.h
"
18855 /* Thanks to Mike Haertel and Jim Avera for this test.
18856 Here is a matrix of mmap possibilities:
18857 mmap private not fixed
18858 mmap private fixed at somewhere currently unmapped
18859 mmap private fixed at somewhere already mapped
18860 mmap shared not fixed
18861 mmap shared fixed at somewhere currently unmapped
18862 mmap shared fixed at somewhere already mapped
18863 For private mappings, we should verify that changes cannot be read()
18864 back from the file, nor mmap's back from the file at a different
18865 address. (There have been systems where private was not correctly
18866 implemented like the infamous i386 svr4.0, and systems where the
18867 VM page cache was not coherent with the filesystem buffer cache
18868 like early versions of FreeBSD and possibly contemporary NetBSD.)
18869 For shared mappings, we should conversely verify that changes get
18870 propogated back to all the places they're supposed to be.
18872 Grep wants private fixed already mapped.
18873 The main things grep needs to know about mmap are:
18874 * does it exist and is it safe to write into the mmap'd area
18875 * how to use it (BSD variants) */
18876 #include <sys/types.h>
18878 #include <sys/mman.h>
18880 /* This mess was copied from the GNU getpagesize.h. */
18881 #ifndef HAVE_GETPAGESIZE
18882 # ifdef HAVE_UNISTD_H
18883 # include <unistd.h>
18886 /* Assume that all systems that can run configure have sys/param.h. */
18887 # ifndef HAVE_SYS_PARAM_H
18888 # define HAVE_SYS_PARAM_H 1
18891 # ifdef _SC_PAGESIZE
18892 # define getpagesize() sysconf(_SC_PAGESIZE)
18893 # else /* no _SC_PAGESIZE */
18894 # ifdef HAVE_SYS_PARAM_H
18895 # include <sys/param.h>
18896 # ifdef EXEC_PAGESIZE
18897 # define getpagesize() EXEC_PAGESIZE
18898 # else /* no EXEC_PAGESIZE */
18900 # define getpagesize() NBPG * CLSIZE
18903 # endif /* no CLSIZE */
18904 # else /* no NBPG */
18906 # define getpagesize() NBPC
18907 # else /* no NBPC */
18909 # define getpagesize() PAGESIZE
18910 # endif /* PAGESIZE */
18911 # endif /* no NBPC */
18912 # endif /* no NBPG */
18913 # endif /* no EXEC_PAGESIZE */
18914 # else /* no HAVE_SYS_PARAM_H */
18915 # define getpagesize() 8192 /* punt totally */
18916 # endif /* no HAVE_SYS_PARAM_H */
18917 # endif /* no _SC_PAGESIZE */
18919 #endif /* no HAVE_GETPAGESIZE */
18922 extern "C
" { void *malloc(unsigned); }
18930 char *data, *data2, *data3;
18934 pagesize = getpagesize();
18937 * First, make a file with some known garbage in it.
18939 data = malloc(pagesize);
18942 for (i = 0; i < pagesize; ++i)
18943 *(data + i) = rand();
18945 fd = creat("conftestmmap
", 0600);
18948 if (write(fd, data, pagesize) != pagesize)
18953 * Next, try to mmap the file at a fixed address which
18954 * already has something else allocated at it. If we can,
18955 * also make sure that we see the same garbage.
18957 fd = open("conftestmmap
", O_RDWR);
18960 data2 = malloc(2 * pagesize);
18963 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
18964 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
18965 MAP_PRIVATE | MAP_FIXED, fd, 0L))
18967 for (i = 0; i < pagesize; ++i)
18968 if (*(data + i) != *(data2 + i))
18972 * Finally, make sure that changes to the mapped area
18973 * do not percolate back to the file as seen by read().
18974 * (This is a bug on some variants of i386 svr4.0.)
18976 for (i = 0; i < pagesize; ++i)
18977 *(data2 + i) = *(data2 + i) + 1;
18978 data3 = malloc(pagesize);
18981 if (read(fd, data3, pagesize) != pagesize)
18983 for (i = 0; i < pagesize; ++i)
18984 if (*(data + i) != *(data3 + i))
18987 unlink("conftestmmap
");
18992 if { (eval echo configure:18993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
18994 ac_cv_func_mmap_fixed_mapped=yes
18996 echo "configure
: failed program was
:" >&5
18997 cat conftest.$ac_ext >&5
18999 ac_cv_func_mmap_fixed_mapped=no
19006 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
19007 if test $ac_cv_func_mmap_fixed_mapped = yes; then
19008 cat >> confdefs.h <<\EOF
19009 #define HAVE_MMAP 1
19015 # Establish limits on memory usage during 'make check'
19018 setrlimit_have_headers=yes
19019 for ac_hdr in sys/resource.h unistd.h
19021 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19022 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
19023 echo "configure
:19024: checking
for $ac_hdr" >&5
19024 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19025 echo $ac_n "(cached
) $ac_c" 1>&6
19027 cat > conftest.$ac_ext <<EOF
19028 #line 19029 "configure
"
19029 #include "confdefs.h
"
19032 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
19033 { (eval echo configure:19034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19034 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
19035 if test -z "$ac_err"; then
19037 eval "ac_cv_header_
$ac_safe=yes"
19040 echo "configure
: failed program was
:" >&5
19041 cat conftest.$ac_ext >&5
19043 eval "ac_cv_header_
$ac_safe=no
"
19047 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19048 echo "$ac_t""yes" 1>&6
19049 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19050 cat >> confdefs.h <<EOF
19051 #define $ac_tr_hdr 1
19055 echo "$ac_t""no
" 1>&6
19056 setrlimit_have_headers=no
19060 # If don't have the headers, then we can't run the tests now, and we
19061 # won't be seeing any of these during testsuite compilation.
19062 if test $setrlimit_have_headers = yes; then
19063 # Can't do these in a loop, else the resulting syntax is wrong.
19065 cat > conftest.$ac_ext <<EOF
19066 #line 19067 "configure
"
19067 #include "confdefs.h
"
19068 #include <sys/resource.h>
19069 #include <unistd.h>
19072 int f = RLIMIT_DATA ;
19075 if { (eval echo configure:19076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19079 echo "configure
: failed program was
:" >&5
19080 cat conftest.$ac_ext >&5
19085 cat >> confdefs.h <<EOF
19086 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
19091 cat > conftest.$ac_ext <<EOF
19092 #line 19093 "configure
"
19093 #include "confdefs.h
"
19094 #include <sys/resource.h>
19095 #include <unistd.h>
19098 int f = RLIMIT_RSS ;
19101 if { (eval echo configure:19102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19105 echo "configure
: failed program was
:" >&5
19106 cat conftest.$ac_ext >&5
19111 cat >> confdefs.h <<EOF
19112 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
19117 cat > conftest.$ac_ext <<EOF
19118 #line 19119 "configure
"
19119 #include "confdefs.h
"
19120 #include <sys/resource.h>
19121 #include <unistd.h>
19124 int f = RLIMIT_VMEM ;
19127 if { (eval echo configure:19128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19131 echo "configure
: failed program was
:" >&5
19132 cat conftest.$ac_ext >&5
19137 cat >> confdefs.h <<EOF
19138 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
19143 cat > conftest.$ac_ext <<EOF
19144 #line 19145 "configure
"
19145 #include "confdefs.h
"
19146 #include <sys/resource.h>
19147 #include <unistd.h>
19150 int f = RLIMIT_AS ;
19153 if { (eval echo configure:19154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19157 echo "configure
: failed program was
:" >&5
19158 cat conftest.$ac_ext >&5
19163 cat >> confdefs.h <<EOF
19164 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
19169 # Check for rlimit, setrlimit.
19170 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
19171 echo $ac_n "(cached
) $ac_c" 1>&6
19174 cat > conftest.$ac_ext <<EOF
19175 #line 19176 "configure
"
19176 #include "confdefs.h
"
19177 #include <sys/resource.h>
19178 #include <unistd.h>
19181 struct rlimit r; setrlimit(0, &r);
19184 if { (eval echo configure:19185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19188 echo "configure
: failed program was
:" >&5
19189 cat conftest.$ac_ext >&5
19199 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
19200 echo "configure
:19201: checking
for testsuite memory limit support
" >&5
19201 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
19203 cat >> confdefs.h <<\EOF
19204 #define _GLIBCPP_MEM_LIMITS 1
19210 echo "$ac_t""$ac_mem_limits" 1>&6
19213 # Look for setenv, so that extended locale tests can be performed.
19214 for ac_func in setenv
19216 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19217 echo "configure
:19218: checking
for $ac_func" >&5
19218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19219 echo $ac_n "(cached
) $ac_c" 1>&6
19221 cat > conftest.$ac_ext <<EOF
19222 #line 19223 "configure
"
19223 #include "confdefs.h
"
19224 /* System header to define __stub macros and hopefully few prototypes,
19225 which can conflict with char $ac_func(); below. */
19226 #include <assert.h>
19227 /* Override any gcc2 internal prototype to avoid an error. */
19228 /* We use char because int might match the return type of a gcc2
19229 builtin and then its argument prototype would still apply. */
19234 /* The GNU C library defines this for functions which it implements
19235 to always fail with ENOSYS. Some functions are actually named
19236 something starting with __ and the normal name is an alias. */
19237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19245 if { (eval echo configure:19246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19247 eval "ac_cv_func_
$ac_func=yes"
19249 echo "configure
: failed program was
:" >&5
19250 cat conftest.$ac_ext >&5
19252 eval "ac_cv_func_
$ac_func=no
"
19257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19258 echo "$ac_t""yes" 1>&6
19259 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19260 cat >> confdefs.h <<EOF
19261 #define $ac_tr_func 1
19265 echo "$ac_t""no
" 1>&6
19272 # This depends on the possibly-skipped linker test above.
19273 # Check whether --enable-symvers or --disable-symvers was given.
19274 if test "${enable_symvers+set}" = set; then
19275 enableval="$enable_symvers"
19276 case "$enableval" in
19277 yes) enable_symvers=default ;;
19278 no) enable_symvers=no ;;
19279 # other names here, just as sanity checks
19280 #gnu|sun|etcetera) enable_symvers=$enableval ;;
19281 gnu) enable_symvers=$enableval ;;
19282 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
19288 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
19289 # don't know enough about $LD... I think.
19290 echo $ac_n "checking whether to version shared lib symbols
""...
$ac_c" 1>&6
19291 echo "configure
:19292: checking whether to version shared lib symbols
" >&5
19292 if test $enable_shared = no || test x$LD = x ; then
19293 enable_symvers=irrelevant
19296 # For GNU ld, we need at least this version. It's 2.12 in the same format
19297 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
19298 glibcpp_min_gnu_ld_version=21200
19300 LINKER_MAP=config/linker-map.dummy
19301 case $enable_symvers in
19305 LINKER_MAP=config/linker-map.gnu
19307 default) # not specified by user, try to figure it out
19308 if test $with_gnu_ld = yes &&
19309 test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ;
19311 LINKER_MAP=config/linker-map.gnu
19313 # just fail for now
19322 if test $enable_symvers != no && test $enable_symvers != irrelevant; then
19323 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
19324 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
19326 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
19327 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
19329 echo "$ac_t""$enable_symvers" 1>&6
19332 # Propagate the target-specific source directories through the build chain.
19333 OS_INC_SRCDIR=$os_include_dir/bits
19334 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
19335 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
19340 # Set up cross-compile flags
19344 if test "$CANADIAN" = yes; then
19352 cat > confcache <<\EOF
19353 # This file is a shell script that caches the results of configure
19354 # tests run on this system so they can be shared between configure
19355 # scripts and configure runs. It is not useful on other systems.
19356 # If it contains results you don't want to keep, you may remove or edit it.
19358 # By default, configure uses ./config.cache as the cache file,
19359 # creating it if it does not exist already. You can give configure
19360 # the --cache-file=FILE option to use a different cache file; that is
19361 # what configure does when it calls configure scripts in
19362 # subdirectories, so they share the cache.
19363 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19364 # config.status only pays attention to the cache file if you give it the
19365 # --recheck option to rerun configure.
19368 # The following way of writing the cache mishandles newlines in values,
19369 # but we know of no workaround that is simple, portable, and efficient.
19370 # So, don't put newlines in cache variables' values.
19371 # Ultrix sh set writes to stderr and can't be redirected directly,
19372 # and sets the high bit in the cache file unless we assign to the vars.
19374 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19376 # `set' does not quote correctly, so add quotes (double-quote substitution
19377 # turns \\\\ into \\, and sed turns \\ into \).
19379 -e "s
/'/'\\\\''/g
" \
19380 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
19383 # `set' quotes correctly as required by POSIX, so do not add quotes.
19384 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19387 if cmp -s $cache_file confcache; then
19390 if test -w $cache_file; then
19391 echo "updating cache
$cache_file"
19392 cat confcache > $cache_file
19394 echo "not updating unwritable cache
$cache_file"
19400 if test "${multilib}" = "yes"; then
19401 multilib_arg="--enable-multilib"
19406 # Needed so that g++ can find the correct include subdir automatically.
19409 # Export all the install information
19411 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
19412 # exported correctly in GLIBCPP_CONFIGURE.
19413 glibcpp_toolexecdir=no
19414 glibcpp_toolexeclibdir=no
19415 glibcpp_prefixdir=${prefix}
19417 echo $ac_n "checking
for interface version number
""...
$ac_c" 1>&6
19418 echo "configure
:19419: checking
for interface version number
" >&5
19419 libstdcxx_interface=$INTERFACE
19420 echo "$ac_t""$libstdcxx_interface" 1>&6
19422 # Process the option --with-gxx-include-dir=<path to include-files directory>
19423 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
19424 echo "configure
:19425: checking
for --with-gxx-include-dir" >&5
19425 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
19426 if test "${with_gxx_include_dir+set}" = set; then
19427 withval="$with_gxx_include_dir"
19428 case "${withval}" in
19430 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
19437 gxx_include_dir=${withval}
19444 echo "$ac_t""$gxx_include_dir" 1>&6
19446 # Process the option "--enable-version-specific-runtime-libs"
19447 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
19448 echo "configure
:19449: checking
for --enable-version-specific-runtime-libs" >&5
19449 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
19450 if test "${enable_version_specific_runtime_libs+set}" = set; then
19451 enableval="$enable_version_specific_runtime_libs"
19452 case "$enableval" in
19453 yes) version_specific_libs=yes ;;
19454 no) version_specific_libs=no ;;
19455 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
19458 version_specific_libs=no
19460 # Option set, now we can test it.
19461 echo "$ac_t""$version_specific_libs" 1>&6
19463 if test $version_specific_libs = yes; then
19464 # Need the gcc compiler version to know where to install libraries
19465 # and header files if --enable-version-specific-runtime-libs option
19467 gcc_version_trigger=${srcdir}/../gcc/version.c
19468 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
19469 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
19470 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
19471 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19472 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
19475 # Default case for install directory for include files.
19476 if test $version_specific_libs = no &&
19477 test $gxx_include_dir = no; then
19478 gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
19481 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
19482 # Install a library built with a cross compiler in tooldir, not libdir.
19483 if test x"$glibcpp_toolexecdir" = x"no
"; then
19484 if test -n "$with_cross_host" &&
19485 test x"$with_cross_host" != x"no
"; then
19486 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
19487 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
19489 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
19490 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
19494 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
19495 echo "configure
:19496: checking
for install location
" >&5
19496 echo "$ac_t""$gxx_include_dir" 1>&6
19504 # Export all the include and flag information to makefiles.
19506 # Root level of the build directory include sources.
19507 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
19509 # Passed down for canadian crosses.
19510 if test x"$CANADIAN" = xyes; then
19511 TOPLEVEL_INCLUDES='-I$(includedir)'
19514 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
19516 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
19518 if test x"$need_libio" = xyes; then
19519 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
19523 # Now, export this to all the little Makefiles....
19530 # Optimization flags that are probably a good idea for thrill-seekers. Just
19531 # uncomment the lines below and make, everything else is ready to go...
19532 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
19536 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
19540 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
19541 grep "enable shared
" > /dev/null; then
19542 LIBSUPCXX_PICFLAGS=-prefer-pic
19544 LIBSUPCXX_PICFLAGS=
19548 # Generate the various Makefiles, include files, and scripts.
19549 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
19550 # and libsupc++/Makefile.am so that multilib installs will end up
19551 # installed in the correct place. To work around this not being passed
19552 # down from config-ml.in -> top_srcdir/Makefile.am ->
19553 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
19555 cat > confcache <<\EOF
19556 # This file is a shell script that caches the results of configure
19557 # tests run on this system so they can be shared between configure
19558 # scripts and configure runs. It is not useful on other systems.
19559 # If it contains results you don't want to keep, you may remove or edit it.
19561 # By default, configure uses ./config.cache as the cache file,
19562 # creating it if it does not exist already. You can give configure
19563 # the --cache-file=FILE option to use a different cache file; that is
19564 # what configure does when it calls configure scripts in
19565 # subdirectories, so they share the cache.
19566 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19567 # config.status only pays attention to the cache file if you give it the
19568 # --recheck option to rerun configure.
19571 # The following way of writing the cache mishandles newlines in values,
19572 # but we know of no workaround that is simple, portable, and efficient.
19573 # So, don't put newlines in cache variables' values.
19574 # Ultrix sh set writes to stderr and can't be redirected directly,
19575 # and sets the high bit in the cache file unless we assign to the vars.
19577 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19579 # `set' does not quote correctly, so add quotes (double-quote substitution
19580 # turns \\\\ into \\, and sed turns \\ into \).
19582 -e "s
/'/'\\\\''/g
" \
19583 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
19586 # `set' quotes correctly as required by POSIX, so do not add quotes.
19587 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19590 if cmp -s $cache_file confcache; then
19593 if test -w $cache_file; then
19594 echo "updating cache
$cache_file"
19595 cat confcache > $cache_file
19597 echo "not updating unwritable cache
$cache_file"
19602 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19604 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
19605 # Let make expand exec_prefix.
19606 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
19608 # Any assignment to VPATH causes Sun make to only execute
19609 # the first set of double-colon rules, so remove it if not needed.
19610 # If there is a colon in the path, we need to keep it.
19611 if test "x
$srcdir" = x.; then
19612 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
19615 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19617 DEFS=-DHAVE_CONFIG_H
19619 # Without the ".
/", some shells look in PATH for config.status.
19620 : ${CONFIG_STATUS=./config.status}
19622 echo creating $CONFIG_STATUS
19623 rm -f $CONFIG_STATUS
19624 cat > $CONFIG_STATUS <<EOF
19626 # Generated automatically by configure.
19627 # Run this file to recreate the current configuration.
19628 # This directory was configured as follows,
19629 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19631 # $0 $ac_configure_args
19633 # Compiler output produced by configure, useful for debugging
19634 # configure, is in ./config.log if it exists.
19636 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
19639 case "\
$ac_option" in
19640 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19641 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19642 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19643 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19644 echo "$CONFIG_STATUS generated by autoconf version
2.13"
19646 -help | --help | --hel | --he | --h)
19647 echo "\
$ac_cs_usage"; exit 0 ;;
19648 *) echo "\
$ac_cs_usage"; exit 1 ;;
19652 ac_given_srcdir=$srcdir
19653 ac_given_INSTALL="$INSTALL"
19655 trap 'rm -fr `echo "Makefile \
19656 include
/Makefile src
/Makefile \
19657 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
19658 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
19660 cat >> $CONFIG_STATUS <<EOF
19662 # Protect against being on the right side of a sed subst in config.status.
19663 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19664 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19668 s%@CFLAGS@%$CFLAGS%g
19669 s%@CPPFLAGS@%$CPPFLAGS%g
19670 s%@CXXFLAGS@%$CXXFLAGS%g
19671 s%@FFLAGS@%$FFLAGS%g
19673 s%@LDFLAGS@%$LDFLAGS%g
19675 s%@exec_prefix@%$exec_prefix%g
19676 s%@prefix@%$prefix%g
19677 s%@program_transform_name@%$program_transform_name%g
19678 s%@bindir@%$bindir%g
19679 s%@sbindir@%$sbindir%g
19680 s%@libexecdir@%$libexecdir%g
19681 s%@datadir@%$datadir%g
19682 s%@sysconfdir@%$sysconfdir%g
19683 s%@sharedstatedir@%$sharedstatedir%g
19684 s%@localstatedir@%$localstatedir%g
19685 s%@libdir@%$libdir%g
19686 s%@includedir@%$includedir%g
19687 s%@oldincludedir@%$oldincludedir%g
19688 s%@infodir@%$infodir%g
19689 s%@mandir@%$mandir%g
19690 s%@PACKAGE@%$PACKAGE%g
19691 s%@release_VERSION@%$release_VERSION%g
19692 s%@libtool_VERSION@%$libtool_VERSION%g
19694 s%@host_alias@%$host_alias%g
19695 s%@host_cpu@%$host_cpu%g
19696 s%@host_vendor@%$host_vendor%g
19697 s%@host_os@%$host_os%g
19698 s%@target@%$target%g
19699 s%@target_alias@%$target_alias%g
19700 s%@target_cpu@%$target_cpu%g
19701 s%@target_vendor@%$target_vendor%g
19702 s%@target_os@%$target_os%g
19704 s%@build_alias@%$build_alias%g
19705 s%@build_cpu@%$build_cpu%g
19706 s%@build_vendor@%$build_vendor%g
19707 s%@build_os@%$build_os%g
19708 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19709 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19710 s%@INSTALL_DATA@%$INSTALL_DATA%g
19711 s%@VERSION@%$VERSION%g
19712 s%@ACLOCAL@%$ACLOCAL%g
19713 s%@AUTOCONF@%$AUTOCONF%g
19714 s%@AUTOMAKE@%$AUTOMAKE%g
19715 s%@AUTOHEADER@%$AUTOHEADER%g
19716 s%@MAKEINFO@%$MAKEINFO%g
19717 s%@SET_MAKE@%$SET_MAKE%g
19718 s%@toplevel_srcdir@%$toplevel_srcdir%g
19719 s%@glibcpp_builddir@%$glibcpp_builddir%g
19720 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
19723 s%@glibcpp_basedir@%$glibcpp_basedir%g
19725 s%@glibcpp_CXX@%$glibcpp_CXX%g
19728 s%@RANLIB@%$RANLIB%g
19729 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
19730 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
19732 s%@EXEEXT@%$EXEEXT%g
19733 s%@OBJEXT@%$OBJEXT%g
19735 s%@LIBTOOL@%$LIBTOOL%g
19736 s%@CXXCPP@%$CXXCPP%g
19737 s%@enable_shared@%$enable_shared%g
19738 s%@enable_static@%$enable_static%g
19739 s%@ifGNUmake@%$ifGNUmake%g
19740 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
19742 s%@CSTDIO_H@%$CSTDIO_H%g
19743 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
19744 s%@CCODECVT_C@%$CCODECVT_C%g
19745 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
19746 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
19747 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
19748 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
19749 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
19750 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
19751 s%@libio_la@%$libio_la%g
19752 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
19753 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
19754 s%@glibcpp_localedir@%$glibcpp_localedir%g
19755 s%@USE_NLS@%$USE_NLS%g
19756 s%@CLOCALE_H@%$CLOCALE_H%g
19757 s%@CCODECVT_H@%$CCODECVT_H%g
19758 s%@CMESSAGES_H@%$CMESSAGES_H%g
19759 s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
19760 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
19761 s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
19762 s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
19763 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
19764 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
19765 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
19766 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
19767 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
19768 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
19769 s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
19770 s%@WERROR@%$WERROR%g
19771 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
19772 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
19773 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
19774 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
19775 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
19776 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
19777 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
19778 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
19779 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
19780 s%@gxx_include_dir@%$gxx_include_dir%g
19781 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
19782 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
19783 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
19784 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
19785 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
19786 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
19787 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
19788 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
19789 s%@WARN_FLAGS@%$WARN_FLAGS%g
19790 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
19795 cat >> $CONFIG_STATUS <<\EOF
19797 # Split the substitutions into bite-sized pieces for seds with
19798 # small command number limits, like on Digital OSF/1 and HP-UX.
19799 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
19800 ac_file=1 # Number of current file.
19801 ac_beg=1 # First line for current file.
19802 ac_end=$ac_max_sed_cmds # Line after last line for current file.
19805 while $ac_more_lines; do
19806 if test $ac_beg -gt 1; then
19807 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
19809 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
19811 if test ! -s conftest.s$ac_file; then
19812 ac_more_lines=false
19813 rm -f conftest.s$ac_file
19815 if test -z "$ac_sed_cmds"; then
19816 ac_sed_cmds="sed -f conftest.s
$ac_file"
19818 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
19820 ac_file=`expr $ac_file + 1`
19822 ac_end=`expr $ac_end + $ac_max_sed_cmds`
19825 if test -z "$ac_sed_cmds"; then
19830 cat >> $CONFIG_STATUS <<EOF
19832 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
19833 include
/Makefile src
/Makefile \
19834 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
19835 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
19837 cat >> $CONFIG_STATUS <<\EOF
19838 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
19839 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
19841 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
19842 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
19843 *) ac_file_in="${ac_file}.
in" ;;
19846 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19848 # Remove last slash and all that follows it. Not all systems have dirname.
19849 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19850 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19851 # The file is in a subdirectory.
19852 test ! -d "$ac_dir" && mkdir "$ac_dir"
19853 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
19854 # A "..
/" for each directory in $ac_dir_suffix.
19855 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19857 ac_dir_suffix= ac_dots=
19860 case "$ac_given_srcdir" in
19862 if test -z "$ac_dots"; then top_srcdir=.
19863 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19864 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
19865 *) # Relative path.
19866 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19867 top_srcdir="$ac_dots$ac_given_srcdir" ;;
19870 case "$ac_given_INSTALL" in
19871 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19872 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19875 echo creating "$ac_file"
19877 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
19879 *Makefile*) ac_comsub="1i
\\
19880 # $configure_input" ;;
19884 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19886 s%@configure_input@%$configure_input%g
19887 s%@srcdir@%$srcdir%g
19888 s%@top_srcdir@%$top_srcdir%g
19889 s%@INSTALL@%$INSTALL%g
19890 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
19894 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19895 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19897 # ac_d sets the value in "#define NAME VALUE" lines.
19898 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19899 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19902 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19903 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19904 ac_uB
='\([ ]\)%\1#\2define\3'
19907 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19908 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19909 ac_eB
='$%\1#\2define\3'
19913 if test "${CONFIG_HEADERS+set}" != set; then
19915 cat >> $CONFIG_STATUS <<EOF
19916 CONFIG_HEADERS="config.h"
19918 cat >> $CONFIG_STATUS <<\EOF
19920 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19921 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19923 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19924 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19925 *) ac_file_in
="${ac_file}.in" ;;
19928 echo creating
$ac_file
19930 rm -f conftest.frag conftest.
in conftest.out
19931 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19932 cat $ac_file_inputs > conftest.
in
19936 # Transform confdefs.h into a sed script conftest.vals that substitutes
19937 # the proper values into config.h.in to produce config.h. And first:
19938 # Protect against being on the right side of a sed subst in config.status.
19939 # Protect against being in an unquoted here document in config.status.
19940 rm -f conftest.vals
19941 cat > conftest.hdr
<<\EOF
19944 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19948 sed -n -f conftest.hdr confdefs.h > conftest.vals
19951 # This sed command replaces #undef with comments. This is necessary, for
19952 # example, in the case of _POSIX_SOURCE, which is predefined and required
19953 # on some systems where configure will not decide to define it.
19954 cat >> conftest.vals <<\EOF
19955 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19958 # Break up conftest.vals because some shells have a limit on
19959 # the size of here documents, and old seds have small limits too.
19961 rm -f conftest.tail
19964 ac_lines=`grep -c . conftest.vals
`
19965 # grep -c gives empty output for an empty file on some AIX systems.
19966 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19967 # Write a limited-size here document to conftest.frag.
19968 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19969 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19971 sed -f conftest.frag conftest.in > conftest.out
19973 mv conftest.out conftest.in
19974 ' >> $CONFIG_STATUS
19975 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19976 rm -f conftest.vals
19977 mv conftest.tail conftest.vals
19979 rm -f conftest.vals
19981 cat >> $CONFIG_STATUS <<\EOF
19982 rm -f conftest.frag conftest.h
19983 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19984 cat conftest.in >> conftest.h
19986 if cmp -s $ac_file conftest.h 2>/dev/null; then
19987 echo "$ac_file is unchanged"
19990 # Remove last slash and all that follows it. Not all systems have dirname.
19991 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
19992 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19993 # The file is in a subdirectory.
19994 test ! -d "$ac_dir" && mkdir "$ac_dir"
19997 mv conftest.h $ac_file
20003 cat >> $CONFIG_STATUS <<EOF
20004 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
20005 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 src/linker.map"
20008 cat >> $CONFIG_STATUS <<\EOF
20009 srcdir=$ac_given_srcdir
20010 while test -n "$ac_sources"; do
20011 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
20012 set $ac_sources; ac_source=$1; shift; ac_sources=$*
20014 echo "linking $srcdir/$ac_source to $ac_dest"
20016 if test ! -r $srcdir/$ac_source; then
20017 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
20021 # Make relative symlinks.
20022 # Remove last slash and all that follows it. Not all systems have dirname.
20023 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
20024 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
20025 # The dest file is in a subdirectory.
20026 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
20027 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
20028 # A "../" for each directory in $ac_dest_dir_suffix.
20029 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
20031 ac_dest_dir_suffix= ac_dots=
20035 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
20036 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
20039 # Make a symlink if possible; otherwise try a hard link.
20040 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
20041 ln $srcdir/$ac_source $ac_dest; then :
20043 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
20047 cat >> $CONFIG_STATUS <<EOF
20052 with_multisubdir=${with_multisubdir}
20053 ac_configure_args="${multilib_arg} ${ac_configure_args}"
20054 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
20055 glibcpp_basedir=${glibcpp_basedir}
20060 cat >> $CONFIG_STATUS <<\EOF
20061 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
20062 if test -n "$CONFIG_FILES"; then
20063 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
20064 grep '^MULTISUBDIR =' Makefile >> src/Makefile
20065 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
20068 chmod +x testsuite_flags
20072 chmod +x $CONFIG_STATUS
20073 rm -fr confdefs* $ac_clean_files
20074 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20078 # Sanity checking & User-visible messages.
20079 # Checks down here, otherwise they get scrolled off before
20080 # the user will notice.
20082 # Trying to get more people to read documentation. Possibly remove
20083 # check and warn all the time. There is no "informational" AC_MSG_
20084 # macro, so these are going to be printed even when --quiet/--silent
20086 if test ! -f stamp-sanity-warned; then
20087 touch stamp-sanity-warned
20089 echo "Please make certain that you read the installation information here:"
20090 echo " faster => ${srcdir}/docs/install.html"
20091 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
20093 echo "and the configuration information here:"
20094 echo " faster => ${srcdir}/docs/configopts.html"
20095 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
20097 echo "before proceeding with ${_cv_gnu_make_command}."