3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --enable-multilib build hella library versions (default)"
17 --with-target-subdir=SUBDIR
18 configuring in a subdirectory"
20 --with-cross-host=HOST configuring with a cross compiler"
22 --enable-maintainer-mode enable make rules and dependencies not useful
23 (and sometimes confusing) to the casual installer"
25 --enable-shared[=PKGS] build shared libraries [default=yes]"
27 --enable-static[=PKGS] build static libraries [default=yes]"
29 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
31 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
33 --disable-libtool-lock avoid locking (might break parallel builds)"
35 --with-pic try to use only PIC/non-PIC objects [default=use both]"
37 --enable-debug extra debugging, turn off optimization [default=no]"
39 --enable-cstdio enable stdio for target io package.
40 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
43 --enable-clocale enable model for target locale package.
44 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
47 --enable-nls use Native Language Support (default)"
49 --enable-c-mbchar enable multibyte (wide) characters [default=yes]"
51 --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
53 --enable-long-long turns on 'long long' [default=yes]"
55 --enable-cheaders construct "C
" header files for g++ [default=c_std]"
57 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
60 --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
62 --enable-libunwind-exceptions force use of libunwind for exceptions"
64 --enable-concept-checks use Boost-derived template checks [default=no]"
66 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
68 --with-gxx-include-dir the installation directory for include files"
70 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
72 # Initialize some variables set by options.
73 # The variables have the same names as the options, with
74 # dashes changed to underlines.
76 cache_file
=.
/config.cache
85 program_transform_name
=s
,x
,x
,
94 bindir
='${exec_prefix}/bin'
95 sbindir
='${exec_prefix}/sbin'
96 libexecdir
='${exec_prefix}/libexec'
97 datadir
='${prefix}/share'
98 sysconfdir
='${prefix}/etc'
99 sharedstatedir
='${prefix}/com'
100 localstatedir
='${prefix}/var'
101 libdir
='${exec_prefix}/lib'
102 includedir
='${prefix}/include'
103 oldincludedir
='/usr/include'
104 infodir
='${prefix}/info'
105 mandir
='${prefix}/man'
107 # Initialize some other variables.
110 SHELL
=${CONFIG_SHELL-/bin/sh}
111 # Maximum number of lines to put in a shell here document.
118 # If the previous option needs an argument, assign it.
119 if test -n "$ac_prev"; then
120 eval "$ac_prev=\$ac_option"
126 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
130 # Accept the important Cygnus configure options, so we can diagnose typos.
134 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
136 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
137 bindir
="$ac_optarg" ;;
139 -build |
--build |
--buil |
--bui |
--bu)
141 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
142 build
="$ac_optarg" ;;
144 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
145 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
146 ac_prev
=cache_file
;;
147 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
148 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
149 cache_file
="$ac_optarg" ;;
151 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
153 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
155 datadir
="$ac_optarg" ;;
157 -disable-* |
--disable-*)
158 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
159 # Reject names that are not valid shell variable names.
160 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
161 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
163 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
164 eval "enable_${ac_feature}=no" ;;
166 -enable-* |
--enable-*)
167 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
168 # Reject names that are not valid shell variable names.
169 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
170 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
172 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
177 eval "enable_${ac_feature}='$ac_optarg'" ;;
179 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
180 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
181 |
--exec |
--exe |
--ex)
182 ac_prev
=exec_prefix
;;
183 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
184 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
185 |
--exec=* |
--exe=* |
--ex=*)
186 exec_prefix
="$ac_optarg" ;;
188 -gas |
--gas |
--ga |
--g)
189 # Obsolete; use --with-gas.
192 -help |
--help |
--hel |
--he)
193 # Omit some internal or obsolete options to make the list less imposing.
194 # This message is too long to be a string in the A/UX 3.1 sh.
196 Usage: configure [options] [host]
197 Options: [defaults in brackets after descriptions]
199 --cache-file=FILE cache test results in FILE
200 --help print this message
201 --no-create do not create output files
202 --quiet, --silent do not print \`checking...' messages
203 --site-file=FILE use FILE as the site file
204 --version print the version of autoconf that created configure
205 Directory and file names:
206 --prefix=PREFIX install architecture-independent files in PREFIX
208 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
210 --bindir=DIR user executables in DIR [EPREFIX/bin]
211 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
212 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
213 --datadir=DIR read-only architecture-independent data in DIR
215 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
216 --sharedstatedir=DIR modifiable architecture-independent data in DIR
218 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
219 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
220 --includedir=DIR C header files in DIR [PREFIX/include]
221 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
222 --infodir=DIR info documentation in DIR [PREFIX/info]
223 --mandir=DIR man documentation in DIR [PREFIX/man]
224 --srcdir=DIR find the sources in DIR [configure dir or ..]
225 --program-prefix=PREFIX prepend PREFIX to installed program names
226 --program-suffix=SUFFIX append SUFFIX to installed program names
227 --program-transform-name=PROGRAM
228 run sed PROGRAM on installed program names
232 --build=BUILD configure for building on BUILD [BUILD=HOST]
233 --host=HOST configure for HOST [guessed]
234 --target=TARGET configure for TARGET [TARGET=HOST]
235 Features and packages:
236 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
237 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
238 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
239 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
240 --x-includes=DIR X include files are in DIR
241 --x-libraries=DIR X library files are in DIR
243 if test -n "$ac_help"; then
244 echo "--enable and --with options recognized:$ac_help"
248 -host |
--host |
--hos |
--ho)
250 -host=* |
--host=* |
--hos=* |
--ho=*)
253 -includedir |
--includedir |
--includedi |
--included |
--include \
254 |
--includ |
--inclu |
--incl |
--inc)
255 ac_prev
=includedir
;;
256 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
257 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
258 includedir
="$ac_optarg" ;;
260 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
262 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
263 infodir
="$ac_optarg" ;;
265 -libdir |
--libdir |
--libdi |
--libd)
267 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
268 libdir
="$ac_optarg" ;;
270 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
271 |
--libexe |
--libex |
--libe)
272 ac_prev
=libexecdir
;;
273 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
274 |
--libexe=* |
--libex=* |
--libe=*)
275 libexecdir
="$ac_optarg" ;;
277 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
278 |
--localstate |
--localstat |
--localsta |
--localst \
279 |
--locals |
--local |
--loca |
--loc |
--lo)
280 ac_prev
=localstatedir
;;
281 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
282 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
283 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
284 localstatedir
="$ac_optarg" ;;
286 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
288 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
289 mandir
="$ac_optarg" ;;
292 # Obsolete; use --without-fp.
295 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
299 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
300 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
303 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
304 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
305 |
--oldin |
--oldi |
--old |
--ol |
--o)
306 ac_prev
=oldincludedir
;;
307 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
308 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
309 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
310 oldincludedir
="$ac_optarg" ;;
312 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
314 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
315 prefix
="$ac_optarg" ;;
317 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
318 |
--program-pre |
--program-pr |
--program-p)
319 ac_prev
=program_prefix
;;
320 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
321 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
322 program_prefix
="$ac_optarg" ;;
324 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
325 |
--program-suf |
--program-su |
--program-s)
326 ac_prev
=program_suffix
;;
327 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
328 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
329 program_suffix
="$ac_optarg" ;;
331 -program-transform-name |
--program-transform-name \
332 |
--program-transform-nam |
--program-transform-na \
333 |
--program-transform-n |
--program-transform- \
334 |
--program-transform |
--program-transfor \
335 |
--program-transfo |
--program-transf \
336 |
--program-trans |
--program-tran \
337 |
--progr-tra |
--program-tr |
--program-t)
338 ac_prev
=program_transform_name
;;
339 -program-transform-name=* |
--program-transform-name=* \
340 |
--program-transform-nam=* |
--program-transform-na=* \
341 |
--program-transform-n=* |
--program-transform-=* \
342 |
--program-transform=* |
--program-transfor=* \
343 |
--program-transfo=* |
--program-transf=* \
344 |
--program-trans=* |
--program-tran=* \
345 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
346 program_transform_name
="$ac_optarg" ;;
348 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
349 |
-silent |
--silent |
--silen |
--sile |
--sil)
352 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
354 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
356 sbindir
="$ac_optarg" ;;
358 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
359 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
360 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
362 ac_prev
=sharedstatedir
;;
363 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
364 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
365 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
367 sharedstatedir
="$ac_optarg" ;;
369 -site |
--site |
--sit)
371 -site=* |
--site=* |
--sit=*)
374 -site-file |
--site-file |
--site-fil |
--site-fi |
--site-f)
376 -site-file=* |
--site-file=* |
--site-fil=* |
--site-fi=* |
--site-f=*)
377 sitefile
="$ac_optarg" ;;
379 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
381 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
382 srcdir
="$ac_optarg" ;;
384 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
385 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
386 ac_prev
=sysconfdir
;;
387 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
388 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
389 sysconfdir
="$ac_optarg" ;;
391 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
393 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
394 target
="$ac_optarg" ;;
396 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
399 -version |
--version |
--versio |
--versi |
--vers)
400 echo "configure generated by autoconf version 2.13"
404 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
405 # Reject names that are not valid shell variable names.
406 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
407 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
409 ac_package
=`echo $ac_package| sed 's/-/_/g'`
414 eval "with_${ac_package}='$ac_optarg'" ;;
416 -without-* |
--without-*)
417 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
418 # Reject names that are not valid shell variable names.
419 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
420 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
422 ac_package
=`echo $ac_package| sed 's/-/_/g'`
423 eval "with_${ac_package}=no" ;;
426 # Obsolete; use --with-x.
429 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
430 |
--x-incl |
--x-inc |
--x-in |
--x-i)
431 ac_prev
=x_includes
;;
432 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
433 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
434 x_includes
="$ac_optarg" ;;
436 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
437 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
438 ac_prev
=x_libraries
;;
439 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
440 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
441 x_libraries
="$ac_optarg" ;;
443 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
447 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
448 echo "configure: warning: $ac_option: invalid host type" 1>&2
450 if test "x$nonopt" != xNONE
; then
451 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
459 if test -n "$ac_prev"; then
460 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
463 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
465 # File descriptor usage:
468 # 2 errors and warnings
469 # 3 some systems may open it to /dev/tty
470 # 4 used on the Kubota Titan
471 # 6 checking for... messages and results
472 # 5 compiler messages saved in config.log
473 if test "$silent" = yes; then
481 This file contains any messages produced by compilers while
482 running configure, to aid debugging if configure makes a mistake.
485 # Strip out --no-create and --no-recursion so they do not pile up.
486 # Also quote any args containing shell metacharacters.
491 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
492 |
--no-cr |
--no-c) ;;
493 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
494 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
495 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
496 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
497 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
502 # Only set these to C if already set. These must not be set unconditionally
503 # because not all systems understand e.g. LANG=C (notably SCO).
504 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
505 # Non-C LC_CTYPE values break the ctype check.
506 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
507 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
508 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
509 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
511 # confdefs.h avoids OS command line length limits that DEFS can exceed.
512 rm -rf conftest
* confdefs.h
513 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
516 # A filename unique to this package, relative to the directory that
517 # configure is in, which we can look for to find out if srcdir is correct.
518 ac_unique_file
=src
/ios.cc
520 # Find the source files, if location was not specified.
521 if test -z "$srcdir"; then
522 ac_srcdir_defaulted
=yes
523 # Try the directory containing this script, then its parent.
525 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
526 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
528 if test ! -r $srcdir/$ac_unique_file; then
532 ac_srcdir_defaulted
=no
534 if test ! -r $srcdir/$ac_unique_file; then
535 if test "$ac_srcdir_defaulted" = yes; then
536 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
538 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
541 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
543 # Prefer explicitly selected file to automatically selected ones.
544 if test -z "$sitefile"; then
545 if test -z "$CONFIG_SITE"; then
546 if test "x$prefix" != xNONE
; then
547 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
549 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
553 CONFIG_SITE
="$sitefile"
555 for ac_site_file
in $CONFIG_SITE; do
556 if test -r "$ac_site_file"; then
557 echo "loading site script $ac_site_file"
562 if test -r "$cache_file"; then
563 echo "loading cache $cache_file"
566 echo "creating cache $cache_file"
571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
572 ac_cpp
='$CPP $CPPFLAGS'
573 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
574 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
575 cross_compiling
=$ac_cv_prog_cc_cross
579 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
580 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
581 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
588 ac_n
= ac_c
='\c' ac_t
=
593 # This works around the fact that libtool configuration may change LD
594 # for this particular configuration, but some shells, instead of
595 # keeping the changes in LD private, export them just because LD is
597 ORIGINAL_LD_FOR_MULTILIBS
=$LD
601 # For libtool versioning info, format is CURRENT:REVISION:AGE
602 libtool_VERSION
=4:1:0
606 # Check whether --enable-multilib or --disable-multilib was given.
607 if test "${enable_multilib+set}" = set; then
608 enableval
="$enable_multilib"
609 case "${enableval}" in
612 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
618 # When building with srcdir == objdir, links to the source files will
619 # be created in directories within the target_subdir. We have to
620 # adjust toplevel_srcdir accordingly, so that configure finds
621 # install-sh and other auxiliary files that live in the top-level
623 if test "${srcdir}" = "."; then
624 if test -z "${with_target_subdir}"; then
627 if test "${with_target_subdir}" != "."; then
628 toprel
="${with_multisrctop}../.."
630 toprel
="${with_multisrctop}.."
637 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
638 if test -f $ac_dir/install-sh
; then
640 ac_install_sh
="$ac_aux_dir/install-sh -c"
642 elif test -f $ac_dir/install.sh
; then
644 ac_install_sh
="$ac_aux_dir/install.sh -c"
648 if test -z "$ac_aux_dir"; then
649 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
651 ac_config_guess=$ac_aux_dir/config.guess
652 ac_config_sub=$ac_aux_dir/config.sub
653 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
655 toplevel_srcdir=\${top_srcdir}/$toprel
659 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
660 # AC 2.5x sets target_alias iff the user specified --target, but we use it
661 # everywhere, so we set it here just to be sure. In AC 2.13
662 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
664 # Do some error checking and defaulting for the host and target type.
666 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
669 # 1. You are not allowed to specify --host, --target, and nonopt at the
671 # 2. Host defaults to nonopt.
672 # 3. If nonopt is not specified, then host defaults to the current host,
673 # as determined by config.guess.
674 # 4. Target and build default to nonopt.
675 # 5. If nonopt is not specified, then target and build default to host.
677 # The aliases save the names the user supplied, while $host etc.
678 # will get canonicalized.
679 case $host---$target---$nonopt in
680 NONE---*---* | *---NONE---* | *---*---NONE) ;;
681 *) { echo "configure
: error
: can only configure
for one
host and one target
at a
time" 1>&2; exit 1; } ;;
685 # Make sure we can run config.sub.
686 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
687 else { echo "configure
: error
: can not run
$ac_config_sub" 1>&2; exit 1; }
690 echo $ac_n "checking
host system
type""...
$ac_c" 1>&6
691 echo "configure
:692: checking
host system
type" >&5
694 case "$host_alias" in
698 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
699 else { echo "configure
: error
: can not guess
host type; you must specify one
" 1>&2; exit 1; }
701 *) host_alias=$nonopt ;;
705 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
706 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
707 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
708 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
709 echo "$ac_t""$host" 1>&6
711 echo $ac_n "checking target system
type""...
$ac_c" 1>&6
712 echo "configure
:713: checking target system
type" >&5
715 case "$target_alias" in
718 NONE) target_alias=$host_alias ;;
719 *) target_alias=$nonopt ;;
723 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
724 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
725 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
726 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
727 echo "$ac_t""$target" 1>&6
729 echo $ac_n "checking build system
type""...
$ac_c" 1>&6
730 echo "configure
:731: checking build system
type" >&5
733 case "$build_alias" in
736 NONE) build_alias=$host_alias ;;
737 *) build_alias=$nonopt ;;
741 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
742 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
743 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
744 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
745 echo "$ac_t""$build" 1>&6
747 test "$host_alias" != "$target_alias" &&
748 test "$program_prefix$program_suffix$program_transform_name" = \
750 program_prefix=${target_alias}-
752 target_alias=${target_alias-$target}
755 # Runs configure.host and configure.target, as well as finds CC, CXX
756 # and assorted other critical bits. Have to run this before the
757 # GLIBCPP_ENABLE_* macros below.
758 if test $host != $build; then
759 ac_tool_prefix=${host_alias}-
764 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
765 echo "configure
:766: checking
for Cygwin environment
" >&5
766 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
767 echo $ac_n "(cached
) $ac_c" 1>&6
769 cat > conftest.$ac_ext <<EOF
770 #line 771 "configure
"
771 #include "confdefs.h
"
776 #define __CYGWIN__ __CYGWIN32__
781 if { (eval echo configure:782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
785 echo "configure
: failed program was
:" >&5
786 cat conftest.$ac_ext >&5
794 echo "$ac_t""$ac_cv_cygwin" 1>&6
796 test "$ac_cv_cygwin" = yes && CYGWIN=yes
797 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
798 echo "configure
:799: checking
for mingw32 environment
" >&5
799 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
800 echo $ac_n "(cached
) $ac_c" 1>&6
802 cat > conftest.$ac_ext <<EOF
803 #line 804 "configure
"
804 #include "confdefs.h
"
810 if { (eval echo configure:811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
814 echo "configure
: failed program was
:" >&5
815 cat conftest.$ac_ext >&5
823 echo "$ac_t""$ac_cv_mingw32" 1>&6
825 test "$ac_cv_mingw32" = yes && MINGW32=yes
828 #possibly test for the presence of the compiler sources here?
830 # Export build and source directories.
831 # These need to be absolute paths, yet at the same time need to
832 # canonicalize only relative paths, because then amd will not unmount
833 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
834 glibcpp_builddir=`${PWDCMD-pwd}`
836 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
837 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
844 for ac_prog in mawk gawk nawk awk
846 # Extract the first word of "$ac_prog", so it can be a program name with args.
847 set dummy $ac_prog; ac_word=$2
848 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
849 echo "configure
:850: checking
for $ac_word" >&5
850 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
851 echo $ac_n "(cached
) $ac_c" 1>&6
853 if test -n "$AWK"; then
854 ac_cv_prog_AWK="$AWK" # Let the user override the test.
856 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
858 for ac_dir in $ac_dummy; do
859 test -z "$ac_dir" && ac_dir=.
860 if test -f $ac_dir/$ac_word; then
861 ac_cv_prog_AWK="$ac_prog"
868 AWK="$ac_cv_prog_AWK"
869 if test -n "$AWK"; then
870 echo "$ac_t""$AWK" 1>&6
872 echo "$ac_t""no
" 1>&6
875 test -n "$AWK" && break
878 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
879 # be 'cp -p' if linking isn't available. Uncomment the next line to
880 # force a particular method.
881 #ac_cv_prog_LN_S='cp -p'
882 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
883 echo "configure
:884: checking whether
ln -s works
" >&5
884 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
885 echo $ac_n "(cached
) $ac_c" 1>&6
888 if ln -s X conftestdata 2>/dev/null
891 ac_cv_prog_LN_S="ln -s"
896 LN_S="$ac_cv_prog_LN_S"
897 if test "$ac_cv_prog_LN_S" = "ln -s"; then
898 echo "$ac_t""yes" 1>&6
900 echo "$ac_t""no
" 1>&6
904 # We use these options to decide which functions to include.
905 # Check whether --with-target-subdir or --without-target-subdir was given.
906 if test "${with_target_subdir+set}" = set; then
907 withval="$with_target_subdir"
911 # Check whether --with-cross-host or --without-cross-host was given.
912 if test "${with_cross_host+set}" = set; then
913 withval="$with_cross_host"
918 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
921 # Never versions of autoconf add an underscore to these functions.
922 # Prevent future problems ...
929 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
930 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
931 # are probably using a cross compiler, which will not be able to fully
932 # link an executable. This is addressed in later versions of autoconf.
937 # Extract the first word of "gcc
", so it can be a program name with args.
938 set dummy gcc; ac_word=$2
939 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
940 echo "configure
:941: checking
for $ac_word" >&5
941 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
942 echo $ac_n "(cached
) $ac_c" 1>&6
944 if test -n "$CC"; then
945 ac_cv_prog_CC="$CC" # Let the user override the test.
947 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
949 for ac_dir in $ac_dummy; do
950 test -z "$ac_dir" && ac_dir=.
951 if test -f $ac_dir/$ac_word; then
960 if test -n "$CC"; then
961 echo "$ac_t""$CC" 1>&6
963 echo "$ac_t""no
" 1>&6
966 if test -z "$CC"; then
967 # Extract the first word of "cc
", so it can be a program name with args.
968 set dummy cc; ac_word=$2
969 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
970 echo "configure
:971: checking
for $ac_word" >&5
971 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
972 echo $ac_n "(cached
) $ac_c" 1>&6
974 if test -n "$CC"; then
975 ac_cv_prog_CC="$CC" # Let the user override the test.
977 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
980 for ac_dir in $ac_dummy; do
981 test -z "$ac_dir" && ac_dir=.
982 if test -f $ac_dir/$ac_word; then
983 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
992 if test $ac_prog_rejected = yes; then
993 # We found a bogon in the path, so make sure we never use it.
994 set dummy $ac_cv_prog_CC
996 if test $# -gt 0; then
997 # We chose a different compiler from the bogus one.
998 # However, it has the same basename, so the bogon will be chosen
999 # first if we set CC to just the basename; use the full file name.
1001 set dummy "$ac_dir/$ac_word" "$@
"
1009 if test -n "$CC"; then
1010 echo "$ac_t""$CC" 1>&6
1012 echo "$ac_t""no
" 1>&6
1015 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1018 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1019 echo "configure
:1020: checking whether we are using GNU C
" >&5
1020 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1021 echo $ac_n "(cached
) $ac_c" 1>&6
1023 cat > conftest.c <<EOF
1028 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1035 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1037 if test $ac_cv_prog_gcc = yes; then
1039 ac_test_CFLAGS="${CFLAGS+set}"
1040 ac_save_CFLAGS="$CFLAGS"
1042 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1043 echo "configure
:1044: checking whether
${CC-cc} accepts
-g" >&5
1044 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1045 echo $ac_n "(cached
) $ac_c" 1>&6
1047 echo 'void f(){}' > conftest.c
1048 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1057 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1058 if test "$ac_test_CFLAGS" = set; then
1059 CFLAGS="$ac_save_CFLAGS"
1060 elif test $ac_cv_prog_cc_g = yes; then
1067 test "${CFLAGS+set}" = set || CFLAGS="-g"
1071 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1072 # will try to link in libstdc++.
1076 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1077 # flags that come in CXX while configuring libstdc++. They're different
1078 # from those used for all other target libraries. If CXX is set in
1079 # the environment, respect that here.
1081 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1083 # Extract the first word of "$ac_prog", so it can be a program name with args.
1084 set dummy $ac_prog; ac_word=$2
1085 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1086 echo "configure
:1087: checking
for $ac_word" >&5
1087 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1088 echo $ac_n "(cached
) $ac_c" 1>&6
1090 if test -n "$glibcpp_CXX"; then
1091 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1093 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1095 for ac_dir in $ac_dummy; do
1096 test -z "$ac_dir" && ac_dir=.
1097 if test -f $ac_dir/$ac_word; then
1098 ac_cv_prog_glibcpp_CXX="$ac_prog"
1105 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1106 if test -n "$glibcpp_CXX"; then
1107 echo "$ac_t""$glibcpp_CXX" 1>&6
1109 echo "$ac_t""no
" 1>&6
1112 test -n "$glibcpp_CXX" && break
1114 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1118 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1120 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1121 echo "configure
:1122: checking whether we are using GNU C
++" >&5
1122 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1123 echo $ac_n "(cached
) $ac_c" 1>&6
1125 cat > conftest.C <<EOF
1130 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1137 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1139 if test $ac_cv_prog_gxx = yes; then
1141 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1142 ac_save_CXXFLAGS="$CXXFLAGS"
1144 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1145 echo "configure
:1146: checking whether
${CXX-g++} accepts
-g" >&5
1146 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1147 echo $ac_n "(cached
) $ac_c" 1>&6
1149 echo 'void f(){}' > conftest.cc
1150 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1151 ac_cv_prog_cxx_g=yes
1159 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1160 if test "$ac_test_CXXFLAGS" = set; then
1161 CXXFLAGS="$ac_save_CXXFLAGS"
1162 elif test $ac_cv_prog_cxx_g = yes; then
1169 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1173 # For directory versioning (e.g., headers) and other variables.
1174 echo $ac_n "checking
for GCC version number
""...
$ac_c" 1>&6
1175 echo "configure
:1176: checking
for GCC version number
" >&5
1176 gcc_version=`$glibcpp_CXX -dumpversion`
1177 echo "$ac_t""$gcc_version" 1>&6
1179 # For some reason, gettext needs this.
1180 echo $ac_n "checking
for POSIXized ISC
""...
$ac_c" 1>&6
1181 echo "configure
:1182: checking
for POSIXized ISC
" >&5
1182 if test -d /etc/conf/kconfig.d &&
1183 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
1185 echo "$ac_t""yes" 1>&6
1186 ISC=yes # If later tests want to check for ISC.
1187 cat >> confdefs.h <<\EOF
1188 #define _POSIX_SOURCE 1
1191 if test "$GCC" = yes; then
1197 echo "$ac_t""no
" 1>&6
1202 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1203 set dummy ${ac_tool_prefix}as; ac_word=$2
1204 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1205 echo "configure
:1206: checking
for $ac_word" >&5
1206 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1207 echo $ac_n "(cached
) $ac_c" 1>&6
1209 if test -n "$AS"; then
1210 ac_cv_prog_AS="$AS" # Let the user override the test.
1212 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1214 for ac_dir in $ac_dummy; do
1215 test -z "$ac_dir" && ac_dir=.
1216 if test -f $ac_dir/$ac_word; then
1217 ac_cv_prog_AS="${ac_tool_prefix}as
"
1222 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1226 if test -n "$AS"; then
1227 echo "$ac_t""$AS" 1>&6
1229 echo "$ac_t""no
" 1>&6
1234 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1235 set dummy ${ac_tool_prefix}ar; ac_word=$2
1236 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1237 echo "configure
:1238: checking
for $ac_word" >&5
1238 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1239 echo $ac_n "(cached
) $ac_c" 1>&6
1241 if test -n "$AR"; then
1242 ac_cv_prog_AR="$AR" # Let the user override the test.
1244 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1246 for ac_dir in $ac_dummy; do
1247 test -z "$ac_dir" && ac_dir=.
1248 if test -f $ac_dir/$ac_word; then
1249 ac_cv_prog_AR="${ac_tool_prefix}ar"
1254 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1258 if test -n "$AR"; then
1259 echo "$ac_t""$AR" 1>&6
1261 echo "$ac_t""no
" 1>&6
1266 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1267 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1268 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1269 echo "configure
:1270: checking
for $ac_word" >&5
1270 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1271 echo $ac_n "(cached
) $ac_c" 1>&6
1273 if test -n "$RANLIB"; then
1274 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1276 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1278 for ac_dir in $ac_dummy; do
1279 test -z "$ac_dir" && ac_dir=.
1280 if test -f $ac_dir/$ac_word; then
1281 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1288 RANLIB="$ac_cv_prog_RANLIB"
1289 if test -n "$RANLIB"; then
1290 echo "$ac_t""$RANLIB" 1>&6
1292 echo "$ac_t""no
" 1>&6
1296 if test -z "$ac_cv_prog_RANLIB"; then
1297 if test -n "$ac_tool_prefix"; then
1298 # Extract the first word of "ranlib
", so it can be a program name with args.
1299 set dummy ranlib; ac_word=$2
1300 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1301 echo "configure
:1302: checking
for $ac_word" >&5
1302 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1303 echo $ac_n "(cached
) $ac_c" 1>&6
1305 if test -n "$RANLIB"; then
1306 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1308 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1310 for ac_dir in $ac_dummy; do
1311 test -z "$ac_dir" && ac_dir=.
1312 if test -f $ac_dir/$ac_word; then
1313 ac_cv_prog_RANLIB="ranlib
"
1318 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1321 RANLIB="$ac_cv_prog_RANLIB"
1322 if test -n "$RANLIB"; then
1323 echo "$ac_t""$RANLIB" 1>&6
1325 echo "$ac_t""no
" 1>&6
1329 RANLIB="ranlib-not-found-in-path-error
"
1333 # Find a good install program. We prefer a C program (faster),
1334 # so one script is as good as another. But avoid the broken or
1335 # incompatible versions:
1336 # SysV /etc/install, /usr/sbin/install
1337 # SunOS /usr/etc/install
1338 # IRIX /sbin/install
1340 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1341 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1342 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1343 # ./install, which can be erroneously created by make from ./install.sh.
1344 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1345 echo "configure
:1346: checking
for a BSD compatible
install" >&5
1346 if test -z "$INSTALL"; then
1347 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1348 echo $ac_n "(cached
) $ac_c" 1>&6
1350 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1351 for ac_dir in $PATH; do
1352 # Account for people who put trailing slashes in PATH elements.
1354 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1356 # OSF1 and SCO ODT 3.0 have their own names for install.
1357 # Don't use installbsd from OSF since it installs stuff as root
1359 for ac_prog in ginstall scoinst install; do
1360 if test -f $ac_dir/$ac_prog; then
1361 if test $ac_prog = install &&
1362 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1363 # AIX install. It has an incompatible calling convention.
1366 ac_cv_path_install="$ac_dir/$ac_prog -c"
1377 if test "${ac_cv_path_install+set}" = set; then
1378 INSTALL="$ac_cv_path_install"
1380 # As a last resort, use the slow shell script. We don't cache a
1381 # path for INSTALL within a source directory, because that will
1382 # break other packages using the cache if that directory is
1383 # removed, or if the path is relative.
1384 INSTALL="$ac_install_sh"
1387 echo "$ac_t""$INSTALL" 1>&6
1389 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1390 # It thinks the first close brace ends the variable substitution.
1391 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1393 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1395 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1398 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1399 echo "configure
:1400: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1400 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1401 if test "${enable_maintainer_mode+set}" = set; then
1402 enableval="$enable_maintainer_mode"
1403 USE_MAINTAINER_MODE=$enableval
1405 USE_MAINTAINER_MODE=no
1408 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1411 if test $USE_MAINTAINER_MODE = yes; then
1412 MAINTAINER_MODE_TRUE=
1413 MAINTAINER_MODE_FALSE='#'
1415 MAINTAINER_MODE_TRUE='#'
1416 MAINTAINER_MODE_FALSE=
1418 MAINT=$MAINTAINER_MODE_TRUE
1422 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1423 # at least currently, we never actually build a program, so we never
1424 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1425 # fails, because we are probably configuring with a cross compiler
1426 # which can't create executables. So we include AC_EXEEXT to keep
1427 # automake happy, but we don't execute it, since we don't care about
1430 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1431 # to nothing, so nothing would remain between `then' and `fi' if it
1432 # were not for the `:' below.
1436 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1437 echo "configure
:1438: checking
for executable suffix
" >&5
1438 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1439 echo $ac_n "(cached
) $ac_c" 1>&6
1441 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1445 echo 'int main () { return 0; }' > conftest.$ac_ext
1447 if { (eval echo configure:1448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1448 for file in conftest.*; do
1450 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1451 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1455 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1458 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1463 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1464 echo "$ac_t""${ac_cv_exeext}" 1>&6
1469 case ${glibcpp_basedir} in
1470 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1471 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1474 # Find platform-specific directories containing configuration info. In
1475 # addition to possibly modifying the same flags, it also sets up symlinks.
1477 . ${glibcpp_basedir}/configure.target
1478 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1479 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1483 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1484 echo "configure
:1485: checking whether build environment is sane
" >&5
1487 echo timestamp > conftestfile
1488 # Do `set' in a subshell so we don't clobber the current shell's
1489 # arguments. Must try -L first in case configure is actually a
1490 # symlink; some systems play weird games with the mod time of symlinks
1491 # (eg FreeBSD returns the mod time of the symlink's containing
1494 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1495 if test "$
*" = "X
"; then
1497 set X `ls -t $srcdir/configure conftestfile`
1499 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1500 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1502 # If neither matched, then we have a broken ls. This can happen
1503 # if, for instance, CONFIG_SHELL is bash and it inherits a
1504 # broken ls alias from the environment. This has actually
1505 # happened. Such a system could not be considered "sane
".
1506 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1507 alias in your environment
" 1>&2; exit 1; }
1510 test "$2" = conftestfile
1516 { echo "configure
: error
: newly created
file is older than distributed files
!
1517 Check your system
clock" 1>&2; exit 1; }
1520 echo "$ac_t""yes" 1>&6
1521 if test "$program_transform_name" = s,x,x,; then
1522 program_transform_name=
1524 # Double any \ or $. echo might interpret backslashes.
1525 cat <<\EOF_SED > conftestsed
1526 s,\\,\\\\,g; s,\$,$$,g
1528 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1531 test "$program_prefix" != NONE &&
1532 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1533 # Use a double $ so make ignores it.
1534 test "$program_suffix" != NONE &&
1535 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1537 # sed with no file args requires a program.
1538 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1540 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1541 echo "configure
:1542: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1542 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1543 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1544 echo $ac_n "(cached
) $ac_c" 1>&6
1546 cat > conftestmake <<\EOF
1548 @echo 'ac_maketemp="${MAKE}"'
1550 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1551 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1552 if test -n "$ac_maketemp"; then
1553 eval ac_cv_prog_make_${ac_make}_set=yes
1555 eval ac_cv_prog_make_${ac_make}_set=no
1559 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1560 echo "$ac_t""yes" 1>&6
1563 echo "$ac_t""no
" 1>&6
1564 SET_MAKE="MAKE
=${MAKE-make}"
1570 VERSION=$gcc_version
1572 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1573 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1575 cat >> confdefs.h <<EOF
1576 #define PACKAGE "$PACKAGE"
1579 cat >> confdefs.h <<EOF
1580 #define VERSION "$VERSION"
1585 missing_dir=`cd $ac_aux_dir && pwd`
1586 echo $ac_n "checking
for working aclocal
""...
$ac_c" 1>&6
1587 echo "configure
:1588: checking
for working aclocal
" >&5
1588 # Run test in a subshell; some versions of sh will print an error if
1589 # an executable is not found, even if stderr is redirected.
1590 # Redirect stdin to placate older versions of autoconf. Sigh.
1591 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
1593 echo "$ac_t""found
" 1>&6
1595 ACLOCAL="$missing_dir/missing aclocal
"
1596 echo "$ac_t""missing
" 1>&6
1599 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1600 echo "configure
:1601: checking
for working autoconf
" >&5
1601 # Run test in a subshell; some versions of sh will print an error if
1602 # an executable is not found, even if stderr is redirected.
1603 # Redirect stdin to placate older versions of autoconf. Sigh.
1604 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1606 echo "$ac_t""found
" 1>&6
1608 AUTOCONF="$missing_dir/missing autoconf
"
1609 echo "$ac_t""missing
" 1>&6
1612 echo $ac_n "checking
for working automake
""...
$ac_c" 1>&6
1613 echo "configure
:1614: checking
for working automake
" >&5
1614 # Run test in a subshell; some versions of sh will print an error if
1615 # an executable is not found, even if stderr is redirected.
1616 # Redirect stdin to placate older versions of autoconf. Sigh.
1617 if (automake --version) < /dev/null > /dev/null 2>&1; then
1619 echo "$ac_t""found
" 1>&6
1621 AUTOMAKE="$missing_dir/missing automake
"
1622 echo "$ac_t""missing
" 1>&6
1625 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1626 echo "configure
:1627: checking
for working autoheader
" >&5
1627 # Run test in a subshell; some versions of sh will print an error if
1628 # an executable is not found, even if stderr is redirected.
1629 # Redirect stdin to placate older versions of autoconf. Sigh.
1630 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1631 AUTOHEADER=autoheader
1632 echo "$ac_t""found
" 1>&6
1634 AUTOHEADER="$missing_dir/missing autoheader
"
1635 echo "$ac_t""missing
" 1>&6
1638 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1639 echo "configure
:1640: checking
for working makeinfo
" >&5
1640 # Run test in a subshell; some versions of sh will print an error if
1641 # an executable is not found, even if stderr is redirected.
1642 # Redirect stdin to placate older versions of autoconf. Sigh.
1643 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1645 echo "$ac_t""found
" 1>&6
1647 MAKEINFO="$missing_dir/missing makeinfo
"
1648 echo "$ac_t""missing
" 1>&6
1657 # Check whether --enable-shared or --disable-shared was given.
1658 if test "${enable_shared+set}" = set; then
1659 enableval="$enable_shared"
1660 p=${PACKAGE-default}
1662 yes) enable_shared=yes ;;
1663 no) enable_shared=no ;;
1666 # Look at the argument we got. We use all the common list separators.
1667 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1668 for pkg in $enableval; do
1669 if test "X
$pkg" = "X
$p"; then
1680 # Check whether --enable-static or --disable-static was given.
1681 if test "${enable_static+set}" = set; then
1682 enableval="$enable_static"
1683 p=${PACKAGE-default}
1685 yes) enable_static=yes ;;
1686 no) enable_static=no ;;
1689 # Look at the argument we got. We use all the common list separators.
1690 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1691 for pkg in $enableval; do
1692 if test "X
$pkg" = "X
$p"; then
1703 # Check whether --enable-fast-install or --disable-fast-install was given.
1704 if test "${enable_fast_install+set}" = set; then
1705 enableval="$enable_fast_install"
1706 p=${PACKAGE-default}
1708 yes) enable_fast_install=yes ;;
1709 no) enable_fast_install=no ;;
1711 enable_fast_install=no
1712 # Look at the argument we got. We use all the common list separators.
1713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1714 for pkg in $enableval; do
1715 if test "X
$pkg" = "X
$p"; then
1716 enable_fast_install=yes
1723 enable_fast_install=yes
1726 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1727 if test "${with_gnu_ld+set}" = set; then
1728 withval="$with_gnu_ld"
1729 test "$withval" = no || with_gnu_ld=yes
1735 if test "$GCC" = yes; then
1736 # Check if gcc -print-prog-name=ld gives a path.
1737 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1738 echo "configure
:1739: checking
for ld used by GCC
" >&5
1741 # gcc leaves a trailing carriage return which upsets mingw
1742 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1744 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1747 # Accept absolute paths.
1748 [\\/]* | [A-Za-z]:[\\/]*)
1749 re_direlt='/[^/][^/]*/\.\./'
1750 # Canonicalize the path of ld
1751 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1752 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1753 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1755 test -z "$LD" && LD="$ac_prog"
1758 # If it fails, then pretend we aren't using GCC.
1762 # If it is relative, then search for the first ld in PATH.
1766 elif test "$with_gnu_ld" = yes; then
1767 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1768 echo "configure
:1769: checking
for GNU ld
" >&5
1770 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1771 echo "configure
:1772: checking
for non-GNU ld
" >&5
1773 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1774 echo $ac_n "(cached
) $ac_c" 1>&6
1776 if test -z "$LD"; then
1777 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1778 for ac_dir in $PATH; do
1779 test -z "$ac_dir" && ac_dir=.
1780 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1781 lt_cv_path_LD="$ac_dir/$ac_prog"
1782 # Check to see if the program is GNU ld. I'd rather use --version,
1783 # but apparently some GNU ld's only accept -v.
1784 # Break only if it was the GNU/non-GNU ld that we prefer.
1785 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1786 test "$with_gnu_ld" != no && break
1788 test "$with_gnu_ld" != yes && break
1794 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1799 if test -n "$LD"; then
1800 echo "$ac_t""$LD" 1>&6
1802 echo "$ac_t""no
" 1>&6
1804 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1805 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1806 echo "configure
:1807: checking
if the linker
($LD) is GNU ld
" >&5
1807 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1808 echo $ac_n "(cached
) $ac_c" 1>&6
1810 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1811 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1812 lt_cv_prog_gnu_ld=yes
1814 lt_cv_prog_gnu_ld=no
1818 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1819 with_gnu_ld=$lt_cv_prog_gnu_ld
1822 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1823 echo "configure
:1824: checking
for $LD option to reload object files
" >&5
1824 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1825 echo $ac_n "(cached
) $ac_c" 1>&6
1827 lt_cv_ld_reload_flag='-r'
1830 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1831 reload_flag=$lt_cv_ld_reload_flag
1832 test -n "$reload_flag" && reload_flag=" $reload_flag"
1834 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1835 echo "configure
:1836: checking
for BSD-compatible nm
" >&5
1836 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1837 echo $ac_n "(cached
) $ac_c" 1>&6
1839 if test -n "$NM"; then
1840 # Let the user override the test.
1843 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1844 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1845 test -z "$ac_dir" && ac_dir=.
1846 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1847 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1848 # Check to see if the nm accepts a BSD-compat flag.
1849 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1850 # nm: unknown option "B
" ignored
1851 # Tru64's nm complains that /dev/null is an invalid object file
1852 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1853 lt_cv_path_NM="$tmp_nm -B"
1855 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1856 lt_cv_path_NM="$tmp_nm -p"
1859 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1860 continue # so that we can try to find one that supports BSD flags
1865 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1870 echo "$ac_t""$NM" 1>&6
1872 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1873 echo "configure
:1874: checking how to recognise dependant libraries
" >&5
1874 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1875 echo $ac_n "(cached
) $ac_c" 1>&6
1877 lt_cv_file_magic_cmd='$MAGIC_CMD'
1878 lt_cv_file_magic_test_file=
1879 lt_cv_deplibs_check_method='unknown'
1880 # Need to set the preceding variable on all platforms that support
1881 # interlibrary dependencies.
1882 # 'none' -- dependencies not supported.
1883 # `unknown' -- same as none, but documents that we really don't know.
1884 # 'pass_all' -- all dependencies passed with no checks.
1885 # 'test_compile' -- check by making test program.
1886 # 'file_magic [regex]' -- check by looking for files in library path
1887 # which responds to the $file_magic_cmd with a given egrep regex.
1888 # If you have `file' or equivalent on your system and you're not sure
1889 # whether `pass_all' will *always* work, you probably want this one.
1893 lt_cv_deplibs_check_method=pass_all
1897 lt_cv_deplibs_check_method=pass_all
1901 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1902 lt_cv_file_magic_cmd='/usr/bin/file -L'
1903 lt_cv_file_magic_test_file=/shlib/libc.so
1906 cygwin* | mingw* |pw32*)
1907 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1908 lt_cv_file_magic_cmd='$OBJDUMP -f'
1911 darwin* | rhapsody*)
1912 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1913 lt_cv_file_magic_cmd='/usr/bin/file -L'
1915 rhapsody* | darwin1.012)
1916 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1919 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1925 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1928 # Not sure whether the presence of OpenBSD here was a mistake.
1929 # Let's accept both of them until this is cleared up.
1930 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1931 lt_cv_file_magic_cmd=/usr/bin/file
1932 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1936 lt_cv_deplibs_check_method=pass_all
1941 lt_cv_deplibs_check_method=pass_all
1945 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1946 lt_cv_file_magic_cmd=/usr/bin/file
1947 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1953 # this will be overridden with pass_all, but let us keep it just in case
1954 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1958 *-32|*"-32 ") libmagic=32-bit;;
1959 *-n32|*"-n32 ") libmagic=N32;;
1960 *-64|*"-64 ") libmagic=64-bit;;
1961 *) libmagic=never-match;;
1963 # this will be overridden with pass_all, but let us keep it just in case
1964 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1967 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1968 lt_cv_deplibs_check_method=pass_all
1971 # This must be Linux ELF.
1974 alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
1975 lt_cv_deplibs_check_method=pass_all ;;
1977 # glibc up to 2.1.1 does not perform some relocations on ARM
1978 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
1980 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
1984 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1985 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
1987 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
1992 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
1993 lt_cv_file_magic_cmd=/usr/bin/file
1994 lt_cv_file_magic_test_file=/usr/lib/libnls.so
1997 osf3* | osf4* | osf5*)
1998 # this will be overridden with pass_all, but let us keep it just in case
1999 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2000 lt_cv_file_magic_test_file=/shlib/libc.so
2001 lt_cv_deplibs_check_method=pass_all
2005 lt_cv_deplibs_check_method=pass_all
2009 lt_cv_deplibs_check_method=pass_all
2010 lt_cv_file_magic_test_file=/lib/libc.so
2013 sysv5uw[78]* | sysv4*uw2*)
2014 lt_cv_deplibs_check_method=pass_all
2017 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2018 case $host_vendor in
2020 lt_cv_deplibs_check_method=pass_all
2023 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]'
2024 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2032 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2033 file_magic_cmd=$lt_cv_file_magic_cmd
2034 deplibs_check_method=$lt_cv_deplibs_check_method
2036 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2037 echo "configure
:2038: checking
for object suffix
" >&5
2038 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2039 echo $ac_n "(cached
) $ac_c" 1>&6
2042 echo 'int i = 1;' > conftest.$ac_ext
2043 if { (eval echo configure:2044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2044 for ac_file in conftest.*; do
2047 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2051 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2056 echo "$ac_t""$ac_cv_objext" 1>&6
2057 OBJEXT=$ac_cv_objext
2058 ac_objext=$ac_cv_objext
2060 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2062 # Only perform the check for file, if the check method requires it
2063 case $deplibs_check_method in
2065 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2066 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2067 echo "configure
:2068: checking
for ${ac_tool_prefix}file" >&5
2068 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2069 echo $ac_n "(cached
) $ac_c" 1>&6
2073 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2076 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2079 ac_save_MAGIC_CMD="$MAGIC_CMD"
2080 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2081 ac_dummy="/usr
/bin
:$PATH"
2082 for ac_dir in $ac_dummy; do
2083 test -z "$ac_dir" && ac_dir=.
2084 if test -f $ac_dir/${ac_tool_prefix}file; then
2085 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2086 if test -n "$file_magic_test_file"; then
2087 case $deplibs_check_method in
2089 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2090 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2091 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2092 egrep "$file_magic_regex" > /dev/null; then
2097 *** Warning: the command libtool uses to detect shared libraries,
2098 *** $file_magic_cmd, produces output that libtool cannot recognize.
2099 *** The result is that libtool may fail to recognize shared libraries
2100 *** as such. This will affect the creation of libtool libraries that
2101 *** depend on shared libraries, but programs linked with such libtool
2102 *** libraries will work regardless of this problem. Nevertheless, you
2103 *** may want to report the problem to your system manager and/or to
2104 *** bug-libtool@gnu.org
2114 MAGIC_CMD="$ac_save_MAGIC_CMD"
2119 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2120 if test -n "$MAGIC_CMD"; then
2121 echo "$ac_t""$MAGIC_CMD" 1>&6
2123 echo "$ac_t""no
" 1>&6
2126 if test -z "$lt_cv_path_MAGIC_CMD"; then
2127 if test -n "$ac_tool_prefix"; then
2128 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2129 echo "configure
:2130: checking
for file" >&5
2130 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2131 echo $ac_n "(cached
) $ac_c" 1>&6
2135 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2138 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2141 ac_save_MAGIC_CMD="$MAGIC_CMD"
2142 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2143 ac_dummy="/usr
/bin
:$PATH"
2144 for ac_dir in $ac_dummy; do
2145 test -z "$ac_dir" && ac_dir=.
2146 if test -f $ac_dir/file; then
2147 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2148 if test -n "$file_magic_test_file"; then
2149 case $deplibs_check_method in
2151 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2152 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2153 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2154 egrep "$file_magic_regex" > /dev/null; then
2159 *** Warning: the command libtool uses to detect shared libraries,
2160 *** $file_magic_cmd, produces output that libtool cannot recognize.
2161 *** The result is that libtool may fail to recognize shared libraries
2162 *** as such. This will affect the creation of libtool libraries that
2163 *** depend on shared libraries, but programs linked with such libtool
2164 *** libraries will work regardless of this problem. Nevertheless, you
2165 *** may want to report the problem to your system manager and/or to
2166 *** bug-libtool@gnu.org
2176 MAGIC_CMD="$ac_save_MAGIC_CMD"
2181 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2182 if test -n "$MAGIC_CMD"; then
2183 echo "$ac_t""$MAGIC_CMD" 1>&6
2185 echo "$ac_t""no
" 1>&6
2197 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2199 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2200 echo "configure
:2201: checking
for $ac_word" >&5
2201 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2202 echo $ac_n "(cached
) $ac_c" 1>&6
2204 if test -n "$RANLIB"; then
2205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2207 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2209 for ac_dir in $ac_dummy; do
2210 test -z "$ac_dir" && ac_dir=.
2211 if test -f $ac_dir/$ac_word; then
2212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2219 RANLIB="$ac_cv_prog_RANLIB"
2220 if test -n "$RANLIB"; then
2221 echo "$ac_t""$RANLIB" 1>&6
2223 echo "$ac_t""no
" 1>&6
2227 if test -z "$ac_cv_prog_RANLIB"; then
2228 if test -n "$ac_tool_prefix"; then
2229 # Extract the first word of "ranlib
", so it can be a program name with args.
2230 set dummy ranlib; ac_word=$2
2231 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2232 echo "configure
:2233: checking
for $ac_word" >&5
2233 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2234 echo $ac_n "(cached
) $ac_c" 1>&6
2236 if test -n "$RANLIB"; then
2237 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2239 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2241 for ac_dir in $ac_dummy; do
2242 test -z "$ac_dir" && ac_dir=.
2243 if test -f $ac_dir/$ac_word; then
2244 ac_cv_prog_RANLIB="ranlib
"
2249 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2252 RANLIB="$ac_cv_prog_RANLIB"
2253 if test -n "$RANLIB"; then
2254 echo "$ac_t""$RANLIB" 1>&6
2256 echo "$ac_t""no
" 1>&6
2264 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2265 set dummy ${ac_tool_prefix}strip; ac_word=$2
2266 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2267 echo "configure
:2268: checking
for $ac_word" >&5
2268 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2269 echo $ac_n "(cached
) $ac_c" 1>&6
2271 if test -n "$STRIP"; then
2272 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2274 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2276 for ac_dir in $ac_dummy; do
2277 test -z "$ac_dir" && ac_dir=.
2278 if test -f $ac_dir/$ac_word; then
2279 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2286 STRIP="$ac_cv_prog_STRIP"
2287 if test -n "$STRIP"; then
2288 echo "$ac_t""$STRIP" 1>&6
2290 echo "$ac_t""no
" 1>&6
2294 if test -z "$ac_cv_prog_STRIP"; then
2295 if test -n "$ac_tool_prefix"; then
2296 # Extract the first word of "strip
", so it can be a program name with args.
2297 set dummy strip; ac_word=$2
2298 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2299 echo "configure
:2300: checking
for $ac_word" >&5
2300 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2301 echo $ac_n "(cached
) $ac_c" 1>&6
2303 if test -n "$STRIP"; then
2304 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2306 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2308 for ac_dir in $ac_dummy; do
2309 test -z "$ac_dir" && ac_dir=.
2310 if test -f $ac_dir/$ac_word; then
2311 ac_cv_prog_STRIP="strip
"
2316 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2319 STRIP="$ac_cv_prog_STRIP"
2320 if test -n "$STRIP"; then
2321 echo "$ac_t""$STRIP" 1>&6
2323 echo "$ac_t""no
" 1>&6
2332 # Check for any special flags to pass to ltconfig.
2333 libtool_flags="--cache-file=$cache_file"
2334 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2335 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2336 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2337 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2338 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2339 libtool_flags="$libtool_flags --enable-dlopen"
2341 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2342 if test "${enable_libtool_lock+set}" = set; then
2343 enableval="$enable_libtool_lock"
2347 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2348 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2350 # Check whether --with-pic or --without-pic was given.
2351 if test "${with_pic+set}" = set; then
2358 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2359 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2361 # Some flags need to be propagated to the compiler or linker for good
2365 # Find out which ABI we are using.
2366 echo '#line 2367 "configure
"' > conftest.$ac_ext
2367 if { (eval echo configure:2368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2368 case `/usr/bin/file conftest.$ac_objext` in
2384 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2385 SAVE_CFLAGS="$CFLAGS"
2386 CFLAGS="$CFLAGS -belf"
2387 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2388 echo "configure
:2389: checking whether the C compiler needs
-belf" >&5
2389 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2390 echo $ac_n "(cached
) $ac_c" 1>&6
2394 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2395 ac_cpp='$CPP $CPPFLAGS'
2396 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2397 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2398 cross_compiling=$ac_cv_prog_cc_cross
2400 cat > conftest.$ac_ext <<EOF
2401 #line 2402 "configure
"
2402 #include "confdefs.h
"
2408 if { (eval echo configure:2409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2410 lt_cv_cc_needs_belf=yes
2412 echo "configure
: failed program was
:" >&5
2413 cat conftest.$ac_ext >&5
2415 lt_cv_cc_needs_belf=no
2419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2420 ac_cpp='$CPP $CPPFLAGS'
2421 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2422 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2423 cross_compiling=$ac_cv_prog_cc_cross
2427 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2428 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2429 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2430 CFLAGS="$SAVE_CFLAGS"
2437 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2438 echo "configure
:2439: checking how to run the C
++ preprocessor
" >&5
2439 if test -z "$CXXCPP"; then
2440 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2441 echo $ac_n "(cached
) $ac_c" 1>&6
2444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2445 ac_cpp='$CXXCPP $CPPFLAGS'
2446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2448 cross_compiling=$ac_cv_prog_cxx_cross
2449 CXXCPP="${CXX-g++} -E"
2450 cat > conftest.$ac_ext <<EOF
2451 #line 2452 "configure
"
2452 #include "confdefs.h
"
2455 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2456 { (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2457 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2458 if test -z "$ac_err"; then
2462 echo "configure
: failed program was
:" >&5
2463 cat conftest.$ac_ext >&5
2468 ac_cv_prog_CXXCPP="$CXXCPP"
2470 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2471 ac_cpp='$CPP $CPPFLAGS'
2472 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2473 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2474 cross_compiling=$ac_cv_prog_cc_cross
2477 CXXCPP="$ac_cv_prog_CXXCPP"
2478 echo "$ac_t""$CXXCPP" 1>&6
2481 # Save cache, so that ltconfig can load it
2482 cat > confcache <<\EOF
2483 # This file is a shell script that caches the results of configure
2484 # tests run on this system so they can be shared between configure
2485 # scripts and configure runs. It is not useful on other systems.
2486 # If it contains results you don't want to keep, you may remove or edit it.
2488 # By default, configure uses ./config.cache as the cache file,
2489 # creating it if it does not exist already. You can give configure
2490 # the --cache-file=FILE option to use a different cache file; that is
2491 # what configure does when it calls configure scripts in
2492 # subdirectories, so they share the cache.
2493 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2494 # config.status only pays attention to the cache file if you give it the
2495 # --recheck option to rerun configure.
2498 # The following way of writing the cache mishandles newlines in values,
2499 # but we know of no workaround that is simple, portable, and efficient.
2500 # So, don't put newlines in cache variables' values.
2501 # Ultrix sh set writes to stderr and can't be redirected directly,
2502 # and sets the high bit in the cache file unless we assign to the vars.
2504 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2506 # `set' does not quote correctly, so add quotes (double-quote substitution
2507 # turns \\\\ into \\, and sed turns \\ into \).
2509 -e "s
/'/'\\\\''/g
" \
2510 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2513 # `set' quotes correctly as required by POSIX, so do not add quotes.
2514 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2517 if cmp -s $cache_file confcache; then
2520 if test -w $cache_file; then
2521 echo "updating cache
$cache_file"
2522 cat confcache > $cache_file
2524 echo "not updating unwritable cache
$cache_file"
2530 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2531 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2532 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2533 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2534 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2535 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2536 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2537 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2538 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2539 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2541 # Reload cache, that may have been modified by ltconfig
2542 if test -r "$cache_file"; then
2543 echo "loading cache
$cache_file"
2546 echo "creating cache
$cache_file"
2551 # This can be used to rebuild libtool when needed
2552 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2554 # Always use our own libtool.
2555 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2557 # Redirect the config.log output again, so that the ltconfig log is not
2558 # clobbered by the next message.
2559 exec 5>>./config.log
2563 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2565 lt_save_CFLAGS="$CFLAGS"
2566 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2567 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2568 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2569 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2570 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2571 deplibs_check_method="$deplibs_check_method" \
2572 file_magic_cmd="$file_magic_cmd" \
2573 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2574 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2575 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2577 CFLAGS="$lt_save_CFLAGS"
2579 # Redirect the config.log output again, so that the ltconfig log is not
2580 # clobbered by the next message.
2581 exec 5>>./config.log
2591 # Check for c++ or library specific bits that don't require linking.
2592 #GLIBCPP_CHECK_COMPILER_VERSION
2593 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2594 echo "configure
:2595: checking
for GNU
make" >&5
2595 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2596 echo $ac_n "(cached
) $ac_c" 1>&6
2598 _cv_gnu_make_command='' ;
2599 for a in "${MAKE-make}" make gmake gnumake ; do
2600 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2602 _cv_gnu_make_command=$a ;
2609 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2610 if test "x
$_cv_gnu_make_command" != "x
" ; then
2618 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2619 # Check whether --enable-debug or --disable-debug was given.
2620 if test "${enable_debug+set}" = set; then
2621 enableval="$enable_debug"
2622 case "${enableval}" in
2623 yes) enable_debug=yes ;;
2624 no) enable_debug=no ;;
2625 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
2631 case "${enable_debug}" in
2633 DEBUG_FLAGS='-O0 -ggdb3'
2641 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2642 echo "configure
:2643: checking how to run the C preprocessor
" >&5
2643 # On Suns, sometimes $CPP names a directory.
2644 if test -n "$CPP" && test -d "$CPP"; then
2647 if test -z "$CPP"; then
2648 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2649 echo $ac_n "(cached
) $ac_c" 1>&6
2651 # This must be in double quotes, not single quotes, because CPP may get
2652 # substituted into the Makefile and "${CC-cc}" will confuse make.
2654 # On the NeXT, cc -E runs the code through the compiler's parser,
2655 # not just through cpp.
2656 cat > conftest.$ac_ext <<EOF
2657 #line 2658 "configure
"
2658 #include "confdefs.h
"
2662 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2663 { (eval echo configure:2664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2665 if test -z "$ac_err"; then
2669 echo "configure
: failed program was
:" >&5
2670 cat conftest.$ac_ext >&5
2672 CPP="${CC-cc} -E -traditional-cpp"
2673 cat > conftest.$ac_ext <<EOF
2674 #line 2675 "configure
"
2675 #include "confdefs.h
"
2679 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2680 { (eval echo configure:2681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2681 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2682 if test -z "$ac_err"; then
2686 echo "configure
: failed program was
:" >&5
2687 cat conftest.$ac_ext >&5
2689 CPP="${CC-cc} -nologo -E"
2690 cat > conftest.$ac_ext <<EOF
2691 #line 2692 "configure
"
2692 #include "confdefs.h
"
2696 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2697 { (eval echo configure:2698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2698 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2699 if test -z "$ac_err"; then
2703 echo "configure
: failed program was
:" >&5
2704 cat conftest.$ac_ext >&5
2713 ac_cv_prog_CPP="$CPP"
2715 CPP="$ac_cv_prog_CPP"
2717 ac_cv_prog_CPP="$CPP"
2719 echo "$ac_t""$CPP" 1>&6
2722 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2723 echo "configure
:2724: checking
for cstdio to use
" >&5
2724 # Check whether --enable-cstdio or --disable-cstdio was given.
2725 if test "${enable_cstdio+set}" = set; then
2726 enableval="$enable_cstdio"
2727 if test x$enable_cstdio = xno; then
2735 enable_cstdio_flag=$enable_cstdio
2737 case x${enable_cstdio_flag} in
2739 CSTDIO_H=config/io/c_io_libio.h
2740 BASIC_FILE_H=config/io/basic_file_libio.h
2741 BASIC_FILE_CC=config/io/basic_file_libio.cc
2742 echo "$ac_t""libio
" 1>&6
2744 # see if we are on a system with libio native (ie, linux)
2745 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2746 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2747 echo "configure
:2748: checking
for libio.h
" >&5
2748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2749 echo $ac_n "(cached
) $ac_c" 1>&6
2751 cat > conftest.$ac_ext <<EOF
2752 #line 2753 "configure
"
2753 #include "confdefs.h
"
2756 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2757 { (eval echo configure:2758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2758 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2759 if test -z "$ac_err"; then
2761 eval "ac_cv_header_
$ac_safe=yes"
2764 echo "configure
: failed program was
:" >&5
2765 cat conftest.$ac_ext >&5
2767 eval "ac_cv_header_
$ac_safe=no
"
2771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2772 echo "$ac_t""yes" 1>&6
2775 echo "$ac_t""no
" 1>&6
2780 # Need to check and see what version of glibc is being used. If
2781 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2782 # compile most of libio for linux systems.
2783 if test x$has_libio = x"yes"; then
2786 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2787 echo "configure
:2788: checking
for glibc version
>= 2.2" >&5
2788 cat > conftest.$ac_ext <<EOF
2789 #line 2790 "configure
"
2790 #include "confdefs.h
"
2792 #include <features.h>
2793 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2798 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2799 egrep "ok
" >/dev/null 2>&1; then
2801 glibc_satisfactory=yes
2804 glibc_satisfactory=no
2808 echo "$ac_t""$glibc_satisfactory" 1>&6
2812 # XXX at the moment, admit defeat and force the recompilation
2813 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2814 glibc_satisfactory=no
2816 if test x$glibc_satisfactory = x"yes"; then
2821 # bkoz XXX need to add checks to enable this
2822 # pme XXX here's a first pass at such a check
2823 if test x$enable_c_mbchar != xno; then
2831 # Using libio, but <libio.h> doesn't exist on the target system. . .
2833 # bkoz XXX need to add checks to enable this
2834 # pme XXX here's a first pass at such a check
2835 if test x$enable_c_mbchar != xno; then
2842 xstdio | x | xno | xnone | xyes)
2844 CSTDIO_H=config/io/c_io_stdio.h
2845 BASIC_FILE_H=config/io/basic_file_stdio.h
2846 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2847 echo "$ac_t""stdio
" 1>&6
2849 # We're not using stdio.
2854 echo "$enable_cstdio is an unknown io package
" 1>&2
2862 # 2000-08-04 bkoz hack
2863 CCODECVT_C=config/io/c_io_libio_codecvt.c
2865 # 2000-08-04 bkoz hack
2869 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2870 GLIBCPP_BUILD_LIBIO_TRUE=
2871 GLIBCPP_BUILD_LIBIO_FALSE='#'
2873 GLIBCPP_BUILD_LIBIO_TRUE='#'
2874 GLIBCPP_BUILD_LIBIO_FALSE=
2878 if test "$need_libio" = yes; then
2879 GLIBCPP_NEED_LIBIO_TRUE=
2880 GLIBCPP_NEED_LIBIO_FALSE='#'
2882 GLIBCPP_NEED_LIBIO_TRUE='#'
2883 GLIBCPP_NEED_LIBIO_FALSE=
2887 if test "$need_wlibio" = yes; then
2888 GLIBCPP_NEED_WLIBIO_TRUE=
2889 GLIBCPP_NEED_WLIBIO_FALSE='#'
2891 GLIBCPP_NEED_WLIBIO_TRUE='#'
2892 GLIBCPP_NEED_WLIBIO_FALSE=
2894 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
2895 libio_la=../libio/libio.la
2902 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
2903 echo "configure
:2904: checking
for clocale to use
" >&5
2904 # Check whether --enable-clocale or --disable-clocale was given.
2905 if test "${enable_clocale+set}" = set; then
2906 enableval="$enable_clocale"
2907 if test x$enable_clocale = xno; then
2915 enable_clocale_flag=$enable_clocale
2917 if test x$enable_clocale_flag = xno; then
2918 case x${target_os} in
2920 cat > conftest.$ac_ext <<EOF
2921 #line 2922 "configure
"
2922 #include "confdefs.h
"
2924 #include <features.h>
2925 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2930 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2931 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
2933 enable_clocale_flag=gnu
2936 enable_clocale_flag=generic
2941 # Test for bugs early in glibc-2.2.x series
2942 if test x$enable_clocale_flag = xgnu; then
2943 if test "$cross_compiling" = yes; then
2944 enable_clocale_flag=generic
2946 cat > conftest.$ac_ext <<EOF
2947 #line 2948 "configure
"
2948 #include "confdefs.h
"
2950 #define _GNU_SOURCE 1
2954 const char __one[] = "Äuglein Augmen
";
2955 const char __two[] = "Äuglein
";
2960 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
2961 loc_dup = __duplocale(loc);
2962 i = __strcoll_l(__one, __two, loc);
2963 j = __strcoll_l(__one, __two, loc_dup);
2968 if { (eval echo configure:2969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2970 enable_clocale_flag=gnu
2972 echo "configure
: failed program was
:" >&5
2973 cat conftest.$ac_ext >&5
2975 enable_clocale_flag=generic
2982 # ... at some point put __strxfrm_l tests in as well.
2985 enable_clocale_flag=generic
2990 # Check whether --enable-nls or --disable-nls was given.
2991 if test "${enable_nls+set}" = set; then
2992 enableval="$enable_nls"
3000 case x${enable_clocale_flag} in
3002 echo "$ac_t""generic
" 1>&6
3004 CLOCALE_H=config/locale/generic/c_locale.h
3005 CLOCALE_CC=config/locale/generic/c_locale.cc
3006 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3007 CCOLLATE_CC=config/locale/generic/collate_members.cc
3008 CCTYPE_CC=config/locale/generic/ctype_members.cc
3009 CMESSAGES_H=config/locale/generic/messages_members.h
3010 CMESSAGES_CC=config/locale/generic/messages_members.cc
3011 CMONEY_CC=config/locale/generic/monetary_members.cc
3012 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3013 CTIME_CC=config/locale/generic/time_members.cc
3016 echo "$ac_t""gnu
" 1>&6
3018 # Declare intention to use gettext, and add support for specific
3020 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3023 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3024 # Extract the first word of "msgfmt
", so it can be a program name with args.
3025 set dummy msgfmt; ac_word=$2
3026 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3027 echo "configure
:3028: checking
for $ac_word" >&5
3028 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3029 echo $ac_n "(cached
) $ac_c" 1>&6
3031 if test -n "$check_msgfmt"; then
3032 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3034 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3036 for ac_dir in $ac_dummy; do
3037 test -z "$ac_dir" && ac_dir=.
3038 if test -f $ac_dir/$ac_word; then
3039 ac_cv_prog_check_msgfmt="yes"
3044 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3047 check_msgfmt="$ac_cv_prog_check_msgfmt"
3048 if test -n "$check_msgfmt"; then
3049 echo "$ac_t""$check_msgfmt" 1>&6
3051 echo "$ac_t""no
" 1>&6
3054 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3057 # Export the build objects.
3058 for ling in $ALL_LINGUAS; do \
3059 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3060 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3065 CLOCALE_H=config/locale/gnu/c_locale.h
3066 CLOCALE_CC=config/locale/gnu/c_locale.cc
3067 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3068 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3069 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3070 CMESSAGES_H=config/locale/gnu/messages_members.h
3071 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3072 CMONEY_CC=config/locale/gnu/monetary_members.cc
3073 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3074 CTIME_CC=config/locale/gnu/time_members.cc
3077 echo "$ac_t""generic
" 1>&6
3079 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3080 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3081 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3082 CCOLLATE_CC=config/locale/generic/collate_members.cc
3083 CCTYPE_CC=config/locale/generic/ctype_members.cc
3084 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3085 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3086 CMONEY_CC=config/locale/generic/monetary_members.cc
3087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3088 CTIME_CC=config/locale/generic/time_members.cc
3091 echo "$enable_clocale is an unknown locale package
" 1>&2
3096 # This is where the testsuite looks for locale catalogs, using the
3097 # -DLOCALEDIR define during testsuite compilation.
3098 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3113 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3114 if test "${enable_c_mbchar+set}" = set; then
3115 enableval="$enable_c_mbchar"
3116 case "$enableval" in
3117 yes) enable_c_mbchar=yes ;;
3118 no) enable_c_mbchar=no ;;
3119 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3126 # Check whether --enable-c99 or --disable-c99 was given.
3127 if test "${enable_c99+set}" = set; then
3128 enableval="$enable_c99"
3129 case "$enableval" in
3130 yes) enable_c99=yes ;;
3131 no) enable_c99=no ;;
3132 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3141 ac_cpp='$CXXCPP $CPPFLAGS'
3142 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3143 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3144 cross_compiling=$ac_cv_prog_cxx_cross
3147 # Check for the existence of <math.h> functions used if C99 is enabled.
3149 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3150 echo "configure
:3151: checking
for ISO C99 support
in <math.h
>" >&5
3151 cat > conftest.$ac_ext <<EOF
3152 #line 3153 "configure
"
3153 #include "confdefs.h
"
3159 if { (eval echo configure:3160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3162 echo "configure
: failed program was
:" >&5
3163 cat conftest.$ac_ext >&5
3168 cat > conftest.$ac_ext <<EOF
3169 #line 3170 "configure
"
3170 #include "confdefs.h
"
3176 if { (eval echo configure:3177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3179 echo "configure
: failed program was
:" >&5
3180 cat conftest.$ac_ext >&5
3185 cat > conftest.$ac_ext <<EOF
3186 #line 3187 "configure
"
3187 #include "confdefs.h
"
3193 if { (eval echo configure:3194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3196 echo "configure
: failed program was
:" >&5
3197 cat conftest.$ac_ext >&5
3202 cat > conftest.$ac_ext <<EOF
3203 #line 3204 "configure
"
3204 #include "confdefs.h
"
3210 if { (eval echo configure:3211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3213 echo "configure
: failed program was
:" >&5
3214 cat conftest.$ac_ext >&5
3219 cat > conftest.$ac_ext <<EOF
3220 #line 3221 "configure
"
3221 #include "confdefs.h
"
3227 if { (eval echo configure:3228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3230 echo "configure
: failed program was
:" >&5
3231 cat conftest.$ac_ext >&5
3236 cat > conftest.$ac_ext <<EOF
3237 #line 3238 "configure
"
3238 #include "confdefs.h
"
3244 if { (eval echo configure:3245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3247 echo "configure
: failed program was
:" >&5
3248 cat conftest.$ac_ext >&5
3253 cat > conftest.$ac_ext <<EOF
3254 #line 3255 "configure
"
3255 #include "confdefs.h
"
3261 if { (eval echo configure:3262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3264 echo "configure
: failed program was
:" >&5
3265 cat conftest.$ac_ext >&5
3270 cat > conftest.$ac_ext <<EOF
3271 #line 3272 "configure
"
3272 #include "confdefs.h
"
3275 isgreaterequal(0.0,0.0);
3278 if { (eval echo configure:3279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3281 echo "configure
: failed program was
:" >&5
3282 cat conftest.$ac_ext >&5
3287 cat > conftest.$ac_ext <<EOF
3288 #line 3289 "configure
"
3289 #include "confdefs.h
"
3295 if { (eval echo configure:3296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3298 echo "configure
: failed program was
:" >&5
3299 cat conftest.$ac_ext >&5
3304 cat > conftest.$ac_ext <<EOF
3305 #line 3306 "configure
"
3306 #include "confdefs.h
"
3309 islessequal(0.0,0.0);
3312 if { (eval echo configure:3313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3315 echo "configure
: failed program was
:" >&5
3316 cat conftest.$ac_ext >&5
3321 cat > conftest.$ac_ext <<EOF
3322 #line 3323 "configure
"
3323 #include "confdefs.h
"
3326 islessgreater(0.0,0.0);
3329 if { (eval echo configure:3330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3332 echo "configure
: failed program was
:" >&5
3333 cat conftest.$ac_ext >&5
3338 cat > conftest.$ac_ext <<EOF
3339 #line 3340 "configure
"
3340 #include "confdefs.h
"
3343 isunordered(0.0,0.0);
3346 if { (eval echo configure:3347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3349 echo "configure
: failed program was
:" >&5
3350 cat conftest.$ac_ext >&5
3355 echo "$ac_t""$ac_c99_math" 1>&6
3357 # Check for the existence in <stdio.h> of vscanf, et. al.
3359 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3360 echo "configure
:3361: checking
for ISO C99 support
in <stdio.h
>" >&5
3361 cat > conftest.$ac_ext <<EOF
3362 #line 3363 "configure
"
3363 #include "confdefs.h
"
3366 snprintf("12", 0, "%i
");
3369 if { (eval echo configure:3370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3372 echo "configure
: failed program was
:" >&5
3373 cat conftest.$ac_ext >&5
3378 cat > conftest.$ac_ext <<EOF
3379 #line 3380 "configure
"
3380 #include "confdefs.h
"
3383 void foo(char* fmt, ...)
3384 {va_list args; va_start(args, fmt);
3385 vfscanf(stderr, "%i
", args);}
3390 if { (eval echo configure:3391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3393 echo "configure
: failed program was
:" >&5
3394 cat conftest.$ac_ext >&5
3399 cat > conftest.$ac_ext <<EOF
3400 #line 3401 "configure
"
3401 #include "confdefs.h
"
3404 void foo(char* fmt, ...)
3405 {va_list args; va_start(args, fmt);
3406 vscanf("%i
", args);}
3411 if { (eval echo configure:3412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3414 echo "configure
: failed program was
:" >&5
3415 cat conftest.$ac_ext >&5
3420 cat > conftest.$ac_ext <<EOF
3421 #line 3422 "configure
"
3422 #include "confdefs.h
"
3425 void foo(char* fmt, ...)
3426 {va_list args; va_start(args, fmt);
3427 vsnprintf(fmt, 0, "%i
", args);}
3432 if { (eval echo configure:3433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3435 echo "configure
: failed program was
:" >&5
3436 cat conftest.$ac_ext >&5
3441 cat > conftest.$ac_ext <<EOF
3442 #line 3443 "configure
"
3443 #include "confdefs.h
"
3446 void foo(char* fmt, ...)
3447 {va_list args; va_start(args, fmt);
3448 vsscanf(fmt, "%i
", args);}
3453 if { (eval echo configure:3454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3456 echo "configure
: failed program was
:" >&5
3457 cat conftest.$ac_ext >&5
3462 echo "$ac_t""$ac_c99_stdio" 1>&6
3464 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3466 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3467 echo "configure
:3468: checking
for lldiv_t declaration
" >&5
3468 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3469 echo $ac_n "(cached
) $ac_c" 1>&6
3472 cat > conftest.$ac_ext <<EOF
3473 #line 3474 "configure
"
3474 #include "confdefs.h
"
3480 if { (eval echo configure:3481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3484 echo "configure
: failed program was
:" >&5
3485 cat conftest.$ac_ext >&5
3493 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3495 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3496 echo "configure
:3497: checking
for ISO C99 support
in <stdlib.h
>" >&5
3497 cat > conftest.$ac_ext <<EOF
3498 #line 3499 "configure
"
3499 #include "confdefs.h
"
3502 char* tmp; strtof("gnu
", &tmp);
3505 if { (eval echo configure:3506: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3508 echo "configure
: failed program was
:" >&5
3509 cat conftest.$ac_ext >&5
3514 cat > conftest.$ac_ext <<EOF
3515 #line 3516 "configure
"
3516 #include "confdefs.h
"
3519 char* tmp; strtold("gnu
", &tmp);
3522 if { (eval echo configure:3523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3525 echo "configure
: failed program was
:" >&5
3526 cat conftest.$ac_ext >&5
3531 cat > conftest.$ac_ext <<EOF
3532 #line 3533 "configure
"
3533 #include "confdefs.h
"
3539 if { (eval echo configure:3540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3542 echo "configure
: failed program was
:" >&5
3543 cat conftest.$ac_ext >&5
3548 cat > conftest.$ac_ext <<EOF
3549 #line 3550 "configure
"
3550 #include "confdefs.h
"
3556 if { (eval echo configure:3557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3559 echo "configure
: failed program was
:" >&5
3560 cat conftest.$ac_ext >&5
3565 cat > conftest.$ac_ext <<EOF
3566 #line 3567 "configure
"
3567 #include "confdefs.h
"
3573 if { (eval echo configure:3574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3576 echo "configure
: failed program was
:" >&5
3577 cat conftest.$ac_ext >&5
3582 cat > conftest.$ac_ext <<EOF
3583 #line 3584 "configure
"
3584 #include "confdefs.h
"
3590 if { (eval echo configure:3591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3593 echo "configure
: failed program was
:" >&5
3594 cat conftest.$ac_ext >&5
3599 if test x"$ac_c99_lldiv_t" = x"no
"; then
3602 echo "$ac_t""$ac_c99_stdlib" 1>&6
3604 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3605 # XXX the wchar.h checks should be rolled into the general C99 bits.
3607 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3608 echo "configure
:3609: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3609 cat > conftest.$ac_ext <<EOF
3610 #line 3611 "configure
"
3611 #include "confdefs.h
"
3614 wcstold(L"10.0", NULL);
3617 if { (eval echo configure:3618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3620 echo "configure
: failed program was
:" >&5
3621 cat conftest.$ac_ext >&5
3626 cat > conftest.$ac_ext <<EOF
3627 #line 3628 "configure
"
3628 #include "confdefs.h
"
3631 wcstoll(L"10", NULL, 10);
3634 if { (eval echo configure:3635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3637 echo "configure
: failed program was
:" >&5
3638 cat conftest.$ac_ext >&5
3643 cat > conftest.$ac_ext <<EOF
3644 #line 3645 "configure
"
3645 #include "confdefs.h
"
3648 wcstoull(L"10", NULL, 10);
3651 if { (eval echo configure:3652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3654 echo "configure
: failed program was
:" >&5
3655 cat conftest.$ac_ext >&5
3660 echo "$ac_t""$ac_c99_wchar" 1>&6
3662 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3663 echo "configure
:3664: checking
for enabled ISO C99 support
" >&5
3664 if test x"$ac_c99_math" = x"no
" ||
3665 test x"$ac_c99_stdio" = x"no
" ||
3666 test x"$ac_c99_stdlib" = x"no
" ||
3667 test x"$ac_c99_wchar" = x"no
"; then
3670 echo "$ac_t""$enable_c99" 1>&6
3672 # Option parsed, now set things appropriately
3673 if test x"$enable_c99" = x"yes"; then
3674 cat >> confdefs.h <<\EOF
3675 #define _GLIBCPP_USE_C99 1
3681 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3682 ac_cpp='$CPP $CPPFLAGS'
3683 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3684 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3685 cross_compiling=$ac_cv_prog_cc_cross
3689 # Check whether --enable-long-long or --disable-long-long was given.
3690 if test "${enable_long_long+set}" = set; then
3691 enableval="$enable_long_long"
3692 case "$enableval" in
3693 yes) enable_long_long=yes ;;
3694 no) enable_long_long=no ;;
3695 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3698 enable_long_long=yes
3703 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3704 ac_cpp='$CXXCPP $CPPFLAGS'
3705 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3706 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3707 cross_compiling=$ac_cv_prog_cxx_cross
3710 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3711 echo "configure
:3712: checking
for enabled long long I
/O support
" >&5
3712 # iostreams require strtoll, strtoull to compile
3713 cat > conftest.$ac_ext <<EOF
3714 #line 3715 "configure
"
3715 #include "confdefs.h
"
3718 char* tmp; strtoll("gnu
", &tmp, 10);
3721 if { (eval echo configure:3722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3724 echo "configure
: failed program was
:" >&5
3725 cat conftest.$ac_ext >&5
3730 cat > conftest.$ac_ext <<EOF
3731 #line 3732 "configure
"
3732 #include "confdefs.h
"
3735 char* tmp; strtoull("gnu
", &tmp, 10);
3738 if { (eval echo configure:3739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3741 echo "configure
: failed program was
:" >&5
3742 cat conftest.$ac_ext >&5
3748 # Option parsed, now set things appropriately
3749 if test x"$enable_long_long" = xyes; then
3750 cat >> confdefs.h <<\EOF
3751 #define _GLIBCPP_USE_LONG_LONG 1
3755 echo "$ac_t""$enable_long_long" 1>&6
3758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3761 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3762 cross_compiling=$ac_cv_prog_cc_cross
3765 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3766 echo "configure
:3767: checking
for c header strategy to use
" >&5
3767 # Check whether --enable-cheaders or --disable-cheaders was given.
3768 if test "${enable_cheaders+set}" = set; then
3769 enableval="$enable_cheaders"
3771 case "$enableval" in
3776 enable_cheaders=c_std
3779 enable_cheaders=c_shadow
3781 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3785 enable_cheaders=c_std
3788 echo "$ac_t""$enable_cheaders" 1>&6
3790 case "$enable_cheaders" in
3792 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
3795 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3798 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3805 if test "$enable_cheaders" = c; then
3806 GLIBCPP_C_HEADERS_C_TRUE=
3807 GLIBCPP_C_HEADERS_C_FALSE='#'
3809 GLIBCPP_C_HEADERS_C_TRUE='#'
3810 GLIBCPP_C_HEADERS_C_FALSE=
3814 if test "$enable_cheaders" = c_std; then
3815 GLIBCPP_C_HEADERS_C_STD_TRUE=
3816 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3818 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3819 GLIBCPP_C_HEADERS_C_STD_FALSE=
3823 if test "$c_compatibility" = yes; then
3824 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3825 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3827 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3828 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3832 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
3833 echo "configure
:3834: checking
for thread model used by GCC
" >&5
3834 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
3835 echo "$ac_t""$target_thread_file" 1>&6
3837 if test $target_thread_file != single; then
3838 cat >> confdefs.h <<\EOF
3839 #define HAVE_GTHR_DEFAULT 1
3842 cat >> confdefs.h <<\EOF
3843 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
3848 glibcpp_thread_h=gthr-$target_thread_file.h
3851 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
3852 if test "${enable_cxx_flags+set}" = set; then
3853 enableval="$enable_cxx_flags"
3854 case "x
$enableval" in
3856 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
3858 enable_cxx_flags='' ;;
3860 enable_cxx_flags="$enableval" ;;
3863 enable_cxx_flags='none'
3867 if test "$enable_cxx_flags" = "none
"; then
3868 enable_cxx_flags='';
3871 if test -n "$enable_cxx_flags"; then
3872 for f in $enable_cxx_flags; do
3876 *) # and we're trying to pass /what/ exactly?
3877 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
3881 EXTRA_CXX_FLAGS="$enable_cxx_flags"
3885 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
3886 echo "configure
:3887: checking
for exception model to use
" >&5
3889 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3890 ac_cpp='$CXXCPP $CPPFLAGS'
3891 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3892 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3893 cross_compiling=$ac_cv_prog_cxx_cross
3895 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
3896 if test "${enable_sjlj_exceptions+set}" = set; then
3897 enableval="$enable_sjlj_exceptions"
3900 cat > conftest.$ac_ext << EOF
3901 #line 3902 "configure
"
3910 old_CXXFLAGS="$CXXFLAGS"
3911 CXXFLAGS="-S -fexceptions"
3912 if { (eval echo configure:3913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3913 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
3914 enable_sjlj_exceptions=yes
3915 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
3916 enable_sjlj_exceptions=no
3919 CXXFLAGS="$old_CXXFLAGS"
3923 if test x$enable_sjlj_exceptions = xyes; then
3924 cat >> confdefs.h <<\EOF
3925 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
3928 ac_exception_model_name=sjlj
3929 elif test x$enable_sjlj_exceptions = xno; then
3930 ac_exception_model_name="call frame
"
3932 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
3935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3936 ac_cpp='$CPP $CPPFLAGS'
3937 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3938 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3939 cross_compiling=$ac_cv_prog_cc_cross
3941 echo "$ac_t""$ac_exception_model_name" 1>&6
3944 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
3945 echo "configure
:3946: checking
for use of libunwind
" >&5
3946 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
3947 if test "${enable_libunwind_exceptions+set}" = set; then
3948 enableval="$enable_libunwind_exceptions"
3949 use_libunwind_exceptions=$enableval
3951 use_libunwind_exceptions=no
3954 echo "$ac_t""$use_libunwind_exceptions" 1>&6
3955 if test x"$use_libunwind_exceptions" = xyes; then
3956 LIBUNWIND_FLAG="-lunwind"
3962 # Check whether --enable-concept-checks or --disable-concept-checks was given.
3963 if test "${enable_concept_checks+set}" = set; then
3964 enableval="$enable_concept_checks"
3965 case "$enableval" in
3966 yes) enable_concept_checks=yes ;;
3967 no) enable_concept_checks=no ;;
3968 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
3971 enable_concept_checks=no
3973 if test x"$enable_concept_checks" = xyes; then
3974 cat >> confdefs.h <<\EOF
3975 #define _GLIBCPP_CONCEPT_CHECKS 1
3981 # Check for headers necessary for libsupc++ using dyn-string.c/cxa_demangle.c
3982 for ac_hdr in string.h stdlib.h
3984 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3985 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
3986 echo "configure
:3987: checking
for $ac_hdr" >&5
3987 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3988 echo $ac_n "(cached
) $ac_c" 1>&6
3990 cat > conftest.$ac_ext <<EOF
3991 #line 3992 "configure
"
3992 #include "confdefs.h
"
3995 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
3996 { (eval echo configure:3997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3997 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
3998 if test -z "$ac_err"; then
4000 eval "ac_cv_header_
$ac_safe=yes"
4003 echo "configure
: failed program was
:" >&5
4004 cat conftest.$ac_ext >&5
4006 eval "ac_cv_header_
$ac_safe=no
"
4010 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4011 echo "$ac_t""yes" 1>&6
4012 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4013 cat >> confdefs.h <<EOF
4014 #define $ac_tr_hdr 1
4018 echo "$ac_t""no
" 1>&6
4023 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4025 # This lets us hard-code the functionality we know
4026 # we'll have in the cross target environment. "Let
" is a
4027 # sugar-coated word placed on an especially dull and tedious hack, actually.
4028 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4029 # that involve linking can't be used:
4030 # "cannot open sim-crt0.o
"
4031 # "cannot open crt0.o
"
4032 # etc. All this is because there currently exists no unified,
4033 # consistent way for top level CC information to be passed down
4034 # to target directories: newlib includes, newlib linking info,
4035 # libgloss versus newlib crt0.o, etc. When all of this is done, all
4036 # of this hokey, excessive AC_DEFINE junk for crosses can be removed.
4038 # We are being configured with some form of cross compiler.
4039 GLIBCPP_IS_CROSS_COMPILING=1
4041 # If Canadian cross, then don't pick up tools from the build
4043 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4049 # Construct crosses by hand, eliminating bits that need ld...
4050 # GLIBCPP_CHECK_COMPILER_FEATURES
4051 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4052 # GLIBCPP_CHECK_MATH_SUPPORT
4054 case "$target_alias" in
4056 # Check for available headers.
4057 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4058 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4059 fp.h locale.h float.h inttypes.h
4061 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4062 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4063 echo "configure
:4064: checking
for $ac_hdr" >&5
4064 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4065 echo $ac_n "(cached
) $ac_c" 1>&6
4067 cat > conftest.$ac_ext <<EOF
4068 #line 4069 "configure
"
4069 #include "confdefs.h
"
4072 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4073 { (eval echo configure:4074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4074 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4075 if test -z "$ac_err"; then
4077 eval "ac_cv_header_
$ac_safe=yes"
4080 echo "configure
: failed program was
:" >&5
4081 cat conftest.$ac_ext >&5
4083 eval "ac_cv_header_
$ac_safe=no
"
4087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4088 echo "$ac_t""yes" 1>&6
4089 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4090 cat >> confdefs.h <<EOF
4091 #define $ac_tr_hdr 1
4095 echo "$ac_t""no
" 1>&6
4099 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4102 # If we're not using GNU ld, then there's no point in even trying these
4103 # tests. Check for that first. We should have already tested for gld
4104 # by now (in libtool), but require it now just to be safe...
4105 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4106 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4109 # The name set by libtool depends on the version of libtool. Shame on us
4110 # for depending on an impl detail, but c'est la vie. Older versions used
4111 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4112 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4113 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4114 # set (hence we're using an older libtool), then set it.
4115 if test x${with_gnu_ld+set} != xset; then
4116 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4117 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4120 with_gnu_ld=$ac_cv_prog_gnu_ld
4124 # Start by getting the version number. I think the libtool test already
4125 # does some of this, but throws away the result.
4127 ldver=`$LD --version 2>/dev/null | head -1 | \
4128 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4130 glibcpp_gnu_ld_version=`echo $ldver | \
4131 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4133 # Set --gc-sections.
4134 if test "$with_gnu_ld" = "notbroken
"; then
4135 # GNU ld it is! Joy and bunny rabbits!
4137 # All these tests are for C++; save the language and the compiler flags.
4138 # Need to do this so that g++ won't try to link in libstdc++
4139 ac_test_CFLAGS="${CFLAGS+set}"
4140 ac_save_CFLAGS="$CFLAGS"
4141 CFLAGS='-x c++ -Wl,--gc-sections'
4143 # Check for -Wl,--gc-sections
4144 # XXX This test is broken at the moment, as symbols required for
4145 # linking are now in libsupc++ (not built yet.....). In addition,
4146 # this test has cored on solaris in the past. In addition,
4147 # --gc-sections doesn't really work at the moment (keeps on discarding
4148 # used sections, first .eh_frame and now some of the glibc sections for
4149 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4150 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4151 echo "configure
:4152: checking
for ld that supports
-Wl,--gc-sections" >&5
4152 if test "$cross_compiling" = yes; then
4153 ac_sectionLDflags=yes
4155 cat > conftest.$ac_ext <<EOF
4156 #line 4157 "configure
"
4157 #include "confdefs.h
"
4167 if { (eval echo configure:4168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4169 ac_sectionLDflags=yes
4171 echo "configure
: failed program was
:" >&5
4172 cat conftest.$ac_ext >&5
4174 ac_sectionLDflags=no
4179 if test "$ac_test_CFLAGS" = set; then
4180 CFLAGS="$ac_save_CFLAGS"
4182 # this is the suspicious part
4185 if test "$ac_sectionLDflags" = "yes"; then
4186 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4188 echo "$ac_t""$ac_sectionLDflags" 1>&6
4191 # Set linker optimization flags.
4192 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
4193 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4200 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4201 echo "configure
:4202: checking
for main
in -lm" >&5
4202 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4204 echo $ac_n "(cached
) $ac_c" 1>&6
4206 ac_save_LIBS="$LIBS"
4208 cat > conftest.$ac_ext <<EOF
4209 #line 4210 "configure
"
4210 #include "confdefs.h
"
4216 if { (eval echo configure:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4218 eval "ac_cv_lib_
$ac_lib_var=yes"
4220 echo "configure
: failed program was
:" >&5
4221 cat conftest.$ac_ext >&5
4223 eval "ac_cv_lib_
$ac_lib_var=no
"
4226 LIBS="$ac_save_LIBS"
4229 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4230 echo "$ac_t""yes" 1>&6
4231 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4232 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4233 cat >> confdefs.h <<EOF
4234 #define $ac_tr_lib 1
4240 echo "$ac_t""no
" 1>&6
4243 for ac_func in nan copysignf
4245 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4246 echo "configure
:4247: checking
for $ac_func" >&5
4247 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4248 echo $ac_n "(cached
) $ac_c" 1>&6
4250 cat > conftest.$ac_ext <<EOF
4251 #line 4252 "configure
"
4252 #include "confdefs.h
"
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char $ac_func(); below. */
4256 /* Override any gcc2 internal prototype to avoid an error. */
4257 /* We use char because int might match the return type of a gcc2
4258 builtin and then its argument prototype would still apply. */
4263 /* The GNU C library defines this for functions which it implements
4264 to always fail with ENOSYS. Some functions are actually named
4265 something starting with __ and the normal name is an alias. */
4266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4274 if { (eval echo configure:4275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4276 eval "ac_cv_func_
$ac_func=yes"
4278 echo "configure
: failed program was
:" >&5
4279 cat conftest.$ac_ext >&5
4281 eval "ac_cv_func_
$ac_func=no
"
4286 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4287 echo "$ac_t""yes" 1>&6
4288 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4289 cat >> confdefs.h <<EOF
4290 #define $ac_tr_func 1
4294 echo "$ac_t""no
" 1>&6
4295 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4300 for ac_func in __signbit
4302 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4303 echo "configure
:4304: checking
for $ac_func" >&5
4304 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4305 echo $ac_n "(cached
) $ac_c" 1>&6
4307 cat > conftest.$ac_ext <<EOF
4308 #line 4309 "configure
"
4309 #include "confdefs.h
"
4310 /* System header to define __stub macros and hopefully few prototypes,
4311 which can conflict with char $ac_func(); below. */
4313 /* Override any gcc2 internal prototype to avoid an error. */
4314 /* We use char because int might match the return type of a gcc2
4315 builtin and then its argument prototype would still apply. */
4320 /* The GNU C library defines this for functions which it implements
4321 to always fail with ENOSYS. Some functions are actually named
4322 something starting with __ and the normal name is an alias. */
4323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4331 if { (eval echo configure:4332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4333 eval "ac_cv_func_
$ac_func=yes"
4335 echo "configure
: failed program was
:" >&5
4336 cat conftest.$ac_ext >&5
4338 eval "ac_cv_func_
$ac_func=no
"
4343 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4344 echo "$ac_t""yes" 1>&6
4345 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4346 cat >> confdefs.h <<EOF
4347 #define $ac_tr_func 1
4351 echo "$ac_t""no
" 1>&6
4352 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4356 for ac_func in __signbitf
4358 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4359 echo "configure
:4360: checking
for $ac_func" >&5
4360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4361 echo $ac_n "(cached
) $ac_c" 1>&6
4363 cat > conftest.$ac_ext <<EOF
4364 #line 4365 "configure
"
4365 #include "confdefs.h
"
4366 /* System header to define __stub macros and hopefully few prototypes,
4367 which can conflict with char $ac_func(); below. */
4369 /* Override any gcc2 internal prototype to avoid an error. */
4370 /* We use char because int might match the return type of a gcc2
4371 builtin and then its argument prototype would still apply. */
4376 /* The GNU C library defines this for functions which it implements
4377 to always fail with ENOSYS. Some functions are actually named
4378 something starting with __ and the normal name is an alias. */
4379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4387 if { (eval echo configure:4388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4389 eval "ac_cv_func_
$ac_func=yes"
4391 echo "configure
: failed program was
:" >&5
4392 cat conftest.$ac_ext >&5
4394 eval "ac_cv_func_
$ac_func=no
"
4399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4400 echo "$ac_t""yes" 1>&6
4401 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4402 cat >> confdefs.h <<EOF
4403 #define $ac_tr_func 1
4407 echo "$ac_t""no
" 1>&6
4408 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4413 if test x$ac_cv_func_copysignl = x"yes"; then
4414 for ac_func in __signbitl
4416 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4417 echo "configure
:4418: checking
for $ac_func" >&5
4418 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4419 echo $ac_n "(cached
) $ac_c" 1>&6
4421 cat > conftest.$ac_ext <<EOF
4422 #line 4423 "configure
"
4423 #include "confdefs.h
"
4424 /* System header to define __stub macros and hopefully few prototypes,
4425 which can conflict with char $ac_func(); below. */
4427 /* Override any gcc2 internal prototype to avoid an error. */
4428 /* We use char because int might match the return type of a gcc2
4429 builtin and then its argument prototype would still apply. */
4434 /* The GNU C library defines this for functions which it implements
4435 to always fail with ENOSYS. Some functions are actually named
4436 something starting with __ and the normal name is an alias. */
4437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4445 if { (eval echo configure:4446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4447 eval "ac_cv_func_
$ac_func=yes"
4449 echo "configure
: failed program was
:" >&5
4450 cat conftest.$ac_ext >&5
4452 eval "ac_cv_func_
$ac_func=no
"
4457 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4458 echo "$ac_t""yes" 1>&6
4459 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4460 cat >> confdefs.h <<EOF
4461 #define $ac_tr_func 1
4465 echo "$ac_t""no
" 1>&6
4466 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4476 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4477 echo "configure
:4478: checking
for mbstate_t
" >&5
4478 cat > conftest.$ac_ext <<EOF
4479 #line 4480 "configure
"
4480 #include "confdefs.h
"
4483 mbstate_t teststate;
4486 if { (eval echo configure:4487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4490 echo "configure
: failed program was
:" >&5
4491 cat conftest.$ac_ext >&5
4496 echo "$ac_t""$have_mbstate_t" 1>&6
4497 if test x"$have_mbstate_t" = xyes; then
4498 cat >> confdefs.h <<\EOF
4499 #define HAVE_MBSTATE_T 1
4504 for ac_hdr in wchar.h
4506 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4507 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4508 echo "configure
:4509: checking
for $ac_hdr" >&5
4509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4510 echo $ac_n "(cached
) $ac_c" 1>&6
4512 cat > conftest.$ac_ext <<EOF
4513 #line 4514 "configure
"
4514 #include "confdefs.h
"
4517 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4518 { (eval echo configure:4519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4519 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4520 if test -z "$ac_err"; then
4522 eval "ac_cv_header_
$ac_safe=yes"
4525 echo "configure
: failed program was
:" >&5
4526 cat conftest.$ac_ext >&5
4528 eval "ac_cv_header_
$ac_safe=no
"
4532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4533 echo "$ac_t""yes" 1>&6
4534 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4535 cat >> confdefs.h <<EOF
4536 #define $ac_tr_hdr 1
4540 echo "$ac_t""no
" 1>&6
4545 for ac_hdr in wctype.h
4547 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4548 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4549 echo "configure
:4550: checking
for $ac_hdr" >&5
4550 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4551 echo $ac_n "(cached
) $ac_c" 1>&6
4553 cat > conftest.$ac_ext <<EOF
4554 #line 4555 "configure
"
4555 #include "confdefs.h
"
4558 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4559 { (eval echo configure:4560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4561 if test -z "$ac_err"; then
4563 eval "ac_cv_header_
$ac_safe=yes"
4566 echo "configure
: failed program was
:" >&5
4567 cat conftest.$ac_ext >&5
4569 eval "ac_cv_header_
$ac_safe=no
"
4573 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4574 echo "$ac_t""yes" 1>&6
4575 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4576 cat >> confdefs.h <<EOF
4577 #define $ac_tr_hdr 1
4581 echo "$ac_t""no
" 1>&6
4587 if test x"$ac_has_wchar_h" = xyes &&
4588 test x"$ac_has_wctype_h" = xyes &&
4589 test x"$enable_c_mbchar" != xno; then
4591 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4592 echo "configure
:4593: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4593 cat > conftest.$ac_ext <<EOF
4594 #line 4595 "configure
"
4595 #include "confdefs.h
"
4598 int i = WCHAR_MIN; int j = WCHAR_MAX;
4601 if { (eval echo configure:4602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4603 has_wchar_minmax=yes
4605 echo "configure
: failed program was
:" >&5
4606 cat conftest.$ac_ext >&5
4611 echo "$ac_t""$has_wchar_minmax" 1>&6
4613 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4614 echo "configure
:4615: checking
for WEOF
" >&5
4615 cat > conftest.$ac_ext <<EOF
4616 #line 4617 "configure
"
4617 #include "confdefs.h
"
4625 if { (eval echo configure:4626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4629 echo "configure
: failed program was
:" >&5
4630 cat conftest.$ac_ext >&5
4635 echo "$ac_t""$has_weof" 1>&6
4638 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4640 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4641 echo "configure
:4642: checking
for $ac_func" >&5
4642 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4643 echo $ac_n "(cached
) $ac_c" 1>&6
4645 cat > conftest.$ac_ext <<EOF
4646 #line 4647 "configure
"
4647 #include "confdefs.h
"
4648 /* System header to define __stub macros and hopefully few prototypes,
4649 which can conflict with char $ac_func(); below. */
4651 /* Override any gcc2 internal prototype to avoid an error. */
4652 /* We use char because int might match the return type of a gcc2
4653 builtin and then its argument prototype would still apply. */
4658 /* The GNU C library defines this for functions which it implements
4659 to always fail with ENOSYS. Some functions are actually named
4660 something starting with __ and the normal name is an alias. */
4661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4669 if { (eval echo configure:4670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4671 eval "ac_cv_func_
$ac_func=yes"
4673 echo "configure
: failed program was
:" >&5
4674 cat conftest.$ac_ext >&5
4676 eval "ac_cv_func_
$ac_func=no
"
4681 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4682 echo "$ac_t""yes" 1>&6
4683 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4684 cat >> confdefs.h <<EOF
4685 #define $ac_tr_func 1
4689 echo "$ac_t""no
" 1>&6
4696 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
4697 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4698 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4699 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4700 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4701 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4703 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4704 echo "configure
:4705: checking
for $ac_func" >&5
4705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4706 echo $ac_n "(cached
) $ac_c" 1>&6
4708 cat > conftest.$ac_ext <<EOF
4709 #line 4710 "configure
"
4710 #include "confdefs.h
"
4711 /* System header to define __stub macros and hopefully few prototypes,
4712 which can conflict with char $ac_func(); below. */
4714 /* Override any gcc2 internal prototype to avoid an error. */
4715 /* We use char because int might match the return type of a gcc2
4716 builtin and then its argument prototype would still apply. */
4721 /* The GNU C library defines this for functions which it implements
4722 to always fail with ENOSYS. Some functions are actually named
4723 something starting with __ and the normal name is an alias. */
4724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4732 if { (eval echo configure:4733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4734 eval "ac_cv_func_
$ac_func=yes"
4736 echo "configure
: failed program was
:" >&5
4737 cat conftest.$ac_ext >&5
4739 eval "ac_cv_func_
$ac_func=no
"
4744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4745 echo "$ac_t""yes" 1>&6
4746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4747 cat >> confdefs.h <<EOF
4748 #define $ac_tr_func 1
4752 echo "$ac_t""no
" 1>&6
4759 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
4760 echo "configure
:4761: checking
for ISO C99 wchar_t support
" >&5
4761 if test x"$has_weof" = xyes &&
4762 test x"$has_wchar_minmax" = xyes &&
4763 test x"$ac_wfuncs" = xyes; then
4764 ac_isoC99_wchar_t=yes
4766 ac_isoC99_wchar_t=no
4768 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
4770 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
4771 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
4772 echo "configure
:4773: checking
for iconv.h
" >&5
4773 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4774 echo $ac_n "(cached
) $ac_c" 1>&6
4776 cat > conftest.$ac_ext <<EOF
4777 #line 4778 "configure
"
4778 #include "confdefs.h
"
4781 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4782 { (eval echo configure:4783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4783 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4784 if test -z "$ac_err"; then
4786 eval "ac_cv_header_
$ac_safe=yes"
4789 echo "configure
: failed program was
:" >&5
4790 cat conftest.$ac_ext >&5
4792 eval "ac_cv_header_
$ac_safe=no
"
4796 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4797 echo "$ac_t""yes" 1>&6
4800 echo "$ac_t""no
" 1>&6
4804 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
4805 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
4806 echo "configure
:4807: checking
for langinfo.h
" >&5
4807 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4808 echo $ac_n "(cached
) $ac_c" 1>&6
4810 cat > conftest.$ac_ext <<EOF
4811 #line 4812 "configure
"
4812 #include "confdefs.h
"
4813 #include <langinfo.h>
4815 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4816 { (eval echo configure:4817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4817 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4818 if test -z "$ac_err"; then
4820 eval "ac_cv_header_
$ac_safe=yes"
4823 echo "configure
: failed program was
:" >&5
4824 cat conftest.$ac_ext >&5
4826 eval "ac_cv_header_
$ac_safe=no
"
4830 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4831 echo "$ac_t""yes" 1>&6
4832 ac_has_langinfo_h=yes
4834 echo "$ac_t""no
" 1>&6
4835 ac_has_langinfo_h=no
4839 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
4840 echo "configure
:4841: checking
for iconv in -liconv" >&5
4841 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
4842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4843 echo $ac_n "(cached
) $ac_c" 1>&6
4845 ac_save_LIBS="$LIBS"
4846 LIBS="-liconv $LIBS"
4847 cat > conftest.$ac_ext <<EOF
4848 #line 4849 "configure
"
4849 #include "confdefs.h
"
4850 /* Override any gcc2 internal prototype to avoid an error. */
4851 /* We use char because int might match the return type of a gcc2
4852 builtin and then its argument prototype would still apply. */
4859 if { (eval echo configure:4860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4861 eval "ac_cv_lib_
$ac_lib_var=yes"
4863 echo "configure
: failed program was
:" >&5
4864 cat conftest.$ac_ext >&5
4866 eval "ac_cv_lib_
$ac_lib_var=no
"
4869 LIBS="$ac_save_LIBS"
4872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4873 echo "$ac_t""yes" 1>&6
4876 echo "$ac_t""no
" 1>&6
4879 ac_save_LIBS="$LIBS"
4880 LIBS="$LIBS $libiconv"
4882 for ac_func in iconv_open iconv_close iconv nl_langinfo
4884 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4885 echo "configure
:4886: checking
for $ac_func" >&5
4886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4887 echo $ac_n "(cached
) $ac_c" 1>&6
4889 cat > conftest.$ac_ext <<EOF
4890 #line 4891 "configure
"
4891 #include "confdefs.h
"
4892 /* System header to define __stub macros and hopefully few prototypes,
4893 which can conflict with char $ac_func(); below. */
4895 /* Override any gcc2 internal prototype to avoid an error. */
4896 /* We use char because int might match the return type of a gcc2
4897 builtin and then its argument prototype would still apply. */
4902 /* The GNU C library defines this for functions which it implements
4903 to always fail with ENOSYS. Some functions are actually named
4904 something starting with __ and the normal name is an alias. */
4905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4913 if { (eval echo configure:4914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4915 eval "ac_cv_func_
$ac_func=yes"
4917 echo "configure
: failed program was
:" >&5
4918 cat conftest.$ac_ext >&5
4920 eval "ac_cv_func_
$ac_func=no
"
4925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4926 echo "$ac_t""yes" 1>&6
4927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4928 cat >> confdefs.h <<EOF
4929 #define $ac_tr_func 1
4934 echo "$ac_t""no
" 1>&6
4940 LIBS="$ac_save_LIBS"
4942 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
4943 echo "configure
:4944: checking
for XPG2 wchar_t support
" >&5
4944 if test x"$ac_has_iconv_h" = xyes &&
4945 test x"$ac_has_langinfo_h" = xyes &&
4946 test x"$ac_XPG2funcs" = xyes; then
4951 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
4953 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
4954 echo "configure
:4955: checking
for enabled wchar_t specializations
" >&5
4955 if test x"$ac_isoC99_wchar_t" = xyes &&
4956 test x"$ac_XPG2_wchar_t" = xyes; then
4957 cat >> confdefs.h <<\EOF
4958 #define _GLIBCPP_USE_WCHAR_T 1
4961 echo "$ac_t"""yes"" 1>&6
4963 echo "$ac_t"""no"" 1>&6
4966 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
4969 os_include_dir="config
/os
/gnu-linux
"
4970 cat >> confdefs.h <<\EOF
4971 #define HAVE_COPYSIGN 1
4974 cat >> confdefs.h <<\EOF
4975 #define HAVE_COPYSIGNF 1
4978 cat >> confdefs.h <<\EOF
4979 #define HAVE_FINITEF 1
4982 cat >> confdefs.h <<\EOF
4983 #define HAVE_FREXPF 1
4986 cat >> confdefs.h <<\EOF
4987 #define HAVE_HYPOTF 1
4990 cat >> confdefs.h <<\EOF
4991 #define HAVE_SINCOS 1
4994 cat >> confdefs.h <<\EOF
4995 #define HAVE_SINCOSF 1
4998 if test x"long_double_math_on_this_cpu
" = x"yes"; then
4999 cat >> confdefs.h <<\EOF
5000 #define HAVE_HYPOTL 1
5006 # Check for available headers.
5007 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5008 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5009 fp.h locale.h float.h inttypes.h
5011 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5012 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5013 echo "configure
:5014: checking
for $ac_hdr" >&5
5014 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5015 echo $ac_n "(cached
) $ac_c" 1>&6
5017 cat > conftest.$ac_ext <<EOF
5018 #line 5019 "configure
"
5019 #include "confdefs.h
"
5022 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5023 { (eval echo configure:5024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5025 if test -z "$ac_err"; then
5027 eval "ac_cv_header_
$ac_safe=yes"
5030 echo "configure
: failed program was
:" >&5
5031 cat conftest.$ac_ext >&5
5033 eval "ac_cv_header_
$ac_safe=no
"
5037 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5038 echo "$ac_t""yes" 1>&6
5039 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5040 cat >> confdefs.h <<EOF
5041 #define $ac_tr_hdr 1
5045 echo "$ac_t""no
" 1>&6
5049 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5052 # If we're not using GNU ld, then there's no point in even trying these
5053 # tests. Check for that first. We should have already tested for gld
5054 # by now (in libtool), but require it now just to be safe...
5055 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5056 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5059 # The name set by libtool depends on the version of libtool. Shame on us
5060 # for depending on an impl detail, but c'est la vie. Older versions used
5061 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5062 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5063 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5064 # set (hence we're using an older libtool), then set it.
5065 if test x${with_gnu_ld+set} != xset; then
5066 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5067 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5070 with_gnu_ld=$ac_cv_prog_gnu_ld
5074 # Start by getting the version number. I think the libtool test already
5075 # does some of this, but throws away the result.
5077 ldver=`$LD --version 2>/dev/null | head -1 | \
5078 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5080 glibcpp_gnu_ld_version=`echo $ldver | \
5081 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5083 # Set --gc-sections.
5084 if test "$with_gnu_ld" = "notbroken
"; then
5085 # GNU ld it is! Joy and bunny rabbits!
5087 # All these tests are for C++; save the language and the compiler flags.
5088 # Need to do this so that g++ won't try to link in libstdc++
5089 ac_test_CFLAGS="${CFLAGS+set}"
5090 ac_save_CFLAGS="$CFLAGS"
5091 CFLAGS='-x c++ -Wl,--gc-sections'
5093 # Check for -Wl,--gc-sections
5094 # XXX This test is broken at the moment, as symbols required for
5095 # linking are now in libsupc++ (not built yet.....). In addition,
5096 # this test has cored on solaris in the past. In addition,
5097 # --gc-sections doesn't really work at the moment (keeps on discarding
5098 # used sections, first .eh_frame and now some of the glibc sections for
5099 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5100 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5101 echo "configure
:5102: checking
for ld that supports
-Wl,--gc-sections" >&5
5102 if test "$cross_compiling" = yes; then
5103 ac_sectionLDflags=yes
5105 cat > conftest.$ac_ext <<EOF
5106 #line 5107 "configure
"
5107 #include "confdefs.h
"
5117 if { (eval echo configure:5118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5119 ac_sectionLDflags=yes
5121 echo "configure
: failed program was
:" >&5
5122 cat conftest.$ac_ext >&5
5124 ac_sectionLDflags=no
5129 if test "$ac_test_CFLAGS" = set; then
5130 CFLAGS="$ac_save_CFLAGS"
5132 # this is the suspicious part
5135 if test "$ac_sectionLDflags" = "yes"; then
5136 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5138 echo "$ac_t""$ac_sectionLDflags" 1>&6
5141 # Set linker optimization flags.
5142 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
5143 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5150 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5151 echo "configure
:5152: checking
for main
in -lm" >&5
5152 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5153 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5154 echo $ac_n "(cached
) $ac_c" 1>&6
5156 ac_save_LIBS="$LIBS"
5158 cat > conftest.$ac_ext <<EOF
5159 #line 5160 "configure
"
5160 #include "confdefs.h
"
5166 if { (eval echo configure:5167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5168 eval "ac_cv_lib_
$ac_lib_var=yes"
5170 echo "configure
: failed program was
:" >&5
5171 cat conftest.$ac_ext >&5
5173 eval "ac_cv_lib_
$ac_lib_var=no
"
5176 LIBS="$ac_save_LIBS"
5179 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5180 echo "$ac_t""yes" 1>&6
5181 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5182 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5183 cat >> confdefs.h <<EOF
5184 #define $ac_tr_lib 1
5190 echo "$ac_t""no
" 1>&6
5193 for ac_func in nan copysignf
5195 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5196 echo "configure
:5197: checking
for $ac_func" >&5
5197 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5198 echo $ac_n "(cached
) $ac_c" 1>&6
5200 cat > conftest.$ac_ext <<EOF
5201 #line 5202 "configure
"
5202 #include "confdefs.h
"
5203 /* System header to define __stub macros and hopefully few prototypes,
5204 which can conflict with char $ac_func(); below. */
5206 /* Override any gcc2 internal prototype to avoid an error. */
5207 /* We use char because int might match the return type of a gcc2
5208 builtin and then its argument prototype would still apply. */
5213 /* The GNU C library defines this for functions which it implements
5214 to always fail with ENOSYS. Some functions are actually named
5215 something starting with __ and the normal name is an alias. */
5216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5224 if { (eval echo configure:5225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5226 eval "ac_cv_func_
$ac_func=yes"
5228 echo "configure
: failed program was
:" >&5
5229 cat conftest.$ac_ext >&5
5231 eval "ac_cv_func_
$ac_func=no
"
5236 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5237 echo "$ac_t""yes" 1>&6
5238 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5239 cat >> confdefs.h <<EOF
5240 #define $ac_tr_func 1
5244 echo "$ac_t""no
" 1>&6
5245 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5250 for ac_func in __signbit
5252 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5253 echo "configure
:5254: checking
for $ac_func" >&5
5254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5255 echo $ac_n "(cached
) $ac_c" 1>&6
5257 cat > conftest.$ac_ext <<EOF
5258 #line 5259 "configure
"
5259 #include "confdefs.h
"
5260 /* System header to define __stub macros and hopefully few prototypes,
5261 which can conflict with char $ac_func(); below. */
5263 /* Override any gcc2 internal prototype to avoid an error. */
5264 /* We use char because int might match the return type of a gcc2
5265 builtin and then its argument prototype would still apply. */
5270 /* The GNU C library defines this for functions which it implements
5271 to always fail with ENOSYS. Some functions are actually named
5272 something starting with __ and the normal name is an alias. */
5273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5281 if { (eval echo configure:5282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5283 eval "ac_cv_func_
$ac_func=yes"
5285 echo "configure
: failed program was
:" >&5
5286 cat conftest.$ac_ext >&5
5288 eval "ac_cv_func_
$ac_func=no
"
5293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5294 echo "$ac_t""yes" 1>&6
5295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5296 cat >> confdefs.h <<EOF
5297 #define $ac_tr_func 1
5301 echo "$ac_t""no
" 1>&6
5302 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5306 for ac_func in __signbitf
5308 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5309 echo "configure
:5310: checking
for $ac_func" >&5
5310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5311 echo $ac_n "(cached
) $ac_c" 1>&6
5313 cat > conftest.$ac_ext <<EOF
5314 #line 5315 "configure
"
5315 #include "confdefs.h
"
5316 /* System header to define __stub macros and hopefully few prototypes,
5317 which can conflict with char $ac_func(); below. */
5319 /* Override any gcc2 internal prototype to avoid an error. */
5320 /* We use char because int might match the return type of a gcc2
5321 builtin and then its argument prototype would still apply. */
5326 /* The GNU C library defines this for functions which it implements
5327 to always fail with ENOSYS. Some functions are actually named
5328 something starting with __ and the normal name is an alias. */
5329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5337 if { (eval echo configure:5338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5339 eval "ac_cv_func_
$ac_func=yes"
5341 echo "configure
: failed program was
:" >&5
5342 cat conftest.$ac_ext >&5
5344 eval "ac_cv_func_
$ac_func=no
"
5349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5350 echo "$ac_t""yes" 1>&6
5351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5352 cat >> confdefs.h <<EOF
5353 #define $ac_tr_func 1
5357 echo "$ac_t""no
" 1>&6
5358 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5363 if test x$ac_cv_func_copysignl = x"yes"; then
5364 for ac_func in __signbitl
5366 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5367 echo "configure
:5368: checking
for $ac_func" >&5
5368 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5369 echo $ac_n "(cached
) $ac_c" 1>&6
5371 cat > conftest.$ac_ext <<EOF
5372 #line 5373 "configure
"
5373 #include "confdefs.h
"
5374 /* System header to define __stub macros and hopefully few prototypes,
5375 which can conflict with char $ac_func(); below. */
5377 /* Override any gcc2 internal prototype to avoid an error. */
5378 /* We use char because int might match the return type of a gcc2
5379 builtin and then its argument prototype would still apply. */
5384 /* The GNU C library defines this for functions which it implements
5385 to always fail with ENOSYS. Some functions are actually named
5386 something starting with __ and the normal name is an alias. */
5387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5395 if { (eval echo configure:5396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5397 eval "ac_cv_func_
$ac_func=yes"
5399 echo "configure
: failed program was
:" >&5
5400 cat conftest.$ac_ext >&5
5402 eval "ac_cv_func_
$ac_func=no
"
5407 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5408 echo "$ac_t""yes" 1>&6
5409 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5410 cat >> confdefs.h <<EOF
5411 #define $ac_tr_func 1
5415 echo "$ac_t""no
" 1>&6
5416 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5426 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5427 echo "configure
:5428: checking
for mbstate_t
" >&5
5428 cat > conftest.$ac_ext <<EOF
5429 #line 5430 "configure
"
5430 #include "confdefs.h
"
5433 mbstate_t teststate;
5436 if { (eval echo configure:5437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5440 echo "configure
: failed program was
:" >&5
5441 cat conftest.$ac_ext >&5
5446 echo "$ac_t""$have_mbstate_t" 1>&6
5447 if test x"$have_mbstate_t" = xyes; then
5448 cat >> confdefs.h <<\EOF
5449 #define HAVE_MBSTATE_T 1
5454 for ac_hdr in wchar.h
5456 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5457 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5458 echo "configure
:5459: checking
for $ac_hdr" >&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
5484 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5485 cat >> confdefs.h <<EOF
5486 #define $ac_tr_hdr 1
5490 echo "$ac_t""no
" 1>&6
5495 for ac_hdr in wctype.h
5497 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5498 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5499 echo "configure
:5500: checking
for $ac_hdr" >&5
5500 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5501 echo $ac_n "(cached
) $ac_c" 1>&6
5503 cat > conftest.$ac_ext <<EOF
5504 #line 5505 "configure
"
5505 #include "confdefs.h
"
5508 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5509 { (eval echo configure:5510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5510 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5511 if test -z "$ac_err"; then
5513 eval "ac_cv_header_
$ac_safe=yes"
5516 echo "configure
: failed program was
:" >&5
5517 cat conftest.$ac_ext >&5
5519 eval "ac_cv_header_
$ac_safe=no
"
5523 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5524 echo "$ac_t""yes" 1>&6
5525 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5526 cat >> confdefs.h <<EOF
5527 #define $ac_tr_hdr 1
5531 echo "$ac_t""no
" 1>&6
5537 if test x"$ac_has_wchar_h" = xyes &&
5538 test x"$ac_has_wctype_h" = xyes &&
5539 test x"$enable_c_mbchar" != xno; then
5541 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5542 echo "configure
:5543: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5543 cat > conftest.$ac_ext <<EOF
5544 #line 5545 "configure
"
5545 #include "confdefs.h
"
5548 int i = WCHAR_MIN; int j = WCHAR_MAX;
5551 if { (eval echo configure:5552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5553 has_wchar_minmax=yes
5555 echo "configure
: failed program was
:" >&5
5556 cat conftest.$ac_ext >&5
5561 echo "$ac_t""$has_wchar_minmax" 1>&6
5563 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5564 echo "configure
:5565: checking
for WEOF
" >&5
5565 cat > conftest.$ac_ext <<EOF
5566 #line 5567 "configure
"
5567 #include "confdefs.h
"
5575 if { (eval echo configure:5576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5579 echo "configure
: failed program was
:" >&5
5580 cat conftest.$ac_ext >&5
5585 echo "$ac_t""$has_weof" 1>&6
5588 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5590 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5591 echo "configure
:5592: checking
for $ac_func" >&5
5592 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5593 echo $ac_n "(cached
) $ac_c" 1>&6
5595 cat > conftest.$ac_ext <<EOF
5596 #line 5597 "configure
"
5597 #include "confdefs.h
"
5598 /* System header to define __stub macros and hopefully few prototypes,
5599 which can conflict with char $ac_func(); below. */
5601 /* Override any gcc2 internal prototype to avoid an error. */
5602 /* We use char because int might match the return type of a gcc2
5603 builtin and then its argument prototype would still apply. */
5608 /* The GNU C library defines this for functions which it implements
5609 to always fail with ENOSYS. Some functions are actually named
5610 something starting with __ and the normal name is an alias. */
5611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5619 if { (eval echo configure:5620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5621 eval "ac_cv_func_
$ac_func=yes"
5623 echo "configure
: failed program was
:" >&5
5624 cat conftest.$ac_ext >&5
5626 eval "ac_cv_func_
$ac_func=no
"
5631 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5632 echo "$ac_t""yes" 1>&6
5633 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5634 cat >> confdefs.h <<EOF
5635 #define $ac_tr_func 1
5639 echo "$ac_t""no
" 1>&6
5646 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
5647 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5648 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5649 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5650 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5651 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5653 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5654 echo "configure
:5655: checking
for $ac_func" >&5
5655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5656 echo $ac_n "(cached
) $ac_c" 1>&6
5658 cat > conftest.$ac_ext <<EOF
5659 #line 5660 "configure
"
5660 #include "confdefs.h
"
5661 /* System header to define __stub macros and hopefully few prototypes,
5662 which can conflict with char $ac_func(); below. */
5664 /* Override any gcc2 internal prototype to avoid an error. */
5665 /* We use char because int might match the return type of a gcc2
5666 builtin and then its argument prototype would still apply. */
5671 /* The GNU C library defines this for functions which it implements
5672 to always fail with ENOSYS. Some functions are actually named
5673 something starting with __ and the normal name is an alias. */
5674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5682 if { (eval echo configure:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5684 eval "ac_cv_func_
$ac_func=yes"
5686 echo "configure
: failed program was
:" >&5
5687 cat conftest.$ac_ext >&5
5689 eval "ac_cv_func_
$ac_func=no
"
5694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5695 echo "$ac_t""yes" 1>&6
5696 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5697 cat >> confdefs.h <<EOF
5698 #define $ac_tr_func 1
5702 echo "$ac_t""no
" 1>&6
5709 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5710 echo "configure
:5711: checking
for ISO C99 wchar_t support
" >&5
5711 if test x"$has_weof" = xyes &&
5712 test x"$has_wchar_minmax" = xyes &&
5713 test x"$ac_wfuncs" = xyes; then
5714 ac_isoC99_wchar_t=yes
5716 ac_isoC99_wchar_t=no
5718 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5720 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5721 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5722 echo "configure
:5723: checking
for iconv.h
" >&5
5723 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5724 echo $ac_n "(cached
) $ac_c" 1>&6
5726 cat > conftest.$ac_ext <<EOF
5727 #line 5728 "configure
"
5728 #include "confdefs.h
"
5731 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5732 { (eval echo configure:5733: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5733 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5734 if test -z "$ac_err"; then
5736 eval "ac_cv_header_
$ac_safe=yes"
5739 echo "configure
: failed program was
:" >&5
5740 cat conftest.$ac_ext >&5
5742 eval "ac_cv_header_
$ac_safe=no
"
5746 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5747 echo "$ac_t""yes" 1>&6
5750 echo "$ac_t""no
" 1>&6
5754 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5755 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5756 echo "configure
:5757: checking
for langinfo.h
" >&5
5757 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5758 echo $ac_n "(cached
) $ac_c" 1>&6
5760 cat > conftest.$ac_ext <<EOF
5761 #line 5762 "configure
"
5762 #include "confdefs.h
"
5763 #include <langinfo.h>
5765 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5766 { (eval echo configure:5767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5767 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5768 if test -z "$ac_err"; then
5770 eval "ac_cv_header_
$ac_safe=yes"
5773 echo "configure
: failed program was
:" >&5
5774 cat conftest.$ac_ext >&5
5776 eval "ac_cv_header_
$ac_safe=no
"
5780 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5781 echo "$ac_t""yes" 1>&6
5782 ac_has_langinfo_h=yes
5784 echo "$ac_t""no
" 1>&6
5785 ac_has_langinfo_h=no
5789 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5790 echo "configure
:5791: checking
for iconv in -liconv" >&5
5791 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5792 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5793 echo $ac_n "(cached
) $ac_c" 1>&6
5795 ac_save_LIBS="$LIBS"
5796 LIBS="-liconv $LIBS"
5797 cat > conftest.$ac_ext <<EOF
5798 #line 5799 "configure
"
5799 #include "confdefs.h
"
5800 /* Override any gcc2 internal prototype to avoid an error. */
5801 /* We use char because int might match the return type of a gcc2
5802 builtin and then its argument prototype would still apply. */
5809 if { (eval echo configure:5810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5811 eval "ac_cv_lib_
$ac_lib_var=yes"
5813 echo "configure
: failed program was
:" >&5
5814 cat conftest.$ac_ext >&5
5816 eval "ac_cv_lib_
$ac_lib_var=no
"
5819 LIBS="$ac_save_LIBS"
5822 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5823 echo "$ac_t""yes" 1>&6
5826 echo "$ac_t""no
" 1>&6
5829 ac_save_LIBS="$LIBS"
5830 LIBS="$LIBS $libiconv"
5832 for ac_func in iconv_open iconv_close iconv nl_langinfo
5834 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5835 echo "configure
:5836: checking
for $ac_func" >&5
5836 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5837 echo $ac_n "(cached
) $ac_c" 1>&6
5839 cat > conftest.$ac_ext <<EOF
5840 #line 5841 "configure
"
5841 #include "confdefs.h
"
5842 /* System header to define __stub macros and hopefully few prototypes,
5843 which can conflict with char $ac_func(); below. */
5845 /* Override any gcc2 internal prototype to avoid an error. */
5846 /* We use char because int might match the return type of a gcc2
5847 builtin and then its argument prototype would still apply. */
5852 /* The GNU C library defines this for functions which it implements
5853 to always fail with ENOSYS. Some functions are actually named
5854 something starting with __ and the normal name is an alias. */
5855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5863 if { (eval echo configure:5864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5865 eval "ac_cv_func_
$ac_func=yes"
5867 echo "configure
: failed program was
:" >&5
5868 cat conftest.$ac_ext >&5
5870 eval "ac_cv_func_
$ac_func=no
"
5875 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5876 echo "$ac_t""yes" 1>&6
5877 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5878 cat >> confdefs.h <<EOF
5879 #define $ac_tr_func 1
5884 echo "$ac_t""no
" 1>&6
5890 LIBS="$ac_save_LIBS"
5892 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5893 echo "configure
:5894: checking
for XPG2 wchar_t support
" >&5
5894 if test x"$ac_has_iconv_h" = xyes &&
5895 test x"$ac_has_langinfo_h" = xyes &&
5896 test x"$ac_XPG2funcs" = xyes; then
5901 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5903 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5904 echo "configure
:5905: checking
for enabled wchar_t specializations
" >&5
5905 if test x"$ac_isoC99_wchar_t" = xyes &&
5906 test x"$ac_XPG2_wchar_t" = xyes; then
5907 cat >> confdefs.h <<\EOF
5908 #define _GLIBCPP_USE_WCHAR_T 1
5911 echo "$ac_t"""yes"" 1>&6
5913 echo "$ac_t"""no"" 1>&6
5916 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
5919 os_include_dir="config
/os
/hpux
"
5920 cat >> confdefs.h <<\EOF
5921 #define HAVE_COPYSIGN 1
5924 cat >> confdefs.h <<\EOF
5925 #define HAVE_COPYSIGNF 1
5928 cat >> confdefs.h <<\EOF
5929 #define HAVE_FINITEF 1
5932 cat >> confdefs.h <<\EOF
5933 #define HAVE_FREXPF 1
5936 cat >> confdefs.h <<\EOF
5937 #define HAVE_HYPOT 1
5940 cat >> confdefs.h <<\EOF
5941 #define HAVE_SINCOS 1
5944 cat >> confdefs.h <<\EOF
5945 #define HAVE_SINCOSF 1
5950 # Check for available headers.
5951 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5952 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5953 fp.h locale.h float.h inttypes.h
5955 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5956 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5957 echo "configure
:5958: checking
for $ac_hdr" >&5
5958 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5959 echo $ac_n "(cached
) $ac_c" 1>&6
5961 cat > conftest.$ac_ext <<EOF
5962 #line 5963 "configure
"
5963 #include "confdefs.h
"
5966 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5967 { (eval echo configure:5968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5968 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5969 if test -z "$ac_err"; then
5971 eval "ac_cv_header_
$ac_safe=yes"
5974 echo "configure
: failed program was
:" >&5
5975 cat conftest.$ac_ext >&5
5977 eval "ac_cv_header_
$ac_safe=no
"
5981 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5982 echo "$ac_t""yes" 1>&6
5983 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5984 cat >> confdefs.h <<EOF
5985 #define $ac_tr_hdr 1
5989 echo "$ac_t""no
" 1>&6
5993 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5996 # If we're not using GNU ld, then there's no point in even trying these
5997 # tests. Check for that first. We should have already tested for gld
5998 # by now (in libtool), but require it now just to be safe...
5999 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6000 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6003 # The name set by libtool depends on the version of libtool. Shame on us
6004 # for depending on an impl detail, but c'est la vie. Older versions used
6005 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6006 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6007 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6008 # set (hence we're using an older libtool), then set it.
6009 if test x${with_gnu_ld+set} != xset; then
6010 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6011 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6014 with_gnu_ld=$ac_cv_prog_gnu_ld
6018 # Start by getting the version number. I think the libtool test already
6019 # does some of this, but throws away the result.
6021 ldver=`$LD --version 2>/dev/null | head -1 | \
6022 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6024 glibcpp_gnu_ld_version=`echo $ldver | \
6025 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6027 # Set --gc-sections.
6028 if test "$with_gnu_ld" = "notbroken
"; then
6029 # GNU ld it is! Joy and bunny rabbits!
6031 # All these tests are for C++; save the language and the compiler flags.
6032 # Need to do this so that g++ won't try to link in libstdc++
6033 ac_test_CFLAGS="${CFLAGS+set}"
6034 ac_save_CFLAGS="$CFLAGS"
6035 CFLAGS='-x c++ -Wl,--gc-sections'
6037 # Check for -Wl,--gc-sections
6038 # XXX This test is broken at the moment, as symbols required for
6039 # linking are now in libsupc++ (not built yet.....). In addition,
6040 # this test has cored on solaris in the past. In addition,
6041 # --gc-sections doesn't really work at the moment (keeps on discarding
6042 # used sections, first .eh_frame and now some of the glibc sections for
6043 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6044 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6045 echo "configure
:6046: checking
for ld that supports
-Wl,--gc-sections" >&5
6046 if test "$cross_compiling" = yes; then
6047 ac_sectionLDflags=yes
6049 cat > conftest.$ac_ext <<EOF
6050 #line 6051 "configure
"
6051 #include "confdefs.h
"
6061 if { (eval echo configure:6062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6063 ac_sectionLDflags=yes
6065 echo "configure
: failed program was
:" >&5
6066 cat conftest.$ac_ext >&5
6068 ac_sectionLDflags=no
6073 if test "$ac_test_CFLAGS" = set; then
6074 CFLAGS="$ac_save_CFLAGS"
6076 # this is the suspicious part
6079 if test "$ac_sectionLDflags" = "yes"; then
6080 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6082 echo "$ac_t""$ac_sectionLDflags" 1>&6
6085 # Set linker optimization flags.
6086 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
6087 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6094 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6095 echo "configure
:6096: checking
for main
in -lm" >&5
6096 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6098 echo $ac_n "(cached
) $ac_c" 1>&6
6100 ac_save_LIBS="$LIBS"
6102 cat > conftest.$ac_ext <<EOF
6103 #line 6104 "configure
"
6104 #include "confdefs.h
"
6110 if { (eval echo configure:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6112 eval "ac_cv_lib_
$ac_lib_var=yes"
6114 echo "configure
: failed program was
:" >&5
6115 cat conftest.$ac_ext >&5
6117 eval "ac_cv_lib_
$ac_lib_var=no
"
6120 LIBS="$ac_save_LIBS"
6123 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6124 echo "$ac_t""yes" 1>&6
6125 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6126 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6127 cat >> confdefs.h <<EOF
6128 #define $ac_tr_lib 1
6134 echo "$ac_t""no
" 1>&6
6137 for ac_func in nan copysignf
6139 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6140 echo "configure
:6141: checking
for $ac_func" >&5
6141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6142 echo $ac_n "(cached
) $ac_c" 1>&6
6144 cat > conftest.$ac_ext <<EOF
6145 #line 6146 "configure
"
6146 #include "confdefs.h
"
6147 /* System header to define __stub macros and hopefully few prototypes,
6148 which can conflict with char $ac_func(); below. */
6150 /* Override any gcc2 internal prototype to avoid an error. */
6151 /* We use char because int might match the return type of a gcc2
6152 builtin and then its argument prototype would still apply. */
6157 /* The GNU C library defines this for functions which it implements
6158 to always fail with ENOSYS. Some functions are actually named
6159 something starting with __ and the normal name is an alias. */
6160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6168 if { (eval echo configure:6169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6170 eval "ac_cv_func_
$ac_func=yes"
6172 echo "configure
: failed program was
:" >&5
6173 cat conftest.$ac_ext >&5
6175 eval "ac_cv_func_
$ac_func=no
"
6180 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6181 echo "$ac_t""yes" 1>&6
6182 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6183 cat >> confdefs.h <<EOF
6184 #define $ac_tr_func 1
6188 echo "$ac_t""no
" 1>&6
6189 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6194 for ac_func in __signbit
6196 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6197 echo "configure
:6198: checking
for $ac_func" >&5
6198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6199 echo $ac_n "(cached
) $ac_c" 1>&6
6201 cat > conftest.$ac_ext <<EOF
6202 #line 6203 "configure
"
6203 #include "confdefs.h
"
6204 /* System header to define __stub macros and hopefully few prototypes,
6205 which can conflict with char $ac_func(); below. */
6207 /* Override any gcc2 internal prototype to avoid an error. */
6208 /* We use char because int might match the return type of a gcc2
6209 builtin and then its argument prototype would still apply. */
6214 /* The GNU C library defines this for functions which it implements
6215 to always fail with ENOSYS. Some functions are actually named
6216 something starting with __ and the normal name is an alias. */
6217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6225 if { (eval echo configure:6226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6227 eval "ac_cv_func_
$ac_func=yes"
6229 echo "configure
: failed program was
:" >&5
6230 cat conftest.$ac_ext >&5
6232 eval "ac_cv_func_
$ac_func=no
"
6237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6238 echo "$ac_t""yes" 1>&6
6239 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6240 cat >> confdefs.h <<EOF
6241 #define $ac_tr_func 1
6245 echo "$ac_t""no
" 1>&6
6246 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6250 for ac_func in __signbitf
6252 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6253 echo "configure
:6254: checking
for $ac_func" >&5
6254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6255 echo $ac_n "(cached
) $ac_c" 1>&6
6257 cat > conftest.$ac_ext <<EOF
6258 #line 6259 "configure
"
6259 #include "confdefs.h
"
6260 /* System header to define __stub macros and hopefully few prototypes,
6261 which can conflict with char $ac_func(); below. */
6263 /* Override any gcc2 internal prototype to avoid an error. */
6264 /* We use char because int might match the return type of a gcc2
6265 builtin and then its argument prototype would still apply. */
6270 /* The GNU C library defines this for functions which it implements
6271 to always fail with ENOSYS. Some functions are actually named
6272 something starting with __ and the normal name is an alias. */
6273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6281 if { (eval echo configure:6282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6283 eval "ac_cv_func_
$ac_func=yes"
6285 echo "configure
: failed program was
:" >&5
6286 cat conftest.$ac_ext >&5
6288 eval "ac_cv_func_
$ac_func=no
"
6293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6294 echo "$ac_t""yes" 1>&6
6295 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6296 cat >> confdefs.h <<EOF
6297 #define $ac_tr_func 1
6301 echo "$ac_t""no
" 1>&6
6302 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6307 if test x$ac_cv_func_copysignl = x"yes"; then
6308 for ac_func in __signbitl
6310 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6311 echo "configure
:6312: checking
for $ac_func" >&5
6312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6313 echo $ac_n "(cached
) $ac_c" 1>&6
6315 cat > conftest.$ac_ext <<EOF
6316 #line 6317 "configure
"
6317 #include "confdefs.h
"
6318 /* System header to define __stub macros and hopefully few prototypes,
6319 which can conflict with char $ac_func(); below. */
6321 /* Override any gcc2 internal prototype to avoid an error. */
6322 /* We use char because int might match the return type of a gcc2
6323 builtin and then its argument prototype would still apply. */
6328 /* The GNU C library defines this for functions which it implements
6329 to always fail with ENOSYS. Some functions are actually named
6330 something starting with __ and the normal name is an alias. */
6331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6339 if { (eval echo configure:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6341 eval "ac_cv_func_
$ac_func=yes"
6343 echo "configure
: failed program was
:" >&5
6344 cat conftest.$ac_ext >&5
6346 eval "ac_cv_func_
$ac_func=no
"
6351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6352 echo "$ac_t""yes" 1>&6
6353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6354 cat >> confdefs.h <<EOF
6355 #define $ac_tr_func 1
6359 echo "$ac_t""no
" 1>&6
6360 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6370 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6371 echo "configure
:6372: checking
for mbstate_t
" >&5
6372 cat > conftest.$ac_ext <<EOF
6373 #line 6374 "configure
"
6374 #include "confdefs.h
"
6377 mbstate_t teststate;
6380 if { (eval echo configure:6381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6384 echo "configure
: failed program was
:" >&5
6385 cat conftest.$ac_ext >&5
6390 echo "$ac_t""$have_mbstate_t" 1>&6
6391 if test x"$have_mbstate_t" = xyes; then
6392 cat >> confdefs.h <<\EOF
6393 #define HAVE_MBSTATE_T 1
6398 for ac_hdr in wchar.h
6400 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6401 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6402 echo "configure
:6403: checking
for $ac_hdr" >&5
6403 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6404 echo $ac_n "(cached
) $ac_c" 1>&6
6406 cat > conftest.$ac_ext <<EOF
6407 #line 6408 "configure
"
6408 #include "confdefs.h
"
6411 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6412 { (eval echo configure:6413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6413 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6414 if test -z "$ac_err"; then
6416 eval "ac_cv_header_
$ac_safe=yes"
6419 echo "configure
: failed program was
:" >&5
6420 cat conftest.$ac_ext >&5
6422 eval "ac_cv_header_
$ac_safe=no
"
6426 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6427 echo "$ac_t""yes" 1>&6
6428 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6429 cat >> confdefs.h <<EOF
6430 #define $ac_tr_hdr 1
6434 echo "$ac_t""no
" 1>&6
6439 for ac_hdr in wctype.h
6441 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6442 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6443 echo "configure
:6444: checking
for $ac_hdr" >&5
6444 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6445 echo $ac_n "(cached
) $ac_c" 1>&6
6447 cat > conftest.$ac_ext <<EOF
6448 #line 6449 "configure
"
6449 #include "confdefs.h
"
6452 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6453 { (eval echo configure:6454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6454 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6455 if test -z "$ac_err"; then
6457 eval "ac_cv_header_
$ac_safe=yes"
6460 echo "configure
: failed program was
:" >&5
6461 cat conftest.$ac_ext >&5
6463 eval "ac_cv_header_
$ac_safe=no
"
6467 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6468 echo "$ac_t""yes" 1>&6
6469 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6470 cat >> confdefs.h <<EOF
6471 #define $ac_tr_hdr 1
6475 echo "$ac_t""no
" 1>&6
6481 if test x"$ac_has_wchar_h" = xyes &&
6482 test x"$ac_has_wctype_h" = xyes &&
6483 test x"$enable_c_mbchar" != xno; then
6485 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6486 echo "configure
:6487: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6487 cat > conftest.$ac_ext <<EOF
6488 #line 6489 "configure
"
6489 #include "confdefs.h
"
6492 int i = WCHAR_MIN; int j = WCHAR_MAX;
6495 if { (eval echo configure:6496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6497 has_wchar_minmax=yes
6499 echo "configure
: failed program was
:" >&5
6500 cat conftest.$ac_ext >&5
6505 echo "$ac_t""$has_wchar_minmax" 1>&6
6507 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6508 echo "configure
:6509: checking
for WEOF
" >&5
6509 cat > conftest.$ac_ext <<EOF
6510 #line 6511 "configure
"
6511 #include "confdefs.h
"
6519 if { (eval echo configure:6520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6523 echo "configure
: failed program was
:" >&5
6524 cat conftest.$ac_ext >&5
6529 echo "$ac_t""$has_weof" 1>&6
6532 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6534 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6535 echo "configure
:6536: checking
for $ac_func" >&5
6536 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6537 echo $ac_n "(cached
) $ac_c" 1>&6
6539 cat > conftest.$ac_ext <<EOF
6540 #line 6541 "configure
"
6541 #include "confdefs.h
"
6542 /* System header to define __stub macros and hopefully few prototypes,
6543 which can conflict with char $ac_func(); below. */
6545 /* Override any gcc2 internal prototype to avoid an error. */
6546 /* We use char because int might match the return type of a gcc2
6547 builtin and then its argument prototype would still apply. */
6552 /* The GNU C library defines this for functions which it implements
6553 to always fail with ENOSYS. Some functions are actually named
6554 something starting with __ and the normal name is an alias. */
6555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6563 if { (eval echo configure:6564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6565 eval "ac_cv_func_
$ac_func=yes"
6567 echo "configure
: failed program was
:" >&5
6568 cat conftest.$ac_ext >&5
6570 eval "ac_cv_func_
$ac_func=no
"
6575 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6576 echo "$ac_t""yes" 1>&6
6577 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6578 cat >> confdefs.h <<EOF
6579 #define $ac_tr_func 1
6583 echo "$ac_t""no
" 1>&6
6590 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
6591 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6592 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6593 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6594 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6595 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6597 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6598 echo "configure
:6599: checking
for $ac_func" >&5
6599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6600 echo $ac_n "(cached
) $ac_c" 1>&6
6602 cat > conftest.$ac_ext <<EOF
6603 #line 6604 "configure
"
6604 #include "confdefs.h
"
6605 /* System header to define __stub macros and hopefully few prototypes,
6606 which can conflict with char $ac_func(); below. */
6608 /* Override any gcc2 internal prototype to avoid an error. */
6609 /* We use char because int might match the return type of a gcc2
6610 builtin and then its argument prototype would still apply. */
6615 /* The GNU C library defines this for functions which it implements
6616 to always fail with ENOSYS. Some functions are actually named
6617 something starting with __ and the normal name is an alias. */
6618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6626 if { (eval echo configure:6627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6628 eval "ac_cv_func_
$ac_func=yes"
6630 echo "configure
: failed program was
:" >&5
6631 cat conftest.$ac_ext >&5
6633 eval "ac_cv_func_
$ac_func=no
"
6638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6639 echo "$ac_t""yes" 1>&6
6640 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6641 cat >> confdefs.h <<EOF
6642 #define $ac_tr_func 1
6646 echo "$ac_t""no
" 1>&6
6653 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6654 echo "configure
:6655: checking
for ISO C99 wchar_t support
" >&5
6655 if test x"$has_weof" = xyes &&
6656 test x"$has_wchar_minmax" = xyes &&
6657 test x"$ac_wfuncs" = xyes; then
6658 ac_isoC99_wchar_t=yes
6660 ac_isoC99_wchar_t=no
6662 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6664 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6665 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6666 echo "configure
:6667: checking
for iconv.h
" >&5
6667 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6668 echo $ac_n "(cached
) $ac_c" 1>&6
6670 cat > conftest.$ac_ext <<EOF
6671 #line 6672 "configure
"
6672 #include "confdefs.h
"
6675 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6676 { (eval echo configure:6677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6677 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6678 if test -z "$ac_err"; then
6680 eval "ac_cv_header_
$ac_safe=yes"
6683 echo "configure
: failed program was
:" >&5
6684 cat conftest.$ac_ext >&5
6686 eval "ac_cv_header_
$ac_safe=no
"
6690 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6691 echo "$ac_t""yes" 1>&6
6694 echo "$ac_t""no
" 1>&6
6698 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6699 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6700 echo "configure
:6701: checking
for langinfo.h
" >&5
6701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6702 echo $ac_n "(cached
) $ac_c" 1>&6
6704 cat > conftest.$ac_ext <<EOF
6705 #line 6706 "configure
"
6706 #include "confdefs.h
"
6707 #include <langinfo.h>
6709 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6710 { (eval echo configure:6711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6712 if test -z "$ac_err"; then
6714 eval "ac_cv_header_
$ac_safe=yes"
6717 echo "configure
: failed program was
:" >&5
6718 cat conftest.$ac_ext >&5
6720 eval "ac_cv_header_
$ac_safe=no
"
6724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6725 echo "$ac_t""yes" 1>&6
6726 ac_has_langinfo_h=yes
6728 echo "$ac_t""no
" 1>&6
6729 ac_has_langinfo_h=no
6733 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6734 echo "configure
:6735: checking
for iconv in -liconv" >&5
6735 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6736 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6737 echo $ac_n "(cached
) $ac_c" 1>&6
6739 ac_save_LIBS="$LIBS"
6740 LIBS="-liconv $LIBS"
6741 cat > conftest.$ac_ext <<EOF
6742 #line 6743 "configure
"
6743 #include "confdefs.h
"
6744 /* Override any gcc2 internal prototype to avoid an error. */
6745 /* We use char because int might match the return type of a gcc2
6746 builtin and then its argument prototype would still apply. */
6753 if { (eval echo configure:6754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6755 eval "ac_cv_lib_
$ac_lib_var=yes"
6757 echo "configure
: failed program was
:" >&5
6758 cat conftest.$ac_ext >&5
6760 eval "ac_cv_lib_
$ac_lib_var=no
"
6763 LIBS="$ac_save_LIBS"
6766 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6767 echo "$ac_t""yes" 1>&6
6770 echo "$ac_t""no
" 1>&6
6773 ac_save_LIBS="$LIBS"
6774 LIBS="$LIBS $libiconv"
6776 for ac_func in iconv_open iconv_close iconv nl_langinfo
6778 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6779 echo "configure
:6780: checking
for $ac_func" >&5
6780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6781 echo $ac_n "(cached
) $ac_c" 1>&6
6783 cat > conftest.$ac_ext <<EOF
6784 #line 6785 "configure
"
6785 #include "confdefs.h
"
6786 /* System header to define __stub macros and hopefully few prototypes,
6787 which can conflict with char $ac_func(); below. */
6789 /* Override any gcc2 internal prototype to avoid an error. */
6790 /* We use char because int might match the return type of a gcc2
6791 builtin and then its argument prototype would still apply. */
6796 /* The GNU C library defines this for functions which it implements
6797 to always fail with ENOSYS. Some functions are actually named
6798 something starting with __ and the normal name is an alias. */
6799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6807 if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6809 eval "ac_cv_func_
$ac_func=yes"
6811 echo "configure
: failed program was
:" >&5
6812 cat conftest.$ac_ext >&5
6814 eval "ac_cv_func_
$ac_func=no
"
6819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6820 echo "$ac_t""yes" 1>&6
6821 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6822 cat >> confdefs.h <<EOF
6823 #define $ac_tr_func 1
6828 echo "$ac_t""no
" 1>&6
6834 LIBS="$ac_save_LIBS"
6836 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6837 echo "configure
:6838: checking
for XPG2 wchar_t support
" >&5
6838 if test x"$ac_has_iconv_h" = xyes &&
6839 test x"$ac_has_langinfo_h" = xyes &&
6840 test x"$ac_XPG2funcs" = xyes; then
6845 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6847 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6848 echo "configure
:6849: checking
for enabled wchar_t specializations
" >&5
6849 if test x"$ac_isoC99_wchar_t" = xyes &&
6850 test x"$ac_XPG2_wchar_t" = xyes; then
6851 cat >> confdefs.h <<\EOF
6852 #define _GLIBCPP_USE_WCHAR_T 1
6855 echo "$ac_t"""yes"" 1>&6
6857 echo "$ac_t"""no"" 1>&6
6860 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
6863 os_include_dir="config
/os
/bsd
/netbsd
"
6864 cat >> confdefs.h <<\EOF
6865 #define HAVE_COPYSIGN 1
6868 cat >> confdefs.h <<\EOF
6869 #define HAVE_COPYSIGNF 1
6872 cat >> confdefs.h <<\EOF
6873 #define HAVE_FINITEF 1
6876 cat >> confdefs.h <<\EOF
6877 #define HAVE_FREXPF 1
6880 cat >> confdefs.h <<\EOF
6881 #define HAVE_HYPOTF 1
6886 for ac_hdr in sys/types.h locale.h float.h
6888 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6889 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6890 echo "configure
:6891: checking
for $ac_hdr" >&5
6891 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6892 echo $ac_n "(cached
) $ac_c" 1>&6
6894 cat > conftest.$ac_ext <<EOF
6895 #line 6896 "configure
"
6896 #include "confdefs.h
"
6899 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6900 { (eval echo configure:6901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6901 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6902 if test -z "$ac_err"; then
6904 eval "ac_cv_header_
$ac_safe=yes"
6907 echo "configure
: failed program was
:" >&5
6908 cat conftest.$ac_ext >&5
6910 eval "ac_cv_header_
$ac_safe=no
"
6914 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6915 echo "$ac_t""yes" 1>&6
6916 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6917 cat >> confdefs.h <<EOF
6918 #define $ac_tr_hdr 1
6922 echo "$ac_t""no
" 1>&6
6927 # If we're not using GNU ld, then there's no point in even trying these
6928 # tests. Check for that first. We should have already tested for gld
6929 # by now (in libtool), but require it now just to be safe...
6930 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6931 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6934 # The name set by libtool depends on the version of libtool. Shame on us
6935 # for depending on an impl detail, but c'est la vie. Older versions used
6936 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6937 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6938 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6939 # set (hence we're using an older libtool), then set it.
6940 if test x${with_gnu_ld+set} != xset; then
6941 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6942 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6945 with_gnu_ld=$ac_cv_prog_gnu_ld
6949 # Start by getting the version number. I think the libtool test already
6950 # does some of this, but throws away the result.
6952 ldver=`$LD --version 2>/dev/null | head -1 | \
6953 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6955 glibcpp_gnu_ld_version=`echo $ldver | \
6956 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6958 # Set --gc-sections.
6959 if test "$with_gnu_ld" = "notbroken
"; then
6960 # GNU ld it is! Joy and bunny rabbits!
6962 # All these tests are for C++; save the language and the compiler flags.
6963 # Need to do this so that g++ won't try to link in libstdc++
6964 ac_test_CFLAGS="${CFLAGS+set}"
6965 ac_save_CFLAGS="$CFLAGS"
6966 CFLAGS='-x c++ -Wl,--gc-sections'
6968 # Check for -Wl,--gc-sections
6969 # XXX This test is broken at the moment, as symbols required for
6970 # linking are now in libsupc++ (not built yet.....). In addition,
6971 # this test has cored on solaris in the past. In addition,
6972 # --gc-sections doesn't really work at the moment (keeps on discarding
6973 # used sections, first .eh_frame and now some of the glibc sections for
6974 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6975 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6976 echo "configure
:6977: checking
for ld that supports
-Wl,--gc-sections" >&5
6977 if test "$cross_compiling" = yes; then
6978 ac_sectionLDflags=yes
6980 cat > conftest.$ac_ext <<EOF
6981 #line 6982 "configure
"
6982 #include "confdefs.h
"
6992 if { (eval echo configure:6993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6994 ac_sectionLDflags=yes
6996 echo "configure
: failed program was
:" >&5
6997 cat conftest.$ac_ext >&5
6999 ac_sectionLDflags=no
7004 if test "$ac_test_CFLAGS" = set; then
7005 CFLAGS="$ac_save_CFLAGS"
7007 # this is the suspicious part
7010 if test "$ac_sectionLDflags" = "yes"; then
7011 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7013 echo "$ac_t""$ac_sectionLDflags" 1>&6
7016 # Set linker optimization flags.
7017 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7018 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7025 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7026 echo "configure
:7027: checking
for main
in -lm" >&5
7027 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7028 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7029 echo $ac_n "(cached
) $ac_c" 1>&6
7031 ac_save_LIBS="$LIBS"
7033 cat > conftest.$ac_ext <<EOF
7034 #line 7035 "configure
"
7035 #include "confdefs.h
"
7041 if { (eval echo configure:7042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7043 eval "ac_cv_lib_
$ac_lib_var=yes"
7045 echo "configure
: failed program was
:" >&5
7046 cat conftest.$ac_ext >&5
7048 eval "ac_cv_lib_
$ac_lib_var=no
"
7051 LIBS="$ac_save_LIBS"
7054 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7055 echo "$ac_t""yes" 1>&6
7056 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7057 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7058 cat >> confdefs.h <<EOF
7059 #define $ac_tr_lib 1
7065 echo "$ac_t""no
" 1>&6
7068 for ac_func in nan copysignf
7070 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7071 echo "configure
:7072: checking
for $ac_func" >&5
7072 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7073 echo $ac_n "(cached
) $ac_c" 1>&6
7075 cat > conftest.$ac_ext <<EOF
7076 #line 7077 "configure
"
7077 #include "confdefs.h
"
7078 /* System header to define __stub macros and hopefully few prototypes,
7079 which can conflict with char $ac_func(); below. */
7081 /* Override any gcc2 internal prototype to avoid an error. */
7082 /* We use char because int might match the return type of a gcc2
7083 builtin and then its argument prototype would still apply. */
7088 /* The GNU C library defines this for functions which it implements
7089 to always fail with ENOSYS. Some functions are actually named
7090 something starting with __ and the normal name is an alias. */
7091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7099 if { (eval echo configure:7100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7101 eval "ac_cv_func_
$ac_func=yes"
7103 echo "configure
: failed program was
:" >&5
7104 cat conftest.$ac_ext >&5
7106 eval "ac_cv_func_
$ac_func=no
"
7111 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7112 echo "$ac_t""yes" 1>&6
7113 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7114 cat >> confdefs.h <<EOF
7115 #define $ac_tr_func 1
7119 echo "$ac_t""no
" 1>&6
7120 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7125 for ac_func in __signbit
7127 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7128 echo "configure
:7129: checking
for $ac_func" >&5
7129 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7130 echo $ac_n "(cached
) $ac_c" 1>&6
7132 cat > conftest.$ac_ext <<EOF
7133 #line 7134 "configure
"
7134 #include "confdefs.h
"
7135 /* System header to define __stub macros and hopefully few prototypes,
7136 which can conflict with char $ac_func(); below. */
7138 /* Override any gcc2 internal prototype to avoid an error. */
7139 /* We use char because int might match the return type of a gcc2
7140 builtin and then its argument prototype would still apply. */
7145 /* The GNU C library defines this for functions which it implements
7146 to always fail with ENOSYS. Some functions are actually named
7147 something starting with __ and the normal name is an alias. */
7148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7156 if { (eval echo configure:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7158 eval "ac_cv_func_
$ac_func=yes"
7160 echo "configure
: failed program was
:" >&5
7161 cat conftest.$ac_ext >&5
7163 eval "ac_cv_func_
$ac_func=no
"
7168 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7169 echo "$ac_t""yes" 1>&6
7170 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7171 cat >> confdefs.h <<EOF
7172 #define $ac_tr_func 1
7176 echo "$ac_t""no
" 1>&6
7177 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7181 for ac_func in __signbitf
7183 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7184 echo "configure
:7185: checking
for $ac_func" >&5
7185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7186 echo $ac_n "(cached
) $ac_c" 1>&6
7188 cat > conftest.$ac_ext <<EOF
7189 #line 7190 "configure
"
7190 #include "confdefs.h
"
7191 /* System header to define __stub macros and hopefully few prototypes,
7192 which can conflict with char $ac_func(); below. */
7194 /* Override any gcc2 internal prototype to avoid an error. */
7195 /* We use char because int might match the return type of a gcc2
7196 builtin and then its argument prototype would still apply. */
7201 /* The GNU C library defines this for functions which it implements
7202 to always fail with ENOSYS. Some functions are actually named
7203 something starting with __ and the normal name is an alias. */
7204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7212 if { (eval echo configure:7213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7214 eval "ac_cv_func_
$ac_func=yes"
7216 echo "configure
: failed program was
:" >&5
7217 cat conftest.$ac_ext >&5
7219 eval "ac_cv_func_
$ac_func=no
"
7224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7225 echo "$ac_t""yes" 1>&6
7226 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7227 cat >> confdefs.h <<EOF
7228 #define $ac_tr_func 1
7232 echo "$ac_t""no
" 1>&6
7233 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7238 if test x$ac_cv_func_copysignl = x"yes"; then
7239 for ac_func in __signbitl
7241 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7242 echo "configure
:7243: checking
for $ac_func" >&5
7243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7244 echo $ac_n "(cached
) $ac_c" 1>&6
7246 cat > conftest.$ac_ext <<EOF
7247 #line 7248 "configure
"
7248 #include "confdefs.h
"
7249 /* System header to define __stub macros and hopefully few prototypes,
7250 which can conflict with char $ac_func(); below. */
7252 /* Override any gcc2 internal prototype to avoid an error. */
7253 /* We use char because int might match the return type of a gcc2
7254 builtin and then its argument prototype would still apply. */
7259 /* The GNU C library defines this for functions which it implements
7260 to always fail with ENOSYS. Some functions are actually named
7261 something starting with __ and the normal name is an alias. */
7262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7270 if { (eval echo configure:7271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7272 eval "ac_cv_func_
$ac_func=yes"
7274 echo "configure
: failed program was
:" >&5
7275 cat conftest.$ac_ext >&5
7277 eval "ac_cv_func_
$ac_func=no
"
7282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7283 echo "$ac_t""yes" 1>&6
7284 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7285 cat >> confdefs.h <<EOF
7286 #define $ac_tr_func 1
7290 echo "$ac_t""no
" 1>&6
7291 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7301 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7302 echo "configure
:7303: checking
for mbstate_t
" >&5
7303 cat > conftest.$ac_ext <<EOF
7304 #line 7305 "configure
"
7305 #include "confdefs.h
"
7308 mbstate_t teststate;
7311 if { (eval echo configure:7312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7315 echo "configure
: failed program was
:" >&5
7316 cat conftest.$ac_ext >&5
7321 echo "$ac_t""$have_mbstate_t" 1>&6
7322 if test x"$have_mbstate_t" = xyes; then
7323 cat >> confdefs.h <<\EOF
7324 #define HAVE_MBSTATE_T 1
7329 for ac_hdr in wchar.h
7331 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7332 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7333 echo "configure
:7334: checking
for $ac_hdr" >&5
7334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7335 echo $ac_n "(cached
) $ac_c" 1>&6
7337 cat > conftest.$ac_ext <<EOF
7338 #line 7339 "configure
"
7339 #include "confdefs.h
"
7342 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7343 { (eval echo configure:7344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7345 if test -z "$ac_err"; then
7347 eval "ac_cv_header_
$ac_safe=yes"
7350 echo "configure
: failed program was
:" >&5
7351 cat conftest.$ac_ext >&5
7353 eval "ac_cv_header_
$ac_safe=no
"
7357 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7358 echo "$ac_t""yes" 1>&6
7359 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7360 cat >> confdefs.h <<EOF
7361 #define $ac_tr_hdr 1
7365 echo "$ac_t""no
" 1>&6
7370 for ac_hdr in wctype.h
7372 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7373 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7374 echo "configure
:7375: checking
for $ac_hdr" >&5
7375 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7376 echo $ac_n "(cached
) $ac_c" 1>&6
7378 cat > conftest.$ac_ext <<EOF
7379 #line 7380 "configure
"
7380 #include "confdefs.h
"
7383 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7384 { (eval echo configure:7385: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7385 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7386 if test -z "$ac_err"; then
7388 eval "ac_cv_header_
$ac_safe=yes"
7391 echo "configure
: failed program was
:" >&5
7392 cat conftest.$ac_ext >&5
7394 eval "ac_cv_header_
$ac_safe=no
"
7398 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7399 echo "$ac_t""yes" 1>&6
7400 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7401 cat >> confdefs.h <<EOF
7402 #define $ac_tr_hdr 1
7406 echo "$ac_t""no
" 1>&6
7412 if test x"$ac_has_wchar_h" = xyes &&
7413 test x"$ac_has_wctype_h" = xyes &&
7414 test x"$enable_c_mbchar" != xno; then
7416 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7417 echo "configure
:7418: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7418 cat > conftest.$ac_ext <<EOF
7419 #line 7420 "configure
"
7420 #include "confdefs.h
"
7423 int i = WCHAR_MIN; int j = WCHAR_MAX;
7426 if { (eval echo configure:7427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7428 has_wchar_minmax=yes
7430 echo "configure
: failed program was
:" >&5
7431 cat conftest.$ac_ext >&5
7436 echo "$ac_t""$has_wchar_minmax" 1>&6
7438 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7439 echo "configure
:7440: checking
for WEOF
" >&5
7440 cat > conftest.$ac_ext <<EOF
7441 #line 7442 "configure
"
7442 #include "confdefs.h
"
7450 if { (eval echo configure:7451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7454 echo "configure
: failed program was
:" >&5
7455 cat conftest.$ac_ext >&5
7460 echo "$ac_t""$has_weof" 1>&6
7463 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7465 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7466 echo "configure
:7467: checking
for $ac_func" >&5
7467 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7468 echo $ac_n "(cached
) $ac_c" 1>&6
7470 cat > conftest.$ac_ext <<EOF
7471 #line 7472 "configure
"
7472 #include "confdefs.h
"
7473 /* System header to define __stub macros and hopefully few prototypes,
7474 which can conflict with char $ac_func(); below. */
7476 /* Override any gcc2 internal prototype to avoid an error. */
7477 /* We use char because int might match the return type of a gcc2
7478 builtin and then its argument prototype would still apply. */
7483 /* The GNU C library defines this for functions which it implements
7484 to always fail with ENOSYS. Some functions are actually named
7485 something starting with __ and the normal name is an alias. */
7486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7494 if { (eval echo configure:7495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7496 eval "ac_cv_func_
$ac_func=yes"
7498 echo "configure
: failed program was
:" >&5
7499 cat conftest.$ac_ext >&5
7501 eval "ac_cv_func_
$ac_func=no
"
7506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7507 echo "$ac_t""yes" 1>&6
7508 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7509 cat >> confdefs.h <<EOF
7510 #define $ac_tr_func 1
7514 echo "$ac_t""no
" 1>&6
7521 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
7522 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7523 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7524 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7525 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7526 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7528 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7529 echo "configure
:7530: checking
for $ac_func" >&5
7530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7531 echo $ac_n "(cached
) $ac_c" 1>&6
7533 cat > conftest.$ac_ext <<EOF
7534 #line 7535 "configure
"
7535 #include "confdefs.h
"
7536 /* System header to define __stub macros and hopefully few prototypes,
7537 which can conflict with char $ac_func(); below. */
7539 /* Override any gcc2 internal prototype to avoid an error. */
7540 /* We use char because int might match the return type of a gcc2
7541 builtin and then its argument prototype would still apply. */
7546 /* The GNU C library defines this for functions which it implements
7547 to always fail with ENOSYS. Some functions are actually named
7548 something starting with __ and the normal name is an alias. */
7549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7557 if { (eval echo configure:7558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7559 eval "ac_cv_func_
$ac_func=yes"
7561 echo "configure
: failed program was
:" >&5
7562 cat conftest.$ac_ext >&5
7564 eval "ac_cv_func_
$ac_func=no
"
7569 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7570 echo "$ac_t""yes" 1>&6
7571 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7572 cat >> confdefs.h <<EOF
7573 #define $ac_tr_func 1
7577 echo "$ac_t""no
" 1>&6
7584 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7585 echo "configure
:7586: checking
for ISO C99 wchar_t support
" >&5
7586 if test x"$has_weof" = xyes &&
7587 test x"$has_wchar_minmax" = xyes &&
7588 test x"$ac_wfuncs" = xyes; then
7589 ac_isoC99_wchar_t=yes
7591 ac_isoC99_wchar_t=no
7593 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7595 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7596 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7597 echo "configure
:7598: checking
for iconv.h
" >&5
7598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7599 echo $ac_n "(cached
) $ac_c" 1>&6
7601 cat > conftest.$ac_ext <<EOF
7602 #line 7603 "configure
"
7603 #include "confdefs.h
"
7606 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7607 { (eval echo configure:7608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7608 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7609 if test -z "$ac_err"; then
7611 eval "ac_cv_header_
$ac_safe=yes"
7614 echo "configure
: failed program was
:" >&5
7615 cat conftest.$ac_ext >&5
7617 eval "ac_cv_header_
$ac_safe=no
"
7621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7622 echo "$ac_t""yes" 1>&6
7625 echo "$ac_t""no
" 1>&6
7629 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7630 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7631 echo "configure
:7632: checking
for langinfo.h
" >&5
7632 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7633 echo $ac_n "(cached
) $ac_c" 1>&6
7635 cat > conftest.$ac_ext <<EOF
7636 #line 7637 "configure
"
7637 #include "confdefs.h
"
7638 #include <langinfo.h>
7640 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7641 { (eval echo configure:7642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7643 if test -z "$ac_err"; then
7645 eval "ac_cv_header_
$ac_safe=yes"
7648 echo "configure
: failed program was
:" >&5
7649 cat conftest.$ac_ext >&5
7651 eval "ac_cv_header_
$ac_safe=no
"
7655 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7656 echo "$ac_t""yes" 1>&6
7657 ac_has_langinfo_h=yes
7659 echo "$ac_t""no
" 1>&6
7660 ac_has_langinfo_h=no
7664 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7665 echo "configure
:7666: checking
for iconv in -liconv" >&5
7666 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7667 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7668 echo $ac_n "(cached
) $ac_c" 1>&6
7670 ac_save_LIBS="$LIBS"
7671 LIBS="-liconv $LIBS"
7672 cat > conftest.$ac_ext <<EOF
7673 #line 7674 "configure
"
7674 #include "confdefs.h
"
7675 /* Override any gcc2 internal prototype to avoid an error. */
7676 /* We use char because int might match the return type of a gcc2
7677 builtin and then its argument prototype would still apply. */
7684 if { (eval echo configure:7685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7686 eval "ac_cv_lib_
$ac_lib_var=yes"
7688 echo "configure
: failed program was
:" >&5
7689 cat conftest.$ac_ext >&5
7691 eval "ac_cv_lib_
$ac_lib_var=no
"
7694 LIBS="$ac_save_LIBS"
7697 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7698 echo "$ac_t""yes" 1>&6
7701 echo "$ac_t""no
" 1>&6
7704 ac_save_LIBS="$LIBS"
7705 LIBS="$LIBS $libiconv"
7707 for ac_func in iconv_open iconv_close iconv nl_langinfo
7709 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7710 echo "configure
:7711: checking
for $ac_func" >&5
7711 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7712 echo $ac_n "(cached
) $ac_c" 1>&6
7714 cat > conftest.$ac_ext <<EOF
7715 #line 7716 "configure
"
7716 #include "confdefs.h
"
7717 /* System header to define __stub macros and hopefully few prototypes,
7718 which can conflict with char $ac_func(); below. */
7720 /* Override any gcc2 internal prototype to avoid an error. */
7721 /* We use char because int might match the return type of a gcc2
7722 builtin and then its argument prototype would still apply. */
7727 /* The GNU C library defines this for functions which it implements
7728 to always fail with ENOSYS. Some functions are actually named
7729 something starting with __ and the normal name is an alias. */
7730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7738 if { (eval echo configure:7739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7740 eval "ac_cv_func_
$ac_func=yes"
7742 echo "configure
: failed program was
:" >&5
7743 cat conftest.$ac_ext >&5
7745 eval "ac_cv_func_
$ac_func=no
"
7750 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7751 echo "$ac_t""yes" 1>&6
7752 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7753 cat >> confdefs.h <<EOF
7754 #define $ac_tr_func 1
7759 echo "$ac_t""no
" 1>&6
7765 LIBS="$ac_save_LIBS"
7767 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7768 echo "configure
:7769: checking
for XPG2 wchar_t support
" >&5
7769 if test x"$ac_has_iconv_h" = xyes &&
7770 test x"$ac_has_langinfo_h" = xyes &&
7771 test x"$ac_XPG2funcs" = xyes; then
7776 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7778 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7779 echo "configure
:7780: checking
for enabled wchar_t specializations
" >&5
7780 if test x"$ac_isoC99_wchar_t" = xyes &&
7781 test x"$ac_XPG2_wchar_t" = xyes; then
7782 cat >> confdefs.h <<\EOF
7783 #define _GLIBCPP_USE_WCHAR_T 1
7786 echo "$ac_t"""yes"" 1>&6
7788 echo "$ac_t"""no"" 1>&6
7791 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
7794 os_include_dir="config
/os
/mingw32
"
7797 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7800 # If we're not using GNU ld, then there's no point in even trying these
7801 # tests. Check for that first. We should have already tested for gld
7802 # by now (in libtool), but require it now just to be safe...
7803 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7804 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7807 # The name set by libtool depends on the version of libtool. Shame on us
7808 # for depending on an impl detail, but c'est la vie. Older versions used
7809 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7810 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7811 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7812 # set (hence we're using an older libtool), then set it.
7813 if test x${with_gnu_ld+set} != xset; then
7814 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7815 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7818 with_gnu_ld=$ac_cv_prog_gnu_ld
7822 # Start by getting the version number. I think the libtool test already
7823 # does some of this, but throws away the result.
7825 ldver=`$LD --version 2>/dev/null | head -1 | \
7826 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7828 glibcpp_gnu_ld_version=`echo $ldver | \
7829 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7831 # Set --gc-sections.
7832 if test "$with_gnu_ld" = "notbroken
"; then
7833 # GNU ld it is! Joy and bunny rabbits!
7835 # All these tests are for C++; save the language and the compiler flags.
7836 # Need to do this so that g++ won't try to link in libstdc++
7837 ac_test_CFLAGS="${CFLAGS+set}"
7838 ac_save_CFLAGS="$CFLAGS"
7839 CFLAGS='-x c++ -Wl,--gc-sections'
7841 # Check for -Wl,--gc-sections
7842 # XXX This test is broken at the moment, as symbols required for
7843 # linking are now in libsupc++ (not built yet.....). In addition,
7844 # this test has cored on solaris in the past. In addition,
7845 # --gc-sections doesn't really work at the moment (keeps on discarding
7846 # used sections, first .eh_frame and now some of the glibc sections for
7847 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7848 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7849 echo "configure
:7850: checking
for ld that supports
-Wl,--gc-sections" >&5
7850 if test "$cross_compiling" = yes; then
7851 ac_sectionLDflags=yes
7853 cat > conftest.$ac_ext <<EOF
7854 #line 7855 "configure
"
7855 #include "confdefs.h
"
7865 if { (eval echo configure:7866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7867 ac_sectionLDflags=yes
7869 echo "configure
: failed program was
:" >&5
7870 cat conftest.$ac_ext >&5
7872 ac_sectionLDflags=no
7877 if test "$ac_test_CFLAGS" = set; then
7878 CFLAGS="$ac_save_CFLAGS"
7880 # this is the suspicious part
7883 if test "$ac_sectionLDflags" = "yes"; then
7884 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7886 echo "$ac_t""$ac_sectionLDflags" 1>&6
7889 # Set linker optimization flags.
7890 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
7891 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7898 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7899 echo "configure
:7900: checking
for main
in -lm" >&5
7900 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7901 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7902 echo $ac_n "(cached
) $ac_c" 1>&6
7904 ac_save_LIBS="$LIBS"
7906 cat > conftest.$ac_ext <<EOF
7907 #line 7908 "configure
"
7908 #include "confdefs.h
"
7914 if { (eval echo configure:7915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7916 eval "ac_cv_lib_
$ac_lib_var=yes"
7918 echo "configure
: failed program was
:" >&5
7919 cat conftest.$ac_ext >&5
7921 eval "ac_cv_lib_
$ac_lib_var=no
"
7924 LIBS="$ac_save_LIBS"
7927 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7928 echo "$ac_t""yes" 1>&6
7929 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7930 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7931 cat >> confdefs.h <<EOF
7932 #define $ac_tr_lib 1
7938 echo "$ac_t""no
" 1>&6
7941 for ac_func in nan copysignf
7943 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7944 echo "configure
:7945: checking
for $ac_func" >&5
7945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7946 echo $ac_n "(cached
) $ac_c" 1>&6
7948 cat > conftest.$ac_ext <<EOF
7949 #line 7950 "configure
"
7950 #include "confdefs.h
"
7951 /* System header to define __stub macros and hopefully few prototypes,
7952 which can conflict with char $ac_func(); below. */
7954 /* Override any gcc2 internal prototype to avoid an error. */
7955 /* We use char because int might match the return type of a gcc2
7956 builtin and then its argument prototype would still apply. */
7961 /* The GNU C library defines this for functions which it implements
7962 to always fail with ENOSYS. Some functions are actually named
7963 something starting with __ and the normal name is an alias. */
7964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7972 if { (eval echo configure:7973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7974 eval "ac_cv_func_
$ac_func=yes"
7976 echo "configure
: failed program was
:" >&5
7977 cat conftest.$ac_ext >&5
7979 eval "ac_cv_func_
$ac_func=no
"
7984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7985 echo "$ac_t""yes" 1>&6
7986 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7987 cat >> confdefs.h <<EOF
7988 #define $ac_tr_func 1
7992 echo "$ac_t""no
" 1>&6
7993 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7998 for ac_func in __signbit
8000 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8001 echo "configure
:8002: checking
for $ac_func" >&5
8002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8003 echo $ac_n "(cached
) $ac_c" 1>&6
8005 cat > conftest.$ac_ext <<EOF
8006 #line 8007 "configure
"
8007 #include "confdefs.h
"
8008 /* System header to define __stub macros and hopefully few prototypes,
8009 which can conflict with char $ac_func(); below. */
8011 /* Override any gcc2 internal prototype to avoid an error. */
8012 /* We use char because int might match the return type of a gcc2
8013 builtin and then its argument prototype would still apply. */
8018 /* The GNU C library defines this for functions which it implements
8019 to always fail with ENOSYS. Some functions are actually named
8020 something starting with __ and the normal name is an alias. */
8021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8029 if { (eval echo configure:8030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8031 eval "ac_cv_func_
$ac_func=yes"
8033 echo "configure
: failed program was
:" >&5
8034 cat conftest.$ac_ext >&5
8036 eval "ac_cv_func_
$ac_func=no
"
8041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8042 echo "$ac_t""yes" 1>&6
8043 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8044 cat >> confdefs.h <<EOF
8045 #define $ac_tr_func 1
8049 echo "$ac_t""no
" 1>&6
8050 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8054 for ac_func in __signbitf
8056 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8057 echo "configure
:8058: checking
for $ac_func" >&5
8058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8059 echo $ac_n "(cached
) $ac_c" 1>&6
8061 cat > conftest.$ac_ext <<EOF
8062 #line 8063 "configure
"
8063 #include "confdefs.h
"
8064 /* System header to define __stub macros and hopefully few prototypes,
8065 which can conflict with char $ac_func(); below. */
8067 /* Override any gcc2 internal prototype to avoid an error. */
8068 /* We use char because int might match the return type of a gcc2
8069 builtin and then its argument prototype would still apply. */
8074 /* The GNU C library defines this for functions which it implements
8075 to always fail with ENOSYS. Some functions are actually named
8076 something starting with __ and the normal name is an alias. */
8077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8085 if { (eval echo configure:8086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8087 eval "ac_cv_func_
$ac_func=yes"
8089 echo "configure
: failed program was
:" >&5
8090 cat conftest.$ac_ext >&5
8092 eval "ac_cv_func_
$ac_func=no
"
8097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8098 echo "$ac_t""yes" 1>&6
8099 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8100 cat >> confdefs.h <<EOF
8101 #define $ac_tr_func 1
8105 echo "$ac_t""no
" 1>&6
8106 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8111 if test x$ac_cv_func_copysignl = x"yes"; then
8112 for ac_func in __signbitl
8114 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8115 echo "configure
:8116: checking
for $ac_func" >&5
8116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8117 echo $ac_n "(cached
) $ac_c" 1>&6
8119 cat > conftest.$ac_ext <<EOF
8120 #line 8121 "configure
"
8121 #include "confdefs.h
"
8122 /* System header to define __stub macros and hopefully few prototypes,
8123 which can conflict with char $ac_func(); below. */
8125 /* Override any gcc2 internal prototype to avoid an error. */
8126 /* We use char because int might match the return type of a gcc2
8127 builtin and then its argument prototype would still apply. */
8132 /* The GNU C library defines this for functions which it implements
8133 to always fail with ENOSYS. Some functions are actually named
8134 something starting with __ and the normal name is an alias. */
8135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8143 if { (eval echo configure:8144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8145 eval "ac_cv_func_
$ac_func=yes"
8147 echo "configure
: failed program was
:" >&5
8148 cat conftest.$ac_ext >&5
8150 eval "ac_cv_func_
$ac_func=no
"
8155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8156 echo "$ac_t""yes" 1>&6
8157 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8158 cat >> confdefs.h <<EOF
8159 #define $ac_tr_func 1
8163 echo "$ac_t""no
" 1>&6
8164 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8174 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8175 echo "configure
:8176: checking
for mbstate_t
" >&5
8176 cat > conftest.$ac_ext <<EOF
8177 #line 8178 "configure
"
8178 #include "confdefs.h
"
8181 mbstate_t teststate;
8184 if { (eval echo configure:8185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8188 echo "configure
: failed program was
:" >&5
8189 cat conftest.$ac_ext >&5
8194 echo "$ac_t""$have_mbstate_t" 1>&6
8195 if test x"$have_mbstate_t" = xyes; then
8196 cat >> confdefs.h <<\EOF
8197 #define HAVE_MBSTATE_T 1
8202 for ac_hdr in wchar.h
8204 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8205 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8206 echo "configure
:8207: checking
for $ac_hdr" >&5
8207 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8208 echo $ac_n "(cached
) $ac_c" 1>&6
8210 cat > conftest.$ac_ext <<EOF
8211 #line 8212 "configure
"
8212 #include "confdefs.h
"
8215 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8216 { (eval echo configure:8217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8217 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8218 if test -z "$ac_err"; then
8220 eval "ac_cv_header_
$ac_safe=yes"
8223 echo "configure
: failed program was
:" >&5
8224 cat conftest.$ac_ext >&5
8226 eval "ac_cv_header_
$ac_safe=no
"
8230 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8231 echo "$ac_t""yes" 1>&6
8232 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8233 cat >> confdefs.h <<EOF
8234 #define $ac_tr_hdr 1
8238 echo "$ac_t""no
" 1>&6
8243 for ac_hdr in wctype.h
8245 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8246 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8247 echo "configure
:8248: checking
for $ac_hdr" >&5
8248 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8249 echo $ac_n "(cached
) $ac_c" 1>&6
8251 cat > conftest.$ac_ext <<EOF
8252 #line 8253 "configure
"
8253 #include "confdefs.h
"
8256 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8257 { (eval echo configure:8258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8258 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8259 if test -z "$ac_err"; then
8261 eval "ac_cv_header_
$ac_safe=yes"
8264 echo "configure
: failed program was
:" >&5
8265 cat conftest.$ac_ext >&5
8267 eval "ac_cv_header_
$ac_safe=no
"
8271 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8272 echo "$ac_t""yes" 1>&6
8273 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8274 cat >> confdefs.h <<EOF
8275 #define $ac_tr_hdr 1
8279 echo "$ac_t""no
" 1>&6
8285 if test x"$ac_has_wchar_h" = xyes &&
8286 test x"$ac_has_wctype_h" = xyes &&
8287 test x"$enable_c_mbchar" != xno; then
8289 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8290 echo "configure
:8291: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8291 cat > conftest.$ac_ext <<EOF
8292 #line 8293 "configure
"
8293 #include "confdefs.h
"
8296 int i = WCHAR_MIN; int j = WCHAR_MAX;
8299 if { (eval echo configure:8300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8301 has_wchar_minmax=yes
8303 echo "configure
: failed program was
:" >&5
8304 cat conftest.$ac_ext >&5
8309 echo "$ac_t""$has_wchar_minmax" 1>&6
8311 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8312 echo "configure
:8313: checking
for WEOF
" >&5
8313 cat > conftest.$ac_ext <<EOF
8314 #line 8315 "configure
"
8315 #include "confdefs.h
"
8323 if { (eval echo configure:8324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8327 echo "configure
: failed program was
:" >&5
8328 cat conftest.$ac_ext >&5
8333 echo "$ac_t""$has_weof" 1>&6
8336 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8338 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8339 echo "configure
:8340: checking
for $ac_func" >&5
8340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8341 echo $ac_n "(cached
) $ac_c" 1>&6
8343 cat > conftest.$ac_ext <<EOF
8344 #line 8345 "configure
"
8345 #include "confdefs.h
"
8346 /* System header to define __stub macros and hopefully few prototypes,
8347 which can conflict with char $ac_func(); below. */
8349 /* Override any gcc2 internal prototype to avoid an error. */
8350 /* We use char because int might match the return type of a gcc2
8351 builtin and then its argument prototype would still apply. */
8356 /* The GNU C library defines this for functions which it implements
8357 to always fail with ENOSYS. Some functions are actually named
8358 something starting with __ and the normal name is an alias. */
8359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8367 if { (eval echo configure:8368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8369 eval "ac_cv_func_
$ac_func=yes"
8371 echo "configure
: failed program was
:" >&5
8372 cat conftest.$ac_ext >&5
8374 eval "ac_cv_func_
$ac_func=no
"
8379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8380 echo "$ac_t""yes" 1>&6
8381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8382 cat >> confdefs.h <<EOF
8383 #define $ac_tr_func 1
8387 echo "$ac_t""no
" 1>&6
8394 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
8395 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8396 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8397 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8398 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8399 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8401 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8402 echo "configure
:8403: checking
for $ac_func" >&5
8403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8404 echo $ac_n "(cached
) $ac_c" 1>&6
8406 cat > conftest.$ac_ext <<EOF
8407 #line 8408 "configure
"
8408 #include "confdefs.h
"
8409 /* System header to define __stub macros and hopefully few prototypes,
8410 which can conflict with char $ac_func(); below. */
8412 /* Override any gcc2 internal prototype to avoid an error. */
8413 /* We use char because int might match the return type of a gcc2
8414 builtin and then its argument prototype would still apply. */
8419 /* The GNU C library defines this for functions which it implements
8420 to always fail with ENOSYS. Some functions are actually named
8421 something starting with __ and the normal name is an alias. */
8422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8430 if { (eval echo configure:8431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8432 eval "ac_cv_func_
$ac_func=yes"
8434 echo "configure
: failed program was
:" >&5
8435 cat conftest.$ac_ext >&5
8437 eval "ac_cv_func_
$ac_func=no
"
8442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8443 echo "$ac_t""yes" 1>&6
8444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8445 cat >> confdefs.h <<EOF
8446 #define $ac_tr_func 1
8450 echo "$ac_t""no
" 1>&6
8457 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8458 echo "configure
:8459: checking
for ISO C99 wchar_t support
" >&5
8459 if test x"$has_weof" = xyes &&
8460 test x"$has_wchar_minmax" = xyes &&
8461 test x"$ac_wfuncs" = xyes; then
8462 ac_isoC99_wchar_t=yes
8464 ac_isoC99_wchar_t=no
8466 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8468 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8469 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8470 echo "configure
:8471: checking
for iconv.h
" >&5
8471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8472 echo $ac_n "(cached
) $ac_c" 1>&6
8474 cat > conftest.$ac_ext <<EOF
8475 #line 8476 "configure
"
8476 #include "confdefs.h
"
8479 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8480 { (eval echo configure:8481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8481 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8482 if test -z "$ac_err"; then
8484 eval "ac_cv_header_
$ac_safe=yes"
8487 echo "configure
: failed program was
:" >&5
8488 cat conftest.$ac_ext >&5
8490 eval "ac_cv_header_
$ac_safe=no
"
8494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8495 echo "$ac_t""yes" 1>&6
8498 echo "$ac_t""no
" 1>&6
8502 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8503 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8504 echo "configure
:8505: checking
for langinfo.h
" >&5
8505 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8506 echo $ac_n "(cached
) $ac_c" 1>&6
8508 cat > conftest.$ac_ext <<EOF
8509 #line 8510 "configure
"
8510 #include "confdefs.h
"
8511 #include <langinfo.h>
8513 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8514 { (eval echo configure:8515: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8515 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8516 if test -z "$ac_err"; then
8518 eval "ac_cv_header_
$ac_safe=yes"
8521 echo "configure
: failed program was
:" >&5
8522 cat conftest.$ac_ext >&5
8524 eval "ac_cv_header_
$ac_safe=no
"
8528 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8529 echo "$ac_t""yes" 1>&6
8530 ac_has_langinfo_h=yes
8532 echo "$ac_t""no
" 1>&6
8533 ac_has_langinfo_h=no
8537 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8538 echo "configure
:8539: checking
for iconv in -liconv" >&5
8539 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8540 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8541 echo $ac_n "(cached
) $ac_c" 1>&6
8543 ac_save_LIBS="$LIBS"
8544 LIBS="-liconv $LIBS"
8545 cat > conftest.$ac_ext <<EOF
8546 #line 8547 "configure
"
8547 #include "confdefs.h
"
8548 /* Override any gcc2 internal prototype to avoid an error. */
8549 /* We use char because int might match the return type of a gcc2
8550 builtin and then its argument prototype would still apply. */
8557 if { (eval echo configure:8558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8559 eval "ac_cv_lib_
$ac_lib_var=yes"
8561 echo "configure
: failed program was
:" >&5
8562 cat conftest.$ac_ext >&5
8564 eval "ac_cv_lib_
$ac_lib_var=no
"
8567 LIBS="$ac_save_LIBS"
8570 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8571 echo "$ac_t""yes" 1>&6
8574 echo "$ac_t""no
" 1>&6
8577 ac_save_LIBS="$LIBS"
8578 LIBS="$LIBS $libiconv"
8580 for ac_func in iconv_open iconv_close iconv nl_langinfo
8582 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8583 echo "configure
:8584: checking
for $ac_func" >&5
8584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8585 echo $ac_n "(cached
) $ac_c" 1>&6
8587 cat > conftest.$ac_ext <<EOF
8588 #line 8589 "configure
"
8589 #include "confdefs.h
"
8590 /* System header to define __stub macros and hopefully few prototypes,
8591 which can conflict with char $ac_func(); below. */
8593 /* Override any gcc2 internal prototype to avoid an error. */
8594 /* We use char because int might match the return type of a gcc2
8595 builtin and then its argument prototype would still apply. */
8600 /* The GNU C library defines this for functions which it implements
8601 to always fail with ENOSYS. Some functions are actually named
8602 something starting with __ and the normal name is an alias. */
8603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8611 if { (eval echo configure:8612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8613 eval "ac_cv_func_
$ac_func=yes"
8615 echo "configure
: failed program was
:" >&5
8616 cat conftest.$ac_ext >&5
8618 eval "ac_cv_func_
$ac_func=no
"
8623 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8624 echo "$ac_t""yes" 1>&6
8625 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8626 cat >> confdefs.h <<EOF
8627 #define $ac_tr_func 1
8632 echo "$ac_t""no
" 1>&6
8638 LIBS="$ac_save_LIBS"
8640 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8641 echo "configure
:8642: checking
for XPG2 wchar_t support
" >&5
8642 if test x"$ac_has_iconv_h" = xyes &&
8643 test x"$ac_has_langinfo_h" = xyes &&
8644 test x"$ac_XPG2funcs" = xyes; then
8649 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8651 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8652 echo "configure
:8653: checking
for enabled wchar_t specializations
" >&5
8653 if test x"$ac_isoC99_wchar_t" = xyes &&
8654 test x"$ac_XPG2_wchar_t" = xyes; then
8655 cat >> confdefs.h <<\EOF
8656 #define _GLIBCPP_USE_WCHAR_T 1
8659 echo "$ac_t"""yes"" 1>&6
8661 echo "$ac_t"""no"" 1>&6
8664 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
8667 os_include_dir="config
/os
/qnx
/qnx6.1
"
8668 cat >> confdefs.h <<\EOF
8672 cat >> confdefs.h <<\EOF
8676 cat >> confdefs.h <<\EOF
8677 #define HAVE_COSHF 1
8680 cat >> confdefs.h <<\EOF
8681 #define HAVE_COSHL 1
8684 cat >> confdefs.h <<\EOF
8688 cat >> confdefs.h <<\EOF
8692 cat >> confdefs.h <<\EOF
8693 #define HAVE_LOG10F 1
8696 cat >> confdefs.h <<\EOF
8697 #define HAVE_LOG10L 1
8700 cat >> confdefs.h <<\EOF
8704 cat >> confdefs.h <<\EOF
8708 cat >> confdefs.h <<\EOF
8709 #define HAVE_SINHF 1
8712 cat >> confdefs.h <<\EOF
8713 #define HAVE_SINHL 1
8718 os_include_dir="config
/os
/newlib
"
8719 cat >> confdefs.h <<\EOF
8720 #define HAVE_HYPOT 1
8726 case "$target_alias" in
8730 # GLIBCPP_CHECK_STDLIB_SUPPORT
8731 cat >> confdefs.h <<\EOF
8732 #define HAVE_STRTOF 1
8735 cat >> confdefs.h <<\EOF
8736 #define HAVE_STRTOLD 1
8740 cat >> confdefs.h <<\EOF
8745 cat >> confdefs.h <<\EOF
8746 #define HAVE_ACOSF 1
8749 cat >> confdefs.h <<\EOF
8750 #define HAVE_ASINF 1
8753 cat >> confdefs.h <<\EOF
8754 #define HAVE_ATAN2F 1
8757 cat >> confdefs.h <<\EOF
8758 #define HAVE_ATANF 1
8761 cat >> confdefs.h <<\EOF
8762 #define HAVE_CEILF 1
8765 cat >> confdefs.h <<\EOF
8766 #define HAVE_COPYSIGN 1
8769 cat >> confdefs.h <<\EOF
8770 #define HAVE_COPYSIGNF 1
8773 cat >> confdefs.h <<\EOF
8777 cat >> confdefs.h <<\EOF
8778 #define HAVE_COSHF 1
8781 cat >> confdefs.h <<\EOF
8785 cat >> confdefs.h <<\EOF
8786 #define HAVE_FABSF 1
8789 cat >> confdefs.h <<\EOF
8790 #define HAVE_FINITE 1
8793 cat >> confdefs.h <<\EOF
8794 #define HAVE_FINITEF 1
8797 cat >> confdefs.h <<\EOF
8798 #define HAVE_FLOORF 1
8801 cat >> confdefs.h <<\EOF
8802 #define HAVE_FMODF 1
8805 cat >> confdefs.h <<\EOF
8806 #define HAVE_FREXPF 1
8809 cat >> confdefs.h <<\EOF
8810 #define HAVE_ISINF 1
8813 cat >> confdefs.h <<\EOF
8814 #define HAVE_ISINFF 1
8817 cat >> confdefs.h <<\EOF
8818 #define HAVE_ISNAN 1
8821 cat >> confdefs.h <<\EOF
8822 #define HAVE_ISNANF 1
8825 cat >> confdefs.h <<\EOF
8826 #define HAVE_LDEXPF 1
8829 cat >> confdefs.h <<\EOF
8830 #define HAVE_LOG10F 1
8833 cat >> confdefs.h <<\EOF
8837 cat >> confdefs.h <<\EOF
8838 #define HAVE_MODFF 1
8841 cat >> confdefs.h <<\EOF
8845 cat >> confdefs.h <<\EOF
8849 cat >> confdefs.h <<\EOF
8850 #define HAVE_SINHF 1
8853 cat >> confdefs.h <<\EOF
8854 #define HAVE_SQRTF 1
8857 cat >> confdefs.h <<\EOF
8861 cat >> confdefs.h <<\EOF
8862 #define HAVE_TANHF 1
8868 # At some point, we should differentiate between architectures
8869 # like x86, which have long double versions, and alpha/powerpc/etc.,
8870 # which don't. For the time being, punt.
8871 if test x"long_double_math_on_this_cpu
" = x"yes"; then
8872 cat >> confdefs.h <<\EOF
8873 #define HAVE_ACOSL 1
8876 cat >> confdefs.h <<\EOF
8877 #define HAVE_ASINL 1
8880 cat >> confdefs.h <<\EOF
8881 #define HAVE_ATAN2L 1
8884 cat >> confdefs.h <<\EOF
8885 #define HAVE_ATANL 1
8888 cat >> confdefs.h <<\EOF
8889 #define HAVE_CEILL 1
8892 cat >> confdefs.h <<\EOF
8893 #define HAVE_COPYSIGNL 1
8896 cat >> confdefs.h <<\EOF
8900 cat >> confdefs.h <<\EOF
8901 #define HAVE_COSHL 1
8904 cat >> confdefs.h <<\EOF
8908 cat >> confdefs.h <<\EOF
8909 #define HAVE_FABSL 1
8912 cat >> confdefs.h <<\EOF
8913 #define HAVE_FINITEL 1
8916 cat >> confdefs.h <<\EOF
8917 #define HAVE_FLOORL 1
8920 cat >> confdefs.h <<\EOF
8921 #define HAVE_FMODL 1
8924 cat >> confdefs.h <<\EOF
8925 #define HAVE_FREXPL 1
8928 cat >> confdefs.h <<\EOF
8929 #define HAVE_ISINFL 1
8932 cat >> confdefs.h <<\EOF
8933 #define HAVE_ISNANL 1
8936 cat >> confdefs.h <<\EOF
8937 #define HAVE_LDEXPL 1
8940 cat >> confdefs.h <<\EOF
8941 #define HAVE_LOG10L 1
8944 cat >> confdefs.h <<\EOF
8948 cat >> confdefs.h <<\EOF
8949 #define HAVE_MODFL 1
8952 cat >> confdefs.h <<\EOF
8956 cat >> confdefs.h <<\EOF
8957 #define HAVE_SINCOSL 1
8960 cat >> confdefs.h <<\EOF
8964 cat >> confdefs.h <<\EOF
8965 #define HAVE_SINHL 1
8968 cat >> confdefs.h <<\EOF
8969 #define HAVE_SQRTL 1
8972 cat >> confdefs.h <<\EOF
8976 cat >> confdefs.h <<\EOF
8977 #define HAVE_TANHL 1
8983 # We are being configured natively. We can do more elaborate tests
8984 # that include AC_TRY_COMPILE now, as the linker is assumed to be
8986 GLIBCPP_IS_CROSS_COMPILING=0
8989 # Check for available headers.
8990 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
8991 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h sys/types.h
8993 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8994 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8995 echo "configure
:8996: checking
for $ac_hdr" >&5
8996 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8997 echo $ac_n "(cached
) $ac_c" 1>&6
8999 cat > conftest.$ac_ext <<EOF
9000 #line 9001 "configure
"
9001 #include "confdefs.h
"
9004 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9005 { (eval echo configure:9006: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9006 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9007 if test -z "$ac_err"; then
9009 eval "ac_cv_header_
$ac_safe=yes"
9012 echo "configure
: failed program was
:" >&5
9013 cat conftest.$ac_ext >&5
9015 eval "ac_cv_header_
$ac_safe=no
"
9019 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9020 echo "$ac_t""yes" 1>&6
9021 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9022 cat >> confdefs.h <<EOF
9023 #define $ac_tr_hdr 1
9027 echo "$ac_t""no
" 1>&6
9033 # All these tests are for C++; save the language and the compiler flags.
9034 # The CXXFLAGS thing is suspicious, but based on similar bits previously
9035 # found in GLIBCPP_CONFIGURE.
9038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9039 ac_cpp='$CXXCPP $CPPFLAGS'
9040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9042 cross_compiling=$ac_cv_prog_cxx_cross
9044 ac_test_CXXFLAGS="${CXXFLAGS+set}"
9045 ac_save_CXXFLAGS="$CXXFLAGS"
9047 # Check for maintainer-mode bits.
9048 if test x"$USE_MAINTAINER_MODE" = xno; then
9054 # Check for -ffunction-sections -fdata-sections
9055 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
9056 echo "configure
:9057: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
9057 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9058 cat > conftest.$ac_ext <<EOF
9059 #line 9060 "configure
"
9060 #include "confdefs.h
"
9067 if { (eval echo configure:9068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9071 echo "configure
: failed program was
:" >&5
9072 cat conftest.$ac_ext >&5
9077 if test "$ac_test_CXXFLAGS" = set; then
9078 CXXFLAGS="$ac_save_CXXFLAGS"
9080 # this is the suspicious part
9083 if test x"$ac_fdsections" = x"yes" &&
9084 test x"$enable_debug" = x"no
"; then
9085 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9087 echo "$ac_t""$ac_fdsections" 1>&6
9090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9091 ac_cpp='$CPP $CPPFLAGS'
9092 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9093 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9094 cross_compiling=$ac_cv_prog_cc_cross
9100 # If we're not using GNU ld, then there's no point in even trying these
9101 # tests. Check for that first. We should have already tested for gld
9102 # by now (in libtool), but require it now just to be safe...
9103 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9104 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9107 # The name set by libtool depends on the version of libtool. Shame on us
9108 # for depending on an impl detail, but c'est la vie. Older versions used
9109 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9110 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9111 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9112 # set (hence we're using an older libtool), then set it.
9113 if test x${with_gnu_ld+set} != xset; then
9114 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9115 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9118 with_gnu_ld=$ac_cv_prog_gnu_ld
9122 # Start by getting the version number. I think the libtool test already
9123 # does some of this, but throws away the result.
9125 ldver=`$LD --version 2>/dev/null | head -1 | \
9126 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9128 glibcpp_gnu_ld_version=`echo $ldver | \
9129 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9131 # Set --gc-sections.
9132 if test "$with_gnu_ld" = "notbroken
"; then
9133 # GNU ld it is! Joy and bunny rabbits!
9135 # All these tests are for C++; save the language and the compiler flags.
9136 # Need to do this so that g++ won't try to link in libstdc++
9137 ac_test_CFLAGS="${CFLAGS+set}"
9138 ac_save_CFLAGS="$CFLAGS"
9139 CFLAGS='-x c++ -Wl,--gc-sections'
9141 # Check for -Wl,--gc-sections
9142 # XXX This test is broken at the moment, as symbols required for
9143 # linking are now in libsupc++ (not built yet.....). In addition,
9144 # this test has cored on solaris in the past. In addition,
9145 # --gc-sections doesn't really work at the moment (keeps on discarding
9146 # used sections, first .eh_frame and now some of the glibc sections for
9147 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9148 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9149 echo "configure
:9150: checking
for ld that supports
-Wl,--gc-sections" >&5
9150 if test "$cross_compiling" = yes; then
9151 ac_sectionLDflags=yes
9153 cat > conftest.$ac_ext <<EOF
9154 #line 9155 "configure
"
9155 #include "confdefs.h
"
9165 if { (eval echo configure:9166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9167 ac_sectionLDflags=yes
9169 echo "configure
: failed program was
:" >&5
9170 cat conftest.$ac_ext >&5
9172 ac_sectionLDflags=no
9177 if test "$ac_test_CFLAGS" = set; then
9178 CFLAGS="$ac_save_CFLAGS"
9180 # this is the suspicious part
9183 if test "$ac_sectionLDflags" = "yes"; then
9184 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9186 echo "$ac_t""$ac_sectionLDflags" 1>&6
9189 # Set linker optimization flags.
9190 if test x"$with_gnu_ld" = x"yes" && test x"$enable_debug" = x"no
"; then
9191 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9199 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
9200 echo "configure
:9201: checking
for __builtin_abs declaration
" >&5
9201 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
9202 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
9203 echo $ac_n "(cached
) $ac_c" 1>&6
9208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9209 ac_cpp='$CXXCPP $CPPFLAGS'
9210 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9211 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9212 cross_compiling=$ac_cv_prog_cxx_cross
9214 cat > conftest.$ac_ext <<EOF
9215 #line 9216 "configure
"
9216 #include "confdefs.h
"
9222 if { (eval echo configure:9223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9224 glibcpp_cv_func___builtin_abs_use=yes
9226 echo "configure
: failed program was
:" >&5
9227 cat conftest.$ac_ext >&5
9229 glibcpp_cv_func___builtin_abs_use=no
9233 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9234 ac_cpp='$CPP $CPPFLAGS'
9235 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9236 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9237 cross_compiling=$ac_cv_prog_cc_cross
9243 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
9244 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
9245 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
9246 echo "configure
:9247: checking
for __builtin_abs linkage
" >&5
9247 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
9248 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
9249 echo $ac_n "(cached
) $ac_c" 1>&6
9252 cat > conftest.$ac_ext <<EOF
9253 #line 9254 "configure
"
9254 #include "confdefs.h
"
9260 if { (eval echo configure:9261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9262 glibcpp_cv_func___builtin_abs_link=yes
9264 echo "configure
: failed program was
:" >&5
9265 cat conftest.$ac_ext >&5
9267 glibcpp_cv_func___builtin_abs_link=no
9274 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
9275 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
9276 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9277 cat >> confdefs.h <<EOF
9278 #define ${ac_tr_func} 1
9285 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
9286 echo "configure
:9287: checking
for __builtin_fabsf declaration
" >&5
9287 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
9288 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
9289 echo $ac_n "(cached
) $ac_c" 1>&6
9294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9295 ac_cpp='$CXXCPP $CPPFLAGS'
9296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9298 cross_compiling=$ac_cv_prog_cxx_cross
9300 cat > conftest.$ac_ext <<EOF
9301 #line 9302 "configure
"
9302 #include "confdefs.h
"
9308 if { (eval echo configure:9309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9310 glibcpp_cv_func___builtin_fabsf_use=yes
9312 echo "configure
: failed program was
:" >&5
9313 cat conftest.$ac_ext >&5
9315 glibcpp_cv_func___builtin_fabsf_use=no
9319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9320 ac_cpp='$CPP $CPPFLAGS'
9321 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9322 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9323 cross_compiling=$ac_cv_prog_cc_cross
9329 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
9330 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
9331 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
9332 echo "configure
:9333: checking
for __builtin_fabsf linkage
" >&5
9333 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
9334 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
9335 echo $ac_n "(cached
) $ac_c" 1>&6
9338 cat > conftest.$ac_ext <<EOF
9339 #line 9340 "configure
"
9340 #include "confdefs.h
"
9346 if { (eval echo configure:9347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9348 glibcpp_cv_func___builtin_fabsf_link=yes
9350 echo "configure
: failed program was
:" >&5
9351 cat conftest.$ac_ext >&5
9353 glibcpp_cv_func___builtin_fabsf_link=no
9360 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
9361 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
9362 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9363 cat >> confdefs.h <<EOF
9364 #define ${ac_tr_func} 1
9371 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
9372 echo "configure
:9373: checking
for __builtin_fabs declaration
" >&5
9373 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
9374 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
9375 echo $ac_n "(cached
) $ac_c" 1>&6
9380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9381 ac_cpp='$CXXCPP $CPPFLAGS'
9382 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9383 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9384 cross_compiling=$ac_cv_prog_cxx_cross
9386 cat > conftest.$ac_ext <<EOF
9387 #line 9388 "configure
"
9388 #include "confdefs.h
"
9394 if { (eval echo configure:9395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9396 glibcpp_cv_func___builtin_fabs_use=yes
9398 echo "configure
: failed program was
:" >&5
9399 cat conftest.$ac_ext >&5
9401 glibcpp_cv_func___builtin_fabs_use=no
9405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9406 ac_cpp='$CPP $CPPFLAGS'
9407 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9408 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9409 cross_compiling=$ac_cv_prog_cc_cross
9415 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
9416 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
9417 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
9418 echo "configure
:9419: checking
for __builtin_fabs linkage
" >&5
9419 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
9420 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
9421 echo $ac_n "(cached
) $ac_c" 1>&6
9424 cat > conftest.$ac_ext <<EOF
9425 #line 9426 "configure
"
9426 #include "confdefs.h
"
9432 if { (eval echo configure:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9434 glibcpp_cv_func___builtin_fabs_link=yes
9436 echo "configure
: failed program was
:" >&5
9437 cat conftest.$ac_ext >&5
9439 glibcpp_cv_func___builtin_fabs_link=no
9446 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
9447 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
9448 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9449 cat >> confdefs.h <<EOF
9450 #define ${ac_tr_func} 1
9457 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
9458 echo "configure
:9459: checking
for __builtin_fabsl declaration
" >&5
9459 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
9460 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
9461 echo $ac_n "(cached
) $ac_c" 1>&6
9466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9467 ac_cpp='$CXXCPP $CPPFLAGS'
9468 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9469 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9470 cross_compiling=$ac_cv_prog_cxx_cross
9472 cat > conftest.$ac_ext <<EOF
9473 #line 9474 "configure
"
9474 #include "confdefs.h
"
9480 if { (eval echo configure:9481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9482 glibcpp_cv_func___builtin_fabsl_use=yes
9484 echo "configure
: failed program was
:" >&5
9485 cat conftest.$ac_ext >&5
9487 glibcpp_cv_func___builtin_fabsl_use=no
9491 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9492 ac_cpp='$CPP $CPPFLAGS'
9493 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9494 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9495 cross_compiling=$ac_cv_prog_cc_cross
9501 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
9502 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
9503 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
9504 echo "configure
:9505: checking
for __builtin_fabsl linkage
" >&5
9505 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
9506 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
9507 echo $ac_n "(cached
) $ac_c" 1>&6
9510 cat > conftest.$ac_ext <<EOF
9511 #line 9512 "configure
"
9512 #include "confdefs.h
"
9518 if { (eval echo configure:9519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9520 glibcpp_cv_func___builtin_fabsl_link=yes
9522 echo "configure
: failed program was
:" >&5
9523 cat conftest.$ac_ext >&5
9525 glibcpp_cv_func___builtin_fabsl_link=no
9532 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
9533 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
9534 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9535 cat >> confdefs.h <<EOF
9536 #define ${ac_tr_func} 1
9543 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
9544 echo "configure
:9545: checking
for __builtin_labs declaration
" >&5
9545 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
9546 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
9547 echo $ac_n "(cached
) $ac_c" 1>&6
9552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9553 ac_cpp='$CXXCPP $CPPFLAGS'
9554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9556 cross_compiling=$ac_cv_prog_cxx_cross
9558 cat > conftest.$ac_ext <<EOF
9559 #line 9560 "configure
"
9560 #include "confdefs.h
"
9566 if { (eval echo configure:9567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9568 glibcpp_cv_func___builtin_labs_use=yes
9570 echo "configure
: failed program was
:" >&5
9571 cat conftest.$ac_ext >&5
9573 glibcpp_cv_func___builtin_labs_use=no
9577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9578 ac_cpp='$CPP $CPPFLAGS'
9579 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9580 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9581 cross_compiling=$ac_cv_prog_cc_cross
9587 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
9588 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
9589 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
9590 echo "configure
:9591: checking
for __builtin_labs linkage
" >&5
9591 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
9592 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
9593 echo $ac_n "(cached
) $ac_c" 1>&6
9596 cat > conftest.$ac_ext <<EOF
9597 #line 9598 "configure
"
9598 #include "confdefs.h
"
9604 if { (eval echo configure:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9606 glibcpp_cv_func___builtin_labs_link=yes
9608 echo "configure
: failed program was
:" >&5
9609 cat conftest.$ac_ext >&5
9611 glibcpp_cv_func___builtin_labs_link=no
9618 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
9619 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
9620 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9621 cat >> confdefs.h <<EOF
9622 #define ${ac_tr_func} 1
9630 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
9631 echo "configure
:9632: checking
for __builtin_sqrtf declaration
" >&5
9632 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
9633 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
9634 echo $ac_n "(cached
) $ac_c" 1>&6
9639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9640 ac_cpp='$CXXCPP $CPPFLAGS'
9641 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9642 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9643 cross_compiling=$ac_cv_prog_cxx_cross
9645 cat > conftest.$ac_ext <<EOF
9646 #line 9647 "configure
"
9647 #include "confdefs.h
"
9653 if { (eval echo configure:9654: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9655 glibcpp_cv_func___builtin_sqrtf_use=yes
9657 echo "configure
: failed program was
:" >&5
9658 cat conftest.$ac_ext >&5
9660 glibcpp_cv_func___builtin_sqrtf_use=no
9664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9665 ac_cpp='$CPP $CPPFLAGS'
9666 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9667 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9668 cross_compiling=$ac_cv_prog_cc_cross
9674 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
9675 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
9676 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
9677 echo "configure
:9678: checking
for __builtin_sqrtf linkage
" >&5
9678 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
9679 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
9680 echo $ac_n "(cached
) $ac_c" 1>&6
9683 cat > conftest.$ac_ext <<EOF
9684 #line 9685 "configure
"
9685 #include "confdefs.h
"
9691 if { (eval echo configure:9692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9693 glibcpp_cv_func___builtin_sqrtf_link=yes
9695 echo "configure
: failed program was
:" >&5
9696 cat conftest.$ac_ext >&5
9698 glibcpp_cv_func___builtin_sqrtf_link=no
9705 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
9706 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
9707 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9708 cat >> confdefs.h <<EOF
9709 #define ${ac_tr_func} 1
9716 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
9717 echo "configure
:9718: checking
for __builtin_sqrt declaration
" >&5
9718 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
9719 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
9720 echo $ac_n "(cached
) $ac_c" 1>&6
9725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9726 ac_cpp='$CXXCPP $CPPFLAGS'
9727 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9728 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9729 cross_compiling=$ac_cv_prog_cxx_cross
9731 cat > conftest.$ac_ext <<EOF
9732 #line 9733 "configure
"
9733 #include "confdefs.h
"
9739 if { (eval echo configure:9740: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9741 glibcpp_cv_func___builtin_sqrt_use=yes
9743 echo "configure
: failed program was
:" >&5
9744 cat conftest.$ac_ext >&5
9746 glibcpp_cv_func___builtin_sqrt_use=no
9750 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9751 ac_cpp='$CPP $CPPFLAGS'
9752 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9753 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9754 cross_compiling=$ac_cv_prog_cc_cross
9760 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
9761 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
9762 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
9763 echo "configure
:9764: checking
for __builtin_sqrt linkage
" >&5
9764 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
9765 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
9766 echo $ac_n "(cached
) $ac_c" 1>&6
9769 cat > conftest.$ac_ext <<EOF
9770 #line 9771 "configure
"
9771 #include "confdefs.h
"
9777 if { (eval echo configure:9778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9779 glibcpp_cv_func___builtin_sqrt_link=yes
9781 echo "configure
: failed program was
:" >&5
9782 cat conftest.$ac_ext >&5
9784 glibcpp_cv_func___builtin_sqrt_link=no
9791 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
9792 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
9793 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9794 cat >> confdefs.h <<EOF
9795 #define ${ac_tr_func} 1
9802 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
9803 echo "configure
:9804: checking
for __builtin_sqrtl declaration
" >&5
9804 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
9805 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
9806 echo $ac_n "(cached
) $ac_c" 1>&6
9811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9812 ac_cpp='$CXXCPP $CPPFLAGS'
9813 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9814 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9815 cross_compiling=$ac_cv_prog_cxx_cross
9817 cat > conftest.$ac_ext <<EOF
9818 #line 9819 "configure
"
9819 #include "confdefs.h
"
9825 if { (eval echo configure:9826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9827 glibcpp_cv_func___builtin_sqrtl_use=yes
9829 echo "configure
: failed program was
:" >&5
9830 cat conftest.$ac_ext >&5
9832 glibcpp_cv_func___builtin_sqrtl_use=no
9836 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9837 ac_cpp='$CPP $CPPFLAGS'
9838 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9839 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9840 cross_compiling=$ac_cv_prog_cc_cross
9846 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
9847 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
9848 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
9849 echo "configure
:9850: checking
for __builtin_sqrtl linkage
" >&5
9850 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
9851 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
9852 echo $ac_n "(cached
) $ac_c" 1>&6
9855 cat > conftest.$ac_ext <<EOF
9856 #line 9857 "configure
"
9857 #include "confdefs.h
"
9863 if { (eval echo configure:9864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9865 glibcpp_cv_func___builtin_sqrtl_link=yes
9867 echo "configure
: failed program was
:" >&5
9868 cat conftest.$ac_ext >&5
9870 glibcpp_cv_func___builtin_sqrtl_link=no
9877 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
9878 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
9879 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9880 cat >> confdefs.h <<EOF
9881 #define ${ac_tr_func} 1
9889 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
9890 echo "configure
:9891: checking
for __builtin_sinf declaration
" >&5
9891 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
9892 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
9893 echo $ac_n "(cached
) $ac_c" 1>&6
9898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9899 ac_cpp='$CXXCPP $CPPFLAGS'
9900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9902 cross_compiling=$ac_cv_prog_cxx_cross
9904 cat > conftest.$ac_ext <<EOF
9905 #line 9906 "configure
"
9906 #include "confdefs.h
"
9912 if { (eval echo configure:9913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9914 glibcpp_cv_func___builtin_sinf_use=yes
9916 echo "configure
: failed program was
:" >&5
9917 cat conftest.$ac_ext >&5
9919 glibcpp_cv_func___builtin_sinf_use=no
9923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9924 ac_cpp='$CPP $CPPFLAGS'
9925 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9926 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9927 cross_compiling=$ac_cv_prog_cc_cross
9933 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
9934 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
9935 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
9936 echo "configure
:9937: checking
for __builtin_sinf linkage
" >&5
9937 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
9938 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
9939 echo $ac_n "(cached
) $ac_c" 1>&6
9942 cat > conftest.$ac_ext <<EOF
9943 #line 9944 "configure
"
9944 #include "confdefs.h
"
9950 if { (eval echo configure:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9952 glibcpp_cv_func___builtin_sinf_link=yes
9954 echo "configure
: failed program was
:" >&5
9955 cat conftest.$ac_ext >&5
9957 glibcpp_cv_func___builtin_sinf_link=no
9964 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
9965 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
9966 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9967 cat >> confdefs.h <<EOF
9968 #define ${ac_tr_func} 1
9975 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
9976 echo "configure
:9977: checking
for __builtin_sin declaration
" >&5
9977 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
9978 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
9979 echo $ac_n "(cached
) $ac_c" 1>&6
9984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9985 ac_cpp='$CXXCPP $CPPFLAGS'
9986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9988 cross_compiling=$ac_cv_prog_cxx_cross
9990 cat > conftest.$ac_ext <<EOF
9991 #line 9992 "configure
"
9992 #include "confdefs.h
"
9998 if { (eval echo configure:9999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10000 glibcpp_cv_func___builtin_sin_use=yes
10002 echo "configure
: failed program was
:" >&5
10003 cat conftest.$ac_ext >&5
10005 glibcpp_cv_func___builtin_sin_use=no
10009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10010 ac_cpp='$CPP $CPPFLAGS'
10011 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10012 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10013 cross_compiling=$ac_cv_prog_cc_cross
10019 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
10020 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
10021 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
10022 echo "configure
:10023: checking
for __builtin_sin linkage
" >&5
10023 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
10024 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
10025 echo $ac_n "(cached
) $ac_c" 1>&6
10028 cat > conftest.$ac_ext <<EOF
10029 #line 10030 "configure
"
10030 #include "confdefs.h
"
10036 if { (eval echo configure:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10038 glibcpp_cv_func___builtin_sin_link=yes
10040 echo "configure
: failed program was
:" >&5
10041 cat conftest.$ac_ext >&5
10043 glibcpp_cv_func___builtin_sin_link=no
10050 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
10051 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
10052 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10053 cat >> confdefs.h <<EOF
10054 #define ${ac_tr_func} 1
10061 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
10062 echo "configure
:10063: checking
for __builtin_sinl declaration
" >&5
10063 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
10064 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
10065 echo $ac_n "(cached
) $ac_c" 1>&6
10070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10071 ac_cpp='$CXXCPP $CPPFLAGS'
10072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10074 cross_compiling=$ac_cv_prog_cxx_cross
10076 cat > conftest.$ac_ext <<EOF
10077 #line 10078 "configure
"
10078 #include "confdefs.h
"
10084 if { (eval echo configure:10085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10086 glibcpp_cv_func___builtin_sinl_use=yes
10088 echo "configure
: failed program was
:" >&5
10089 cat conftest.$ac_ext >&5
10091 glibcpp_cv_func___builtin_sinl_use=no
10095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10096 ac_cpp='$CPP $CPPFLAGS'
10097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10099 cross_compiling=$ac_cv_prog_cc_cross
10105 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
10106 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
10107 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
10108 echo "configure
:10109: checking
for __builtin_sinl linkage
" >&5
10109 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
10110 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
10111 echo $ac_n "(cached
) $ac_c" 1>&6
10114 cat > conftest.$ac_ext <<EOF
10115 #line 10116 "configure
"
10116 #include "confdefs.h
"
10122 if { (eval echo configure:10123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10124 glibcpp_cv_func___builtin_sinl_link=yes
10126 echo "configure
: failed program was
:" >&5
10127 cat conftest.$ac_ext >&5
10129 glibcpp_cv_func___builtin_sinl_link=no
10136 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
10137 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
10138 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10139 cat >> confdefs.h <<EOF
10140 #define ${ac_tr_func} 1
10148 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
10149 echo "configure
:10150: checking
for __builtin_cosf declaration
" >&5
10150 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
10151 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
10152 echo $ac_n "(cached
) $ac_c" 1>&6
10157 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10158 ac_cpp='$CXXCPP $CPPFLAGS'
10159 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10160 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10161 cross_compiling=$ac_cv_prog_cxx_cross
10163 cat > conftest.$ac_ext <<EOF
10164 #line 10165 "configure
"
10165 #include "confdefs.h
"
10171 if { (eval echo configure:10172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10173 glibcpp_cv_func___builtin_cosf_use=yes
10175 echo "configure
: failed program was
:" >&5
10176 cat conftest.$ac_ext >&5
10178 glibcpp_cv_func___builtin_cosf_use=no
10182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10183 ac_cpp='$CPP $CPPFLAGS'
10184 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10185 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10186 cross_compiling=$ac_cv_prog_cc_cross
10192 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
10193 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
10194 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
10195 echo "configure
:10196: checking
for __builtin_cosf linkage
" >&5
10196 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
10197 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
10198 echo $ac_n "(cached
) $ac_c" 1>&6
10201 cat > conftest.$ac_ext <<EOF
10202 #line 10203 "configure
"
10203 #include "confdefs.h
"
10209 if { (eval echo configure:10210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10211 glibcpp_cv_func___builtin_cosf_link=yes
10213 echo "configure
: failed program was
:" >&5
10214 cat conftest.$ac_ext >&5
10216 glibcpp_cv_func___builtin_cosf_link=no
10223 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
10224 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
10225 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10226 cat >> confdefs.h <<EOF
10227 #define ${ac_tr_func} 1
10234 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
10235 echo "configure
:10236: checking
for __builtin_cos declaration
" >&5
10236 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
10237 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
10238 echo $ac_n "(cached
) $ac_c" 1>&6
10243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10244 ac_cpp='$CXXCPP $CPPFLAGS'
10245 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10246 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10247 cross_compiling=$ac_cv_prog_cxx_cross
10249 cat > conftest.$ac_ext <<EOF
10250 #line 10251 "configure
"
10251 #include "confdefs.h
"
10257 if { (eval echo configure:10258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10259 glibcpp_cv_func___builtin_cos_use=yes
10261 echo "configure
: failed program was
:" >&5
10262 cat conftest.$ac_ext >&5
10264 glibcpp_cv_func___builtin_cos_use=no
10268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10269 ac_cpp='$CPP $CPPFLAGS'
10270 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10271 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10272 cross_compiling=$ac_cv_prog_cc_cross
10278 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
10279 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
10280 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
10281 echo "configure
:10282: checking
for __builtin_cos linkage
" >&5
10282 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
10283 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
10284 echo $ac_n "(cached
) $ac_c" 1>&6
10287 cat > conftest.$ac_ext <<EOF
10288 #line 10289 "configure
"
10289 #include "confdefs.h
"
10295 if { (eval echo configure:10296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10297 glibcpp_cv_func___builtin_cos_link=yes
10299 echo "configure
: failed program was
:" >&5
10300 cat conftest.$ac_ext >&5
10302 glibcpp_cv_func___builtin_cos_link=no
10309 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
10310 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
10311 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10312 cat >> confdefs.h <<EOF
10313 #define ${ac_tr_func} 1
10320 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
10321 echo "configure
:10322: checking
for __builtin_cosl declaration
" >&5
10322 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
10323 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
10324 echo $ac_n "(cached
) $ac_c" 1>&6
10329 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10330 ac_cpp='$CXXCPP $CPPFLAGS'
10331 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10332 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10333 cross_compiling=$ac_cv_prog_cxx_cross
10335 cat > conftest.$ac_ext <<EOF
10336 #line 10337 "configure
"
10337 #include "confdefs.h
"
10343 if { (eval echo configure:10344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10345 glibcpp_cv_func___builtin_cosl_use=yes
10347 echo "configure
: failed program was
:" >&5
10348 cat conftest.$ac_ext >&5
10350 glibcpp_cv_func___builtin_cosl_use=no
10354 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10355 ac_cpp='$CPP $CPPFLAGS'
10356 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10357 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10358 cross_compiling=$ac_cv_prog_cc_cross
10364 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
10365 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
10366 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
10367 echo "configure
:10368: checking
for __builtin_cosl linkage
" >&5
10368 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
10369 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
10370 echo $ac_n "(cached
) $ac_c" 1>&6
10373 cat > conftest.$ac_ext <<EOF
10374 #line 10375 "configure
"
10375 #include "confdefs.h
"
10381 if { (eval echo configure:10382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10383 glibcpp_cv_func___builtin_cosl_link=yes
10385 echo "configure
: failed program was
:" >&5
10386 cat conftest.$ac_ext >&5
10388 glibcpp_cv_func___builtin_cosl_link=no
10395 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
10396 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
10397 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10398 cat >> confdefs.h <<EOF
10399 #define ${ac_tr_func} 1
10407 if test x$dummyvar = x"yes"; then
10408 cat >> confdefs.h <<\EOF
10409 #define HAVE___BUILTIN_ABS 1
10412 cat >> confdefs.h <<\EOF
10413 #define HAVE___BUILTIN_LABS 1
10416 cat >> confdefs.h <<\EOF
10417 #define HAVE___BUILTIN_COS 1
10420 cat >> confdefs.h <<\EOF
10421 #define HAVE___BUILTIN_COSF 1
10424 cat >> confdefs.h <<\EOF
10425 #define HAVE___BUILTIN_COSL 1
10428 cat >> confdefs.h <<\EOF
10429 #define HAVE___BUILTIN_FABS 1
10432 cat >> confdefs.h <<\EOF
10433 #define HAVE___BUILTIN_FABSF 1
10436 cat >> confdefs.h <<\EOF
10437 #define HAVE___BUILTIN_FABSL 1
10440 cat >> confdefs.h <<\EOF
10441 #define HAVE___BUILTIN_SIN 1
10444 cat >> confdefs.h <<\EOF
10445 #define HAVE___BUILTIN_SINF 1
10448 cat >> confdefs.h <<\EOF
10449 #define HAVE___BUILTIN_SINL 1
10452 cat >> confdefs.h <<\EOF
10453 #define HAVE___BUILTIN_SQRT 1
10456 cat >> confdefs.h <<\EOF
10457 #define HAVE___BUILTIN_SQRTF 1
10460 cat >> confdefs.h <<\EOF
10461 #define HAVE___BUILTIN_SQRTL 1
10467 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10468 ac_save_CXXFLAGS="$CXXFLAGS"
10469 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10471 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10472 echo "configure
:10473: checking
for sin
in -lm" >&5
10473 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10475 echo $ac_n "(cached
) $ac_c" 1>&6
10477 ac_save_LIBS="$LIBS"
10479 cat > conftest.$ac_ext <<EOF
10480 #line 10481 "configure
"
10481 #include "confdefs.h
"
10482 /* Override any gcc2 internal prototype to avoid an error. */
10483 /* We use char because int might match the return type of a gcc2
10484 builtin and then its argument prototype would still apply. */
10491 if { (eval echo configure:10492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10493 eval "ac_cv_lib_
$ac_lib_var=yes"
10495 echo "configure
: failed program was
:" >&5
10496 cat conftest.$ac_ext >&5
10498 eval "ac_cv_lib_
$ac_lib_var=no
"
10501 LIBS="$ac_save_LIBS"
10504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10505 echo "$ac_t""yes" 1>&6
10508 echo "$ac_t""no
" 1>&6
10511 ac_save_LIBS="$LIBS"
10516 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10517 echo "configure
:10518: checking
for isinf declaration
" >&5
10518 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10519 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10520 echo $ac_n "(cached
) $ac_c" 1>&6
10525 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10526 ac_cpp='$CXXCPP $CPPFLAGS'
10527 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10528 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10529 cross_compiling=$ac_cv_prog_cxx_cross
10531 cat > conftest.$ac_ext <<EOF
10532 #line 10533 "configure
"
10533 #include "confdefs.h
"
10535 #ifdef HAVE_IEEEFP_H
10536 #include <ieeefp.h>
10543 if { (eval echo configure:10544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10545 glibcpp_cv_func_isinf_use=yes
10547 echo "configure
: failed program was
:" >&5
10548 cat conftest.$ac_ext >&5
10550 glibcpp_cv_func_isinf_use=no
10554 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10555 ac_cpp='$CPP $CPPFLAGS'
10556 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10557 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10558 cross_compiling=$ac_cv_prog_cc_cross
10564 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10566 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10567 for ac_func in isinf
10569 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10570 echo "configure
:10571: checking
for $ac_func" >&5
10571 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10572 echo $ac_n "(cached
) $ac_c" 1>&6
10574 cat > conftest.$ac_ext <<EOF
10575 #line 10576 "configure
"
10576 #include "confdefs.h
"
10577 /* System header to define __stub macros and hopefully few prototypes,
10578 which can conflict with char $ac_func(); below. */
10579 #include <assert.h>
10580 /* Override any gcc2 internal prototype to avoid an error. */
10581 /* We use char because int might match the return type of a gcc2
10582 builtin and then its argument prototype would still apply. */
10587 /* The GNU C library defines this for functions which it implements
10588 to always fail with ENOSYS. Some functions are actually named
10589 something starting with __ and the normal name is an alias. */
10590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10598 if { (eval echo configure:10599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10600 eval "ac_cv_func_
$ac_func=yes"
10602 echo "configure
: failed program was
:" >&5
10603 cat conftest.$ac_ext >&5
10605 eval "ac_cv_func_
$ac_func=no
"
10610 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10611 echo "$ac_t""yes" 1>&6
10612 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10613 cat >> confdefs.h <<EOF
10614 #define $ac_tr_func 1
10618 echo "$ac_t""no
" 1>&6
10624 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10625 echo "configure
:10626: checking
for _isinf declaration
" >&5
10626 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10627 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10628 echo $ac_n "(cached
) $ac_c" 1>&6
10633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10634 ac_cpp='$CXXCPP $CPPFLAGS'
10635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10637 cross_compiling=$ac_cv_prog_cxx_cross
10639 cat > conftest.$ac_ext <<EOF
10640 #line 10641 "configure
"
10641 #include "confdefs.h
"
10643 #ifdef HAVE_IEEEFP_H
10644 #include <ieeefp.h>
10651 if { (eval echo configure:10652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10653 glibcpp_cv_func__isinf_use=yes
10655 echo "configure
: failed program was
:" >&5
10656 cat conftest.$ac_ext >&5
10658 glibcpp_cv_func__isinf_use=no
10662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10663 ac_cpp='$CPP $CPPFLAGS'
10664 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10665 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10666 cross_compiling=$ac_cv_prog_cc_cross
10672 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
10674 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
10675 for ac_func in _isinf
10677 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10678 echo "configure
:10679: checking
for $ac_func" >&5
10679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10680 echo $ac_n "(cached
) $ac_c" 1>&6
10682 cat > conftest.$ac_ext <<EOF
10683 #line 10684 "configure
"
10684 #include "confdefs.h
"
10685 /* System header to define __stub macros and hopefully few prototypes,
10686 which can conflict with char $ac_func(); below. */
10687 #include <assert.h>
10688 /* Override any gcc2 internal prototype to avoid an error. */
10689 /* We use char because int might match the return type of a gcc2
10690 builtin and then its argument prototype would still apply. */
10695 /* The GNU C library defines this for functions which it implements
10696 to always fail with ENOSYS. Some functions are actually named
10697 something starting with __ and the normal name is an alias. */
10698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10706 if { (eval echo configure:10707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10708 eval "ac_cv_func_
$ac_func=yes"
10710 echo "configure
: failed program was
:" >&5
10711 cat conftest.$ac_ext >&5
10713 eval "ac_cv_func_
$ac_func=no
"
10718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10719 echo "$ac_t""yes" 1>&6
10720 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10721 cat >> confdefs.h <<EOF
10722 #define $ac_tr_func 1
10726 echo "$ac_t""no
" 1>&6
10735 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
10736 echo "configure
:10737: checking
for isnan declaration
" >&5
10737 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
10738 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
10739 echo $ac_n "(cached
) $ac_c" 1>&6
10744 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10745 ac_cpp='$CXXCPP $CPPFLAGS'
10746 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10747 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10748 cross_compiling=$ac_cv_prog_cxx_cross
10750 cat > conftest.$ac_ext <<EOF
10751 #line 10752 "configure
"
10752 #include "confdefs.h
"
10754 #ifdef HAVE_IEEEFP_H
10755 #include <ieeefp.h>
10762 if { (eval echo configure:10763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10764 glibcpp_cv_func_isnan_use=yes
10766 echo "configure
: failed program was
:" >&5
10767 cat conftest.$ac_ext >&5
10769 glibcpp_cv_func_isnan_use=no
10773 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10774 ac_cpp='$CPP $CPPFLAGS'
10775 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10776 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10777 cross_compiling=$ac_cv_prog_cc_cross
10783 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
10785 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
10786 for ac_func in isnan
10788 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10789 echo "configure
:10790: checking
for $ac_func" >&5
10790 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10791 echo $ac_n "(cached
) $ac_c" 1>&6
10793 cat > conftest.$ac_ext <<EOF
10794 #line 10795 "configure
"
10795 #include "confdefs.h
"
10796 /* System header to define __stub macros and hopefully few prototypes,
10797 which can conflict with char $ac_func(); below. */
10798 #include <assert.h>
10799 /* Override any gcc2 internal prototype to avoid an error. */
10800 /* We use char because int might match the return type of a gcc2
10801 builtin and then its argument prototype would still apply. */
10806 /* The GNU C library defines this for functions which it implements
10807 to always fail with ENOSYS. Some functions are actually named
10808 something starting with __ and the normal name is an alias. */
10809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10817 if { (eval echo configure:10818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10819 eval "ac_cv_func_
$ac_func=yes"
10821 echo "configure
: failed program was
:" >&5
10822 cat conftest.$ac_ext >&5
10824 eval "ac_cv_func_
$ac_func=no
"
10829 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10830 echo "$ac_t""yes" 1>&6
10831 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10832 cat >> confdefs.h <<EOF
10833 #define $ac_tr_func 1
10837 echo "$ac_t""no
" 1>&6
10843 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
10844 echo "configure
:10845: checking
for _isnan declaration
" >&5
10845 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
10846 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
10847 echo $ac_n "(cached
) $ac_c" 1>&6
10852 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10853 ac_cpp='$CXXCPP $CPPFLAGS'
10854 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10855 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10856 cross_compiling=$ac_cv_prog_cxx_cross
10858 cat > conftest.$ac_ext <<EOF
10859 #line 10860 "configure
"
10860 #include "confdefs.h
"
10862 #ifdef HAVE_IEEEFP_H
10863 #include <ieeefp.h>
10870 if { (eval echo configure:10871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10872 glibcpp_cv_func__isnan_use=yes
10874 echo "configure
: failed program was
:" >&5
10875 cat conftest.$ac_ext >&5
10877 glibcpp_cv_func__isnan_use=no
10881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10882 ac_cpp='$CPP $CPPFLAGS'
10883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10885 cross_compiling=$ac_cv_prog_cc_cross
10891 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
10893 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
10894 for ac_func in _isnan
10896 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10897 echo "configure
:10898: checking
for $ac_func" >&5
10898 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10899 echo $ac_n "(cached
) $ac_c" 1>&6
10901 cat > conftest.$ac_ext <<EOF
10902 #line 10903 "configure
"
10903 #include "confdefs.h
"
10904 /* System header to define __stub macros and hopefully few prototypes,
10905 which can conflict with char $ac_func(); below. */
10906 #include <assert.h>
10907 /* Override any gcc2 internal prototype to avoid an error. */
10908 /* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10914 /* The GNU C library defines this for functions which it implements
10915 to always fail with ENOSYS. Some functions are actually named
10916 something starting with __ and the normal name is an alias. */
10917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10925 if { (eval echo configure:10926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10927 eval "ac_cv_func_
$ac_func=yes"
10929 echo "configure
: failed program was
:" >&5
10930 cat conftest.$ac_ext >&5
10932 eval "ac_cv_func_
$ac_func=no
"
10937 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10938 echo "$ac_t""yes" 1>&6
10939 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10940 cat >> confdefs.h <<EOF
10941 #define $ac_tr_func 1
10945 echo "$ac_t""no
" 1>&6
10954 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
10955 echo "configure
:10956: checking
for finite declaration
" >&5
10956 if test x${glibcpp_cv_func_finite_use+set} != xset; then
10957 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
10958 echo $ac_n "(cached
) $ac_c" 1>&6
10963 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10964 ac_cpp='$CXXCPP $CPPFLAGS'
10965 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10966 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10967 cross_compiling=$ac_cv_prog_cxx_cross
10969 cat > conftest.$ac_ext <<EOF
10970 #line 10971 "configure
"
10971 #include "confdefs.h
"
10973 #ifdef HAVE_IEEEFP_H
10974 #include <ieeefp.h>
10981 if { (eval echo configure:10982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10983 glibcpp_cv_func_finite_use=yes
10985 echo "configure
: failed program was
:" >&5
10986 cat conftest.$ac_ext >&5
10988 glibcpp_cv_func_finite_use=no
10992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10993 ac_cpp='$CPP $CPPFLAGS'
10994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10996 cross_compiling=$ac_cv_prog_cc_cross
11002 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11004 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11005 for ac_func in finite
11007 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11008 echo "configure
:11009: checking
for $ac_func" >&5
11009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11010 echo $ac_n "(cached
) $ac_c" 1>&6
11012 cat > conftest.$ac_ext <<EOF
11013 #line 11014 "configure
"
11014 #include "confdefs.h
"
11015 /* System header to define __stub macros and hopefully few prototypes,
11016 which can conflict with char $ac_func(); below. */
11017 #include <assert.h>
11018 /* Override any gcc2 internal prototype to avoid an error. */
11019 /* We use char because int might match the return type of a gcc2
11020 builtin and then its argument prototype would still apply. */
11025 /* The GNU C library defines this for functions which it implements
11026 to always fail with ENOSYS. Some functions are actually named
11027 something starting with __ and the normal name is an alias. */
11028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11036 if { (eval echo configure:11037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11038 eval "ac_cv_func_
$ac_func=yes"
11040 echo "configure
: failed program was
:" >&5
11041 cat conftest.$ac_ext >&5
11043 eval "ac_cv_func_
$ac_func=no
"
11048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11049 echo "$ac_t""yes" 1>&6
11050 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11051 cat >> confdefs.h <<EOF
11052 #define $ac_tr_func 1
11056 echo "$ac_t""no
" 1>&6
11062 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11063 echo "configure
:11064: checking
for _finite declaration
" >&5
11064 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11065 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11066 echo $ac_n "(cached
) $ac_c" 1>&6
11071 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11072 ac_cpp='$CXXCPP $CPPFLAGS'
11073 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11074 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11075 cross_compiling=$ac_cv_prog_cxx_cross
11077 cat > conftest.$ac_ext <<EOF
11078 #line 11079 "configure
"
11079 #include "confdefs.h
"
11081 #ifdef HAVE_IEEEFP_H
11082 #include <ieeefp.h>
11089 if { (eval echo configure:11090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11091 glibcpp_cv_func__finite_use=yes
11093 echo "configure
: failed program was
:" >&5
11094 cat conftest.$ac_ext >&5
11096 glibcpp_cv_func__finite_use=no
11100 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11101 ac_cpp='$CPP $CPPFLAGS'
11102 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11103 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11104 cross_compiling=$ac_cv_prog_cc_cross
11110 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11112 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11113 for ac_func in _finite
11115 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11116 echo "configure
:11117: checking
for $ac_func" >&5
11117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11118 echo $ac_n "(cached
) $ac_c" 1>&6
11120 cat > conftest.$ac_ext <<EOF
11121 #line 11122 "configure
"
11122 #include "confdefs.h
"
11123 /* System header to define __stub macros and hopefully few prototypes,
11124 which can conflict with char $ac_func(); below. */
11125 #include <assert.h>
11126 /* Override any gcc2 internal prototype to avoid an error. */
11127 /* We use char because int might match the return type of a gcc2
11128 builtin and then its argument prototype would still apply. */
11133 /* The GNU C library defines this for functions which it implements
11134 to always fail with ENOSYS. Some functions are actually named
11135 something starting with __ and the normal name is an alias. */
11136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11144 if { (eval echo configure:11145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11146 eval "ac_cv_func_
$ac_func=yes"
11148 echo "configure
: failed program was
:" >&5
11149 cat conftest.$ac_ext >&5
11151 eval "ac_cv_func_
$ac_func=no
"
11156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11157 echo "$ac_t""yes" 1>&6
11158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11159 cat >> confdefs.h <<EOF
11160 #define $ac_tr_func 1
11164 echo "$ac_t""no
" 1>&6
11173 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11174 echo "configure
:11175: checking
for copysign declaration
" >&5
11175 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11176 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11177 echo $ac_n "(cached
) $ac_c" 1>&6
11182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11183 ac_cpp='$CXXCPP $CPPFLAGS'
11184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11186 cross_compiling=$ac_cv_prog_cxx_cross
11188 cat > conftest.$ac_ext <<EOF
11189 #line 11190 "configure
"
11190 #include "confdefs.h
"
11196 if { (eval echo configure:11197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11198 glibcpp_cv_func_copysign_use=yes
11200 echo "configure
: failed program was
:" >&5
11201 cat conftest.$ac_ext >&5
11203 glibcpp_cv_func_copysign_use=no
11207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11208 ac_cpp='$CPP $CPPFLAGS'
11209 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11210 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11211 cross_compiling=$ac_cv_prog_cc_cross
11217 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11219 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11220 for ac_func in copysign
11222 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11223 echo "configure
:11224: checking
for $ac_func" >&5
11224 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11225 echo $ac_n "(cached
) $ac_c" 1>&6
11227 cat > conftest.$ac_ext <<EOF
11228 #line 11229 "configure
"
11229 #include "confdefs.h
"
11230 /* System header to define __stub macros and hopefully few prototypes,
11231 which can conflict with char $ac_func(); below. */
11232 #include <assert.h>
11233 /* Override any gcc2 internal prototype to avoid an error. */
11234 /* We use char because int might match the return type of a gcc2
11235 builtin and then its argument prototype would still apply. */
11240 /* The GNU C library defines this for functions which it implements
11241 to always fail with ENOSYS. Some functions are actually named
11242 something starting with __ and the normal name is an alias. */
11243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11251 if { (eval echo configure:11252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11253 eval "ac_cv_func_
$ac_func=yes"
11255 echo "configure
: failed program was
:" >&5
11256 cat conftest.$ac_ext >&5
11258 eval "ac_cv_func_
$ac_func=no
"
11263 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11264 echo "$ac_t""yes" 1>&6
11265 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11266 cat >> confdefs.h <<EOF
11267 #define $ac_tr_func 1
11271 echo "$ac_t""no
" 1>&6
11277 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11278 echo "configure
:11279: checking
for _copysign declaration
" >&5
11279 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11280 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11281 echo $ac_n "(cached
) $ac_c" 1>&6
11286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11287 ac_cpp='$CXXCPP $CPPFLAGS'
11288 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11289 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11290 cross_compiling=$ac_cv_prog_cxx_cross
11292 cat > conftest.$ac_ext <<EOF
11293 #line 11294 "configure
"
11294 #include "confdefs.h
"
11300 if { (eval echo configure:11301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11302 glibcpp_cv_func__copysign_use=yes
11304 echo "configure
: failed program was
:" >&5
11305 cat conftest.$ac_ext >&5
11307 glibcpp_cv_func__copysign_use=no
11311 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11312 ac_cpp='$CPP $CPPFLAGS'
11313 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11314 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11315 cross_compiling=$ac_cv_prog_cc_cross
11321 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11323 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11324 for ac_func in _copysign
11326 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11327 echo "configure
:11328: checking
for $ac_func" >&5
11328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11329 echo $ac_n "(cached
) $ac_c" 1>&6
11331 cat > conftest.$ac_ext <<EOF
11332 #line 11333 "configure
"
11333 #include "confdefs.h
"
11334 /* System header to define __stub macros and hopefully few prototypes,
11335 which can conflict with char $ac_func(); below. */
11336 #include <assert.h>
11337 /* Override any gcc2 internal prototype to avoid an error. */
11338 /* We use char because int might match the return type of a gcc2
11339 builtin and then its argument prototype would still apply. */
11344 /* The GNU C library defines this for functions which it implements
11345 to always fail with ENOSYS. Some functions are actually named
11346 something starting with __ and the normal name is an alias. */
11347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11355 if { (eval echo configure:11356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11357 eval "ac_cv_func_
$ac_func=yes"
11359 echo "configure
: failed program was
:" >&5
11360 cat conftest.$ac_ext >&5
11362 eval "ac_cv_func_
$ac_func=no
"
11367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11368 echo "$ac_t""yes" 1>&6
11369 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11370 cat >> confdefs.h <<EOF
11371 #define $ac_tr_func 1
11375 echo "$ac_t""no
" 1>&6
11384 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11385 echo "configure
:11386: checking
for sincos declaration
" >&5
11386 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11387 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11388 echo $ac_n "(cached
) $ac_c" 1>&6
11393 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11394 ac_cpp='$CXXCPP $CPPFLAGS'
11395 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11396 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11397 cross_compiling=$ac_cv_prog_cxx_cross
11399 cat > conftest.$ac_ext <<EOF
11400 #line 11401 "configure
"
11401 #include "confdefs.h
"
11407 if { (eval echo configure:11408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11409 glibcpp_cv_func_sincos_use=yes
11411 echo "configure
: failed program was
:" >&5
11412 cat conftest.$ac_ext >&5
11414 glibcpp_cv_func_sincos_use=no
11418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11419 ac_cpp='$CPP $CPPFLAGS'
11420 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11421 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11422 cross_compiling=$ac_cv_prog_cc_cross
11428 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11430 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11431 for ac_func in sincos
11433 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11434 echo "configure
:11435: checking
for $ac_func" >&5
11435 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11436 echo $ac_n "(cached
) $ac_c" 1>&6
11438 cat > conftest.$ac_ext <<EOF
11439 #line 11440 "configure
"
11440 #include "confdefs.h
"
11441 /* System header to define __stub macros and hopefully few prototypes,
11442 which can conflict with char $ac_func(); below. */
11443 #include <assert.h>
11444 /* Override any gcc2 internal prototype to avoid an error. */
11445 /* We use char because int might match the return type of a gcc2
11446 builtin and then its argument prototype would still apply. */
11451 /* The GNU C library defines this for functions which it implements
11452 to always fail with ENOSYS. Some functions are actually named
11453 something starting with __ and the normal name is an alias. */
11454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11462 if { (eval echo configure:11463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11464 eval "ac_cv_func_
$ac_func=yes"
11466 echo "configure
: failed program was
:" >&5
11467 cat conftest.$ac_ext >&5
11469 eval "ac_cv_func_
$ac_func=no
"
11474 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11475 echo "$ac_t""yes" 1>&6
11476 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11477 cat >> confdefs.h <<EOF
11478 #define $ac_tr_func 1
11482 echo "$ac_t""no
" 1>&6
11488 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11489 echo "configure
:11490: checking
for _sincos declaration
" >&5
11490 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11491 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11492 echo $ac_n "(cached
) $ac_c" 1>&6
11497 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11498 ac_cpp='$CXXCPP $CPPFLAGS'
11499 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11500 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11501 cross_compiling=$ac_cv_prog_cxx_cross
11503 cat > conftest.$ac_ext <<EOF
11504 #line 11505 "configure
"
11505 #include "confdefs.h
"
11511 if { (eval echo configure:11512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11513 glibcpp_cv_func__sincos_use=yes
11515 echo "configure
: failed program was
:" >&5
11516 cat conftest.$ac_ext >&5
11518 glibcpp_cv_func__sincos_use=no
11522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11523 ac_cpp='$CPP $CPPFLAGS'
11524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11526 cross_compiling=$ac_cv_prog_cc_cross
11532 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11534 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11535 for ac_func in _sincos
11537 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11538 echo "configure
:11539: checking
for $ac_func" >&5
11539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11540 echo $ac_n "(cached
) $ac_c" 1>&6
11542 cat > conftest.$ac_ext <<EOF
11543 #line 11544 "configure
"
11544 #include "confdefs.h
"
11545 /* System header to define __stub macros and hopefully few prototypes,
11546 which can conflict with char $ac_func(); below. */
11547 #include <assert.h>
11548 /* Override any gcc2 internal prototype to avoid an error. */
11549 /* We use char because int might match the return type of a gcc2
11550 builtin and then its argument prototype would still apply. */
11555 /* The GNU C library defines this for functions which it implements
11556 to always fail with ENOSYS. Some functions are actually named
11557 something starting with __ and the normal name is an alias. */
11558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11566 if { (eval echo configure:11567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11568 eval "ac_cv_func_
$ac_func=yes"
11570 echo "configure
: failed program was
:" >&5
11571 cat conftest.$ac_ext >&5
11573 eval "ac_cv_func_
$ac_func=no
"
11578 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11579 echo "$ac_t""yes" 1>&6
11580 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11581 cat >> confdefs.h <<EOF
11582 #define $ac_tr_func 1
11586 echo "$ac_t""no
" 1>&6
11595 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11596 echo "configure
:11597: checking
for fpclass declaration
" >&5
11597 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11598 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11599 echo $ac_n "(cached
) $ac_c" 1>&6
11604 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11605 ac_cpp='$CXXCPP $CPPFLAGS'
11606 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11607 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11608 cross_compiling=$ac_cv_prog_cxx_cross
11610 cat > conftest.$ac_ext <<EOF
11611 #line 11612 "configure
"
11612 #include "confdefs.h
"
11614 #ifdef HAVE_IEEEFP_H
11615 #include <ieeefp.h>
11622 if { (eval echo configure:11623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11624 glibcpp_cv_func_fpclass_use=yes
11626 echo "configure
: failed program was
:" >&5
11627 cat conftest.$ac_ext >&5
11629 glibcpp_cv_func_fpclass_use=no
11633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11634 ac_cpp='$CPP $CPPFLAGS'
11635 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11636 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11637 cross_compiling=$ac_cv_prog_cc_cross
11643 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11645 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11646 for ac_func in fpclass
11648 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11649 echo "configure
:11650: checking
for $ac_func" >&5
11650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11651 echo $ac_n "(cached
) $ac_c" 1>&6
11653 cat > conftest.$ac_ext <<EOF
11654 #line 11655 "configure
"
11655 #include "confdefs.h
"
11656 /* System header to define __stub macros and hopefully few prototypes,
11657 which can conflict with char $ac_func(); below. */
11658 #include <assert.h>
11659 /* Override any gcc2 internal prototype to avoid an error. */
11660 /* We use char because int might match the return type of a gcc2
11661 builtin and then its argument prototype would still apply. */
11666 /* The GNU C library defines this for functions which it implements
11667 to always fail with ENOSYS. Some functions are actually named
11668 something starting with __ and the normal name is an alias. */
11669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11677 if { (eval echo configure:11678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11679 eval "ac_cv_func_
$ac_func=yes"
11681 echo "configure
: failed program was
:" >&5
11682 cat conftest.$ac_ext >&5
11684 eval "ac_cv_func_
$ac_func=no
"
11689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11690 echo "$ac_t""yes" 1>&6
11691 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11692 cat >> confdefs.h <<EOF
11693 #define $ac_tr_func 1
11697 echo "$ac_t""no
" 1>&6
11703 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
11704 echo "configure
:11705: checking
for _fpclass declaration
" >&5
11705 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
11706 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
11707 echo $ac_n "(cached
) $ac_c" 1>&6
11712 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11713 ac_cpp='$CXXCPP $CPPFLAGS'
11714 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11715 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11716 cross_compiling=$ac_cv_prog_cxx_cross
11718 cat > conftest.$ac_ext <<EOF
11719 #line 11720 "configure
"
11720 #include "confdefs.h
"
11722 #ifdef HAVE_IEEEFP_H
11723 #include <ieeefp.h>
11730 if { (eval echo configure:11731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11732 glibcpp_cv_func__fpclass_use=yes
11734 echo "configure
: failed program was
:" >&5
11735 cat conftest.$ac_ext >&5
11737 glibcpp_cv_func__fpclass_use=no
11741 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11742 ac_cpp='$CPP $CPPFLAGS'
11743 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11744 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11745 cross_compiling=$ac_cv_prog_cc_cross
11751 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
11753 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
11754 for ac_func in _fpclass
11756 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11757 echo "configure
:11758: checking
for $ac_func" >&5
11758 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11759 echo $ac_n "(cached
) $ac_c" 1>&6
11761 cat > conftest.$ac_ext <<EOF
11762 #line 11763 "configure
"
11763 #include "confdefs.h
"
11764 /* System header to define __stub macros and hopefully few prototypes,
11765 which can conflict with char $ac_func(); below. */
11766 #include <assert.h>
11767 /* Override any gcc2 internal prototype to avoid an error. */
11768 /* We use char because int might match the return type of a gcc2
11769 builtin and then its argument prototype would still apply. */
11774 /* The GNU C library defines this for functions which it implements
11775 to always fail with ENOSYS. Some functions are actually named
11776 something starting with __ and the normal name is an alias. */
11777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11785 if { (eval echo configure:11786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11787 eval "ac_cv_func_
$ac_func=yes"
11789 echo "configure
: failed program was
:" >&5
11790 cat conftest.$ac_ext >&5
11792 eval "ac_cv_func_
$ac_func=no
"
11797 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11798 echo "$ac_t""yes" 1>&6
11799 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11800 cat >> confdefs.h <<EOF
11801 #define $ac_tr_func 1
11805 echo "$ac_t""no
" 1>&6
11814 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
11815 echo "configure
:11816: checking
for qfpclass declaration
" >&5
11816 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
11817 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
11818 echo $ac_n "(cached
) $ac_c" 1>&6
11823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11824 ac_cpp='$CXXCPP $CPPFLAGS'
11825 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11826 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11827 cross_compiling=$ac_cv_prog_cxx_cross
11829 cat > conftest.$ac_ext <<EOF
11830 #line 11831 "configure
"
11831 #include "confdefs.h
"
11833 #ifdef HAVE_IEEEFP_H
11834 #include <ieeefp.h>
11841 if { (eval echo configure:11842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11843 glibcpp_cv_func_qfpclass_use=yes
11845 echo "configure
: failed program was
:" >&5
11846 cat conftest.$ac_ext >&5
11848 glibcpp_cv_func_qfpclass_use=no
11852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11853 ac_cpp='$CPP $CPPFLAGS'
11854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11856 cross_compiling=$ac_cv_prog_cc_cross
11862 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
11864 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
11865 for ac_func in qfpclass
11867 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11868 echo "configure
:11869: checking
for $ac_func" >&5
11869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11870 echo $ac_n "(cached
) $ac_c" 1>&6
11872 cat > conftest.$ac_ext <<EOF
11873 #line 11874 "configure
"
11874 #include "confdefs.h
"
11875 /* System header to define __stub macros and hopefully few prototypes,
11876 which can conflict with char $ac_func(); below. */
11877 #include <assert.h>
11878 /* Override any gcc2 internal prototype to avoid an error. */
11879 /* We use char because int might match the return type of a gcc2
11880 builtin and then its argument prototype would still apply. */
11885 /* The GNU C library defines this for functions which it implements
11886 to always fail with ENOSYS. Some functions are actually named
11887 something starting with __ and the normal name is an alias. */
11888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11896 if { (eval echo configure:11897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11898 eval "ac_cv_func_
$ac_func=yes"
11900 echo "configure
: failed program was
:" >&5
11901 cat conftest.$ac_ext >&5
11903 eval "ac_cv_func_
$ac_func=no
"
11908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11909 echo "$ac_t""yes" 1>&6
11910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11911 cat >> confdefs.h <<EOF
11912 #define $ac_tr_func 1
11916 echo "$ac_t""no
" 1>&6
11922 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
11923 echo "configure
:11924: checking
for _qfpclass declaration
" >&5
11924 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
11925 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
11926 echo $ac_n "(cached
) $ac_c" 1>&6
11931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11932 ac_cpp='$CXXCPP $CPPFLAGS'
11933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11935 cross_compiling=$ac_cv_prog_cxx_cross
11937 cat > conftest.$ac_ext <<EOF
11938 #line 11939 "configure
"
11939 #include "confdefs.h
"
11941 #ifdef HAVE_IEEEFP_H
11942 #include <ieeefp.h>
11949 if { (eval echo configure:11950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11951 glibcpp_cv_func__qfpclass_use=yes
11953 echo "configure
: failed program was
:" >&5
11954 cat conftest.$ac_ext >&5
11956 glibcpp_cv_func__qfpclass_use=no
11960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11961 ac_cpp='$CPP $CPPFLAGS'
11962 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11963 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11964 cross_compiling=$ac_cv_prog_cc_cross
11970 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
11972 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
11973 for ac_func in _qfpclass
11975 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11976 echo "configure
:11977: checking
for $ac_func" >&5
11977 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11978 echo $ac_n "(cached
) $ac_c" 1>&6
11980 cat > conftest.$ac_ext <<EOF
11981 #line 11982 "configure
"
11982 #include "confdefs.h
"
11983 /* System header to define __stub macros and hopefully few prototypes,
11984 which can conflict with char $ac_func(); below. */
11985 #include <assert.h>
11986 /* Override any gcc2 internal prototype to avoid an error. */
11987 /* We use char because int might match the return type of a gcc2
11988 builtin and then its argument prototype would still apply. */
11993 /* The GNU C library defines this for functions which it implements
11994 to always fail with ENOSYS. Some functions are actually named
11995 something starting with __ and the normal name is an alias. */
11996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12004 if { (eval echo configure:12005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12006 eval "ac_cv_func_
$ac_func=yes"
12008 echo "configure
: failed program was
:" >&5
12009 cat conftest.$ac_ext >&5
12011 eval "ac_cv_func_
$ac_func=no
"
12016 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12017 echo "$ac_t""yes" 1>&6
12018 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12019 cat >> confdefs.h <<EOF
12020 #define $ac_tr_func 1
12024 echo "$ac_t""no
" 1>&6
12033 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12034 echo "configure
:12035: checking
for hypot declaration
" >&5
12035 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12036 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12037 echo $ac_n "(cached
) $ac_c" 1>&6
12042 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12043 ac_cpp='$CXXCPP $CPPFLAGS'
12044 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12045 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12046 cross_compiling=$ac_cv_prog_cxx_cross
12048 cat > conftest.$ac_ext <<EOF
12049 #line 12050 "configure
"
12050 #include "confdefs.h
"
12056 if { (eval echo configure:12057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12058 glibcpp_cv_func_hypot_use=yes
12060 echo "configure
: failed program was
:" >&5
12061 cat conftest.$ac_ext >&5
12063 glibcpp_cv_func_hypot_use=no
12067 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12068 ac_cpp='$CPP $CPPFLAGS'
12069 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12070 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12071 cross_compiling=$ac_cv_prog_cc_cross
12077 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12079 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12080 for ac_func in hypot
12082 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12083 echo "configure
:12084: checking
for $ac_func" >&5
12084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12085 echo $ac_n "(cached
) $ac_c" 1>&6
12087 cat > conftest.$ac_ext <<EOF
12088 #line 12089 "configure
"
12089 #include "confdefs.h
"
12090 /* System header to define __stub macros and hopefully few prototypes,
12091 which can conflict with char $ac_func(); below. */
12092 #include <assert.h>
12093 /* Override any gcc2 internal prototype to avoid an error. */
12094 /* We use char because int might match the return type of a gcc2
12095 builtin and then its argument prototype would still apply. */
12100 /* The GNU C library defines this for functions which it implements
12101 to always fail with ENOSYS. Some functions are actually named
12102 something starting with __ and the normal name is an alias. */
12103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12111 if { (eval echo configure:12112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12113 eval "ac_cv_func_
$ac_func=yes"
12115 echo "configure
: failed program was
:" >&5
12116 cat conftest.$ac_ext >&5
12118 eval "ac_cv_func_
$ac_func=no
"
12123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12124 echo "$ac_t""yes" 1>&6
12125 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12126 cat >> confdefs.h <<EOF
12127 #define $ac_tr_func 1
12131 echo "$ac_t""no
" 1>&6
12137 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12138 echo "configure
:12139: checking
for _hypot declaration
" >&5
12139 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12140 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12141 echo $ac_n "(cached
) $ac_c" 1>&6
12146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12147 ac_cpp='$CXXCPP $CPPFLAGS'
12148 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12149 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12150 cross_compiling=$ac_cv_prog_cxx_cross
12152 cat > conftest.$ac_ext <<EOF
12153 #line 12154 "configure
"
12154 #include "confdefs.h
"
12160 if { (eval echo configure:12161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12162 glibcpp_cv_func__hypot_use=yes
12164 echo "configure
: failed program was
:" >&5
12165 cat conftest.$ac_ext >&5
12167 glibcpp_cv_func__hypot_use=no
12171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12172 ac_cpp='$CPP $CPPFLAGS'
12173 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12174 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12175 cross_compiling=$ac_cv_prog_cc_cross
12181 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12183 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12184 for ac_func in _hypot
12186 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12187 echo "configure
:12188: checking
for $ac_func" >&5
12188 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12189 echo $ac_n "(cached
) $ac_c" 1>&6
12191 cat > conftest.$ac_ext <<EOF
12192 #line 12193 "configure
"
12193 #include "confdefs.h
"
12194 /* System header to define __stub macros and hopefully few prototypes,
12195 which can conflict with char $ac_func(); below. */
12196 #include <assert.h>
12197 /* Override any gcc2 internal prototype to avoid an error. */
12198 /* We use char because int might match the return type of a gcc2
12199 builtin and then its argument prototype would still apply. */
12204 /* The GNU C library defines this for functions which it implements
12205 to always fail with ENOSYS. Some functions are actually named
12206 something starting with __ and the normal name is an alias. */
12207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12215 if { (eval echo configure:12216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12217 eval "ac_cv_func_
$ac_func=yes"
12219 echo "configure
: failed program was
:" >&5
12220 cat conftest.$ac_ext >&5
12222 eval "ac_cv_func_
$ac_func=no
"
12227 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12228 echo "$ac_t""yes" 1>&6
12229 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12230 cat >> confdefs.h <<EOF
12231 #define $ac_tr_func 1
12235 echo "$ac_t""no
" 1>&6
12244 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12245 echo "configure
:12246: checking
for float trig functions
" >&5
12246 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12247 echo $ac_n "(cached
) $ac_c" 1>&6
12252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12253 ac_cpp='$CXXCPP $CPPFLAGS'
12254 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12255 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12256 cross_compiling=$ac_cv_prog_cxx_cross
12258 cat > conftest.$ac_ext <<EOF
12259 #line 12260 "configure
"
12260 #include "confdefs.h
"
12263 `for x in acosf asinf atanf \
12265 coshf sinhf tanhf; do echo "$x (0);"; done`
12268 if { (eval echo configure:12269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12270 glibcpp_cv_func_float_trig_use=yes
12272 echo "configure
: failed program was
:" >&5
12273 cat conftest.$ac_ext >&5
12275 glibcpp_cv_func_float_trig_use=no
12279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12280 ac_cpp='$CPP $CPPFLAGS'
12281 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12282 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12283 cross_compiling=$ac_cv_prog_cc_cross
12287 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12288 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12289 for ac_func in acosf asinf atanf \
12293 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12294 echo "configure
:12295: checking
for $ac_func" >&5
12295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12296 echo $ac_n "(cached
) $ac_c" 1>&6
12298 cat > conftest.$ac_ext <<EOF
12299 #line 12300 "configure
"
12300 #include "confdefs.h
"
12301 /* System header to define __stub macros and hopefully few prototypes,
12302 which can conflict with char $ac_func(); below. */
12303 #include <assert.h>
12304 /* Override any gcc2 internal prototype to avoid an error. */
12305 /* We use char because int might match the return type of a gcc2
12306 builtin and then its argument prototype would still apply. */
12311 /* The GNU C library defines this for functions which it implements
12312 to always fail with ENOSYS. Some functions are actually named
12313 something starting with __ and the normal name is an alias. */
12314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12322 if { (eval echo configure:12323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12324 eval "ac_cv_func_
$ac_func=yes"
12326 echo "configure
: failed program was
:" >&5
12327 cat conftest.$ac_ext >&5
12329 eval "ac_cv_func_
$ac_func=no
"
12334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12335 echo "$ac_t""yes" 1>&6
12336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12337 cat >> confdefs.h <<EOF
12338 #define $ac_tr_func 1
12342 echo "$ac_t""no
" 1>&6
12349 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12350 echo "configure
:12351: checking
for float round functions
" >&5
12351 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12352 echo $ac_n "(cached
) $ac_c" 1>&6
12357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12358 ac_cpp='$CXXCPP $CPPFLAGS'
12359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12361 cross_compiling=$ac_cv_prog_cxx_cross
12363 cat > conftest.$ac_ext <<EOF
12364 #line 12365 "configure
"
12365 #include "confdefs.h
"
12368 `for x in ceilf floorf; do echo "$x (0);"; done`
12371 if { (eval echo configure:12372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12373 glibcpp_cv_func_float_round_use=yes
12375 echo "configure
: failed program was
:" >&5
12376 cat conftest.$ac_ext >&5
12378 glibcpp_cv_func_float_round_use=no
12382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12383 ac_cpp='$CPP $CPPFLAGS'
12384 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12385 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12386 cross_compiling=$ac_cv_prog_cc_cross
12390 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12391 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12392 for ac_func in ceilf floorf
12394 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12395 echo "configure
:12396: checking
for $ac_func" >&5
12396 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12397 echo $ac_n "(cached
) $ac_c" 1>&6
12399 cat > conftest.$ac_ext <<EOF
12400 #line 12401 "configure
"
12401 #include "confdefs.h
"
12402 /* System header to define __stub macros and hopefully few prototypes,
12403 which can conflict with char $ac_func(); below. */
12404 #include <assert.h>
12405 /* Override any gcc2 internal prototype to avoid an error. */
12406 /* We use char because int might match the return type of a gcc2
12407 builtin and then its argument prototype would still apply. */
12412 /* The GNU C library defines this for functions which it implements
12413 to always fail with ENOSYS. Some functions are actually named
12414 something starting with __ and the normal name is an alias. */
12415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12423 if { (eval echo configure:12424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12425 eval "ac_cv_func_
$ac_func=yes"
12427 echo "configure
: failed program was
:" >&5
12428 cat conftest.$ac_ext >&5
12430 eval "ac_cv_func_
$ac_func=no
"
12435 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12436 echo "$ac_t""yes" 1>&6
12437 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12438 cat >> confdefs.h <<EOF
12439 #define $ac_tr_func 1
12443 echo "$ac_t""no
" 1>&6
12451 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12452 echo "configure
:12453: checking
for expf declaration
" >&5
12453 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12454 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12455 echo $ac_n "(cached
) $ac_c" 1>&6
12460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12461 ac_cpp='$CXXCPP $CPPFLAGS'
12462 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12463 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12464 cross_compiling=$ac_cv_prog_cxx_cross
12466 cat > conftest.$ac_ext <<EOF
12467 #line 12468 "configure
"
12468 #include "confdefs.h
"
12470 #ifdef HAVE_IEEEFP_H
12471 #include <ieeefp.h>
12478 if { (eval echo configure:12479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12480 glibcpp_cv_func_expf_use=yes
12482 echo "configure
: failed program was
:" >&5
12483 cat conftest.$ac_ext >&5
12485 glibcpp_cv_func_expf_use=no
12489 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12490 ac_cpp='$CPP $CPPFLAGS'
12491 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12492 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12493 cross_compiling=$ac_cv_prog_cc_cross
12499 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12501 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12502 for ac_func in expf
12504 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12505 echo "configure
:12506: checking
for $ac_func" >&5
12506 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12507 echo $ac_n "(cached
) $ac_c" 1>&6
12509 cat > conftest.$ac_ext <<EOF
12510 #line 12511 "configure
"
12511 #include "confdefs.h
"
12512 /* System header to define __stub macros and hopefully few prototypes,
12513 which can conflict with char $ac_func(); below. */
12514 #include <assert.h>
12515 /* Override any gcc2 internal prototype to avoid an error. */
12516 /* We use char because int might match the return type of a gcc2
12517 builtin and then its argument prototype would still apply. */
12522 /* The GNU C library defines this for functions which it implements
12523 to always fail with ENOSYS. Some functions are actually named
12524 something starting with __ and the normal name is an alias. */
12525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12533 if { (eval echo configure:12534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12535 eval "ac_cv_func_
$ac_func=yes"
12537 echo "configure
: failed program was
:" >&5
12538 cat conftest.$ac_ext >&5
12540 eval "ac_cv_func_
$ac_func=no
"
12545 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12546 echo "$ac_t""yes" 1>&6
12547 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12548 cat >> confdefs.h <<EOF
12549 #define $ac_tr_func 1
12553 echo "$ac_t""no
" 1>&6
12559 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12560 echo "configure
:12561: checking
for _expf declaration
" >&5
12561 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12562 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12563 echo $ac_n "(cached
) $ac_c" 1>&6
12568 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12569 ac_cpp='$CXXCPP $CPPFLAGS'
12570 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12571 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12572 cross_compiling=$ac_cv_prog_cxx_cross
12574 cat > conftest.$ac_ext <<EOF
12575 #line 12576 "configure
"
12576 #include "confdefs.h
"
12578 #ifdef HAVE_IEEEFP_H
12579 #include <ieeefp.h>
12586 if { (eval echo configure:12587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12588 glibcpp_cv_func__expf_use=yes
12590 echo "configure
: failed program was
:" >&5
12591 cat conftest.$ac_ext >&5
12593 glibcpp_cv_func__expf_use=no
12597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12598 ac_cpp='$CPP $CPPFLAGS'
12599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12601 cross_compiling=$ac_cv_prog_cc_cross
12607 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12609 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12610 for ac_func in _expf
12612 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12613 echo "configure
:12614: checking
for $ac_func" >&5
12614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12615 echo $ac_n "(cached
) $ac_c" 1>&6
12617 cat > conftest.$ac_ext <<EOF
12618 #line 12619 "configure
"
12619 #include "confdefs.h
"
12620 /* System header to define __stub macros and hopefully few prototypes,
12621 which can conflict with char $ac_func(); below. */
12622 #include <assert.h>
12623 /* Override any gcc2 internal prototype to avoid an error. */
12624 /* We use char because int might match the return type of a gcc2
12625 builtin and then its argument prototype would still apply. */
12630 /* The GNU C library defines this for functions which it implements
12631 to always fail with ENOSYS. Some functions are actually named
12632 something starting with __ and the normal name is an alias. */
12633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12641 if { (eval echo configure:12642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12643 eval "ac_cv_func_
$ac_func=yes"
12645 echo "configure
: failed program was
:" >&5
12646 cat conftest.$ac_ext >&5
12648 eval "ac_cv_func_
$ac_func=no
"
12653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12654 echo "$ac_t""yes" 1>&6
12655 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12656 cat >> confdefs.h <<EOF
12657 #define $ac_tr_func 1
12661 echo "$ac_t""no
" 1>&6
12670 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
12671 echo "configure
:12672: checking
for isnanf declaration
" >&5
12672 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
12673 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
12674 echo $ac_n "(cached
) $ac_c" 1>&6
12679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12680 ac_cpp='$CXXCPP $CPPFLAGS'
12681 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12682 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12683 cross_compiling=$ac_cv_prog_cxx_cross
12685 cat > conftest.$ac_ext <<EOF
12686 #line 12687 "configure
"
12687 #include "confdefs.h
"
12689 #ifdef HAVE_IEEEFP_H
12690 #include <ieeefp.h>
12697 if { (eval echo configure:12698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12699 glibcpp_cv_func_isnanf_use=yes
12701 echo "configure
: failed program was
:" >&5
12702 cat conftest.$ac_ext >&5
12704 glibcpp_cv_func_isnanf_use=no
12708 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12709 ac_cpp='$CPP $CPPFLAGS'
12710 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12711 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12712 cross_compiling=$ac_cv_prog_cc_cross
12718 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
12720 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
12721 for ac_func in isnanf
12723 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12724 echo "configure
:12725: checking
for $ac_func" >&5
12725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12726 echo $ac_n "(cached
) $ac_c" 1>&6
12728 cat > conftest.$ac_ext <<EOF
12729 #line 12730 "configure
"
12730 #include "confdefs.h
"
12731 /* System header to define __stub macros and hopefully few prototypes,
12732 which can conflict with char $ac_func(); below. */
12733 #include <assert.h>
12734 /* Override any gcc2 internal prototype to avoid an error. */
12735 /* We use char because int might match the return type of a gcc2
12736 builtin and then its argument prototype would still apply. */
12741 /* The GNU C library defines this for functions which it implements
12742 to always fail with ENOSYS. Some functions are actually named
12743 something starting with __ and the normal name is an alias. */
12744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12752 if { (eval echo configure:12753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12754 eval "ac_cv_func_
$ac_func=yes"
12756 echo "configure
: failed program was
:" >&5
12757 cat conftest.$ac_ext >&5
12759 eval "ac_cv_func_
$ac_func=no
"
12764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12765 echo "$ac_t""yes" 1>&6
12766 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12767 cat >> confdefs.h <<EOF
12768 #define $ac_tr_func 1
12772 echo "$ac_t""no
" 1>&6
12778 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
12779 echo "configure
:12780: checking
for _isnanf declaration
" >&5
12780 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
12781 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
12782 echo $ac_n "(cached
) $ac_c" 1>&6
12787 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12788 ac_cpp='$CXXCPP $CPPFLAGS'
12789 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12790 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12791 cross_compiling=$ac_cv_prog_cxx_cross
12793 cat > conftest.$ac_ext <<EOF
12794 #line 12795 "configure
"
12795 #include "confdefs.h
"
12797 #ifdef HAVE_IEEEFP_H
12798 #include <ieeefp.h>
12805 if { (eval echo configure:12806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12807 glibcpp_cv_func__isnanf_use=yes
12809 echo "configure
: failed program was
:" >&5
12810 cat conftest.$ac_ext >&5
12812 glibcpp_cv_func__isnanf_use=no
12816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12817 ac_cpp='$CPP $CPPFLAGS'
12818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12820 cross_compiling=$ac_cv_prog_cc_cross
12826 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
12828 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
12829 for ac_func in _isnanf
12831 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12832 echo "configure
:12833: checking
for $ac_func" >&5
12833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12834 echo $ac_n "(cached
) $ac_c" 1>&6
12836 cat > conftest.$ac_ext <<EOF
12837 #line 12838 "configure
"
12838 #include "confdefs.h
"
12839 /* System header to define __stub macros and hopefully few prototypes,
12840 which can conflict with char $ac_func(); below. */
12841 #include <assert.h>
12842 /* Override any gcc2 internal prototype to avoid an error. */
12843 /* We use char because int might match the return type of a gcc2
12844 builtin and then its argument prototype would still apply. */
12849 /* The GNU C library defines this for functions which it implements
12850 to always fail with ENOSYS. Some functions are actually named
12851 something starting with __ and the normal name is an alias. */
12852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12860 if { (eval echo configure:12861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12862 eval "ac_cv_func_
$ac_func=yes"
12864 echo "configure
: failed program was
:" >&5
12865 cat conftest.$ac_ext >&5
12867 eval "ac_cv_func_
$ac_func=no
"
12872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12873 echo "$ac_t""yes" 1>&6
12874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12875 cat >> confdefs.h <<EOF
12876 #define $ac_tr_func 1
12880 echo "$ac_t""no
" 1>&6
12889 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
12890 echo "configure
:12891: checking
for isinff declaration
" >&5
12891 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
12892 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
12893 echo $ac_n "(cached
) $ac_c" 1>&6
12898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12899 ac_cpp='$CXXCPP $CPPFLAGS'
12900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12902 cross_compiling=$ac_cv_prog_cxx_cross
12904 cat > conftest.$ac_ext <<EOF
12905 #line 12906 "configure
"
12906 #include "confdefs.h
"
12908 #ifdef HAVE_IEEEFP_H
12909 #include <ieeefp.h>
12916 if { (eval echo configure:12917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12918 glibcpp_cv_func_isinff_use=yes
12920 echo "configure
: failed program was
:" >&5
12921 cat conftest.$ac_ext >&5
12923 glibcpp_cv_func_isinff_use=no
12927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12928 ac_cpp='$CPP $CPPFLAGS'
12929 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12930 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12931 cross_compiling=$ac_cv_prog_cc_cross
12937 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
12939 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
12940 for ac_func in isinff
12942 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12943 echo "configure
:12944: checking
for $ac_func" >&5
12944 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12945 echo $ac_n "(cached
) $ac_c" 1>&6
12947 cat > conftest.$ac_ext <<EOF
12948 #line 12949 "configure
"
12949 #include "confdefs.h
"
12950 /* System header to define __stub macros and hopefully few prototypes,
12951 which can conflict with char $ac_func(); below. */
12952 #include <assert.h>
12953 /* Override any gcc2 internal prototype to avoid an error. */
12954 /* We use char because int might match the return type of a gcc2
12955 builtin and then its argument prototype would still apply. */
12960 /* The GNU C library defines this for functions which it implements
12961 to always fail with ENOSYS. Some functions are actually named
12962 something starting with __ and the normal name is an alias. */
12963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12971 if { (eval echo configure:12972: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12973 eval "ac_cv_func_
$ac_func=yes"
12975 echo "configure
: failed program was
:" >&5
12976 cat conftest.$ac_ext >&5
12978 eval "ac_cv_func_
$ac_func=no
"
12983 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12984 echo "$ac_t""yes" 1>&6
12985 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12986 cat >> confdefs.h <<EOF
12987 #define $ac_tr_func 1
12991 echo "$ac_t""no
" 1>&6
12997 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
12998 echo "configure
:12999: checking
for _isinff declaration
" >&5
12999 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13000 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13001 echo $ac_n "(cached
) $ac_c" 1>&6
13006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13007 ac_cpp='$CXXCPP $CPPFLAGS'
13008 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13009 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13010 cross_compiling=$ac_cv_prog_cxx_cross
13012 cat > conftest.$ac_ext <<EOF
13013 #line 13014 "configure
"
13014 #include "confdefs.h
"
13016 #ifdef HAVE_IEEEFP_H
13017 #include <ieeefp.h>
13024 if { (eval echo configure:13025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13026 glibcpp_cv_func__isinff_use=yes
13028 echo "configure
: failed program was
:" >&5
13029 cat conftest.$ac_ext >&5
13031 glibcpp_cv_func__isinff_use=no
13035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13036 ac_cpp='$CPP $CPPFLAGS'
13037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13039 cross_compiling=$ac_cv_prog_cc_cross
13045 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13047 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13048 for ac_func in _isinff
13050 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13051 echo "configure
:13052: checking
for $ac_func" >&5
13052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13053 echo $ac_n "(cached
) $ac_c" 1>&6
13055 cat > conftest.$ac_ext <<EOF
13056 #line 13057 "configure
"
13057 #include "confdefs.h
"
13058 /* System header to define __stub macros and hopefully few prototypes,
13059 which can conflict with char $ac_func(); below. */
13060 #include <assert.h>
13061 /* Override any gcc2 internal prototype to avoid an error. */
13062 /* We use char because int might match the return type of a gcc2
13063 builtin and then its argument prototype would still apply. */
13068 /* The GNU C library defines this for functions which it implements
13069 to always fail with ENOSYS. Some functions are actually named
13070 something starting with __ and the normal name is an alias. */
13071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13079 if { (eval echo configure:13080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13081 eval "ac_cv_func_
$ac_func=yes"
13083 echo "configure
: failed program was
:" >&5
13084 cat conftest.$ac_ext >&5
13086 eval "ac_cv_func_
$ac_func=no
"
13091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13092 echo "$ac_t""yes" 1>&6
13093 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13094 cat >> confdefs.h <<EOF
13095 #define $ac_tr_func 1
13099 echo "$ac_t""no
" 1>&6
13108 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13109 echo "configure
:13110: checking
for atan2f declaration
" >&5
13110 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13111 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13112 echo $ac_n "(cached
) $ac_c" 1>&6
13117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13118 ac_cpp='$CXXCPP $CPPFLAGS'
13119 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13120 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13121 cross_compiling=$ac_cv_prog_cxx_cross
13123 cat > conftest.$ac_ext <<EOF
13124 #line 13125 "configure
"
13125 #include "confdefs.h
"
13131 if { (eval echo configure:13132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13133 glibcpp_cv_func_atan2f_use=yes
13135 echo "configure
: failed program was
:" >&5
13136 cat conftest.$ac_ext >&5
13138 glibcpp_cv_func_atan2f_use=no
13142 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13143 ac_cpp='$CPP $CPPFLAGS'
13144 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13145 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13146 cross_compiling=$ac_cv_prog_cc_cross
13152 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13154 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13155 for ac_func in atan2f
13157 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13158 echo "configure
:13159: checking
for $ac_func" >&5
13159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13160 echo $ac_n "(cached
) $ac_c" 1>&6
13162 cat > conftest.$ac_ext <<EOF
13163 #line 13164 "configure
"
13164 #include "confdefs.h
"
13165 /* System header to define __stub macros and hopefully few prototypes,
13166 which can conflict with char $ac_func(); below. */
13167 #include <assert.h>
13168 /* Override any gcc2 internal prototype to avoid an error. */
13169 /* We use char because int might match the return type of a gcc2
13170 builtin and then its argument prototype would still apply. */
13175 /* The GNU C library defines this for functions which it implements
13176 to always fail with ENOSYS. Some functions are actually named
13177 something starting with __ and the normal name is an alias. */
13178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13186 if { (eval echo configure:13187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13188 eval "ac_cv_func_
$ac_func=yes"
13190 echo "configure
: failed program was
:" >&5
13191 cat conftest.$ac_ext >&5
13193 eval "ac_cv_func_
$ac_func=no
"
13198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13199 echo "$ac_t""yes" 1>&6
13200 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13201 cat >> confdefs.h <<EOF
13202 #define $ac_tr_func 1
13206 echo "$ac_t""no
" 1>&6
13212 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13213 echo "configure
:13214: checking
for _atan2f declaration
" >&5
13214 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13215 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13216 echo $ac_n "(cached
) $ac_c" 1>&6
13221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13222 ac_cpp='$CXXCPP $CPPFLAGS'
13223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13225 cross_compiling=$ac_cv_prog_cxx_cross
13227 cat > conftest.$ac_ext <<EOF
13228 #line 13229 "configure
"
13229 #include "confdefs.h
"
13235 if { (eval echo configure:13236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13237 glibcpp_cv_func__atan2f_use=yes
13239 echo "configure
: failed program was
:" >&5
13240 cat conftest.$ac_ext >&5
13242 glibcpp_cv_func__atan2f_use=no
13246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13247 ac_cpp='$CPP $CPPFLAGS'
13248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13250 cross_compiling=$ac_cv_prog_cc_cross
13256 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13258 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13259 for ac_func in _atan2f
13261 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13262 echo "configure
:13263: checking
for $ac_func" >&5
13263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13264 echo $ac_n "(cached
) $ac_c" 1>&6
13266 cat > conftest.$ac_ext <<EOF
13267 #line 13268 "configure
"
13268 #include "confdefs.h
"
13269 /* System header to define __stub macros and hopefully few prototypes,
13270 which can conflict with char $ac_func(); below. */
13271 #include <assert.h>
13272 /* Override any gcc2 internal prototype to avoid an error. */
13273 /* We use char because int might match the return type of a gcc2
13274 builtin and then its argument prototype would still apply. */
13279 /* The GNU C library defines this for functions which it implements
13280 to always fail with ENOSYS. Some functions are actually named
13281 something starting with __ and the normal name is an alias. */
13282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13290 if { (eval echo configure:13291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13292 eval "ac_cv_func_
$ac_func=yes"
13294 echo "configure
: failed program was
:" >&5
13295 cat conftest.$ac_ext >&5
13297 eval "ac_cv_func_
$ac_func=no
"
13302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13303 echo "$ac_t""yes" 1>&6
13304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13305 cat >> confdefs.h <<EOF
13306 #define $ac_tr_func 1
13310 echo "$ac_t""no
" 1>&6
13319 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13320 echo "configure
:13321: checking
for fabsf declaration
" >&5
13321 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13322 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13323 echo $ac_n "(cached
) $ac_c" 1>&6
13328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13329 ac_cpp='$CXXCPP $CPPFLAGS'
13330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13332 cross_compiling=$ac_cv_prog_cxx_cross
13334 cat > conftest.$ac_ext <<EOF
13335 #line 13336 "configure
"
13336 #include "confdefs.h
"
13338 #ifdef HAVE_IEEEFP_H
13339 #include <ieeefp.h>
13346 if { (eval echo configure:13347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13348 glibcpp_cv_func_fabsf_use=yes
13350 echo "configure
: failed program was
:" >&5
13351 cat conftest.$ac_ext >&5
13353 glibcpp_cv_func_fabsf_use=no
13357 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13358 ac_cpp='$CPP $CPPFLAGS'
13359 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13360 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13361 cross_compiling=$ac_cv_prog_cc_cross
13367 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13369 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13370 for ac_func in fabsf
13372 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13373 echo "configure
:13374: checking
for $ac_func" >&5
13374 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13375 echo $ac_n "(cached
) $ac_c" 1>&6
13377 cat > conftest.$ac_ext <<EOF
13378 #line 13379 "configure
"
13379 #include "confdefs.h
"
13380 /* System header to define __stub macros and hopefully few prototypes,
13381 which can conflict with char $ac_func(); below. */
13382 #include <assert.h>
13383 /* Override any gcc2 internal prototype to avoid an error. */
13384 /* We use char because int might match the return type of a gcc2
13385 builtin and then its argument prototype would still apply. */
13390 /* The GNU C library defines this for functions which it implements
13391 to always fail with ENOSYS. Some functions are actually named
13392 something starting with __ and the normal name is an alias. */
13393 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13401 if { (eval echo configure:13402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13403 eval "ac_cv_func_
$ac_func=yes"
13405 echo "configure
: failed program was
:" >&5
13406 cat conftest.$ac_ext >&5
13408 eval "ac_cv_func_
$ac_func=no
"
13413 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13414 echo "$ac_t""yes" 1>&6
13415 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13416 cat >> confdefs.h <<EOF
13417 #define $ac_tr_func 1
13421 echo "$ac_t""no
" 1>&6
13427 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13428 echo "configure
:13429: checking
for _fabsf declaration
" >&5
13429 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13430 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13431 echo $ac_n "(cached
) $ac_c" 1>&6
13436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13437 ac_cpp='$CXXCPP $CPPFLAGS'
13438 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13439 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13440 cross_compiling=$ac_cv_prog_cxx_cross
13442 cat > conftest.$ac_ext <<EOF
13443 #line 13444 "configure
"
13444 #include "confdefs.h
"
13446 #ifdef HAVE_IEEEFP_H
13447 #include <ieeefp.h>
13454 if { (eval echo configure:13455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13456 glibcpp_cv_func__fabsf_use=yes
13458 echo "configure
: failed program was
:" >&5
13459 cat conftest.$ac_ext >&5
13461 glibcpp_cv_func__fabsf_use=no
13465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13466 ac_cpp='$CPP $CPPFLAGS'
13467 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13468 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13469 cross_compiling=$ac_cv_prog_cc_cross
13475 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13477 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13478 for ac_func in _fabsf
13480 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13481 echo "configure
:13482: checking
for $ac_func" >&5
13482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13483 echo $ac_n "(cached
) $ac_c" 1>&6
13485 cat > conftest.$ac_ext <<EOF
13486 #line 13487 "configure
"
13487 #include "confdefs.h
"
13488 /* System header to define __stub macros and hopefully few prototypes,
13489 which can conflict with char $ac_func(); below. */
13490 #include <assert.h>
13491 /* Override any gcc2 internal prototype to avoid an error. */
13492 /* We use char because int might match the return type of a gcc2
13493 builtin and then its argument prototype would still apply. */
13498 /* The GNU C library defines this for functions which it implements
13499 to always fail with ENOSYS. Some functions are actually named
13500 something starting with __ and the normal name is an alias. */
13501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13509 if { (eval echo configure:13510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13511 eval "ac_cv_func_
$ac_func=yes"
13513 echo "configure
: failed program was
:" >&5
13514 cat conftest.$ac_ext >&5
13516 eval "ac_cv_func_
$ac_func=no
"
13521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13522 echo "$ac_t""yes" 1>&6
13523 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13524 cat >> confdefs.h <<EOF
13525 #define $ac_tr_func 1
13529 echo "$ac_t""no
" 1>&6
13538 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13539 echo "configure
:13540: checking
for fmodf declaration
" >&5
13540 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13541 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13542 echo $ac_n "(cached
) $ac_c" 1>&6
13547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13548 ac_cpp='$CXXCPP $CPPFLAGS'
13549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13551 cross_compiling=$ac_cv_prog_cxx_cross
13553 cat > conftest.$ac_ext <<EOF
13554 #line 13555 "configure
"
13555 #include "confdefs.h
"
13561 if { (eval echo configure:13562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13563 glibcpp_cv_func_fmodf_use=yes
13565 echo "configure
: failed program was
:" >&5
13566 cat conftest.$ac_ext >&5
13568 glibcpp_cv_func_fmodf_use=no
13572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13573 ac_cpp='$CPP $CPPFLAGS'
13574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13576 cross_compiling=$ac_cv_prog_cc_cross
13582 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13584 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13585 for ac_func in fmodf
13587 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13588 echo "configure
:13589: checking
for $ac_func" >&5
13589 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13590 echo $ac_n "(cached
) $ac_c" 1>&6
13592 cat > conftest.$ac_ext <<EOF
13593 #line 13594 "configure
"
13594 #include "confdefs.h
"
13595 /* System header to define __stub macros and hopefully few prototypes,
13596 which can conflict with char $ac_func(); below. */
13597 #include <assert.h>
13598 /* Override any gcc2 internal prototype to avoid an error. */
13599 /* We use char because int might match the return type of a gcc2
13600 builtin and then its argument prototype would still apply. */
13605 /* The GNU C library defines this for functions which it implements
13606 to always fail with ENOSYS. Some functions are actually named
13607 something starting with __ and the normal name is an alias. */
13608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13616 if { (eval echo configure:13617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13618 eval "ac_cv_func_
$ac_func=yes"
13620 echo "configure
: failed program was
:" >&5
13621 cat conftest.$ac_ext >&5
13623 eval "ac_cv_func_
$ac_func=no
"
13628 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13629 echo "$ac_t""yes" 1>&6
13630 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13631 cat >> confdefs.h <<EOF
13632 #define $ac_tr_func 1
13636 echo "$ac_t""no
" 1>&6
13642 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13643 echo "configure
:13644: checking
for _fmodf declaration
" >&5
13644 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13645 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13646 echo $ac_n "(cached
) $ac_c" 1>&6
13651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13652 ac_cpp='$CXXCPP $CPPFLAGS'
13653 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13654 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13655 cross_compiling=$ac_cv_prog_cxx_cross
13657 cat > conftest.$ac_ext <<EOF
13658 #line 13659 "configure
"
13659 #include "confdefs.h
"
13665 if { (eval echo configure:13666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13667 glibcpp_cv_func__fmodf_use=yes
13669 echo "configure
: failed program was
:" >&5
13670 cat conftest.$ac_ext >&5
13672 glibcpp_cv_func__fmodf_use=no
13676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13677 ac_cpp='$CPP $CPPFLAGS'
13678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13680 cross_compiling=$ac_cv_prog_cc_cross
13686 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
13688 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
13689 for ac_func in _fmodf
13691 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13692 echo "configure
:13693: checking
for $ac_func" >&5
13693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13694 echo $ac_n "(cached
) $ac_c" 1>&6
13696 cat > conftest.$ac_ext <<EOF
13697 #line 13698 "configure
"
13698 #include "confdefs.h
"
13699 /* System header to define __stub macros and hopefully few prototypes,
13700 which can conflict with char $ac_func(); below. */
13701 #include <assert.h>
13702 /* Override any gcc2 internal prototype to avoid an error. */
13703 /* We use char because int might match the return type of a gcc2
13704 builtin and then its argument prototype would still apply. */
13709 /* The GNU C library defines this for functions which it implements
13710 to always fail with ENOSYS. Some functions are actually named
13711 something starting with __ and the normal name is an alias. */
13712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13720 if { (eval echo configure:13721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13722 eval "ac_cv_func_
$ac_func=yes"
13724 echo "configure
: failed program was
:" >&5
13725 cat conftest.$ac_ext >&5
13727 eval "ac_cv_func_
$ac_func=no
"
13732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13733 echo "$ac_t""yes" 1>&6
13734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13735 cat >> confdefs.h <<EOF
13736 #define $ac_tr_func 1
13740 echo "$ac_t""no
" 1>&6
13749 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
13750 echo "configure
:13751: checking
for frexpf declaration
" >&5
13751 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
13752 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
13753 echo $ac_n "(cached
) $ac_c" 1>&6
13758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13759 ac_cpp='$CXXCPP $CPPFLAGS'
13760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13762 cross_compiling=$ac_cv_prog_cxx_cross
13764 cat > conftest.$ac_ext <<EOF
13765 #line 13766 "configure
"
13766 #include "confdefs.h
"
13772 if { (eval echo configure:13773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13774 glibcpp_cv_func_frexpf_use=yes
13776 echo "configure
: failed program was
:" >&5
13777 cat conftest.$ac_ext >&5
13779 glibcpp_cv_func_frexpf_use=no
13783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13784 ac_cpp='$CPP $CPPFLAGS'
13785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13787 cross_compiling=$ac_cv_prog_cc_cross
13793 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
13795 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
13796 for ac_func in frexpf
13798 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13799 echo "configure
:13800: checking
for $ac_func" >&5
13800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13801 echo $ac_n "(cached
) $ac_c" 1>&6
13803 cat > conftest.$ac_ext <<EOF
13804 #line 13805 "configure
"
13805 #include "confdefs.h
"
13806 /* System header to define __stub macros and hopefully few prototypes,
13807 which can conflict with char $ac_func(); below. */
13808 #include <assert.h>
13809 /* Override any gcc2 internal prototype to avoid an error. */
13810 /* We use char because int might match the return type of a gcc2
13811 builtin and then its argument prototype would still apply. */
13816 /* The GNU C library defines this for functions which it implements
13817 to always fail with ENOSYS. Some functions are actually named
13818 something starting with __ and the normal name is an alias. */
13819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13827 if { (eval echo configure:13828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13829 eval "ac_cv_func_
$ac_func=yes"
13831 echo "configure
: failed program was
:" >&5
13832 cat conftest.$ac_ext >&5
13834 eval "ac_cv_func_
$ac_func=no
"
13839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13840 echo "$ac_t""yes" 1>&6
13841 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13842 cat >> confdefs.h <<EOF
13843 #define $ac_tr_func 1
13847 echo "$ac_t""no
" 1>&6
13853 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
13854 echo "configure
:13855: checking
for _frexpf declaration
" >&5
13855 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
13856 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
13857 echo $ac_n "(cached
) $ac_c" 1>&6
13862 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13863 ac_cpp='$CXXCPP $CPPFLAGS'
13864 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13865 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13866 cross_compiling=$ac_cv_prog_cxx_cross
13868 cat > conftest.$ac_ext <<EOF
13869 #line 13870 "configure
"
13870 #include "confdefs.h
"
13876 if { (eval echo configure:13877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13878 glibcpp_cv_func__frexpf_use=yes
13880 echo "configure
: failed program was
:" >&5
13881 cat conftest.$ac_ext >&5
13883 glibcpp_cv_func__frexpf_use=no
13887 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13888 ac_cpp='$CPP $CPPFLAGS'
13889 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13890 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13891 cross_compiling=$ac_cv_prog_cc_cross
13897 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
13899 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
13900 for ac_func in _frexpf
13902 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13903 echo "configure
:13904: checking
for $ac_func" >&5
13904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13905 echo $ac_n "(cached
) $ac_c" 1>&6
13907 cat > conftest.$ac_ext <<EOF
13908 #line 13909 "configure
"
13909 #include "confdefs.h
"
13910 /* System header to define __stub macros and hopefully few prototypes,
13911 which can conflict with char $ac_func(); below. */
13912 #include <assert.h>
13913 /* Override any gcc2 internal prototype to avoid an error. */
13914 /* We use char because int might match the return type of a gcc2
13915 builtin and then its argument prototype would still apply. */
13920 /* The GNU C library defines this for functions which it implements
13921 to always fail with ENOSYS. Some functions are actually named
13922 something starting with __ and the normal name is an alias. */
13923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13931 if { (eval echo configure:13932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13933 eval "ac_cv_func_
$ac_func=yes"
13935 echo "configure
: failed program was
:" >&5
13936 cat conftest.$ac_ext >&5
13938 eval "ac_cv_func_
$ac_func=no
"
13943 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13944 echo "$ac_t""yes" 1>&6
13945 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13946 cat >> confdefs.h <<EOF
13947 #define $ac_tr_func 1
13951 echo "$ac_t""no
" 1>&6
13960 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
13961 echo "configure
:13962: checking
for hypotf declaration
" >&5
13962 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
13963 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
13964 echo $ac_n "(cached
) $ac_c" 1>&6
13969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13970 ac_cpp='$CXXCPP $CPPFLAGS'
13971 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13972 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13973 cross_compiling=$ac_cv_prog_cxx_cross
13975 cat > conftest.$ac_ext <<EOF
13976 #line 13977 "configure
"
13977 #include "confdefs.h
"
13983 if { (eval echo configure:13984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13985 glibcpp_cv_func_hypotf_use=yes
13987 echo "configure
: failed program was
:" >&5
13988 cat conftest.$ac_ext >&5
13990 glibcpp_cv_func_hypotf_use=no
13994 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13995 ac_cpp='$CPP $CPPFLAGS'
13996 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13997 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13998 cross_compiling=$ac_cv_prog_cc_cross
14004 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14006 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14007 for ac_func in hypotf
14009 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14010 echo "configure
:14011: checking
for $ac_func" >&5
14011 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14012 echo $ac_n "(cached
) $ac_c" 1>&6
14014 cat > conftest.$ac_ext <<EOF
14015 #line 14016 "configure
"
14016 #include "confdefs.h
"
14017 /* System header to define __stub macros and hopefully few prototypes,
14018 which can conflict with char $ac_func(); below. */
14019 #include <assert.h>
14020 /* Override any gcc2 internal prototype to avoid an error. */
14021 /* We use char because int might match the return type of a gcc2
14022 builtin and then its argument prototype would still apply. */
14027 /* The GNU C library defines this for functions which it implements
14028 to always fail with ENOSYS. Some functions are actually named
14029 something starting with __ and the normal name is an alias. */
14030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14038 if { (eval echo configure:14039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14040 eval "ac_cv_func_
$ac_func=yes"
14042 echo "configure
: failed program was
:" >&5
14043 cat conftest.$ac_ext >&5
14045 eval "ac_cv_func_
$ac_func=no
"
14050 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14051 echo "$ac_t""yes" 1>&6
14052 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14053 cat >> confdefs.h <<EOF
14054 #define $ac_tr_func 1
14058 echo "$ac_t""no
" 1>&6
14064 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14065 echo "configure
:14066: checking
for _hypotf declaration
" >&5
14066 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14067 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14068 echo $ac_n "(cached
) $ac_c" 1>&6
14073 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14074 ac_cpp='$CXXCPP $CPPFLAGS'
14075 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14076 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14077 cross_compiling=$ac_cv_prog_cxx_cross
14079 cat > conftest.$ac_ext <<EOF
14080 #line 14081 "configure
"
14081 #include "confdefs.h
"
14087 if { (eval echo configure:14088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14089 glibcpp_cv_func__hypotf_use=yes
14091 echo "configure
: failed program was
:" >&5
14092 cat conftest.$ac_ext >&5
14094 glibcpp_cv_func__hypotf_use=no
14098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14099 ac_cpp='$CPP $CPPFLAGS'
14100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14102 cross_compiling=$ac_cv_prog_cc_cross
14108 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14110 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14111 for ac_func in _hypotf
14113 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14114 echo "configure
:14115: checking
for $ac_func" >&5
14115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14116 echo $ac_n "(cached
) $ac_c" 1>&6
14118 cat > conftest.$ac_ext <<EOF
14119 #line 14120 "configure
"
14120 #include "confdefs.h
"
14121 /* System header to define __stub macros and hopefully few prototypes,
14122 which can conflict with char $ac_func(); below. */
14123 #include <assert.h>
14124 /* Override any gcc2 internal prototype to avoid an error. */
14125 /* We use char because int might match the return type of a gcc2
14126 builtin and then its argument prototype would still apply. */
14131 /* The GNU C library defines this for functions which it implements
14132 to always fail with ENOSYS. Some functions are actually named
14133 something starting with __ and the normal name is an alias. */
14134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14142 if { (eval echo configure:14143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14144 eval "ac_cv_func_
$ac_func=yes"
14146 echo "configure
: failed program was
:" >&5
14147 cat conftest.$ac_ext >&5
14149 eval "ac_cv_func_
$ac_func=no
"
14154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14155 echo "$ac_t""yes" 1>&6
14156 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14157 cat >> confdefs.h <<EOF
14158 #define $ac_tr_func 1
14162 echo "$ac_t""no
" 1>&6
14171 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14172 echo "configure
:14173: checking
for ldexpf declaration
" >&5
14173 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14174 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14175 echo $ac_n "(cached
) $ac_c" 1>&6
14180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14181 ac_cpp='$CXXCPP $CPPFLAGS'
14182 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14183 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14184 cross_compiling=$ac_cv_prog_cxx_cross
14186 cat > conftest.$ac_ext <<EOF
14187 #line 14188 "configure
"
14188 #include "confdefs.h
"
14194 if { (eval echo configure:14195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14196 glibcpp_cv_func_ldexpf_use=yes
14198 echo "configure
: failed program was
:" >&5
14199 cat conftest.$ac_ext >&5
14201 glibcpp_cv_func_ldexpf_use=no
14205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14206 ac_cpp='$CPP $CPPFLAGS'
14207 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14208 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14209 cross_compiling=$ac_cv_prog_cc_cross
14215 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14217 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14218 for ac_func in ldexpf
14220 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14221 echo "configure
:14222: checking
for $ac_func" >&5
14222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14223 echo $ac_n "(cached
) $ac_c" 1>&6
14225 cat > conftest.$ac_ext <<EOF
14226 #line 14227 "configure
"
14227 #include "confdefs.h
"
14228 /* System header to define __stub macros and hopefully few prototypes,
14229 which can conflict with char $ac_func(); below. */
14230 #include <assert.h>
14231 /* Override any gcc2 internal prototype to avoid an error. */
14232 /* We use char because int might match the return type of a gcc2
14233 builtin and then its argument prototype would still apply. */
14238 /* The GNU C library defines this for functions which it implements
14239 to always fail with ENOSYS. Some functions are actually named
14240 something starting with __ and the normal name is an alias. */
14241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14249 if { (eval echo configure:14250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14251 eval "ac_cv_func_
$ac_func=yes"
14253 echo "configure
: failed program was
:" >&5
14254 cat conftest.$ac_ext >&5
14256 eval "ac_cv_func_
$ac_func=no
"
14261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14262 echo "$ac_t""yes" 1>&6
14263 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14264 cat >> confdefs.h <<EOF
14265 #define $ac_tr_func 1
14269 echo "$ac_t""no
" 1>&6
14275 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14276 echo "configure
:14277: checking
for _ldexpf declaration
" >&5
14277 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14278 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14279 echo $ac_n "(cached
) $ac_c" 1>&6
14284 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14285 ac_cpp='$CXXCPP $CPPFLAGS'
14286 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14287 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14288 cross_compiling=$ac_cv_prog_cxx_cross
14290 cat > conftest.$ac_ext <<EOF
14291 #line 14292 "configure
"
14292 #include "confdefs.h
"
14298 if { (eval echo configure:14299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14300 glibcpp_cv_func__ldexpf_use=yes
14302 echo "configure
: failed program was
:" >&5
14303 cat conftest.$ac_ext >&5
14305 glibcpp_cv_func__ldexpf_use=no
14309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14310 ac_cpp='$CPP $CPPFLAGS'
14311 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14312 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14313 cross_compiling=$ac_cv_prog_cc_cross
14319 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14321 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14322 for ac_func in _ldexpf
14324 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14325 echo "configure
:14326: checking
for $ac_func" >&5
14326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14327 echo $ac_n "(cached
) $ac_c" 1>&6
14329 cat > conftest.$ac_ext <<EOF
14330 #line 14331 "configure
"
14331 #include "confdefs.h
"
14332 /* System header to define __stub macros and hopefully few prototypes,
14333 which can conflict with char $ac_func(); below. */
14334 #include <assert.h>
14335 /* Override any gcc2 internal prototype to avoid an error. */
14336 /* We use char because int might match the return type of a gcc2
14337 builtin and then its argument prototype would still apply. */
14342 /* The GNU C library defines this for functions which it implements
14343 to always fail with ENOSYS. Some functions are actually named
14344 something starting with __ and the normal name is an alias. */
14345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14353 if { (eval echo configure:14354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14355 eval "ac_cv_func_
$ac_func=yes"
14357 echo "configure
: failed program was
:" >&5
14358 cat conftest.$ac_ext >&5
14360 eval "ac_cv_func_
$ac_func=no
"
14365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14366 echo "$ac_t""yes" 1>&6
14367 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14368 cat >> confdefs.h <<EOF
14369 #define $ac_tr_func 1
14373 echo "$ac_t""no
" 1>&6
14382 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14383 echo "configure
:14384: checking
for logf declaration
" >&5
14384 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14385 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14386 echo $ac_n "(cached
) $ac_c" 1>&6
14391 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14392 ac_cpp='$CXXCPP $CPPFLAGS'
14393 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14394 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14395 cross_compiling=$ac_cv_prog_cxx_cross
14397 cat > conftest.$ac_ext <<EOF
14398 #line 14399 "configure
"
14399 #include "confdefs.h
"
14401 #ifdef HAVE_IEEEFP_H
14402 #include <ieeefp.h>
14409 if { (eval echo configure:14410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14411 glibcpp_cv_func_logf_use=yes
14413 echo "configure
: failed program was
:" >&5
14414 cat conftest.$ac_ext >&5
14416 glibcpp_cv_func_logf_use=no
14420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14421 ac_cpp='$CPP $CPPFLAGS'
14422 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14423 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14424 cross_compiling=$ac_cv_prog_cc_cross
14430 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14432 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14433 for ac_func in logf
14435 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14436 echo "configure
:14437: checking
for $ac_func" >&5
14437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14438 echo $ac_n "(cached
) $ac_c" 1>&6
14440 cat > conftest.$ac_ext <<EOF
14441 #line 14442 "configure
"
14442 #include "confdefs.h
"
14443 /* System header to define __stub macros and hopefully few prototypes,
14444 which can conflict with char $ac_func(); below. */
14445 #include <assert.h>
14446 /* Override any gcc2 internal prototype to avoid an error. */
14447 /* We use char because int might match the return type of a gcc2
14448 builtin and then its argument prototype would still apply. */
14453 /* The GNU C library defines this for functions which it implements
14454 to always fail with ENOSYS. Some functions are actually named
14455 something starting with __ and the normal name is an alias. */
14456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14464 if { (eval echo configure:14465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14466 eval "ac_cv_func_
$ac_func=yes"
14468 echo "configure
: failed program was
:" >&5
14469 cat conftest.$ac_ext >&5
14471 eval "ac_cv_func_
$ac_func=no
"
14476 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14477 echo "$ac_t""yes" 1>&6
14478 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14479 cat >> confdefs.h <<EOF
14480 #define $ac_tr_func 1
14484 echo "$ac_t""no
" 1>&6
14490 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14491 echo "configure
:14492: checking
for _logf declaration
" >&5
14492 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14493 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14494 echo $ac_n "(cached
) $ac_c" 1>&6
14499 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14500 ac_cpp='$CXXCPP $CPPFLAGS'
14501 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14502 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14503 cross_compiling=$ac_cv_prog_cxx_cross
14505 cat > conftest.$ac_ext <<EOF
14506 #line 14507 "configure
"
14507 #include "confdefs.h
"
14509 #ifdef HAVE_IEEEFP_H
14510 #include <ieeefp.h>
14517 if { (eval echo configure:14518: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14519 glibcpp_cv_func__logf_use=yes
14521 echo "configure
: failed program was
:" >&5
14522 cat conftest.$ac_ext >&5
14524 glibcpp_cv_func__logf_use=no
14528 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14529 ac_cpp='$CPP $CPPFLAGS'
14530 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14531 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14532 cross_compiling=$ac_cv_prog_cc_cross
14538 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14540 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14541 for ac_func in _logf
14543 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14544 echo "configure
:14545: checking
for $ac_func" >&5
14545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14546 echo $ac_n "(cached
) $ac_c" 1>&6
14548 cat > conftest.$ac_ext <<EOF
14549 #line 14550 "configure
"
14550 #include "confdefs.h
"
14551 /* System header to define __stub macros and hopefully few prototypes,
14552 which can conflict with char $ac_func(); below. */
14553 #include <assert.h>
14554 /* Override any gcc2 internal prototype to avoid an error. */
14555 /* We use char because int might match the return type of a gcc2
14556 builtin and then its argument prototype would still apply. */
14561 /* The GNU C library defines this for functions which it implements
14562 to always fail with ENOSYS. Some functions are actually named
14563 something starting with __ and the normal name is an alias. */
14564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14572 if { (eval echo configure:14573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14574 eval "ac_cv_func_
$ac_func=yes"
14576 echo "configure
: failed program was
:" >&5
14577 cat conftest.$ac_ext >&5
14579 eval "ac_cv_func_
$ac_func=no
"
14584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14585 echo "$ac_t""yes" 1>&6
14586 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14587 cat >> confdefs.h <<EOF
14588 #define $ac_tr_func 1
14592 echo "$ac_t""no
" 1>&6
14601 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14602 echo "configure
:14603: checking
for log10f declaration
" >&5
14603 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14604 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14605 echo $ac_n "(cached
) $ac_c" 1>&6
14610 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14611 ac_cpp='$CXXCPP $CPPFLAGS'
14612 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14613 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14614 cross_compiling=$ac_cv_prog_cxx_cross
14616 cat > conftest.$ac_ext <<EOF
14617 #line 14618 "configure
"
14618 #include "confdefs.h
"
14620 #ifdef HAVE_IEEEFP_H
14621 #include <ieeefp.h>
14628 if { (eval echo configure:14629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14630 glibcpp_cv_func_log10f_use=yes
14632 echo "configure
: failed program was
:" >&5
14633 cat conftest.$ac_ext >&5
14635 glibcpp_cv_func_log10f_use=no
14639 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14640 ac_cpp='$CPP $CPPFLAGS'
14641 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14642 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14643 cross_compiling=$ac_cv_prog_cc_cross
14649 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14651 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14652 for ac_func in log10f
14654 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14655 echo "configure
:14656: checking
for $ac_func" >&5
14656 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14657 echo $ac_n "(cached
) $ac_c" 1>&6
14659 cat > conftest.$ac_ext <<EOF
14660 #line 14661 "configure
"
14661 #include "confdefs.h
"
14662 /* System header to define __stub macros and hopefully few prototypes,
14663 which can conflict with char $ac_func(); below. */
14664 #include <assert.h>
14665 /* Override any gcc2 internal prototype to avoid an error. */
14666 /* We use char because int might match the return type of a gcc2
14667 builtin and then its argument prototype would still apply. */
14672 /* The GNU C library defines this for functions which it implements
14673 to always fail with ENOSYS. Some functions are actually named
14674 something starting with __ and the normal name is an alias. */
14675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14683 if { (eval echo configure:14684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14685 eval "ac_cv_func_
$ac_func=yes"
14687 echo "configure
: failed program was
:" >&5
14688 cat conftest.$ac_ext >&5
14690 eval "ac_cv_func_
$ac_func=no
"
14695 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14696 echo "$ac_t""yes" 1>&6
14697 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14698 cat >> confdefs.h <<EOF
14699 #define $ac_tr_func 1
14703 echo "$ac_t""no
" 1>&6
14709 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
14710 echo "configure
:14711: checking
for _log10f declaration
" >&5
14711 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
14712 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
14713 echo $ac_n "(cached
) $ac_c" 1>&6
14718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14719 ac_cpp='$CXXCPP $CPPFLAGS'
14720 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14721 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14722 cross_compiling=$ac_cv_prog_cxx_cross
14724 cat > conftest.$ac_ext <<EOF
14725 #line 14726 "configure
"
14726 #include "confdefs.h
"
14728 #ifdef HAVE_IEEEFP_H
14729 #include <ieeefp.h>
14736 if { (eval echo configure:14737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14738 glibcpp_cv_func__log10f_use=yes
14740 echo "configure
: failed program was
:" >&5
14741 cat conftest.$ac_ext >&5
14743 glibcpp_cv_func__log10f_use=no
14747 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14748 ac_cpp='$CPP $CPPFLAGS'
14749 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14750 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14751 cross_compiling=$ac_cv_prog_cc_cross
14757 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
14759 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
14760 for ac_func in _log10f
14762 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14763 echo "configure
:14764: checking
for $ac_func" >&5
14764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14765 echo $ac_n "(cached
) $ac_c" 1>&6
14767 cat > conftest.$ac_ext <<EOF
14768 #line 14769 "configure
"
14769 #include "confdefs.h
"
14770 /* System header to define __stub macros and hopefully few prototypes,
14771 which can conflict with char $ac_func(); below. */
14772 #include <assert.h>
14773 /* Override any gcc2 internal prototype to avoid an error. */
14774 /* We use char because int might match the return type of a gcc2
14775 builtin and then its argument prototype would still apply. */
14780 /* The GNU C library defines this for functions which it implements
14781 to always fail with ENOSYS. Some functions are actually named
14782 something starting with __ and the normal name is an alias. */
14783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14791 if { (eval echo configure:14792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14793 eval "ac_cv_func_
$ac_func=yes"
14795 echo "configure
: failed program was
:" >&5
14796 cat conftest.$ac_ext >&5
14798 eval "ac_cv_func_
$ac_func=no
"
14803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14804 echo "$ac_t""yes" 1>&6
14805 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14806 cat >> confdefs.h <<EOF
14807 #define $ac_tr_func 1
14811 echo "$ac_t""no
" 1>&6
14820 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
14821 echo "configure
:14822: checking
for modff declaration
" >&5
14822 if test x${glibcpp_cv_func_modff_use+set} != xset; then
14823 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
14824 echo $ac_n "(cached
) $ac_c" 1>&6
14829 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14830 ac_cpp='$CXXCPP $CPPFLAGS'
14831 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14832 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14833 cross_compiling=$ac_cv_prog_cxx_cross
14835 cat > conftest.$ac_ext <<EOF
14836 #line 14837 "configure
"
14837 #include "confdefs.h
"
14843 if { (eval echo configure:14844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14845 glibcpp_cv_func_modff_use=yes
14847 echo "configure
: failed program was
:" >&5
14848 cat conftest.$ac_ext >&5
14850 glibcpp_cv_func_modff_use=no
14854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14855 ac_cpp='$CPP $CPPFLAGS'
14856 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14857 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14858 cross_compiling=$ac_cv_prog_cc_cross
14864 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
14866 if test x$glibcpp_cv_func_modff_use = x"yes"; then
14867 for ac_func in modff
14869 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14870 echo "configure
:14871: checking
for $ac_func" >&5
14871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14872 echo $ac_n "(cached
) $ac_c" 1>&6
14874 cat > conftest.$ac_ext <<EOF
14875 #line 14876 "configure
"
14876 #include "confdefs.h
"
14877 /* System header to define __stub macros and hopefully few prototypes,
14878 which can conflict with char $ac_func(); below. */
14879 #include <assert.h>
14880 /* Override any gcc2 internal prototype to avoid an error. */
14881 /* We use char because int might match the return type of a gcc2
14882 builtin and then its argument prototype would still apply. */
14887 /* The GNU C library defines this for functions which it implements
14888 to always fail with ENOSYS. Some functions are actually named
14889 something starting with __ and the normal name is an alias. */
14890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14898 if { (eval echo configure:14899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14900 eval "ac_cv_func_
$ac_func=yes"
14902 echo "configure
: failed program was
:" >&5
14903 cat conftest.$ac_ext >&5
14905 eval "ac_cv_func_
$ac_func=no
"
14910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14911 echo "$ac_t""yes" 1>&6
14912 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14913 cat >> confdefs.h <<EOF
14914 #define $ac_tr_func 1
14918 echo "$ac_t""no
" 1>&6
14924 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
14925 echo "configure
:14926: checking
for _modff declaration
" >&5
14926 if test x${glibcpp_cv_func__modff_use+set} != xset; then
14927 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
14928 echo $ac_n "(cached
) $ac_c" 1>&6
14933 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14934 ac_cpp='$CXXCPP $CPPFLAGS'
14935 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14936 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14937 cross_compiling=$ac_cv_prog_cxx_cross
14939 cat > conftest.$ac_ext <<EOF
14940 #line 14941 "configure
"
14941 #include "confdefs.h
"
14947 if { (eval echo configure:14948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14949 glibcpp_cv_func__modff_use=yes
14951 echo "configure
: failed program was
:" >&5
14952 cat conftest.$ac_ext >&5
14954 glibcpp_cv_func__modff_use=no
14958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14959 ac_cpp='$CPP $CPPFLAGS'
14960 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14961 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14962 cross_compiling=$ac_cv_prog_cc_cross
14968 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
14970 if test x$glibcpp_cv_func__modff_use = x"yes"; then
14971 for ac_func in _modff
14973 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14974 echo "configure
:14975: checking
for $ac_func" >&5
14975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14976 echo $ac_n "(cached
) $ac_c" 1>&6
14978 cat > conftest.$ac_ext <<EOF
14979 #line 14980 "configure
"
14980 #include "confdefs.h
"
14981 /* System header to define __stub macros and hopefully few prototypes,
14982 which can conflict with char $ac_func(); below. */
14983 #include <assert.h>
14984 /* Override any gcc2 internal prototype to avoid an error. */
14985 /* We use char because int might match the return type of a gcc2
14986 builtin and then its argument prototype would still apply. */
14991 /* The GNU C library defines this for functions which it implements
14992 to always fail with ENOSYS. Some functions are actually named
14993 something starting with __ and the normal name is an alias. */
14994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15002 if { (eval echo configure:15003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15004 eval "ac_cv_func_
$ac_func=yes"
15006 echo "configure
: failed program was
:" >&5
15007 cat conftest.$ac_ext >&5
15009 eval "ac_cv_func_
$ac_func=no
"
15014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15015 echo "$ac_t""yes" 1>&6
15016 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15017 cat >> confdefs.h <<EOF
15018 #define $ac_tr_func 1
15022 echo "$ac_t""no
" 1>&6
15031 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15032 echo "configure
:15033: checking
for powf declaration
" >&5
15033 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15034 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15035 echo $ac_n "(cached
) $ac_c" 1>&6
15040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15041 ac_cpp='$CXXCPP $CPPFLAGS'
15042 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15043 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15044 cross_compiling=$ac_cv_prog_cxx_cross
15046 cat > conftest.$ac_ext <<EOF
15047 #line 15048 "configure
"
15048 #include "confdefs.h
"
15054 if { (eval echo configure:15055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15056 glibcpp_cv_func_powf_use=yes
15058 echo "configure
: failed program was
:" >&5
15059 cat conftest.$ac_ext >&5
15061 glibcpp_cv_func_powf_use=no
15065 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15066 ac_cpp='$CPP $CPPFLAGS'
15067 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15068 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15069 cross_compiling=$ac_cv_prog_cc_cross
15075 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15077 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15078 for ac_func in powf
15080 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15081 echo "configure
:15082: checking
for $ac_func" >&5
15082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15083 echo $ac_n "(cached
) $ac_c" 1>&6
15085 cat > conftest.$ac_ext <<EOF
15086 #line 15087 "configure
"
15087 #include "confdefs.h
"
15088 /* System header to define __stub macros and hopefully few prototypes,
15089 which can conflict with char $ac_func(); below. */
15090 #include <assert.h>
15091 /* Override any gcc2 internal prototype to avoid an error. */
15092 /* We use char because int might match the return type of a gcc2
15093 builtin and then its argument prototype would still apply. */
15098 /* The GNU C library defines this for functions which it implements
15099 to always fail with ENOSYS. Some functions are actually named
15100 something starting with __ and the normal name is an alias. */
15101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15109 if { (eval echo configure:15110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15111 eval "ac_cv_func_
$ac_func=yes"
15113 echo "configure
: failed program was
:" >&5
15114 cat conftest.$ac_ext >&5
15116 eval "ac_cv_func_
$ac_func=no
"
15121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15122 echo "$ac_t""yes" 1>&6
15123 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15124 cat >> confdefs.h <<EOF
15125 #define $ac_tr_func 1
15129 echo "$ac_t""no
" 1>&6
15135 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15136 echo "configure
:15137: checking
for _powf declaration
" >&5
15137 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15138 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15139 echo $ac_n "(cached
) $ac_c" 1>&6
15144 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15145 ac_cpp='$CXXCPP $CPPFLAGS'
15146 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15147 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15148 cross_compiling=$ac_cv_prog_cxx_cross
15150 cat > conftest.$ac_ext <<EOF
15151 #line 15152 "configure
"
15152 #include "confdefs.h
"
15158 if { (eval echo configure:15159: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15160 glibcpp_cv_func__powf_use=yes
15162 echo "configure
: failed program was
:" >&5
15163 cat conftest.$ac_ext >&5
15165 glibcpp_cv_func__powf_use=no
15169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15170 ac_cpp='$CPP $CPPFLAGS'
15171 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15172 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15173 cross_compiling=$ac_cv_prog_cc_cross
15179 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15181 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15182 for ac_func in _powf
15184 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15185 echo "configure
:15186: checking
for $ac_func" >&5
15186 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15187 echo $ac_n "(cached
) $ac_c" 1>&6
15189 cat > conftest.$ac_ext <<EOF
15190 #line 15191 "configure
"
15191 #include "confdefs.h
"
15192 /* System header to define __stub macros and hopefully few prototypes,
15193 which can conflict with char $ac_func(); below. */
15194 #include <assert.h>
15195 /* Override any gcc2 internal prototype to avoid an error. */
15196 /* We use char because int might match the return type of a gcc2
15197 builtin and then its argument prototype would still apply. */
15202 /* The GNU C library defines this for functions which it implements
15203 to always fail with ENOSYS. Some functions are actually named
15204 something starting with __ and the normal name is an alias. */
15205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15213 if { (eval echo configure:15214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15215 eval "ac_cv_func_
$ac_func=yes"
15217 echo "configure
: failed program was
:" >&5
15218 cat conftest.$ac_ext >&5
15220 eval "ac_cv_func_
$ac_func=no
"
15225 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15226 echo "$ac_t""yes" 1>&6
15227 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15228 cat >> confdefs.h <<EOF
15229 #define $ac_tr_func 1
15233 echo "$ac_t""no
" 1>&6
15242 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15243 echo "configure
:15244: checking
for sqrtf declaration
" >&5
15244 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15245 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15246 echo $ac_n "(cached
) $ac_c" 1>&6
15251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15252 ac_cpp='$CXXCPP $CPPFLAGS'
15253 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15254 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15255 cross_compiling=$ac_cv_prog_cxx_cross
15257 cat > conftest.$ac_ext <<EOF
15258 #line 15259 "configure
"
15259 #include "confdefs.h
"
15261 #ifdef HAVE_IEEEFP_H
15262 #include <ieeefp.h>
15269 if { (eval echo configure:15270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15271 glibcpp_cv_func_sqrtf_use=yes
15273 echo "configure
: failed program was
:" >&5
15274 cat conftest.$ac_ext >&5
15276 glibcpp_cv_func_sqrtf_use=no
15280 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15281 ac_cpp='$CPP $CPPFLAGS'
15282 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15283 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15284 cross_compiling=$ac_cv_prog_cc_cross
15290 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15292 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15293 for ac_func in sqrtf
15295 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15296 echo "configure
:15297: checking
for $ac_func" >&5
15297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15298 echo $ac_n "(cached
) $ac_c" 1>&6
15300 cat > conftest.$ac_ext <<EOF
15301 #line 15302 "configure
"
15302 #include "confdefs.h
"
15303 /* System header to define __stub macros and hopefully few prototypes,
15304 which can conflict with char $ac_func(); below. */
15305 #include <assert.h>
15306 /* Override any gcc2 internal prototype to avoid an error. */
15307 /* We use char because int might match the return type of a gcc2
15308 builtin and then its argument prototype would still apply. */
15313 /* The GNU C library defines this for functions which it implements
15314 to always fail with ENOSYS. Some functions are actually named
15315 something starting with __ and the normal name is an alias. */
15316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15324 if { (eval echo configure:15325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15326 eval "ac_cv_func_
$ac_func=yes"
15328 echo "configure
: failed program was
:" >&5
15329 cat conftest.$ac_ext >&5
15331 eval "ac_cv_func_
$ac_func=no
"
15336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15337 echo "$ac_t""yes" 1>&6
15338 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15339 cat >> confdefs.h <<EOF
15340 #define $ac_tr_func 1
15344 echo "$ac_t""no
" 1>&6
15350 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15351 echo "configure
:15352: checking
for _sqrtf declaration
" >&5
15352 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15353 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15354 echo $ac_n "(cached
) $ac_c" 1>&6
15359 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15360 ac_cpp='$CXXCPP $CPPFLAGS'
15361 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15362 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15363 cross_compiling=$ac_cv_prog_cxx_cross
15365 cat > conftest.$ac_ext <<EOF
15366 #line 15367 "configure
"
15367 #include "confdefs.h
"
15369 #ifdef HAVE_IEEEFP_H
15370 #include <ieeefp.h>
15377 if { (eval echo configure:15378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15379 glibcpp_cv_func__sqrtf_use=yes
15381 echo "configure
: failed program was
:" >&5
15382 cat conftest.$ac_ext >&5
15384 glibcpp_cv_func__sqrtf_use=no
15388 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15389 ac_cpp='$CPP $CPPFLAGS'
15390 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15391 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15392 cross_compiling=$ac_cv_prog_cc_cross
15398 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15400 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15401 for ac_func in _sqrtf
15403 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15404 echo "configure
:15405: checking
for $ac_func" >&5
15405 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15406 echo $ac_n "(cached
) $ac_c" 1>&6
15408 cat > conftest.$ac_ext <<EOF
15409 #line 15410 "configure
"
15410 #include "confdefs.h
"
15411 /* System header to define __stub macros and hopefully few prototypes,
15412 which can conflict with char $ac_func(); below. */
15413 #include <assert.h>
15414 /* Override any gcc2 internal prototype to avoid an error. */
15415 /* We use char because int might match the return type of a gcc2
15416 builtin and then its argument prototype would still apply. */
15421 /* The GNU C library defines this for functions which it implements
15422 to always fail with ENOSYS. Some functions are actually named
15423 something starting with __ and the normal name is an alias. */
15424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15432 if { (eval echo configure:15433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15434 eval "ac_cv_func_
$ac_func=yes"
15436 echo "configure
: failed program was
:" >&5
15437 cat conftest.$ac_ext >&5
15439 eval "ac_cv_func_
$ac_func=no
"
15444 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15445 echo "$ac_t""yes" 1>&6
15446 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15447 cat >> confdefs.h <<EOF
15448 #define $ac_tr_func 1
15452 echo "$ac_t""no
" 1>&6
15461 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15462 echo "configure
:15463: checking
for sincosf declaration
" >&5
15463 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15464 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15465 echo $ac_n "(cached
) $ac_c" 1>&6
15470 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15471 ac_cpp='$CXXCPP $CPPFLAGS'
15472 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15473 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15474 cross_compiling=$ac_cv_prog_cxx_cross
15476 cat > conftest.$ac_ext <<EOF
15477 #line 15478 "configure
"
15478 #include "confdefs.h
"
15484 if { (eval echo configure:15485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15486 glibcpp_cv_func_sincosf_use=yes
15488 echo "configure
: failed program was
:" >&5
15489 cat conftest.$ac_ext >&5
15491 glibcpp_cv_func_sincosf_use=no
15495 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15496 ac_cpp='$CPP $CPPFLAGS'
15497 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15498 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15499 cross_compiling=$ac_cv_prog_cc_cross
15505 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15507 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15508 for ac_func in sincosf
15510 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15511 echo "configure
:15512: checking
for $ac_func" >&5
15512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15513 echo $ac_n "(cached
) $ac_c" 1>&6
15515 cat > conftest.$ac_ext <<EOF
15516 #line 15517 "configure
"
15517 #include "confdefs.h
"
15518 /* System header to define __stub macros and hopefully few prototypes,
15519 which can conflict with char $ac_func(); below. */
15520 #include <assert.h>
15521 /* Override any gcc2 internal prototype to avoid an error. */
15522 /* We use char because int might match the return type of a gcc2
15523 builtin and then its argument prototype would still apply. */
15528 /* The GNU C library defines this for functions which it implements
15529 to always fail with ENOSYS. Some functions are actually named
15530 something starting with __ and the normal name is an alias. */
15531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15539 if { (eval echo configure:15540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15541 eval "ac_cv_func_
$ac_func=yes"
15543 echo "configure
: failed program was
:" >&5
15544 cat conftest.$ac_ext >&5
15546 eval "ac_cv_func_
$ac_func=no
"
15551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15552 echo "$ac_t""yes" 1>&6
15553 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15554 cat >> confdefs.h <<EOF
15555 #define $ac_tr_func 1
15559 echo "$ac_t""no
" 1>&6
15565 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15566 echo "configure
:15567: checking
for _sincosf declaration
" >&5
15567 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15568 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15569 echo $ac_n "(cached
) $ac_c" 1>&6
15574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15575 ac_cpp='$CXXCPP $CPPFLAGS'
15576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15578 cross_compiling=$ac_cv_prog_cxx_cross
15580 cat > conftest.$ac_ext <<EOF
15581 #line 15582 "configure
"
15582 #include "confdefs.h
"
15588 if { (eval echo configure:15589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15590 glibcpp_cv_func__sincosf_use=yes
15592 echo "configure
: failed program was
:" >&5
15593 cat conftest.$ac_ext >&5
15595 glibcpp_cv_func__sincosf_use=no
15599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15600 ac_cpp='$CPP $CPPFLAGS'
15601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15603 cross_compiling=$ac_cv_prog_cc_cross
15609 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15611 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15612 for ac_func in _sincosf
15614 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15615 echo "configure
:15616: checking
for $ac_func" >&5
15616 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15617 echo $ac_n "(cached
) $ac_c" 1>&6
15619 cat > conftest.$ac_ext <<EOF
15620 #line 15621 "configure
"
15621 #include "confdefs.h
"
15622 /* System header to define __stub macros and hopefully few prototypes,
15623 which can conflict with char $ac_func(); below. */
15624 #include <assert.h>
15625 /* Override any gcc2 internal prototype to avoid an error. */
15626 /* We use char because int might match the return type of a gcc2
15627 builtin and then its argument prototype would still apply. */
15632 /* The GNU C library defines this for functions which it implements
15633 to always fail with ENOSYS. Some functions are actually named
15634 something starting with __ and the normal name is an alias. */
15635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15643 if { (eval echo configure:15644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15645 eval "ac_cv_func_
$ac_func=yes"
15647 echo "configure
: failed program was
:" >&5
15648 cat conftest.$ac_ext >&5
15650 eval "ac_cv_func_
$ac_func=no
"
15655 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15656 echo "$ac_t""yes" 1>&6
15657 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15658 cat >> confdefs.h <<EOF
15659 #define $ac_tr_func 1
15663 echo "$ac_t""no
" 1>&6
15672 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
15673 echo "configure
:15674: checking
for finitef declaration
" >&5
15674 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
15675 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
15676 echo $ac_n "(cached
) $ac_c" 1>&6
15681 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15682 ac_cpp='$CXXCPP $CPPFLAGS'
15683 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15684 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15685 cross_compiling=$ac_cv_prog_cxx_cross
15687 cat > conftest.$ac_ext <<EOF
15688 #line 15689 "configure
"
15689 #include "confdefs.h
"
15691 #ifdef HAVE_IEEEFP_H
15692 #include <ieeefp.h>
15699 if { (eval echo configure:15700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15701 glibcpp_cv_func_finitef_use=yes
15703 echo "configure
: failed program was
:" >&5
15704 cat conftest.$ac_ext >&5
15706 glibcpp_cv_func_finitef_use=no
15710 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15711 ac_cpp='$CPP $CPPFLAGS'
15712 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15713 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15714 cross_compiling=$ac_cv_prog_cc_cross
15720 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
15722 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
15723 for ac_func in finitef
15725 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15726 echo "configure
:15727: checking
for $ac_func" >&5
15727 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15728 echo $ac_n "(cached
) $ac_c" 1>&6
15730 cat > conftest.$ac_ext <<EOF
15731 #line 15732 "configure
"
15732 #include "confdefs.h
"
15733 /* System header to define __stub macros and hopefully few prototypes,
15734 which can conflict with char $ac_func(); below. */
15735 #include <assert.h>
15736 /* Override any gcc2 internal prototype to avoid an error. */
15737 /* We use char because int might match the return type of a gcc2
15738 builtin and then its argument prototype would still apply. */
15743 /* The GNU C library defines this for functions which it implements
15744 to always fail with ENOSYS. Some functions are actually named
15745 something starting with __ and the normal name is an alias. */
15746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15754 if { (eval echo configure:15755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15756 eval "ac_cv_func_
$ac_func=yes"
15758 echo "configure
: failed program was
:" >&5
15759 cat conftest.$ac_ext >&5
15761 eval "ac_cv_func_
$ac_func=no
"
15766 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15767 echo "$ac_t""yes" 1>&6
15768 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15769 cat >> confdefs.h <<EOF
15770 #define $ac_tr_func 1
15774 echo "$ac_t""no
" 1>&6
15780 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
15781 echo "configure
:15782: checking
for _finitef declaration
" >&5
15782 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
15783 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
15784 echo $ac_n "(cached
) $ac_c" 1>&6
15789 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15790 ac_cpp='$CXXCPP $CPPFLAGS'
15791 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15792 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15793 cross_compiling=$ac_cv_prog_cxx_cross
15795 cat > conftest.$ac_ext <<EOF
15796 #line 15797 "configure
"
15797 #include "confdefs.h
"
15799 #ifdef HAVE_IEEEFP_H
15800 #include <ieeefp.h>
15807 if { (eval echo configure:15808: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15809 glibcpp_cv_func__finitef_use=yes
15811 echo "configure
: failed program was
:" >&5
15812 cat conftest.$ac_ext >&5
15814 glibcpp_cv_func__finitef_use=no
15818 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15819 ac_cpp='$CPP $CPPFLAGS'
15820 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15821 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15822 cross_compiling=$ac_cv_prog_cc_cross
15828 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
15830 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
15831 for ac_func in _finitef
15833 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15834 echo "configure
:15835: checking
for $ac_func" >&5
15835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15836 echo $ac_n "(cached
) $ac_c" 1>&6
15838 cat > conftest.$ac_ext <<EOF
15839 #line 15840 "configure
"
15840 #include "confdefs.h
"
15841 /* System header to define __stub macros and hopefully few prototypes,
15842 which can conflict with char $ac_func(); below. */
15843 #include <assert.h>
15844 /* Override any gcc2 internal prototype to avoid an error. */
15845 /* We use char because int might match the return type of a gcc2
15846 builtin and then its argument prototype would still apply. */
15851 /* The GNU C library defines this for functions which it implements
15852 to always fail with ENOSYS. Some functions are actually named
15853 something starting with __ and the normal name is an alias. */
15854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15862 if { (eval echo configure:15863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15864 eval "ac_cv_func_
$ac_func=yes"
15866 echo "configure
: failed program was
:" >&5
15867 cat conftest.$ac_ext >&5
15869 eval "ac_cv_func_
$ac_func=no
"
15874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15875 echo "$ac_t""yes" 1>&6
15876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15877 cat >> confdefs.h <<EOF
15878 #define $ac_tr_func 1
15882 echo "$ac_t""no
" 1>&6
15891 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
15892 echo "configure
:15893: checking
for long double trig functions
" >&5
15893 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
15894 echo $ac_n "(cached
) $ac_c" 1>&6
15899 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15900 ac_cpp='$CXXCPP $CPPFLAGS'
15901 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15902 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15903 cross_compiling=$ac_cv_prog_cxx_cross
15905 cat > conftest.$ac_ext <<EOF
15906 #line 15907 "configure
"
15907 #include "confdefs.h
"
15910 `for x in acosl asinl atanl \
15912 coshl sinhl tanhl; do echo "$x (0);"; done`
15915 if { (eval echo configure:15916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15917 glibcpp_cv_func_long_double_trig_use=yes
15919 echo "configure
: failed program was
:" >&5
15920 cat conftest.$ac_ext >&5
15922 glibcpp_cv_func_long_double_trig_use=no
15926 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15927 ac_cpp='$CPP $CPPFLAGS'
15928 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15929 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15930 cross_compiling=$ac_cv_prog_cc_cross
15934 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
15935 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
15936 for ac_func in acosl asinl atanl \
15940 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15941 echo "configure
:15942: checking
for $ac_func" >&5
15942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15943 echo $ac_n "(cached
) $ac_c" 1>&6
15945 cat > conftest.$ac_ext <<EOF
15946 #line 15947 "configure
"
15947 #include "confdefs.h
"
15948 /* System header to define __stub macros and hopefully few prototypes,
15949 which can conflict with char $ac_func(); below. */
15950 #include <assert.h>
15951 /* Override any gcc2 internal prototype to avoid an error. */
15952 /* We use char because int might match the return type of a gcc2
15953 builtin and then its argument prototype would still apply. */
15958 /* The GNU C library defines this for functions which it implements
15959 to always fail with ENOSYS. Some functions are actually named
15960 something starting with __ and the normal name is an alias. */
15961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15969 if { (eval echo configure:15970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15971 eval "ac_cv_func_
$ac_func=yes"
15973 echo "configure
: failed program was
:" >&5
15974 cat conftest.$ac_ext >&5
15976 eval "ac_cv_func_
$ac_func=no
"
15981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15982 echo "$ac_t""yes" 1>&6
15983 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15984 cat >> confdefs.h <<EOF
15985 #define $ac_tr_func 1
15989 echo "$ac_t""no
" 1>&6
15996 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
15997 echo "configure
:15998: checking
for long double round functions
" >&5
15998 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
15999 echo $ac_n "(cached
) $ac_c" 1>&6
16004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16005 ac_cpp='$CXXCPP $CPPFLAGS'
16006 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16007 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16008 cross_compiling=$ac_cv_prog_cxx_cross
16010 cat > conftest.$ac_ext <<EOF
16011 #line 16012 "configure
"
16012 #include "confdefs.h
"
16015 `for x in ceill floorl; do echo "$x (0);"; done`
16018 if { (eval echo configure:16019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16020 glibcpp_cv_func_long_double_round_use=yes
16022 echo "configure
: failed program was
:" >&5
16023 cat conftest.$ac_ext >&5
16025 glibcpp_cv_func_long_double_round_use=no
16029 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16030 ac_cpp='$CPP $CPPFLAGS'
16031 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16032 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16033 cross_compiling=$ac_cv_prog_cc_cross
16037 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16038 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16039 for ac_func in ceill floorl
16041 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16042 echo "configure
:16043: checking
for $ac_func" >&5
16043 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16044 echo $ac_n "(cached
) $ac_c" 1>&6
16046 cat > conftest.$ac_ext <<EOF
16047 #line 16048 "configure
"
16048 #include "confdefs.h
"
16049 /* System header to define __stub macros and hopefully few prototypes,
16050 which can conflict with char $ac_func(); below. */
16051 #include <assert.h>
16052 /* Override any gcc2 internal prototype to avoid an error. */
16053 /* We use char because int might match the return type of a gcc2
16054 builtin and then its argument prototype would still apply. */
16059 /* The GNU C library defines this for functions which it implements
16060 to always fail with ENOSYS. Some functions are actually named
16061 something starting with __ and the normal name is an alias. */
16062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16070 if { (eval echo configure:16071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16072 eval "ac_cv_func_
$ac_func=yes"
16074 echo "configure
: failed program was
:" >&5
16075 cat conftest.$ac_ext >&5
16077 eval "ac_cv_func_
$ac_func=no
"
16082 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16083 echo "$ac_t""yes" 1>&6
16084 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16085 cat >> confdefs.h <<EOF
16086 #define $ac_tr_func 1
16090 echo "$ac_t""no
" 1>&6
16098 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16099 echo "configure
:16100: checking
for isnanl declaration
" >&5
16100 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16101 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16102 echo $ac_n "(cached
) $ac_c" 1>&6
16107 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16108 ac_cpp='$CXXCPP $CPPFLAGS'
16109 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16110 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16111 cross_compiling=$ac_cv_prog_cxx_cross
16113 cat > conftest.$ac_ext <<EOF
16114 #line 16115 "configure
"
16115 #include "confdefs.h
"
16117 #ifdef HAVE_IEEEFP_H
16118 #include <ieeefp.h>
16125 if { (eval echo configure:16126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16127 glibcpp_cv_func_isnanl_use=yes
16129 echo "configure
: failed program was
:" >&5
16130 cat conftest.$ac_ext >&5
16132 glibcpp_cv_func_isnanl_use=no
16136 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16137 ac_cpp='$CPP $CPPFLAGS'
16138 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16139 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16140 cross_compiling=$ac_cv_prog_cc_cross
16146 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16148 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16149 for ac_func in isnanl
16151 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16152 echo "configure
:16153: checking
for $ac_func" >&5
16153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16154 echo $ac_n "(cached
) $ac_c" 1>&6
16156 cat > conftest.$ac_ext <<EOF
16157 #line 16158 "configure
"
16158 #include "confdefs.h
"
16159 /* System header to define __stub macros and hopefully few prototypes,
16160 which can conflict with char $ac_func(); below. */
16161 #include <assert.h>
16162 /* Override any gcc2 internal prototype to avoid an error. */
16163 /* We use char because int might match the return type of a gcc2
16164 builtin and then its argument prototype would still apply. */
16169 /* The GNU C library defines this for functions which it implements
16170 to always fail with ENOSYS. Some functions are actually named
16171 something starting with __ and the normal name is an alias. */
16172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16180 if { (eval echo configure:16181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16182 eval "ac_cv_func_
$ac_func=yes"
16184 echo "configure
: failed program was
:" >&5
16185 cat conftest.$ac_ext >&5
16187 eval "ac_cv_func_
$ac_func=no
"
16192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16193 echo "$ac_t""yes" 1>&6
16194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16195 cat >> confdefs.h <<EOF
16196 #define $ac_tr_func 1
16200 echo "$ac_t""no
" 1>&6
16206 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16207 echo "configure
:16208: checking
for _isnanl declaration
" >&5
16208 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16209 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16210 echo $ac_n "(cached
) $ac_c" 1>&6
16215 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16216 ac_cpp='$CXXCPP $CPPFLAGS'
16217 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16218 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16219 cross_compiling=$ac_cv_prog_cxx_cross
16221 cat > conftest.$ac_ext <<EOF
16222 #line 16223 "configure
"
16223 #include "confdefs.h
"
16225 #ifdef HAVE_IEEEFP_H
16226 #include <ieeefp.h>
16233 if { (eval echo configure:16234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16235 glibcpp_cv_func__isnanl_use=yes
16237 echo "configure
: failed program was
:" >&5
16238 cat conftest.$ac_ext >&5
16240 glibcpp_cv_func__isnanl_use=no
16244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16245 ac_cpp='$CPP $CPPFLAGS'
16246 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16247 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16248 cross_compiling=$ac_cv_prog_cc_cross
16254 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16256 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16257 for ac_func in _isnanl
16259 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16260 echo "configure
:16261: checking
for $ac_func" >&5
16261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16262 echo $ac_n "(cached
) $ac_c" 1>&6
16264 cat > conftest.$ac_ext <<EOF
16265 #line 16266 "configure
"
16266 #include "confdefs.h
"
16267 /* System header to define __stub macros and hopefully few prototypes,
16268 which can conflict with char $ac_func(); below. */
16269 #include <assert.h>
16270 /* Override any gcc2 internal prototype to avoid an error. */
16271 /* We use char because int might match the return type of a gcc2
16272 builtin and then its argument prototype would still apply. */
16277 /* The GNU C library defines this for functions which it implements
16278 to always fail with ENOSYS. Some functions are actually named
16279 something starting with __ and the normal name is an alias. */
16280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16288 if { (eval echo configure:16289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16290 eval "ac_cv_func_
$ac_func=yes"
16292 echo "configure
: failed program was
:" >&5
16293 cat conftest.$ac_ext >&5
16295 eval "ac_cv_func_
$ac_func=no
"
16300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16301 echo "$ac_t""yes" 1>&6
16302 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16303 cat >> confdefs.h <<EOF
16304 #define $ac_tr_func 1
16308 echo "$ac_t""no
" 1>&6
16317 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16318 echo "configure
:16319: checking
for isinfl declaration
" >&5
16319 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16320 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16321 echo $ac_n "(cached
) $ac_c" 1>&6
16326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16327 ac_cpp='$CXXCPP $CPPFLAGS'
16328 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16329 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16330 cross_compiling=$ac_cv_prog_cxx_cross
16332 cat > conftest.$ac_ext <<EOF
16333 #line 16334 "configure
"
16334 #include "confdefs.h
"
16336 #ifdef HAVE_IEEEFP_H
16337 #include <ieeefp.h>
16344 if { (eval echo configure:16345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16346 glibcpp_cv_func_isinfl_use=yes
16348 echo "configure
: failed program was
:" >&5
16349 cat conftest.$ac_ext >&5
16351 glibcpp_cv_func_isinfl_use=no
16355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16356 ac_cpp='$CPP $CPPFLAGS'
16357 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16358 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16359 cross_compiling=$ac_cv_prog_cc_cross
16365 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16367 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16368 for ac_func in isinfl
16370 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16371 echo "configure
:16372: checking
for $ac_func" >&5
16372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16373 echo $ac_n "(cached
) $ac_c" 1>&6
16375 cat > conftest.$ac_ext <<EOF
16376 #line 16377 "configure
"
16377 #include "confdefs.h
"
16378 /* System header to define __stub macros and hopefully few prototypes,
16379 which can conflict with char $ac_func(); below. */
16380 #include <assert.h>
16381 /* Override any gcc2 internal prototype to avoid an error. */
16382 /* We use char because int might match the return type of a gcc2
16383 builtin and then its argument prototype would still apply. */
16388 /* The GNU C library defines this for functions which it implements
16389 to always fail with ENOSYS. Some functions are actually named
16390 something starting with __ and the normal name is an alias. */
16391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16399 if { (eval echo configure:16400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16401 eval "ac_cv_func_
$ac_func=yes"
16403 echo "configure
: failed program was
:" >&5
16404 cat conftest.$ac_ext >&5
16406 eval "ac_cv_func_
$ac_func=no
"
16411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16412 echo "$ac_t""yes" 1>&6
16413 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16414 cat >> confdefs.h <<EOF
16415 #define $ac_tr_func 1
16419 echo "$ac_t""no
" 1>&6
16425 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16426 echo "configure
:16427: checking
for _isinfl declaration
" >&5
16427 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16428 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16429 echo $ac_n "(cached
) $ac_c" 1>&6
16434 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16435 ac_cpp='$CXXCPP $CPPFLAGS'
16436 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16437 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16438 cross_compiling=$ac_cv_prog_cxx_cross
16440 cat > conftest.$ac_ext <<EOF
16441 #line 16442 "configure
"
16442 #include "confdefs.h
"
16444 #ifdef HAVE_IEEEFP_H
16445 #include <ieeefp.h>
16452 if { (eval echo configure:16453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16454 glibcpp_cv_func__isinfl_use=yes
16456 echo "configure
: failed program was
:" >&5
16457 cat conftest.$ac_ext >&5
16459 glibcpp_cv_func__isinfl_use=no
16463 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16464 ac_cpp='$CPP $CPPFLAGS'
16465 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16466 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16467 cross_compiling=$ac_cv_prog_cc_cross
16473 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16475 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16476 for ac_func in _isinfl
16478 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16479 echo "configure
:16480: checking
for $ac_func" >&5
16480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16481 echo $ac_n "(cached
) $ac_c" 1>&6
16483 cat > conftest.$ac_ext <<EOF
16484 #line 16485 "configure
"
16485 #include "confdefs.h
"
16486 /* System header to define __stub macros and hopefully few prototypes,
16487 which can conflict with char $ac_func(); below. */
16488 #include <assert.h>
16489 /* Override any gcc2 internal prototype to avoid an error. */
16490 /* We use char because int might match the return type of a gcc2
16491 builtin and then its argument prototype would still apply. */
16496 /* The GNU C library defines this for functions which it implements
16497 to always fail with ENOSYS. Some functions are actually named
16498 something starting with __ and the normal name is an alias. */
16499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16507 if { (eval echo configure:16508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16509 eval "ac_cv_func_
$ac_func=yes"
16511 echo "configure
: failed program was
:" >&5
16512 cat conftest.$ac_ext >&5
16514 eval "ac_cv_func_
$ac_func=no
"
16519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16520 echo "$ac_t""yes" 1>&6
16521 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16522 cat >> confdefs.h <<EOF
16523 #define $ac_tr_func 1
16527 echo "$ac_t""no
" 1>&6
16536 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16537 echo "configure
:16538: checking
for copysignl declaration
" >&5
16538 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16539 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16540 echo $ac_n "(cached
) $ac_c" 1>&6
16545 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16546 ac_cpp='$CXXCPP $CPPFLAGS'
16547 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16548 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16549 cross_compiling=$ac_cv_prog_cxx_cross
16551 cat > conftest.$ac_ext <<EOF
16552 #line 16553 "configure
"
16553 #include "confdefs.h
"
16559 if { (eval echo configure:16560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16561 glibcpp_cv_func_copysignl_use=yes
16563 echo "configure
: failed program was
:" >&5
16564 cat conftest.$ac_ext >&5
16566 glibcpp_cv_func_copysignl_use=no
16570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16571 ac_cpp='$CPP $CPPFLAGS'
16572 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16573 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16574 cross_compiling=$ac_cv_prog_cc_cross
16580 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16582 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16583 for ac_func in copysignl
16585 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16586 echo "configure
:16587: checking
for $ac_func" >&5
16587 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16588 echo $ac_n "(cached
) $ac_c" 1>&6
16590 cat > conftest.$ac_ext <<EOF
16591 #line 16592 "configure
"
16592 #include "confdefs.h
"
16593 /* System header to define __stub macros and hopefully few prototypes,
16594 which can conflict with char $ac_func(); below. */
16595 #include <assert.h>
16596 /* Override any gcc2 internal prototype to avoid an error. */
16597 /* We use char because int might match the return type of a gcc2
16598 builtin and then its argument prototype would still apply. */
16603 /* The GNU C library defines this for functions which it implements
16604 to always fail with ENOSYS. Some functions are actually named
16605 something starting with __ and the normal name is an alias. */
16606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16614 if { (eval echo configure:16615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16616 eval "ac_cv_func_
$ac_func=yes"
16618 echo "configure
: failed program was
:" >&5
16619 cat conftest.$ac_ext >&5
16621 eval "ac_cv_func_
$ac_func=no
"
16626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16627 echo "$ac_t""yes" 1>&6
16628 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16629 cat >> confdefs.h <<EOF
16630 #define $ac_tr_func 1
16634 echo "$ac_t""no
" 1>&6
16640 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16641 echo "configure
:16642: checking
for _copysignl declaration
" >&5
16642 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16643 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16644 echo $ac_n "(cached
) $ac_c" 1>&6
16649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16650 ac_cpp='$CXXCPP $CPPFLAGS'
16651 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16652 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16653 cross_compiling=$ac_cv_prog_cxx_cross
16655 cat > conftest.$ac_ext <<EOF
16656 #line 16657 "configure
"
16657 #include "confdefs.h
"
16663 if { (eval echo configure:16664: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16665 glibcpp_cv_func__copysignl_use=yes
16667 echo "configure
: failed program was
:" >&5
16668 cat conftest.$ac_ext >&5
16670 glibcpp_cv_func__copysignl_use=no
16674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16675 ac_cpp='$CPP $CPPFLAGS'
16676 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16677 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16678 cross_compiling=$ac_cv_prog_cc_cross
16684 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
16686 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
16687 for ac_func in _copysignl
16689 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16690 echo "configure
:16691: checking
for $ac_func" >&5
16691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16692 echo $ac_n "(cached
) $ac_c" 1>&6
16694 cat > conftest.$ac_ext <<EOF
16695 #line 16696 "configure
"
16696 #include "confdefs.h
"
16697 /* System header to define __stub macros and hopefully few prototypes,
16698 which can conflict with char $ac_func(); below. */
16699 #include <assert.h>
16700 /* Override any gcc2 internal prototype to avoid an error. */
16701 /* We use char because int might match the return type of a gcc2
16702 builtin and then its argument prototype would still apply. */
16707 /* The GNU C library defines this for functions which it implements
16708 to always fail with ENOSYS. Some functions are actually named
16709 something starting with __ and the normal name is an alias. */
16710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16718 if { (eval echo configure:16719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16720 eval "ac_cv_func_
$ac_func=yes"
16722 echo "configure
: failed program was
:" >&5
16723 cat conftest.$ac_ext >&5
16725 eval "ac_cv_func_
$ac_func=no
"
16730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16731 echo "$ac_t""yes" 1>&6
16732 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16733 cat >> confdefs.h <<EOF
16734 #define $ac_tr_func 1
16738 echo "$ac_t""no
" 1>&6
16747 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
16748 echo "configure
:16749: checking
for atan2l declaration
" >&5
16749 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
16750 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
16751 echo $ac_n "(cached
) $ac_c" 1>&6
16756 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16757 ac_cpp='$CXXCPP $CPPFLAGS'
16758 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16759 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16760 cross_compiling=$ac_cv_prog_cxx_cross
16762 cat > conftest.$ac_ext <<EOF
16763 #line 16764 "configure
"
16764 #include "confdefs.h
"
16770 if { (eval echo configure:16771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16772 glibcpp_cv_func_atan2l_use=yes
16774 echo "configure
: failed program was
:" >&5
16775 cat conftest.$ac_ext >&5
16777 glibcpp_cv_func_atan2l_use=no
16781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16782 ac_cpp='$CPP $CPPFLAGS'
16783 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16784 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16785 cross_compiling=$ac_cv_prog_cc_cross
16791 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
16793 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
16794 for ac_func in atan2l
16796 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16797 echo "configure
:16798: checking
for $ac_func" >&5
16798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16799 echo $ac_n "(cached
) $ac_c" 1>&6
16801 cat > conftest.$ac_ext <<EOF
16802 #line 16803 "configure
"
16803 #include "confdefs.h
"
16804 /* System header to define __stub macros and hopefully few prototypes,
16805 which can conflict with char $ac_func(); below. */
16806 #include <assert.h>
16807 /* Override any gcc2 internal prototype to avoid an error. */
16808 /* We use char because int might match the return type of a gcc2
16809 builtin and then its argument prototype would still apply. */
16814 /* The GNU C library defines this for functions which it implements
16815 to always fail with ENOSYS. Some functions are actually named
16816 something starting with __ and the normal name is an alias. */
16817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16825 if { (eval echo configure:16826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16827 eval "ac_cv_func_
$ac_func=yes"
16829 echo "configure
: failed program was
:" >&5
16830 cat conftest.$ac_ext >&5
16832 eval "ac_cv_func_
$ac_func=no
"
16837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16838 echo "$ac_t""yes" 1>&6
16839 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16840 cat >> confdefs.h <<EOF
16841 #define $ac_tr_func 1
16845 echo "$ac_t""no
" 1>&6
16851 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
16852 echo "configure
:16853: checking
for _atan2l declaration
" >&5
16853 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
16854 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
16855 echo $ac_n "(cached
) $ac_c" 1>&6
16860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16861 ac_cpp='$CXXCPP $CPPFLAGS'
16862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16864 cross_compiling=$ac_cv_prog_cxx_cross
16866 cat > conftest.$ac_ext <<EOF
16867 #line 16868 "configure
"
16868 #include "confdefs.h
"
16874 if { (eval echo configure:16875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16876 glibcpp_cv_func__atan2l_use=yes
16878 echo "configure
: failed program was
:" >&5
16879 cat conftest.$ac_ext >&5
16881 glibcpp_cv_func__atan2l_use=no
16885 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16886 ac_cpp='$CPP $CPPFLAGS'
16887 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16888 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16889 cross_compiling=$ac_cv_prog_cc_cross
16895 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
16897 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
16898 for ac_func in _atan2l
16900 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16901 echo "configure
:16902: checking
for $ac_func" >&5
16902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16903 echo $ac_n "(cached
) $ac_c" 1>&6
16905 cat > conftest.$ac_ext <<EOF
16906 #line 16907 "configure
"
16907 #include "confdefs.h
"
16908 /* System header to define __stub macros and hopefully few prototypes,
16909 which can conflict with char $ac_func(); below. */
16910 #include <assert.h>
16911 /* Override any gcc2 internal prototype to avoid an error. */
16912 /* We use char because int might match the return type of a gcc2
16913 builtin and then its argument prototype would still apply. */
16918 /* The GNU C library defines this for functions which it implements
16919 to always fail with ENOSYS. Some functions are actually named
16920 something starting with __ and the normal name is an alias. */
16921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16929 if { (eval echo configure:16930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16931 eval "ac_cv_func_
$ac_func=yes"
16933 echo "configure
: failed program was
:" >&5
16934 cat conftest.$ac_ext >&5
16936 eval "ac_cv_func_
$ac_func=no
"
16941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16942 echo "$ac_t""yes" 1>&6
16943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16944 cat >> confdefs.h <<EOF
16945 #define $ac_tr_func 1
16949 echo "$ac_t""no
" 1>&6
16958 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
16959 echo "configure
:16960: checking
for expl declaration
" >&5
16960 if test x${glibcpp_cv_func_expl_use+set} != xset; then
16961 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
16962 echo $ac_n "(cached
) $ac_c" 1>&6
16967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16968 ac_cpp='$CXXCPP $CPPFLAGS'
16969 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16970 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16971 cross_compiling=$ac_cv_prog_cxx_cross
16973 cat > conftest.$ac_ext <<EOF
16974 #line 16975 "configure
"
16975 #include "confdefs.h
"
16977 #ifdef HAVE_IEEEFP_H
16978 #include <ieeefp.h>
16985 if { (eval echo configure:16986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16987 glibcpp_cv_func_expl_use=yes
16989 echo "configure
: failed program was
:" >&5
16990 cat conftest.$ac_ext >&5
16992 glibcpp_cv_func_expl_use=no
16996 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16997 ac_cpp='$CPP $CPPFLAGS'
16998 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16999 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17000 cross_compiling=$ac_cv_prog_cc_cross
17006 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17008 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17009 for ac_func in expl
17011 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17012 echo "configure
:17013: checking
for $ac_func" >&5
17013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17014 echo $ac_n "(cached
) $ac_c" 1>&6
17016 cat > conftest.$ac_ext <<EOF
17017 #line 17018 "configure
"
17018 #include "confdefs.h
"
17019 /* System header to define __stub macros and hopefully few prototypes,
17020 which can conflict with char $ac_func(); below. */
17021 #include <assert.h>
17022 /* Override any gcc2 internal prototype to avoid an error. */
17023 /* We use char because int might match the return type of a gcc2
17024 builtin and then its argument prototype would still apply. */
17029 /* The GNU C library defines this for functions which it implements
17030 to always fail with ENOSYS. Some functions are actually named
17031 something starting with __ and the normal name is an alias. */
17032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17040 if { (eval echo configure:17041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17042 eval "ac_cv_func_
$ac_func=yes"
17044 echo "configure
: failed program was
:" >&5
17045 cat conftest.$ac_ext >&5
17047 eval "ac_cv_func_
$ac_func=no
"
17052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17053 echo "$ac_t""yes" 1>&6
17054 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17055 cat >> confdefs.h <<EOF
17056 #define $ac_tr_func 1
17060 echo "$ac_t""no
" 1>&6
17066 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17067 echo "configure
:17068: checking
for _expl declaration
" >&5
17068 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17069 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17070 echo $ac_n "(cached
) $ac_c" 1>&6
17075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17076 ac_cpp='$CXXCPP $CPPFLAGS'
17077 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17078 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17079 cross_compiling=$ac_cv_prog_cxx_cross
17081 cat > conftest.$ac_ext <<EOF
17082 #line 17083 "configure
"
17083 #include "confdefs.h
"
17085 #ifdef HAVE_IEEEFP_H
17086 #include <ieeefp.h>
17093 if { (eval echo configure:17094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17095 glibcpp_cv_func__expl_use=yes
17097 echo "configure
: failed program was
:" >&5
17098 cat conftest.$ac_ext >&5
17100 glibcpp_cv_func__expl_use=no
17104 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17105 ac_cpp='$CPP $CPPFLAGS'
17106 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17107 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17108 cross_compiling=$ac_cv_prog_cc_cross
17114 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17116 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17117 for ac_func in _expl
17119 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17120 echo "configure
:17121: checking
for $ac_func" >&5
17121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17122 echo $ac_n "(cached
) $ac_c" 1>&6
17124 cat > conftest.$ac_ext <<EOF
17125 #line 17126 "configure
"
17126 #include "confdefs.h
"
17127 /* System header to define __stub macros and hopefully few prototypes,
17128 which can conflict with char $ac_func(); below. */
17129 #include <assert.h>
17130 /* Override any gcc2 internal prototype to avoid an error. */
17131 /* We use char because int might match the return type of a gcc2
17132 builtin and then its argument prototype would still apply. */
17137 /* The GNU C library defines this for functions which it implements
17138 to always fail with ENOSYS. Some functions are actually named
17139 something starting with __ and the normal name is an alias. */
17140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17148 if { (eval echo configure:17149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17150 eval "ac_cv_func_
$ac_func=yes"
17152 echo "configure
: failed program was
:" >&5
17153 cat conftest.$ac_ext >&5
17155 eval "ac_cv_func_
$ac_func=no
"
17160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17161 echo "$ac_t""yes" 1>&6
17162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17163 cat >> confdefs.h <<EOF
17164 #define $ac_tr_func 1
17168 echo "$ac_t""no
" 1>&6
17177 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17178 echo "configure
:17179: checking
for fabsl declaration
" >&5
17179 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17180 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17181 echo $ac_n "(cached
) $ac_c" 1>&6
17186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17187 ac_cpp='$CXXCPP $CPPFLAGS'
17188 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17189 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17190 cross_compiling=$ac_cv_prog_cxx_cross
17192 cat > conftest.$ac_ext <<EOF
17193 #line 17194 "configure
"
17194 #include "confdefs.h
"
17196 #ifdef HAVE_IEEEFP_H
17197 #include <ieeefp.h>
17204 if { (eval echo configure:17205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17206 glibcpp_cv_func_fabsl_use=yes
17208 echo "configure
: failed program was
:" >&5
17209 cat conftest.$ac_ext >&5
17211 glibcpp_cv_func_fabsl_use=no
17215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17216 ac_cpp='$CPP $CPPFLAGS'
17217 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17218 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17219 cross_compiling=$ac_cv_prog_cc_cross
17225 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17227 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17228 for ac_func in fabsl
17230 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17231 echo "configure
:17232: checking
for $ac_func" >&5
17232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17233 echo $ac_n "(cached
) $ac_c" 1>&6
17235 cat > conftest.$ac_ext <<EOF
17236 #line 17237 "configure
"
17237 #include "confdefs.h
"
17238 /* System header to define __stub macros and hopefully few prototypes,
17239 which can conflict with char $ac_func(); below. */
17240 #include <assert.h>
17241 /* Override any gcc2 internal prototype to avoid an error. */
17242 /* We use char because int might match the return type of a gcc2
17243 builtin and then its argument prototype would still apply. */
17248 /* The GNU C library defines this for functions which it implements
17249 to always fail with ENOSYS. Some functions are actually named
17250 something starting with __ and the normal name is an alias. */
17251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17259 if { (eval echo configure:17260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17261 eval "ac_cv_func_
$ac_func=yes"
17263 echo "configure
: failed program was
:" >&5
17264 cat conftest.$ac_ext >&5
17266 eval "ac_cv_func_
$ac_func=no
"
17271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17272 echo "$ac_t""yes" 1>&6
17273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17274 cat >> confdefs.h <<EOF
17275 #define $ac_tr_func 1
17279 echo "$ac_t""no
" 1>&6
17285 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17286 echo "configure
:17287: checking
for _fabsl declaration
" >&5
17287 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17288 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17289 echo $ac_n "(cached
) $ac_c" 1>&6
17294 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17295 ac_cpp='$CXXCPP $CPPFLAGS'
17296 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17297 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17298 cross_compiling=$ac_cv_prog_cxx_cross
17300 cat > conftest.$ac_ext <<EOF
17301 #line 17302 "configure
"
17302 #include "confdefs.h
"
17304 #ifdef HAVE_IEEEFP_H
17305 #include <ieeefp.h>
17312 if { (eval echo configure:17313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17314 glibcpp_cv_func__fabsl_use=yes
17316 echo "configure
: failed program was
:" >&5
17317 cat conftest.$ac_ext >&5
17319 glibcpp_cv_func__fabsl_use=no
17323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17324 ac_cpp='$CPP $CPPFLAGS'
17325 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17326 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17327 cross_compiling=$ac_cv_prog_cc_cross
17333 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17335 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17336 for ac_func in _fabsl
17338 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17339 echo "configure
:17340: checking
for $ac_func" >&5
17340 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17341 echo $ac_n "(cached
) $ac_c" 1>&6
17343 cat > conftest.$ac_ext <<EOF
17344 #line 17345 "configure
"
17345 #include "confdefs.h
"
17346 /* System header to define __stub macros and hopefully few prototypes,
17347 which can conflict with char $ac_func(); below. */
17348 #include <assert.h>
17349 /* Override any gcc2 internal prototype to avoid an error. */
17350 /* We use char because int might match the return type of a gcc2
17351 builtin and then its argument prototype would still apply. */
17356 /* The GNU C library defines this for functions which it implements
17357 to always fail with ENOSYS. Some functions are actually named
17358 something starting with __ and the normal name is an alias. */
17359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17367 if { (eval echo configure:17368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17369 eval "ac_cv_func_
$ac_func=yes"
17371 echo "configure
: failed program was
:" >&5
17372 cat conftest.$ac_ext >&5
17374 eval "ac_cv_func_
$ac_func=no
"
17379 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17380 echo "$ac_t""yes" 1>&6
17381 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17382 cat >> confdefs.h <<EOF
17383 #define $ac_tr_func 1
17387 echo "$ac_t""no
" 1>&6
17396 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17397 echo "configure
:17398: checking
for fmodl declaration
" >&5
17398 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17399 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17400 echo $ac_n "(cached
) $ac_c" 1>&6
17405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17406 ac_cpp='$CXXCPP $CPPFLAGS'
17407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17409 cross_compiling=$ac_cv_prog_cxx_cross
17411 cat > conftest.$ac_ext <<EOF
17412 #line 17413 "configure
"
17413 #include "confdefs.h
"
17419 if { (eval echo configure:17420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17421 glibcpp_cv_func_fmodl_use=yes
17423 echo "configure
: failed program was
:" >&5
17424 cat conftest.$ac_ext >&5
17426 glibcpp_cv_func_fmodl_use=no
17430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17431 ac_cpp='$CPP $CPPFLAGS'
17432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17434 cross_compiling=$ac_cv_prog_cc_cross
17440 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17442 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17443 for ac_func in fmodl
17445 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17446 echo "configure
:17447: checking
for $ac_func" >&5
17447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17448 echo $ac_n "(cached
) $ac_c" 1>&6
17450 cat > conftest.$ac_ext <<EOF
17451 #line 17452 "configure
"
17452 #include "confdefs.h
"
17453 /* System header to define __stub macros and hopefully few prototypes,
17454 which can conflict with char $ac_func(); below. */
17455 #include <assert.h>
17456 /* Override any gcc2 internal prototype to avoid an error. */
17457 /* We use char because int might match the return type of a gcc2
17458 builtin and then its argument prototype would still apply. */
17463 /* The GNU C library defines this for functions which it implements
17464 to always fail with ENOSYS. Some functions are actually named
17465 something starting with __ and the normal name is an alias. */
17466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17474 if { (eval echo configure:17475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17476 eval "ac_cv_func_
$ac_func=yes"
17478 echo "configure
: failed program was
:" >&5
17479 cat conftest.$ac_ext >&5
17481 eval "ac_cv_func_
$ac_func=no
"
17486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17487 echo "$ac_t""yes" 1>&6
17488 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17489 cat >> confdefs.h <<EOF
17490 #define $ac_tr_func 1
17494 echo "$ac_t""no
" 1>&6
17500 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17501 echo "configure
:17502: checking
for _fmodl declaration
" >&5
17502 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17503 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17504 echo $ac_n "(cached
) $ac_c" 1>&6
17509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17510 ac_cpp='$CXXCPP $CPPFLAGS'
17511 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17512 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17513 cross_compiling=$ac_cv_prog_cxx_cross
17515 cat > conftest.$ac_ext <<EOF
17516 #line 17517 "configure
"
17517 #include "confdefs.h
"
17523 if { (eval echo configure:17524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17525 glibcpp_cv_func__fmodl_use=yes
17527 echo "configure
: failed program was
:" >&5
17528 cat conftest.$ac_ext >&5
17530 glibcpp_cv_func__fmodl_use=no
17534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17535 ac_cpp='$CPP $CPPFLAGS'
17536 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17537 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17538 cross_compiling=$ac_cv_prog_cc_cross
17544 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17546 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17547 for ac_func in _fmodl
17549 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17550 echo "configure
:17551: checking
for $ac_func" >&5
17551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17552 echo $ac_n "(cached
) $ac_c" 1>&6
17554 cat > conftest.$ac_ext <<EOF
17555 #line 17556 "configure
"
17556 #include "confdefs.h
"
17557 /* System header to define __stub macros and hopefully few prototypes,
17558 which can conflict with char $ac_func(); below. */
17559 #include <assert.h>
17560 /* Override any gcc2 internal prototype to avoid an error. */
17561 /* We use char because int might match the return type of a gcc2
17562 builtin and then its argument prototype would still apply. */
17567 /* The GNU C library defines this for functions which it implements
17568 to always fail with ENOSYS. Some functions are actually named
17569 something starting with __ and the normal name is an alias. */
17570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17578 if { (eval echo configure:17579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17580 eval "ac_cv_func_
$ac_func=yes"
17582 echo "configure
: failed program was
:" >&5
17583 cat conftest.$ac_ext >&5
17585 eval "ac_cv_func_
$ac_func=no
"
17590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17591 echo "$ac_t""yes" 1>&6
17592 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17593 cat >> confdefs.h <<EOF
17594 #define $ac_tr_func 1
17598 echo "$ac_t""no
" 1>&6
17607 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17608 echo "configure
:17609: checking
for frexpl declaration
" >&5
17609 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17610 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17611 echo $ac_n "(cached
) $ac_c" 1>&6
17616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17617 ac_cpp='$CXXCPP $CPPFLAGS'
17618 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17619 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17620 cross_compiling=$ac_cv_prog_cxx_cross
17622 cat > conftest.$ac_ext <<EOF
17623 #line 17624 "configure
"
17624 #include "confdefs.h
"
17630 if { (eval echo configure:17631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17632 glibcpp_cv_func_frexpl_use=yes
17634 echo "configure
: failed program was
:" >&5
17635 cat conftest.$ac_ext >&5
17637 glibcpp_cv_func_frexpl_use=no
17641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17642 ac_cpp='$CPP $CPPFLAGS'
17643 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17644 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17645 cross_compiling=$ac_cv_prog_cc_cross
17651 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17653 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17654 for ac_func in frexpl
17656 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17657 echo "configure
:17658: checking
for $ac_func" >&5
17658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17659 echo $ac_n "(cached
) $ac_c" 1>&6
17661 cat > conftest.$ac_ext <<EOF
17662 #line 17663 "configure
"
17663 #include "confdefs.h
"
17664 /* System header to define __stub macros and hopefully few prototypes,
17665 which can conflict with char $ac_func(); below. */
17666 #include <assert.h>
17667 /* Override any gcc2 internal prototype to avoid an error. */
17668 /* We use char because int might match the return type of a gcc2
17669 builtin and then its argument prototype would still apply. */
17674 /* The GNU C library defines this for functions which it implements
17675 to always fail with ENOSYS. Some functions are actually named
17676 something starting with __ and the normal name is an alias. */
17677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17685 if { (eval echo configure:17686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17687 eval "ac_cv_func_
$ac_func=yes"
17689 echo "configure
: failed program was
:" >&5
17690 cat conftest.$ac_ext >&5
17692 eval "ac_cv_func_
$ac_func=no
"
17697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17698 echo "$ac_t""yes" 1>&6
17699 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17700 cat >> confdefs.h <<EOF
17701 #define $ac_tr_func 1
17705 echo "$ac_t""no
" 1>&6
17711 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
17712 echo "configure
:17713: checking
for _frexpl declaration
" >&5
17713 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
17714 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
17715 echo $ac_n "(cached
) $ac_c" 1>&6
17720 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17721 ac_cpp='$CXXCPP $CPPFLAGS'
17722 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17723 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17724 cross_compiling=$ac_cv_prog_cxx_cross
17726 cat > conftest.$ac_ext <<EOF
17727 #line 17728 "configure
"
17728 #include "confdefs.h
"
17734 if { (eval echo configure:17735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17736 glibcpp_cv_func__frexpl_use=yes
17738 echo "configure
: failed program was
:" >&5
17739 cat conftest.$ac_ext >&5
17741 glibcpp_cv_func__frexpl_use=no
17745 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17746 ac_cpp='$CPP $CPPFLAGS'
17747 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17748 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17749 cross_compiling=$ac_cv_prog_cc_cross
17755 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
17757 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
17758 for ac_func in _frexpl
17760 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17761 echo "configure
:17762: checking
for $ac_func" >&5
17762 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17763 echo $ac_n "(cached
) $ac_c" 1>&6
17765 cat > conftest.$ac_ext <<EOF
17766 #line 17767 "configure
"
17767 #include "confdefs.h
"
17768 /* System header to define __stub macros and hopefully few prototypes,
17769 which can conflict with char $ac_func(); below. */
17770 #include <assert.h>
17771 /* Override any gcc2 internal prototype to avoid an error. */
17772 /* We use char because int might match the return type of a gcc2
17773 builtin and then its argument prototype would still apply. */
17778 /* The GNU C library defines this for functions which it implements
17779 to always fail with ENOSYS. Some functions are actually named
17780 something starting with __ and the normal name is an alias. */
17781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17789 if { (eval echo configure:17790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17791 eval "ac_cv_func_
$ac_func=yes"
17793 echo "configure
: failed program was
:" >&5
17794 cat conftest.$ac_ext >&5
17796 eval "ac_cv_func_
$ac_func=no
"
17801 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17802 echo "$ac_t""yes" 1>&6
17803 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17804 cat >> confdefs.h <<EOF
17805 #define $ac_tr_func 1
17809 echo "$ac_t""no
" 1>&6
17818 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
17819 echo "configure
:17820: checking
for hypotl declaration
" >&5
17820 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
17821 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
17822 echo $ac_n "(cached
) $ac_c" 1>&6
17827 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17828 ac_cpp='$CXXCPP $CPPFLAGS'
17829 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17830 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17831 cross_compiling=$ac_cv_prog_cxx_cross
17833 cat > conftest.$ac_ext <<EOF
17834 #line 17835 "configure
"
17835 #include "confdefs.h
"
17841 if { (eval echo configure:17842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17843 glibcpp_cv_func_hypotl_use=yes
17845 echo "configure
: failed program was
:" >&5
17846 cat conftest.$ac_ext >&5
17848 glibcpp_cv_func_hypotl_use=no
17852 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17853 ac_cpp='$CPP $CPPFLAGS'
17854 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17855 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17856 cross_compiling=$ac_cv_prog_cc_cross
17862 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
17864 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
17865 for ac_func in hypotl
17867 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17868 echo "configure
:17869: checking
for $ac_func" >&5
17869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17870 echo $ac_n "(cached
) $ac_c" 1>&6
17872 cat > conftest.$ac_ext <<EOF
17873 #line 17874 "configure
"
17874 #include "confdefs.h
"
17875 /* System header to define __stub macros and hopefully few prototypes,
17876 which can conflict with char $ac_func(); below. */
17877 #include <assert.h>
17878 /* Override any gcc2 internal prototype to avoid an error. */
17879 /* We use char because int might match the return type of a gcc2
17880 builtin and then its argument prototype would still apply. */
17885 /* The GNU C library defines this for functions which it implements
17886 to always fail with ENOSYS. Some functions are actually named
17887 something starting with __ and the normal name is an alias. */
17888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17896 if { (eval echo configure:17897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17898 eval "ac_cv_func_
$ac_func=yes"
17900 echo "configure
: failed program was
:" >&5
17901 cat conftest.$ac_ext >&5
17903 eval "ac_cv_func_
$ac_func=no
"
17908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17909 echo "$ac_t""yes" 1>&6
17910 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17911 cat >> confdefs.h <<EOF
17912 #define $ac_tr_func 1
17916 echo "$ac_t""no
" 1>&6
17922 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
17923 echo "configure
:17924: checking
for _hypotl declaration
" >&5
17924 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
17925 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
17926 echo $ac_n "(cached
) $ac_c" 1>&6
17931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17932 ac_cpp='$CXXCPP $CPPFLAGS'
17933 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17934 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17935 cross_compiling=$ac_cv_prog_cxx_cross
17937 cat > conftest.$ac_ext <<EOF
17938 #line 17939 "configure
"
17939 #include "confdefs.h
"
17945 if { (eval echo configure:17946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17947 glibcpp_cv_func__hypotl_use=yes
17949 echo "configure
: failed program was
:" >&5
17950 cat conftest.$ac_ext >&5
17952 glibcpp_cv_func__hypotl_use=no
17956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17957 ac_cpp='$CPP $CPPFLAGS'
17958 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17959 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17960 cross_compiling=$ac_cv_prog_cc_cross
17966 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
17968 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
17969 for ac_func in _hypotl
17971 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17972 echo "configure
:17973: checking
for $ac_func" >&5
17973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17974 echo $ac_n "(cached
) $ac_c" 1>&6
17976 cat > conftest.$ac_ext <<EOF
17977 #line 17978 "configure
"
17978 #include "confdefs.h
"
17979 /* System header to define __stub macros and hopefully few prototypes,
17980 which can conflict with char $ac_func(); below. */
17981 #include <assert.h>
17982 /* Override any gcc2 internal prototype to avoid an error. */
17983 /* We use char because int might match the return type of a gcc2
17984 builtin and then its argument prototype would still apply. */
17989 /* The GNU C library defines this for functions which it implements
17990 to always fail with ENOSYS. Some functions are actually named
17991 something starting with __ and the normal name is an alias. */
17992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18000 if { (eval echo configure:18001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18002 eval "ac_cv_func_
$ac_func=yes"
18004 echo "configure
: failed program was
:" >&5
18005 cat conftest.$ac_ext >&5
18007 eval "ac_cv_func_
$ac_func=no
"
18012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18013 echo "$ac_t""yes" 1>&6
18014 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18015 cat >> confdefs.h <<EOF
18016 #define $ac_tr_func 1
18020 echo "$ac_t""no
" 1>&6
18029 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18030 echo "configure
:18031: checking
for ldexpl declaration
" >&5
18031 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18032 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18033 echo $ac_n "(cached
) $ac_c" 1>&6
18038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18039 ac_cpp='$CXXCPP $CPPFLAGS'
18040 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18041 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18042 cross_compiling=$ac_cv_prog_cxx_cross
18044 cat > conftest.$ac_ext <<EOF
18045 #line 18046 "configure
"
18046 #include "confdefs.h
"
18052 if { (eval echo configure:18053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18054 glibcpp_cv_func_ldexpl_use=yes
18056 echo "configure
: failed program was
:" >&5
18057 cat conftest.$ac_ext >&5
18059 glibcpp_cv_func_ldexpl_use=no
18063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18064 ac_cpp='$CPP $CPPFLAGS'
18065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18067 cross_compiling=$ac_cv_prog_cc_cross
18073 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18075 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18076 for ac_func in ldexpl
18078 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18079 echo "configure
:18080: checking
for $ac_func" >&5
18080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18081 echo $ac_n "(cached
) $ac_c" 1>&6
18083 cat > conftest.$ac_ext <<EOF
18084 #line 18085 "configure
"
18085 #include "confdefs.h
"
18086 /* System header to define __stub macros and hopefully few prototypes,
18087 which can conflict with char $ac_func(); below. */
18088 #include <assert.h>
18089 /* Override any gcc2 internal prototype to avoid an error. */
18090 /* We use char because int might match the return type of a gcc2
18091 builtin and then its argument prototype would still apply. */
18096 /* The GNU C library defines this for functions which it implements
18097 to always fail with ENOSYS. Some functions are actually named
18098 something starting with __ and the normal name is an alias. */
18099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18107 if { (eval echo configure:18108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18109 eval "ac_cv_func_
$ac_func=yes"
18111 echo "configure
: failed program was
:" >&5
18112 cat conftest.$ac_ext >&5
18114 eval "ac_cv_func_
$ac_func=no
"
18119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18120 echo "$ac_t""yes" 1>&6
18121 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18122 cat >> confdefs.h <<EOF
18123 #define $ac_tr_func 1
18127 echo "$ac_t""no
" 1>&6
18133 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18134 echo "configure
:18135: checking
for _ldexpl declaration
" >&5
18135 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18136 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18137 echo $ac_n "(cached
) $ac_c" 1>&6
18142 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18143 ac_cpp='$CXXCPP $CPPFLAGS'
18144 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18145 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18146 cross_compiling=$ac_cv_prog_cxx_cross
18148 cat > conftest.$ac_ext <<EOF
18149 #line 18150 "configure
"
18150 #include "confdefs.h
"
18156 if { (eval echo configure:18157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18158 glibcpp_cv_func__ldexpl_use=yes
18160 echo "configure
: failed program was
:" >&5
18161 cat conftest.$ac_ext >&5
18163 glibcpp_cv_func__ldexpl_use=no
18167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18168 ac_cpp='$CPP $CPPFLAGS'
18169 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18170 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18171 cross_compiling=$ac_cv_prog_cc_cross
18177 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18179 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18180 for ac_func in _ldexpl
18182 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18183 echo "configure
:18184: checking
for $ac_func" >&5
18184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18185 echo $ac_n "(cached
) $ac_c" 1>&6
18187 cat > conftest.$ac_ext <<EOF
18188 #line 18189 "configure
"
18189 #include "confdefs.h
"
18190 /* System header to define __stub macros and hopefully few prototypes,
18191 which can conflict with char $ac_func(); below. */
18192 #include <assert.h>
18193 /* Override any gcc2 internal prototype to avoid an error. */
18194 /* We use char because int might match the return type of a gcc2
18195 builtin and then its argument prototype would still apply. */
18200 /* The GNU C library defines this for functions which it implements
18201 to always fail with ENOSYS. Some functions are actually named
18202 something starting with __ and the normal name is an alias. */
18203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18211 if { (eval echo configure:18212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18213 eval "ac_cv_func_
$ac_func=yes"
18215 echo "configure
: failed program was
:" >&5
18216 cat conftest.$ac_ext >&5
18218 eval "ac_cv_func_
$ac_func=no
"
18223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18224 echo "$ac_t""yes" 1>&6
18225 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18226 cat >> confdefs.h <<EOF
18227 #define $ac_tr_func 1
18231 echo "$ac_t""no
" 1>&6
18240 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18241 echo "configure
:18242: checking
for logl declaration
" >&5
18242 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18243 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18244 echo $ac_n "(cached
) $ac_c" 1>&6
18249 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18250 ac_cpp='$CXXCPP $CPPFLAGS'
18251 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18252 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18253 cross_compiling=$ac_cv_prog_cxx_cross
18255 cat > conftest.$ac_ext <<EOF
18256 #line 18257 "configure
"
18257 #include "confdefs.h
"
18259 #ifdef HAVE_IEEEFP_H
18260 #include <ieeefp.h>
18267 if { (eval echo configure:18268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18269 glibcpp_cv_func_logl_use=yes
18271 echo "configure
: failed program was
:" >&5
18272 cat conftest.$ac_ext >&5
18274 glibcpp_cv_func_logl_use=no
18278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18279 ac_cpp='$CPP $CPPFLAGS'
18280 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18281 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18282 cross_compiling=$ac_cv_prog_cc_cross
18288 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18290 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18291 for ac_func in logl
18293 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18294 echo "configure
:18295: checking
for $ac_func" >&5
18295 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18296 echo $ac_n "(cached
) $ac_c" 1>&6
18298 cat > conftest.$ac_ext <<EOF
18299 #line 18300 "configure
"
18300 #include "confdefs.h
"
18301 /* System header to define __stub macros and hopefully few prototypes,
18302 which can conflict with char $ac_func(); below. */
18303 #include <assert.h>
18304 /* Override any gcc2 internal prototype to avoid an error. */
18305 /* We use char because int might match the return type of a gcc2
18306 builtin and then its argument prototype would still apply. */
18311 /* The GNU C library defines this for functions which it implements
18312 to always fail with ENOSYS. Some functions are actually named
18313 something starting with __ and the normal name is an alias. */
18314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18322 if { (eval echo configure:18323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18324 eval "ac_cv_func_
$ac_func=yes"
18326 echo "configure
: failed program was
:" >&5
18327 cat conftest.$ac_ext >&5
18329 eval "ac_cv_func_
$ac_func=no
"
18334 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18335 echo "$ac_t""yes" 1>&6
18336 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18337 cat >> confdefs.h <<EOF
18338 #define $ac_tr_func 1
18342 echo "$ac_t""no
" 1>&6
18348 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18349 echo "configure
:18350: checking
for _logl declaration
" >&5
18350 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18351 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18352 echo $ac_n "(cached
) $ac_c" 1>&6
18357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18358 ac_cpp='$CXXCPP $CPPFLAGS'
18359 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18360 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18361 cross_compiling=$ac_cv_prog_cxx_cross
18363 cat > conftest.$ac_ext <<EOF
18364 #line 18365 "configure
"
18365 #include "confdefs.h
"
18367 #ifdef HAVE_IEEEFP_H
18368 #include <ieeefp.h>
18375 if { (eval echo configure:18376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18377 glibcpp_cv_func__logl_use=yes
18379 echo "configure
: failed program was
:" >&5
18380 cat conftest.$ac_ext >&5
18382 glibcpp_cv_func__logl_use=no
18386 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18387 ac_cpp='$CPP $CPPFLAGS'
18388 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18389 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18390 cross_compiling=$ac_cv_prog_cc_cross
18396 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18398 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18399 for ac_func in _logl
18401 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18402 echo "configure
:18403: checking
for $ac_func" >&5
18403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18404 echo $ac_n "(cached
) $ac_c" 1>&6
18406 cat > conftest.$ac_ext <<EOF
18407 #line 18408 "configure
"
18408 #include "confdefs.h
"
18409 /* System header to define __stub macros and hopefully few prototypes,
18410 which can conflict with char $ac_func(); below. */
18411 #include <assert.h>
18412 /* Override any gcc2 internal prototype to avoid an error. */
18413 /* We use char because int might match the return type of a gcc2
18414 builtin and then its argument prototype would still apply. */
18419 /* The GNU C library defines this for functions which it implements
18420 to always fail with ENOSYS. Some functions are actually named
18421 something starting with __ and the normal name is an alias. */
18422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18430 if { (eval echo configure:18431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18432 eval "ac_cv_func_
$ac_func=yes"
18434 echo "configure
: failed program was
:" >&5
18435 cat conftest.$ac_ext >&5
18437 eval "ac_cv_func_
$ac_func=no
"
18442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18443 echo "$ac_t""yes" 1>&6
18444 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18445 cat >> confdefs.h <<EOF
18446 #define $ac_tr_func 1
18450 echo "$ac_t""no
" 1>&6
18459 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18460 echo "configure
:18461: checking
for log10l declaration
" >&5
18461 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18462 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18463 echo $ac_n "(cached
) $ac_c" 1>&6
18468 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18469 ac_cpp='$CXXCPP $CPPFLAGS'
18470 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18471 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18472 cross_compiling=$ac_cv_prog_cxx_cross
18474 cat > conftest.$ac_ext <<EOF
18475 #line 18476 "configure
"
18476 #include "confdefs.h
"
18478 #ifdef HAVE_IEEEFP_H
18479 #include <ieeefp.h>
18486 if { (eval echo configure:18487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18488 glibcpp_cv_func_log10l_use=yes
18490 echo "configure
: failed program was
:" >&5
18491 cat conftest.$ac_ext >&5
18493 glibcpp_cv_func_log10l_use=no
18497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18498 ac_cpp='$CPP $CPPFLAGS'
18499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18501 cross_compiling=$ac_cv_prog_cc_cross
18507 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18509 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18510 for ac_func in log10l
18512 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18513 echo "configure
:18514: checking
for $ac_func" >&5
18514 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18515 echo $ac_n "(cached
) $ac_c" 1>&6
18517 cat > conftest.$ac_ext <<EOF
18518 #line 18519 "configure
"
18519 #include "confdefs.h
"
18520 /* System header to define __stub macros and hopefully few prototypes,
18521 which can conflict with char $ac_func(); below. */
18522 #include <assert.h>
18523 /* Override any gcc2 internal prototype to avoid an error. */
18524 /* We use char because int might match the return type of a gcc2
18525 builtin and then its argument prototype would still apply. */
18530 /* The GNU C library defines this for functions which it implements
18531 to always fail with ENOSYS. Some functions are actually named
18532 something starting with __ and the normal name is an alias. */
18533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18541 if { (eval echo configure:18542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18543 eval "ac_cv_func_
$ac_func=yes"
18545 echo "configure
: failed program was
:" >&5
18546 cat conftest.$ac_ext >&5
18548 eval "ac_cv_func_
$ac_func=no
"
18553 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18554 echo "$ac_t""yes" 1>&6
18555 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18556 cat >> confdefs.h <<EOF
18557 #define $ac_tr_func 1
18561 echo "$ac_t""no
" 1>&6
18567 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18568 echo "configure
:18569: checking
for _log10l declaration
" >&5
18569 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18570 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18571 echo $ac_n "(cached
) $ac_c" 1>&6
18576 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18577 ac_cpp='$CXXCPP $CPPFLAGS'
18578 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18579 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18580 cross_compiling=$ac_cv_prog_cxx_cross
18582 cat > conftest.$ac_ext <<EOF
18583 #line 18584 "configure
"
18584 #include "confdefs.h
"
18586 #ifdef HAVE_IEEEFP_H
18587 #include <ieeefp.h>
18594 if { (eval echo configure:18595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18596 glibcpp_cv_func__log10l_use=yes
18598 echo "configure
: failed program was
:" >&5
18599 cat conftest.$ac_ext >&5
18601 glibcpp_cv_func__log10l_use=no
18605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18606 ac_cpp='$CPP $CPPFLAGS'
18607 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18608 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18609 cross_compiling=$ac_cv_prog_cc_cross
18615 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18617 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18618 for ac_func in _log10l
18620 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18621 echo "configure
:18622: checking
for $ac_func" >&5
18622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18623 echo $ac_n "(cached
) $ac_c" 1>&6
18625 cat > conftest.$ac_ext <<EOF
18626 #line 18627 "configure
"
18627 #include "confdefs.h
"
18628 /* System header to define __stub macros and hopefully few prototypes,
18629 which can conflict with char $ac_func(); below. */
18630 #include <assert.h>
18631 /* Override any gcc2 internal prototype to avoid an error. */
18632 /* We use char because int might match the return type of a gcc2
18633 builtin and then its argument prototype would still apply. */
18638 /* The GNU C library defines this for functions which it implements
18639 to always fail with ENOSYS. Some functions are actually named
18640 something starting with __ and the normal name is an alias. */
18641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18649 if { (eval echo configure:18650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18651 eval "ac_cv_func_
$ac_func=yes"
18653 echo "configure
: failed program was
:" >&5
18654 cat conftest.$ac_ext >&5
18656 eval "ac_cv_func_
$ac_func=no
"
18661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18662 echo "$ac_t""yes" 1>&6
18663 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18664 cat >> confdefs.h <<EOF
18665 #define $ac_tr_func 1
18669 echo "$ac_t""no
" 1>&6
18678 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
18679 echo "configure
:18680: checking
for modfl declaration
" >&5
18680 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
18681 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
18682 echo $ac_n "(cached
) $ac_c" 1>&6
18687 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18688 ac_cpp='$CXXCPP $CPPFLAGS'
18689 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18690 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18691 cross_compiling=$ac_cv_prog_cxx_cross
18693 cat > conftest.$ac_ext <<EOF
18694 #line 18695 "configure
"
18695 #include "confdefs.h
"
18701 if { (eval echo configure:18702: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18703 glibcpp_cv_func_modfl_use=yes
18705 echo "configure
: failed program was
:" >&5
18706 cat conftest.$ac_ext >&5
18708 glibcpp_cv_func_modfl_use=no
18712 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18713 ac_cpp='$CPP $CPPFLAGS'
18714 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18715 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18716 cross_compiling=$ac_cv_prog_cc_cross
18722 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
18724 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
18725 for ac_func in modfl
18727 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18728 echo "configure
:18729: checking
for $ac_func" >&5
18729 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18730 echo $ac_n "(cached
) $ac_c" 1>&6
18732 cat > conftest.$ac_ext <<EOF
18733 #line 18734 "configure
"
18734 #include "confdefs.h
"
18735 /* System header to define __stub macros and hopefully few prototypes,
18736 which can conflict with char $ac_func(); below. */
18737 #include <assert.h>
18738 /* Override any gcc2 internal prototype to avoid an error. */
18739 /* We use char because int might match the return type of a gcc2
18740 builtin and then its argument prototype would still apply. */
18745 /* The GNU C library defines this for functions which it implements
18746 to always fail with ENOSYS. Some functions are actually named
18747 something starting with __ and the normal name is an alias. */
18748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18756 if { (eval echo configure:18757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18758 eval "ac_cv_func_
$ac_func=yes"
18760 echo "configure
: failed program was
:" >&5
18761 cat conftest.$ac_ext >&5
18763 eval "ac_cv_func_
$ac_func=no
"
18768 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18769 echo "$ac_t""yes" 1>&6
18770 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18771 cat >> confdefs.h <<EOF
18772 #define $ac_tr_func 1
18776 echo "$ac_t""no
" 1>&6
18782 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
18783 echo "configure
:18784: checking
for _modfl declaration
" >&5
18784 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
18785 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
18786 echo $ac_n "(cached
) $ac_c" 1>&6
18791 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18792 ac_cpp='$CXXCPP $CPPFLAGS'
18793 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18794 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18795 cross_compiling=$ac_cv_prog_cxx_cross
18797 cat > conftest.$ac_ext <<EOF
18798 #line 18799 "configure
"
18799 #include "confdefs.h
"
18805 if { (eval echo configure:18806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18807 glibcpp_cv_func__modfl_use=yes
18809 echo "configure
: failed program was
:" >&5
18810 cat conftest.$ac_ext >&5
18812 glibcpp_cv_func__modfl_use=no
18816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18817 ac_cpp='$CPP $CPPFLAGS'
18818 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18819 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18820 cross_compiling=$ac_cv_prog_cc_cross
18826 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
18828 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
18829 for ac_func in _modfl
18831 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18832 echo "configure
:18833: checking
for $ac_func" >&5
18833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18834 echo $ac_n "(cached
) $ac_c" 1>&6
18836 cat > conftest.$ac_ext <<EOF
18837 #line 18838 "configure
"
18838 #include "confdefs.h
"
18839 /* System header to define __stub macros and hopefully few prototypes,
18840 which can conflict with char $ac_func(); below. */
18841 #include <assert.h>
18842 /* Override any gcc2 internal prototype to avoid an error. */
18843 /* We use char because int might match the return type of a gcc2
18844 builtin and then its argument prototype would still apply. */
18849 /* The GNU C library defines this for functions which it implements
18850 to always fail with ENOSYS. Some functions are actually named
18851 something starting with __ and the normal name is an alias. */
18852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18860 if { (eval echo configure:18861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18862 eval "ac_cv_func_
$ac_func=yes"
18864 echo "configure
: failed program was
:" >&5
18865 cat conftest.$ac_ext >&5
18867 eval "ac_cv_func_
$ac_func=no
"
18872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18873 echo "$ac_t""yes" 1>&6
18874 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18875 cat >> confdefs.h <<EOF
18876 #define $ac_tr_func 1
18880 echo "$ac_t""no
" 1>&6
18889 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
18890 echo "configure
:18891: checking
for powl declaration
" >&5
18891 if test x${glibcpp_cv_func_powl_use+set} != xset; then
18892 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
18893 echo $ac_n "(cached
) $ac_c" 1>&6
18898 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18899 ac_cpp='$CXXCPP $CPPFLAGS'
18900 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18901 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18902 cross_compiling=$ac_cv_prog_cxx_cross
18904 cat > conftest.$ac_ext <<EOF
18905 #line 18906 "configure
"
18906 #include "confdefs.h
"
18912 if { (eval echo configure:18913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18914 glibcpp_cv_func_powl_use=yes
18916 echo "configure
: failed program was
:" >&5
18917 cat conftest.$ac_ext >&5
18919 glibcpp_cv_func_powl_use=no
18923 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18924 ac_cpp='$CPP $CPPFLAGS'
18925 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18926 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18927 cross_compiling=$ac_cv_prog_cc_cross
18933 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
18935 if test x$glibcpp_cv_func_powl_use = x"yes"; then
18936 for ac_func in powl
18938 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18939 echo "configure
:18940: checking
for $ac_func" >&5
18940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18941 echo $ac_n "(cached
) $ac_c" 1>&6
18943 cat > conftest.$ac_ext <<EOF
18944 #line 18945 "configure
"
18945 #include "confdefs.h
"
18946 /* System header to define __stub macros and hopefully few prototypes,
18947 which can conflict with char $ac_func(); below. */
18948 #include <assert.h>
18949 /* Override any gcc2 internal prototype to avoid an error. */
18950 /* We use char because int might match the return type of a gcc2
18951 builtin and then its argument prototype would still apply. */
18956 /* The GNU C library defines this for functions which it implements
18957 to always fail with ENOSYS. Some functions are actually named
18958 something starting with __ and the normal name is an alias. */
18959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18967 if { (eval echo configure:18968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18969 eval "ac_cv_func_
$ac_func=yes"
18971 echo "configure
: failed program was
:" >&5
18972 cat conftest.$ac_ext >&5
18974 eval "ac_cv_func_
$ac_func=no
"
18979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18980 echo "$ac_t""yes" 1>&6
18981 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18982 cat >> confdefs.h <<EOF
18983 #define $ac_tr_func 1
18987 echo "$ac_t""no
" 1>&6
18993 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
18994 echo "configure
:18995: checking
for _powl declaration
" >&5
18995 if test x${glibcpp_cv_func__powl_use+set} != xset; then
18996 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
18997 echo $ac_n "(cached
) $ac_c" 1>&6
19002 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19003 ac_cpp='$CXXCPP $CPPFLAGS'
19004 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19005 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19006 cross_compiling=$ac_cv_prog_cxx_cross
19008 cat > conftest.$ac_ext <<EOF
19009 #line 19010 "configure
"
19010 #include "confdefs.h
"
19016 if { (eval echo configure:19017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19018 glibcpp_cv_func__powl_use=yes
19020 echo "configure
: failed program was
:" >&5
19021 cat conftest.$ac_ext >&5
19023 glibcpp_cv_func__powl_use=no
19027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19028 ac_cpp='$CPP $CPPFLAGS'
19029 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19030 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19031 cross_compiling=$ac_cv_prog_cc_cross
19037 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19039 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19040 for ac_func in _powl
19042 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19043 echo "configure
:19044: checking
for $ac_func" >&5
19044 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19045 echo $ac_n "(cached
) $ac_c" 1>&6
19047 cat > conftest.$ac_ext <<EOF
19048 #line 19049 "configure
"
19049 #include "confdefs.h
"
19050 /* System header to define __stub macros and hopefully few prototypes,
19051 which can conflict with char $ac_func(); below. */
19052 #include <assert.h>
19053 /* Override any gcc2 internal prototype to avoid an error. */
19054 /* We use char because int might match the return type of a gcc2
19055 builtin and then its argument prototype would still apply. */
19060 /* The GNU C library defines this for functions which it implements
19061 to always fail with ENOSYS. Some functions are actually named
19062 something starting with __ and the normal name is an alias. */
19063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19071 if { (eval echo configure:19072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19073 eval "ac_cv_func_
$ac_func=yes"
19075 echo "configure
: failed program was
:" >&5
19076 cat conftest.$ac_ext >&5
19078 eval "ac_cv_func_
$ac_func=no
"
19083 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19084 echo "$ac_t""yes" 1>&6
19085 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19086 cat >> confdefs.h <<EOF
19087 #define $ac_tr_func 1
19091 echo "$ac_t""no
" 1>&6
19100 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19101 echo "configure
:19102: checking
for sqrtl declaration
" >&5
19102 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19103 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19104 echo $ac_n "(cached
) $ac_c" 1>&6
19109 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19110 ac_cpp='$CXXCPP $CPPFLAGS'
19111 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19112 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19113 cross_compiling=$ac_cv_prog_cxx_cross
19115 cat > conftest.$ac_ext <<EOF
19116 #line 19117 "configure
"
19117 #include "confdefs.h
"
19119 #ifdef HAVE_IEEEFP_H
19120 #include <ieeefp.h>
19127 if { (eval echo configure:19128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19129 glibcpp_cv_func_sqrtl_use=yes
19131 echo "configure
: failed program was
:" >&5
19132 cat conftest.$ac_ext >&5
19134 glibcpp_cv_func_sqrtl_use=no
19138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19139 ac_cpp='$CPP $CPPFLAGS'
19140 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19141 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19142 cross_compiling=$ac_cv_prog_cc_cross
19148 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19150 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19151 for ac_func in sqrtl
19153 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19154 echo "configure
:19155: checking
for $ac_func" >&5
19155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19156 echo $ac_n "(cached
) $ac_c" 1>&6
19158 cat > conftest.$ac_ext <<EOF
19159 #line 19160 "configure
"
19160 #include "confdefs.h
"
19161 /* System header to define __stub macros and hopefully few prototypes,
19162 which can conflict with char $ac_func(); below. */
19163 #include <assert.h>
19164 /* Override any gcc2 internal prototype to avoid an error. */
19165 /* We use char because int might match the return type of a gcc2
19166 builtin and then its argument prototype would still apply. */
19171 /* The GNU C library defines this for functions which it implements
19172 to always fail with ENOSYS. Some functions are actually named
19173 something starting with __ and the normal name is an alias. */
19174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19182 if { (eval echo configure:19183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19184 eval "ac_cv_func_
$ac_func=yes"
19186 echo "configure
: failed program was
:" >&5
19187 cat conftest.$ac_ext >&5
19189 eval "ac_cv_func_
$ac_func=no
"
19194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19195 echo "$ac_t""yes" 1>&6
19196 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19197 cat >> confdefs.h <<EOF
19198 #define $ac_tr_func 1
19202 echo "$ac_t""no
" 1>&6
19208 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19209 echo "configure
:19210: checking
for _sqrtl declaration
" >&5
19210 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19211 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19212 echo $ac_n "(cached
) $ac_c" 1>&6
19217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19218 ac_cpp='$CXXCPP $CPPFLAGS'
19219 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19220 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19221 cross_compiling=$ac_cv_prog_cxx_cross
19223 cat > conftest.$ac_ext <<EOF
19224 #line 19225 "configure
"
19225 #include "confdefs.h
"
19227 #ifdef HAVE_IEEEFP_H
19228 #include <ieeefp.h>
19235 if { (eval echo configure:19236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19237 glibcpp_cv_func__sqrtl_use=yes
19239 echo "configure
: failed program was
:" >&5
19240 cat conftest.$ac_ext >&5
19242 glibcpp_cv_func__sqrtl_use=no
19246 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19247 ac_cpp='$CPP $CPPFLAGS'
19248 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19249 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19250 cross_compiling=$ac_cv_prog_cc_cross
19256 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19258 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19259 for ac_func in _sqrtl
19261 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19262 echo "configure
:19263: checking
for $ac_func" >&5
19263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19264 echo $ac_n "(cached
) $ac_c" 1>&6
19266 cat > conftest.$ac_ext <<EOF
19267 #line 19268 "configure
"
19268 #include "confdefs.h
"
19269 /* System header to define __stub macros and hopefully few prototypes,
19270 which can conflict with char $ac_func(); below. */
19271 #include <assert.h>
19272 /* Override any gcc2 internal prototype to avoid an error. */
19273 /* We use char because int might match the return type of a gcc2
19274 builtin and then its argument prototype would still apply. */
19279 /* The GNU C library defines this for functions which it implements
19280 to always fail with ENOSYS. Some functions are actually named
19281 something starting with __ and the normal name is an alias. */
19282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19290 if { (eval echo configure:19291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19292 eval "ac_cv_func_
$ac_func=yes"
19294 echo "configure
: failed program was
:" >&5
19295 cat conftest.$ac_ext >&5
19297 eval "ac_cv_func_
$ac_func=no
"
19302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19303 echo "$ac_t""yes" 1>&6
19304 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19305 cat >> confdefs.h <<EOF
19306 #define $ac_tr_func 1
19310 echo "$ac_t""no
" 1>&6
19319 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19320 echo "configure
:19321: checking
for sincosl declaration
" >&5
19321 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19322 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19323 echo $ac_n "(cached
) $ac_c" 1>&6
19328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19329 ac_cpp='$CXXCPP $CPPFLAGS'
19330 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19331 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19332 cross_compiling=$ac_cv_prog_cxx_cross
19334 cat > conftest.$ac_ext <<EOF
19335 #line 19336 "configure
"
19336 #include "confdefs.h
"
19342 if { (eval echo configure:19343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19344 glibcpp_cv_func_sincosl_use=yes
19346 echo "configure
: failed program was
:" >&5
19347 cat conftest.$ac_ext >&5
19349 glibcpp_cv_func_sincosl_use=no
19353 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19354 ac_cpp='$CPP $CPPFLAGS'
19355 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19356 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19357 cross_compiling=$ac_cv_prog_cc_cross
19363 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19365 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19366 for ac_func in sincosl
19368 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19369 echo "configure
:19370: checking
for $ac_func" >&5
19370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19371 echo $ac_n "(cached
) $ac_c" 1>&6
19373 cat > conftest.$ac_ext <<EOF
19374 #line 19375 "configure
"
19375 #include "confdefs.h
"
19376 /* System header to define __stub macros and hopefully few prototypes,
19377 which can conflict with char $ac_func(); below. */
19378 #include <assert.h>
19379 /* Override any gcc2 internal prototype to avoid an error. */
19380 /* We use char because int might match the return type of a gcc2
19381 builtin and then its argument prototype would still apply. */
19386 /* The GNU C library defines this for functions which it implements
19387 to always fail with ENOSYS. Some functions are actually named
19388 something starting with __ and the normal name is an alias. */
19389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19397 if { (eval echo configure:19398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19399 eval "ac_cv_func_
$ac_func=yes"
19401 echo "configure
: failed program was
:" >&5
19402 cat conftest.$ac_ext >&5
19404 eval "ac_cv_func_
$ac_func=no
"
19409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19410 echo "$ac_t""yes" 1>&6
19411 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19412 cat >> confdefs.h <<EOF
19413 #define $ac_tr_func 1
19417 echo "$ac_t""no
" 1>&6
19423 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19424 echo "configure
:19425: checking
for _sincosl declaration
" >&5
19425 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19426 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19427 echo $ac_n "(cached
) $ac_c" 1>&6
19432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19433 ac_cpp='$CXXCPP $CPPFLAGS'
19434 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19435 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19436 cross_compiling=$ac_cv_prog_cxx_cross
19438 cat > conftest.$ac_ext <<EOF
19439 #line 19440 "configure
"
19440 #include "confdefs.h
"
19446 if { (eval echo configure:19447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19448 glibcpp_cv_func__sincosl_use=yes
19450 echo "configure
: failed program was
:" >&5
19451 cat conftest.$ac_ext >&5
19453 glibcpp_cv_func__sincosl_use=no
19457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19458 ac_cpp='$CPP $CPPFLAGS'
19459 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19460 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19461 cross_compiling=$ac_cv_prog_cc_cross
19467 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19469 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19470 for ac_func in _sincosl
19472 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19473 echo "configure
:19474: checking
for $ac_func" >&5
19474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19475 echo $ac_n "(cached
) $ac_c" 1>&6
19477 cat > conftest.$ac_ext <<EOF
19478 #line 19479 "configure
"
19479 #include "confdefs.h
"
19480 /* System header to define __stub macros and hopefully few prototypes,
19481 which can conflict with char $ac_func(); below. */
19482 #include <assert.h>
19483 /* Override any gcc2 internal prototype to avoid an error. */
19484 /* We use char because int might match the return type of a gcc2
19485 builtin and then its argument prototype would still apply. */
19490 /* The GNU C library defines this for functions which it implements
19491 to always fail with ENOSYS. Some functions are actually named
19492 something starting with __ and the normal name is an alias. */
19493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19501 if { (eval echo configure:19502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19503 eval "ac_cv_func_
$ac_func=yes"
19505 echo "configure
: failed program was
:" >&5
19506 cat conftest.$ac_ext >&5
19508 eval "ac_cv_func_
$ac_func=no
"
19513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19514 echo "$ac_t""yes" 1>&6
19515 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19516 cat >> confdefs.h <<EOF
19517 #define $ac_tr_func 1
19521 echo "$ac_t""no
" 1>&6
19530 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19531 echo "configure
:19532: checking
for finitel declaration
" >&5
19532 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19533 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19534 echo $ac_n "(cached
) $ac_c" 1>&6
19539 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19540 ac_cpp='$CXXCPP $CPPFLAGS'
19541 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19542 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19543 cross_compiling=$ac_cv_prog_cxx_cross
19545 cat > conftest.$ac_ext <<EOF
19546 #line 19547 "configure
"
19547 #include "confdefs.h
"
19549 #ifdef HAVE_IEEEFP_H
19550 #include <ieeefp.h>
19557 if { (eval echo configure:19558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19559 glibcpp_cv_func_finitel_use=yes
19561 echo "configure
: failed program was
:" >&5
19562 cat conftest.$ac_ext >&5
19564 glibcpp_cv_func_finitel_use=no
19568 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19569 ac_cpp='$CPP $CPPFLAGS'
19570 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19571 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19572 cross_compiling=$ac_cv_prog_cc_cross
19578 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19580 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19581 for ac_func in finitel
19583 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19584 echo "configure
:19585: checking
for $ac_func" >&5
19585 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19586 echo $ac_n "(cached
) $ac_c" 1>&6
19588 cat > conftest.$ac_ext <<EOF
19589 #line 19590 "configure
"
19590 #include "confdefs.h
"
19591 /* System header to define __stub macros and hopefully few prototypes,
19592 which can conflict with char $ac_func(); below. */
19593 #include <assert.h>
19594 /* Override any gcc2 internal prototype to avoid an error. */
19595 /* We use char because int might match the return type of a gcc2
19596 builtin and then its argument prototype would still apply. */
19601 /* The GNU C library defines this for functions which it implements
19602 to always fail with ENOSYS. Some functions are actually named
19603 something starting with __ and the normal name is an alias. */
19604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19612 if { (eval echo configure:19613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19614 eval "ac_cv_func_
$ac_func=yes"
19616 echo "configure
: failed program was
:" >&5
19617 cat conftest.$ac_ext >&5
19619 eval "ac_cv_func_
$ac_func=no
"
19624 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19625 echo "$ac_t""yes" 1>&6
19626 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19627 cat >> confdefs.h <<EOF
19628 #define $ac_tr_func 1
19632 echo "$ac_t""no
" 1>&6
19638 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19639 echo "configure
:19640: checking
for _finitel declaration
" >&5
19640 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19641 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19642 echo $ac_n "(cached
) $ac_c" 1>&6
19647 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19648 ac_cpp='$CXXCPP $CPPFLAGS'
19649 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19650 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19651 cross_compiling=$ac_cv_prog_cxx_cross
19653 cat > conftest.$ac_ext <<EOF
19654 #line 19655 "configure
"
19655 #include "confdefs.h
"
19657 #ifdef HAVE_IEEEFP_H
19658 #include <ieeefp.h>
19665 if { (eval echo configure:19666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19667 glibcpp_cv_func__finitel_use=yes
19669 echo "configure
: failed program was
:" >&5
19670 cat conftest.$ac_ext >&5
19672 glibcpp_cv_func__finitel_use=no
19676 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19677 ac_cpp='$CPP $CPPFLAGS'
19678 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19679 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19680 cross_compiling=$ac_cv_prog_cc_cross
19686 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
19688 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
19689 for ac_func in _finitel
19691 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19692 echo "configure
:19693: checking
for $ac_func" >&5
19693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19694 echo $ac_n "(cached
) $ac_c" 1>&6
19696 cat > conftest.$ac_ext <<EOF
19697 #line 19698 "configure
"
19698 #include "confdefs.h
"
19699 /* System header to define __stub macros and hopefully few prototypes,
19700 which can conflict with char $ac_func(); below. */
19701 #include <assert.h>
19702 /* Override any gcc2 internal prototype to avoid an error. */
19703 /* We use char because int might match the return type of a gcc2
19704 builtin and then its argument prototype would still apply. */
19709 /* The GNU C library defines this for functions which it implements
19710 to always fail with ENOSYS. Some functions are actually named
19711 something starting with __ and the normal name is an alias. */
19712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19720 if { (eval echo configure:19721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19722 eval "ac_cv_func_
$ac_func=yes"
19724 echo "configure
: failed program was
:" >&5
19725 cat conftest.$ac_ext >&5
19727 eval "ac_cv_func_
$ac_func=no
"
19732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19733 echo "$ac_t""yes" 1>&6
19734 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19735 cat >> confdefs.h <<EOF
19736 #define $ac_tr_func 1
19740 echo "$ac_t""no
" 1>&6
19750 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
19751 echo "configure
:19752: checking
for _float trig functions
" >&5
19752 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
19753 echo $ac_n "(cached
) $ac_c" 1>&6
19758 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19759 ac_cpp='$CXXCPP $CPPFLAGS'
19760 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19761 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19762 cross_compiling=$ac_cv_prog_cxx_cross
19764 cat > conftest.$ac_ext <<EOF
19765 #line 19766 "configure
"
19766 #include "confdefs.h
"
19769 `for x in _acosf _asinf _atanf \
19770 _cosf _sinf _tanf \
19771 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
19774 if { (eval echo configure:19775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19776 glibcpp_cv_func__float_trig_use=yes
19778 echo "configure
: failed program was
:" >&5
19779 cat conftest.$ac_ext >&5
19781 glibcpp_cv_func__float_trig_use=no
19785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19786 ac_cpp='$CPP $CPPFLAGS'
19787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19789 cross_compiling=$ac_cv_prog_cc_cross
19793 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
19794 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
19795 for ac_func in _acosf _asinf _atanf \
19796 _cosf _sinf _tanf \
19797 _coshf _sinhf _tanhf
19799 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19800 echo "configure
:19801: checking
for $ac_func" >&5
19801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19802 echo $ac_n "(cached
) $ac_c" 1>&6
19804 cat > conftest.$ac_ext <<EOF
19805 #line 19806 "configure
"
19806 #include "confdefs.h
"
19807 /* System header to define __stub macros and hopefully few prototypes,
19808 which can conflict with char $ac_func(); below. */
19809 #include <assert.h>
19810 /* Override any gcc2 internal prototype to avoid an error. */
19811 /* We use char because int might match the return type of a gcc2
19812 builtin and then its argument prototype would still apply. */
19817 /* The GNU C library defines this for functions which it implements
19818 to always fail with ENOSYS. Some functions are actually named
19819 something starting with __ and the normal name is an alias. */
19820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19828 if { (eval echo configure:19829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19830 eval "ac_cv_func_
$ac_func=yes"
19832 echo "configure
: failed program was
:" >&5
19833 cat conftest.$ac_ext >&5
19835 eval "ac_cv_func_
$ac_func=no
"
19840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19841 echo "$ac_t""yes" 1>&6
19842 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19843 cat >> confdefs.h <<EOF
19844 #define $ac_tr_func 1
19848 echo "$ac_t""no
" 1>&6
19855 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
19856 echo "configure
:19857: checking
for _float round functions
" >&5
19857 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
19858 echo $ac_n "(cached
) $ac_c" 1>&6
19863 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19864 ac_cpp='$CXXCPP $CPPFLAGS'
19865 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19866 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19867 cross_compiling=$ac_cv_prog_cxx_cross
19869 cat > conftest.$ac_ext <<EOF
19870 #line 19871 "configure
"
19871 #include "confdefs.h
"
19874 `for x in _ceilf _floorf; do echo "$x (0);"; done`
19877 if { (eval echo configure:19878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19879 glibcpp_cv_func__float_round_use=yes
19881 echo "configure
: failed program was
:" >&5
19882 cat conftest.$ac_ext >&5
19884 glibcpp_cv_func__float_round_use=no
19888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19889 ac_cpp='$CPP $CPPFLAGS'
19890 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19891 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19892 cross_compiling=$ac_cv_prog_cc_cross
19896 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
19897 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
19898 for ac_func in _ceilf _floorf
19900 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19901 echo "configure
:19902: checking
for $ac_func" >&5
19902 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19903 echo $ac_n "(cached
) $ac_c" 1>&6
19905 cat > conftest.$ac_ext <<EOF
19906 #line 19907 "configure
"
19907 #include "confdefs.h
"
19908 /* System header to define __stub macros and hopefully few prototypes,
19909 which can conflict with char $ac_func(); below. */
19910 #include <assert.h>
19911 /* Override any gcc2 internal prototype to avoid an error. */
19912 /* We use char because int might match the return type of a gcc2
19913 builtin and then its argument prototype would still apply. */
19918 /* The GNU C library defines this for functions which it implements
19919 to always fail with ENOSYS. Some functions are actually named
19920 something starting with __ and the normal name is an alias. */
19921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19929 if { (eval echo configure:19930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19931 eval "ac_cv_func_
$ac_func=yes"
19933 echo "configure
: failed program was
:" >&5
19934 cat conftest.$ac_ext >&5
19936 eval "ac_cv_func_
$ac_func=no
"
19941 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19942 echo "$ac_t""yes" 1>&6
19943 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19944 cat >> confdefs.h <<EOF
19945 #define $ac_tr_func 1
19949 echo "$ac_t""no
" 1>&6
19957 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
19958 echo "configure
:19959: checking
for _long double trig functions
" >&5
19959 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
19960 echo $ac_n "(cached
) $ac_c" 1>&6
19965 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19966 ac_cpp='$CXXCPP $CPPFLAGS'
19967 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19968 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19969 cross_compiling=$ac_cv_prog_cxx_cross
19971 cat > conftest.$ac_ext <<EOF
19972 #line 19973 "configure
"
19973 #include "confdefs.h
"
19976 `for x in _acosl _asinl _atanl \
19977 _cosl _sinl _tanl \
19978 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
19981 if { (eval echo configure:19982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19983 glibcpp_cv_func__long_double_trig_use=yes
19985 echo "configure
: failed program was
:" >&5
19986 cat conftest.$ac_ext >&5
19988 glibcpp_cv_func__long_double_trig_use=no
19992 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19993 ac_cpp='$CPP $CPPFLAGS'
19994 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19995 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19996 cross_compiling=$ac_cv_prog_cc_cross
20000 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20001 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20002 for ac_func in _acosl _asinl _atanl \
20003 _cosl _sinl _tanl \
20004 _coshl _sinhl _tanhl
20006 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20007 echo "configure
:20008: checking
for $ac_func" >&5
20008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20009 echo $ac_n "(cached
) $ac_c" 1>&6
20011 cat > conftest.$ac_ext <<EOF
20012 #line 20013 "configure
"
20013 #include "confdefs.h
"
20014 /* System header to define __stub macros and hopefully few prototypes,
20015 which can conflict with char $ac_func(); below. */
20016 #include <assert.h>
20017 /* Override any gcc2 internal prototype to avoid an error. */
20018 /* We use char because int might match the return type of a gcc2
20019 builtin and then its argument prototype would still apply. */
20024 /* The GNU C library defines this for functions which it implements
20025 to always fail with ENOSYS. Some functions are actually named
20026 something starting with __ and the normal name is an alias. */
20027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20035 if { (eval echo configure:20036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20037 eval "ac_cv_func_
$ac_func=yes"
20039 echo "configure
: failed program was
:" >&5
20040 cat conftest.$ac_ext >&5
20042 eval "ac_cv_func_
$ac_func=no
"
20047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20048 echo "$ac_t""yes" 1>&6
20049 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20050 cat >> confdefs.h <<EOF
20051 #define $ac_tr_func 1
20055 echo "$ac_t""no
" 1>&6
20062 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20063 echo "configure
:20064: checking
for _long double round functions
" >&5
20064 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20065 echo $ac_n "(cached
) $ac_c" 1>&6
20070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20071 ac_cpp='$CXXCPP $CPPFLAGS'
20072 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20073 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20074 cross_compiling=$ac_cv_prog_cxx_cross
20076 cat > conftest.$ac_ext <<EOF
20077 #line 20078 "configure
"
20078 #include "confdefs.h
"
20081 `for x in _ceill _floorl; do echo "$x (0);"; done`
20084 if { (eval echo configure:20085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20086 glibcpp_cv_func__long_double_round_use=yes
20088 echo "configure
: failed program was
:" >&5
20089 cat conftest.$ac_ext >&5
20091 glibcpp_cv_func__long_double_round_use=no
20095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20096 ac_cpp='$CPP $CPPFLAGS'
20097 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20098 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20099 cross_compiling=$ac_cv_prog_cc_cross
20103 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20104 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20105 for ac_func in _ceill _floorl
20107 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20108 echo "configure
:20109: checking
for $ac_func" >&5
20109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20110 echo $ac_n "(cached
) $ac_c" 1>&6
20112 cat > conftest.$ac_ext <<EOF
20113 #line 20114 "configure
"
20114 #include "confdefs.h
"
20115 /* System header to define __stub macros and hopefully few prototypes,
20116 which can conflict with char $ac_func(); below. */
20117 #include <assert.h>
20118 /* Override any gcc2 internal prototype to avoid an error. */
20119 /* We use char because int might match the return type of a gcc2
20120 builtin and then its argument prototype would still apply. */
20125 /* The GNU C library defines this for functions which it implements
20126 to always fail with ENOSYS. Some functions are actually named
20127 something starting with __ and the normal name is an alias. */
20128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20136 if { (eval echo configure:20137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20138 eval "ac_cv_func_
$ac_func=yes"
20140 echo "configure
: failed program was
:" >&5
20141 cat conftest.$ac_ext >&5
20143 eval "ac_cv_func_
$ac_func=no
"
20148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20149 echo "$ac_t""yes" 1>&6
20150 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20151 cat >> confdefs.h <<EOF
20152 #define $ac_tr_func 1
20156 echo "$ac_t""no
" 1>&6
20163 LIBS="$ac_save_LIBS"
20164 CXXFLAGS="$ac_save_CXXFLAGS"
20167 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
20168 echo "configure
:20169: checking
for main
in -lm" >&5
20169 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
20170 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20171 echo $ac_n "(cached
) $ac_c" 1>&6
20173 ac_save_LIBS="$LIBS"
20175 cat > conftest.$ac_ext <<EOF
20176 #line 20177 "configure
"
20177 #include "confdefs.h
"
20183 if { (eval echo configure:20184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20185 eval "ac_cv_lib_
$ac_lib_var=yes"
20187 echo "configure
: failed program was
:" >&5
20188 cat conftest.$ac_ext >&5
20190 eval "ac_cv_lib_
$ac_lib_var=no
"
20193 LIBS="$ac_save_LIBS"
20196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20197 echo "$ac_t""yes" 1>&6
20198 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
20199 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20200 cat >> confdefs.h <<EOF
20201 #define $ac_tr_lib 1
20207 echo "$ac_t""no
" 1>&6
20210 for ac_func in nan copysignf
20212 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20213 echo "configure
:20214: checking
for $ac_func" >&5
20214 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20215 echo $ac_n "(cached
) $ac_c" 1>&6
20217 cat > conftest.$ac_ext <<EOF
20218 #line 20219 "configure
"
20219 #include "confdefs.h
"
20220 /* System header to define __stub macros and hopefully few prototypes,
20221 which can conflict with char $ac_func(); below. */
20222 #include <assert.h>
20223 /* Override any gcc2 internal prototype to avoid an error. */
20224 /* We use char because int might match the return type of a gcc2
20225 builtin and then its argument prototype would still apply. */
20230 /* The GNU C library defines this for functions which it implements
20231 to always fail with ENOSYS. Some functions are actually named
20232 something starting with __ and the normal name is an alias. */
20233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20241 if { (eval echo configure:20242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20243 eval "ac_cv_func_
$ac_func=yes"
20245 echo "configure
: failed program was
:" >&5
20246 cat conftest.$ac_ext >&5
20248 eval "ac_cv_func_
$ac_func=no
"
20253 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20254 echo "$ac_t""yes" 1>&6
20255 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20256 cat >> confdefs.h <<EOF
20257 #define $ac_tr_func 1
20261 echo "$ac_t""no
" 1>&6
20262 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
20267 for ac_func in __signbit
20269 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20270 echo "configure
:20271: checking
for $ac_func" >&5
20271 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20272 echo $ac_n "(cached
) $ac_c" 1>&6
20274 cat > conftest.$ac_ext <<EOF
20275 #line 20276 "configure
"
20276 #include "confdefs.h
"
20277 /* System header to define __stub macros and hopefully few prototypes,
20278 which can conflict with char $ac_func(); below. */
20279 #include <assert.h>
20280 /* Override any gcc2 internal prototype to avoid an error. */
20281 /* We use char because int might match the return type of a gcc2
20282 builtin and then its argument prototype would still apply. */
20287 /* The GNU C library defines this for functions which it implements
20288 to always fail with ENOSYS. Some functions are actually named
20289 something starting with __ and the normal name is an alias. */
20290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20298 if { (eval echo configure:20299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20300 eval "ac_cv_func_
$ac_func=yes"
20302 echo "configure
: failed program was
:" >&5
20303 cat conftest.$ac_ext >&5
20305 eval "ac_cv_func_
$ac_func=no
"
20310 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20311 echo "$ac_t""yes" 1>&6
20312 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20313 cat >> confdefs.h <<EOF
20314 #define $ac_tr_func 1
20318 echo "$ac_t""no
" 1>&6
20319 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
20323 for ac_func in __signbitf
20325 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20326 echo "configure
:20327: checking
for $ac_func" >&5
20327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20328 echo $ac_n "(cached
) $ac_c" 1>&6
20330 cat > conftest.$ac_ext <<EOF
20331 #line 20332 "configure
"
20332 #include "confdefs.h
"
20333 /* System header to define __stub macros and hopefully few prototypes,
20334 which can conflict with char $ac_func(); below. */
20335 #include <assert.h>
20336 /* Override any gcc2 internal prototype to avoid an error. */
20337 /* We use char because int might match the return type of a gcc2
20338 builtin and then its argument prototype would still apply. */
20343 /* The GNU C library defines this for functions which it implements
20344 to always fail with ENOSYS. Some functions are actually named
20345 something starting with __ and the normal name is an alias. */
20346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20354 if { (eval echo configure:20355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20356 eval "ac_cv_func_
$ac_func=yes"
20358 echo "configure
: failed program was
:" >&5
20359 cat conftest.$ac_ext >&5
20361 eval "ac_cv_func_
$ac_func=no
"
20366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20367 echo "$ac_t""yes" 1>&6
20368 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20369 cat >> confdefs.h <<EOF
20370 #define $ac_tr_func 1
20374 echo "$ac_t""no
" 1>&6
20375 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
20380 if test x$ac_cv_func_copysignl = x"yes"; then
20381 for ac_func in __signbitl
20383 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20384 echo "configure
:20385: checking
for $ac_func" >&5
20385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20386 echo $ac_n "(cached
) $ac_c" 1>&6
20388 cat > conftest.$ac_ext <<EOF
20389 #line 20390 "configure
"
20390 #include "confdefs.h
"
20391 /* System header to define __stub macros and hopefully few prototypes,
20392 which can conflict with char $ac_func(); below. */
20393 #include <assert.h>
20394 /* Override any gcc2 internal prototype to avoid an error. */
20395 /* We use char because int might match the return type of a gcc2
20396 builtin and then its argument prototype would still apply. */
20401 /* The GNU C library defines this for functions which it implements
20402 to always fail with ENOSYS. Some functions are actually named
20403 something starting with __ and the normal name is an alias. */
20404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20412 if { (eval echo configure:20413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20414 eval "ac_cv_func_
$ac_func=yes"
20416 echo "configure
: failed program was
:" >&5
20417 cat conftest.$ac_ext >&5
20419 eval "ac_cv_func_
$ac_func=no
"
20424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20425 echo "$ac_t""yes" 1>&6
20426 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20427 cat >> confdefs.h <<EOF
20428 #define $ac_tr_func 1
20432 echo "$ac_t""no
" 1>&6
20433 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
20443 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
20444 echo "configure
:20445: checking
for mbstate_t
" >&5
20445 cat > conftest.$ac_ext <<EOF
20446 #line 20447 "configure
"
20447 #include "confdefs.h
"
20450 mbstate_t teststate;
20453 if { (eval echo configure:20454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20457 echo "configure
: failed program was
:" >&5
20458 cat conftest.$ac_ext >&5
20463 echo "$ac_t""$have_mbstate_t" 1>&6
20464 if test x"$have_mbstate_t" = xyes; then
20465 cat >> confdefs.h <<\EOF
20466 #define HAVE_MBSTATE_T 1
20471 for ac_hdr in wchar.h
20473 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20474 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20475 echo "configure
:20476: checking
for $ac_hdr" >&5
20476 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20477 echo $ac_n "(cached
) $ac_c" 1>&6
20479 cat > conftest.$ac_ext <<EOF
20480 #line 20481 "configure
"
20481 #include "confdefs.h
"
20484 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20485 { (eval echo configure:20486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20486 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20487 if test -z "$ac_err"; then
20489 eval "ac_cv_header_
$ac_safe=yes"
20492 echo "configure
: failed program was
:" >&5
20493 cat conftest.$ac_ext >&5
20495 eval "ac_cv_header_
$ac_safe=no
"
20499 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20500 echo "$ac_t""yes" 1>&6
20501 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20502 cat >> confdefs.h <<EOF
20503 #define $ac_tr_hdr 1
20507 echo "$ac_t""no
" 1>&6
20512 for ac_hdr in wctype.h
20514 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20515 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
20516 echo "configure
:20517: checking
for $ac_hdr" >&5
20517 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20518 echo $ac_n "(cached
) $ac_c" 1>&6
20520 cat > conftest.$ac_ext <<EOF
20521 #line 20522 "configure
"
20522 #include "confdefs.h
"
20525 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20526 { (eval echo configure:20527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20527 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20528 if test -z "$ac_err"; then
20530 eval "ac_cv_header_
$ac_safe=yes"
20533 echo "configure
: failed program was
:" >&5
20534 cat conftest.$ac_ext >&5
20536 eval "ac_cv_header_
$ac_safe=no
"
20540 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20541 echo "$ac_t""yes" 1>&6
20542 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20543 cat >> confdefs.h <<EOF
20544 #define $ac_tr_hdr 1
20546 ac_has_wctype_h=yes
20548 echo "$ac_t""no
" 1>&6
20554 if test x"$ac_has_wchar_h" = xyes &&
20555 test x"$ac_has_wctype_h" = xyes &&
20556 test x"$enable_c_mbchar" != xno; then
20558 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
20559 echo "configure
:20560: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
20560 cat > conftest.$ac_ext <<EOF
20561 #line 20562 "configure
"
20562 #include "confdefs.h
"
20565 int i = WCHAR_MIN; int j = WCHAR_MAX;
20568 if { (eval echo configure:20569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20570 has_wchar_minmax=yes
20572 echo "configure
: failed program was
:" >&5
20573 cat conftest.$ac_ext >&5
20575 has_wchar_minmax=no
20578 echo "$ac_t""$has_wchar_minmax" 1>&6
20580 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
20581 echo "configure
:20582: checking
for WEOF
" >&5
20582 cat > conftest.$ac_ext <<EOF
20583 #line 20584 "configure
"
20584 #include "confdefs.h
"
20587 #include <stddef.h>
20592 if { (eval echo configure:20593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20596 echo "configure
: failed program was
:" >&5
20597 cat conftest.$ac_ext >&5
20602 echo "$ac_t""$has_weof" 1>&6
20605 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
20607 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20608 echo "configure
:20609: checking
for $ac_func" >&5
20609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20610 echo $ac_n "(cached
) $ac_c" 1>&6
20612 cat > conftest.$ac_ext <<EOF
20613 #line 20614 "configure
"
20614 #include "confdefs.h
"
20615 /* System header to define __stub macros and hopefully few prototypes,
20616 which can conflict with char $ac_func(); below. */
20617 #include <assert.h>
20618 /* Override any gcc2 internal prototype to avoid an error. */
20619 /* We use char because int might match the return type of a gcc2
20620 builtin and then its argument prototype would still apply. */
20625 /* The GNU C library defines this for functions which it implements
20626 to always fail with ENOSYS. Some functions are actually named
20627 something starting with __ and the normal name is an alias. */
20628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20636 if { (eval echo configure:20637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20638 eval "ac_cv_func_
$ac_func=yes"
20640 echo "configure
: failed program was
:" >&5
20641 cat conftest.$ac_ext >&5
20643 eval "ac_cv_func_
$ac_func=no
"
20648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20649 echo "$ac_t""yes" 1>&6
20650 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20651 cat >> confdefs.h <<EOF
20652 #define $ac_tr_func 1
20656 echo "$ac_t""no
" 1>&6
20663 for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
20664 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
20665 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
20666 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
20667 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
20668 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
20670 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20671 echo "configure
:20672: checking
for $ac_func" >&5
20672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20673 echo $ac_n "(cached
) $ac_c" 1>&6
20675 cat > conftest.$ac_ext <<EOF
20676 #line 20677 "configure
"
20677 #include "confdefs.h
"
20678 /* System header to define __stub macros and hopefully few prototypes,
20679 which can conflict with char $ac_func(); below. */
20680 #include <assert.h>
20681 /* Override any gcc2 internal prototype to avoid an error. */
20682 /* We use char because int might match the return type of a gcc2
20683 builtin and then its argument prototype would still apply. */
20688 /* The GNU C library defines this for functions which it implements
20689 to always fail with ENOSYS. Some functions are actually named
20690 something starting with __ and the normal name is an alias. */
20691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20699 if { (eval echo configure:20700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20701 eval "ac_cv_func_
$ac_func=yes"
20703 echo "configure
: failed program was
:" >&5
20704 cat conftest.$ac_ext >&5
20706 eval "ac_cv_func_
$ac_func=no
"
20711 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20712 echo "$ac_t""yes" 1>&6
20713 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20714 cat >> confdefs.h <<EOF
20715 #define $ac_tr_func 1
20719 echo "$ac_t""no
" 1>&6
20726 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
20727 echo "configure
:20728: checking
for ISO C99 wchar_t support
" >&5
20728 if test x"$has_weof" = xyes &&
20729 test x"$has_wchar_minmax" = xyes &&
20730 test x"$ac_wfuncs" = xyes; then
20731 ac_isoC99_wchar_t=yes
20733 ac_isoC99_wchar_t=no
20735 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
20737 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
20738 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
20739 echo "configure
:20740: checking
for iconv.h
" >&5
20740 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20741 echo $ac_n "(cached
) $ac_c" 1>&6
20743 cat > conftest.$ac_ext <<EOF
20744 #line 20745 "configure
"
20745 #include "confdefs.h
"
20748 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20749 { (eval echo configure:20750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20751 if test -z "$ac_err"; then
20753 eval "ac_cv_header_
$ac_safe=yes"
20756 echo "configure
: failed program was
:" >&5
20757 cat conftest.$ac_ext >&5
20759 eval "ac_cv_header_
$ac_safe=no
"
20763 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20764 echo "$ac_t""yes" 1>&6
20767 echo "$ac_t""no
" 1>&6
20771 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
20772 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
20773 echo "configure
:20774: checking
for langinfo.h
" >&5
20774 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20775 echo $ac_n "(cached
) $ac_c" 1>&6
20777 cat > conftest.$ac_ext <<EOF
20778 #line 20779 "configure
"
20779 #include "confdefs.h
"
20780 #include <langinfo.h>
20782 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
20783 { (eval echo configure:20784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
20785 if test -z "$ac_err"; then
20787 eval "ac_cv_header_
$ac_safe=yes"
20790 echo "configure
: failed program was
:" >&5
20791 cat conftest.$ac_ext >&5
20793 eval "ac_cv_header_
$ac_safe=no
"
20797 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20798 echo "$ac_t""yes" 1>&6
20799 ac_has_langinfo_h=yes
20801 echo "$ac_t""no
" 1>&6
20802 ac_has_langinfo_h=no
20806 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
20807 echo "configure
:20808: checking
for iconv in -liconv" >&5
20808 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
20809 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20810 echo $ac_n "(cached
) $ac_c" 1>&6
20812 ac_save_LIBS="$LIBS"
20813 LIBS="-liconv $LIBS"
20814 cat > conftest.$ac_ext <<EOF
20815 #line 20816 "configure
"
20816 #include "confdefs.h
"
20817 /* Override any gcc2 internal prototype to avoid an error. */
20818 /* We use char because int might match the return type of a gcc2
20819 builtin and then its argument prototype would still apply. */
20826 if { (eval echo configure:20827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20828 eval "ac_cv_lib_
$ac_lib_var=yes"
20830 echo "configure
: failed program was
:" >&5
20831 cat conftest.$ac_ext >&5
20833 eval "ac_cv_lib_
$ac_lib_var=no
"
20836 LIBS="$ac_save_LIBS"
20839 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20840 echo "$ac_t""yes" 1>&6
20843 echo "$ac_t""no
" 1>&6
20846 ac_save_LIBS="$LIBS"
20847 LIBS="$LIBS $libiconv"
20849 for ac_func in iconv_open iconv_close iconv nl_langinfo
20851 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20852 echo "configure
:20853: checking
for $ac_func" >&5
20853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20854 echo $ac_n "(cached
) $ac_c" 1>&6
20856 cat > conftest.$ac_ext <<EOF
20857 #line 20858 "configure
"
20858 #include "confdefs.h
"
20859 /* System header to define __stub macros and hopefully few prototypes,
20860 which can conflict with char $ac_func(); below. */
20861 #include <assert.h>
20862 /* Override any gcc2 internal prototype to avoid an error. */
20863 /* We use char because int might match the return type of a gcc2
20864 builtin and then its argument prototype would still apply. */
20869 /* The GNU C library defines this for functions which it implements
20870 to always fail with ENOSYS. Some functions are actually named
20871 something starting with __ and the normal name is an alias. */
20872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20880 if { (eval echo configure:20881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20882 eval "ac_cv_func_
$ac_func=yes"
20884 echo "configure
: failed program was
:" >&5
20885 cat conftest.$ac_ext >&5
20887 eval "ac_cv_func_
$ac_func=no
"
20892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20893 echo "$ac_t""yes" 1>&6
20894 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20895 cat >> confdefs.h <<EOF
20896 #define $ac_tr_func 1
20901 echo "$ac_t""no
" 1>&6
20907 LIBS="$ac_save_LIBS"
20909 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
20910 echo "configure
:20911: checking
for XPG2 wchar_t support
" >&5
20911 if test x"$ac_has_iconv_h" = xyes &&
20912 test x"$ac_has_langinfo_h" = xyes &&
20913 test x"$ac_XPG2funcs" = xyes; then
20914 ac_XPG2_wchar_t=yes
20918 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
20920 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
20921 echo "configure
:20922: checking
for enabled wchar_t specializations
" >&5
20922 if test x"$ac_isoC99_wchar_t" = xyes &&
20923 test x"$ac_XPG2_wchar_t" = xyes; then
20924 cat >> confdefs.h <<\EOF
20925 #define _GLIBCPP_USE_WCHAR_T 1
20928 echo "$ac_t"""yes"" 1>&6
20930 echo "$ac_t"""no"" 1>&6
20933 echo "configure
: warning
: wchar_t support disabled.
" 1>&2
20937 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20938 ac_save_CXXFLAGS="$CXXFLAGS"
20939 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
20942 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
20943 echo "configure
:20944: checking
for strtold declaration
" >&5
20944 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
20945 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
20946 echo $ac_n "(cached
) $ac_c" 1>&6
20951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20952 ac_cpp='$CXXCPP $CPPFLAGS'
20953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20955 cross_compiling=$ac_cv_prog_cxx_cross
20957 cat > conftest.$ac_ext <<EOF
20958 #line 20959 "configure
"
20959 #include "confdefs.h
"
20960 #include <stdlib.h>
20965 if { (eval echo configure:20966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20967 glibcpp_cv_func_strtold_use=yes
20969 echo "configure
: failed program was
:" >&5
20970 cat conftest.$ac_ext >&5
20972 glibcpp_cv_func_strtold_use=no
20976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20977 ac_cpp='$CPP $CPPFLAGS'
20978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20980 cross_compiling=$ac_cv_prog_cc_cross
20986 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
20987 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
20988 for ac_func in strtold
20990 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20991 echo "configure
:20992: checking
for $ac_func" >&5
20992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20993 echo $ac_n "(cached
) $ac_c" 1>&6
20995 cat > conftest.$ac_ext <<EOF
20996 #line 20997 "configure
"
20997 #include "confdefs.h
"
20998 /* System header to define __stub macros and hopefully few prototypes,
20999 which can conflict with char $ac_func(); below. */
21000 #include <assert.h>
21001 /* Override any gcc2 internal prototype to avoid an error. */
21002 /* We use char because int might match the return type of a gcc2
21003 builtin and then its argument prototype would still apply. */
21008 /* The GNU C library defines this for functions which it implements
21009 to always fail with ENOSYS. Some functions are actually named
21010 something starting with __ and the normal name is an alias. */
21011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21019 if { (eval echo configure:21020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21021 eval "ac_cv_func_
$ac_func=yes"
21023 echo "configure
: failed program was
:" >&5
21024 cat conftest.$ac_ext >&5
21026 eval "ac_cv_func_
$ac_func=no
"
21031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21032 echo "$ac_t""yes" 1>&6
21033 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21034 cat >> confdefs.h <<EOF
21035 #define $ac_tr_func 1
21039 echo "$ac_t""no
" 1>&6
21046 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
21047 echo "configure
:21048: checking
for strtof declaration
" >&5
21048 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
21049 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
21050 echo $ac_n "(cached
) $ac_c" 1>&6
21055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21056 ac_cpp='$CXXCPP $CPPFLAGS'
21057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21059 cross_compiling=$ac_cv_prog_cxx_cross
21061 cat > conftest.$ac_ext <<EOF
21062 #line 21063 "configure
"
21063 #include "confdefs.h
"
21064 #include <stdlib.h>
21069 if { (eval echo configure:21070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21071 glibcpp_cv_func_strtof_use=yes
21073 echo "configure
: failed program was
:" >&5
21074 cat conftest.$ac_ext >&5
21076 glibcpp_cv_func_strtof_use=no
21080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21081 ac_cpp='$CPP $CPPFLAGS'
21082 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21083 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21084 cross_compiling=$ac_cv_prog_cc_cross
21090 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
21091 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
21092 for ac_func in strtof
21094 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21095 echo "configure
:21096: checking
for $ac_func" >&5
21096 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21097 echo $ac_n "(cached
) $ac_c" 1>&6
21099 cat > conftest.$ac_ext <<EOF
21100 #line 21101 "configure
"
21101 #include "confdefs.h
"
21102 /* System header to define __stub macros and hopefully few prototypes,
21103 which can conflict with char $ac_func(); below. */
21104 #include <assert.h>
21105 /* Override any gcc2 internal prototype to avoid an error. */
21106 /* We use char because int might match the return type of a gcc2
21107 builtin and then its argument prototype would still apply. */
21112 /* The GNU C library defines this for functions which it implements
21113 to always fail with ENOSYS. Some functions are actually named
21114 something starting with __ and the normal name is an alias. */
21115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21123 if { (eval echo configure:21124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21125 eval "ac_cv_func_
$ac_func=yes"
21127 echo "configure
: failed program was
:" >&5
21128 cat conftest.$ac_ext >&5
21130 eval "ac_cv_func_
$ac_func=no
"
21135 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21136 echo "$ac_t""yes" 1>&6
21137 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21138 cat >> confdefs.h <<EOF
21139 #define $ac_tr_func 1
21143 echo "$ac_t""no
" 1>&6
21149 for ac_func in drand48
21151 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21152 echo "configure
:21153: checking
for $ac_func" >&5
21153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21154 echo $ac_n "(cached
) $ac_c" 1>&6
21156 cat > conftest.$ac_ext <<EOF
21157 #line 21158 "configure
"
21158 #include "confdefs.h
"
21159 /* System header to define __stub macros and hopefully few prototypes,
21160 which can conflict with char $ac_func(); below. */
21161 #include <assert.h>
21162 /* Override any gcc2 internal prototype to avoid an error. */
21163 /* We use char because int might match the return type of a gcc2
21164 builtin and then its argument prototype would still apply. */
21169 /* The GNU C library defines this for functions which it implements
21170 to always fail with ENOSYS. Some functions are actually named
21171 something starting with __ and the normal name is an alias. */
21172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21180 if { (eval echo configure:21181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21182 eval "ac_cv_func_
$ac_func=yes"
21184 echo "configure
: failed program was
:" >&5
21185 cat conftest.$ac_ext >&5
21187 eval "ac_cv_func_
$ac_func=no
"
21192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21193 echo "$ac_t""yes" 1>&6
21194 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21195 cat >> confdefs.h <<EOF
21196 #define $ac_tr_func 1
21200 echo "$ac_t""no
" 1>&6
21205 CXXFLAGS="$ac_save_CXXFLAGS"
21208 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
21209 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
21210 echo "configure
:21211: checking
for locale.h
" >&5
21211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21212 echo $ac_n "(cached
) $ac_c" 1>&6
21214 cat > conftest.$ac_ext <<EOF
21215 #line 21216 "configure
"
21216 #include "confdefs.h
"
21217 #include <locale.h>
21219 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21220 { (eval echo configure:21221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21221 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21222 if test -z "$ac_err"; then
21224 eval "ac_cv_header_
$ac_safe=yes"
21227 echo "configure
: failed program was
:" >&5
21228 cat conftest.$ac_ext >&5
21230 eval "ac_cv_header_
$ac_safe=no
"
21234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21235 echo "$ac_t""yes" 1>&6
21237 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
21238 echo "configure
:21239: checking
for LC_MESSAGES
" >&5
21239 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
21240 echo $ac_n "(cached
) $ac_c" 1>&6
21242 cat > conftest.$ac_ext <<EOF
21243 #line 21244 "configure
"
21244 #include "confdefs.h
"
21245 #include <locale.h>
21250 if { (eval echo configure:21251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21252 ac_cv_val_LC_MESSAGES=yes
21254 echo "configure
: failed program was
:" >&5
21255 cat conftest.$ac_ext >&5
21257 ac_cv_val_LC_MESSAGES=no
21262 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
21263 if test $ac_cv_val_LC_MESSAGES = yes; then
21264 cat >> confdefs.h <<\EOF
21265 #define HAVE_LC_MESSAGES 1
21271 echo "$ac_t""no
" 1>&6
21276 cat > conftest.$ac_ext <<EOF
21277 #line 21278 "configure
"
21278 #include "confdefs.h
"
21280 #include <setjmp.h>
21283 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
21286 if { (eval echo configure:21287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21288 cat >> confdefs.h <<\EOF
21289 #define HAVE_SIGSETJMP 1
21294 echo "configure
: failed program was
:" >&5
21295 cat conftest.$ac_ext >&5
21299 for ac_hdr in unistd.h
21301 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21302 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21303 echo "configure
:21304: checking
for $ac_hdr" >&5
21304 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21305 echo $ac_n "(cached
) $ac_c" 1>&6
21307 cat > conftest.$ac_ext <<EOF
21308 #line 21309 "configure
"
21309 #include "confdefs.h
"
21312 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21313 { (eval echo configure:21314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21314 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21315 if test -z "$ac_err"; then
21317 eval "ac_cv_header_
$ac_safe=yes"
21320 echo "configure
: failed program was
:" >&5
21321 cat conftest.$ac_ext >&5
21323 eval "ac_cv_header_
$ac_safe=no
"
21327 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21328 echo "$ac_t""yes" 1>&6
21329 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21330 cat >> confdefs.h <<EOF
21331 #define $ac_tr_hdr 1
21335 echo "$ac_t""no
" 1>&6
21339 for ac_func in getpagesize
21341 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21342 echo "configure
:21343: checking
for $ac_func" >&5
21343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21344 echo $ac_n "(cached
) $ac_c" 1>&6
21346 cat > conftest.$ac_ext <<EOF
21347 #line 21348 "configure
"
21348 #include "confdefs.h
"
21349 /* System header to define __stub macros and hopefully few prototypes,
21350 which can conflict with char $ac_func(); below. */
21351 #include <assert.h>
21352 /* Override any gcc2 internal prototype to avoid an error. */
21353 /* We use char because int might match the return type of a gcc2
21354 builtin and then its argument prototype would still apply. */
21359 /* The GNU C library defines this for functions which it implements
21360 to always fail with ENOSYS. Some functions are actually named
21361 something starting with __ and the normal name is an alias. */
21362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21370 if { (eval echo configure:21371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21372 eval "ac_cv_func_
$ac_func=yes"
21374 echo "configure
: failed program was
:" >&5
21375 cat conftest.$ac_ext >&5
21377 eval "ac_cv_func_
$ac_func=no
"
21382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21383 echo "$ac_t""yes" 1>&6
21384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21385 cat >> confdefs.h <<EOF
21386 #define $ac_tr_func 1
21390 echo "$ac_t""no
" 1>&6
21394 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
21395 echo "configure
:21396: checking
for working mmap
" >&5
21396 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
21397 echo $ac_n "(cached
) $ac_c" 1>&6
21399 if test "$cross_compiling" = yes; then
21400 ac_cv_func_mmap_fixed_mapped=no
21402 cat > conftest.$ac_ext <<EOF
21403 #line 21404 "configure
"
21404 #include "confdefs.h
"
21406 /* Thanks to Mike Haertel and Jim Avera for this test.
21407 Here is a matrix of mmap possibilities:
21408 mmap private not fixed
21409 mmap private fixed at somewhere currently unmapped
21410 mmap private fixed at somewhere already mapped
21411 mmap shared not fixed
21412 mmap shared fixed at somewhere currently unmapped
21413 mmap shared fixed at somewhere already mapped
21414 For private mappings, we should verify that changes cannot be read()
21415 back from the file, nor mmap's back from the file at a different
21416 address. (There have been systems where private was not correctly
21417 implemented like the infamous i386 svr4.0, and systems where the
21418 VM page cache was not coherent with the filesystem buffer cache
21419 like early versions of FreeBSD and possibly contemporary NetBSD.)
21420 For shared mappings, we should conversely verify that changes get
21421 propogated back to all the places they're supposed to be.
21423 Grep wants private fixed already mapped.
21424 The main things grep needs to know about mmap are:
21425 * does it exist and is it safe to write into the mmap'd area
21426 * how to use it (BSD variants) */
21427 #include <sys/types.h>
21429 #include <sys/mman.h>
21431 /* This mess was copied from the GNU getpagesize.h. */
21432 #ifndef HAVE_GETPAGESIZE
21433 # ifdef HAVE_UNISTD_H
21434 # include <unistd.h>
21437 /* Assume that all systems that can run configure have sys/param.h. */
21438 # ifndef HAVE_SYS_PARAM_H
21439 # define HAVE_SYS_PARAM_H 1
21442 # ifdef _SC_PAGESIZE
21443 # define getpagesize() sysconf(_SC_PAGESIZE)
21444 # else /* no _SC_PAGESIZE */
21445 # ifdef HAVE_SYS_PARAM_H
21446 # include <sys/param.h>
21447 # ifdef EXEC_PAGESIZE
21448 # define getpagesize() EXEC_PAGESIZE
21449 # else /* no EXEC_PAGESIZE */
21451 # define getpagesize() NBPG * CLSIZE
21454 # endif /* no CLSIZE */
21455 # else /* no NBPG */
21457 # define getpagesize() NBPC
21458 # else /* no NBPC */
21460 # define getpagesize() PAGESIZE
21461 # endif /* PAGESIZE */
21462 # endif /* no NBPC */
21463 # endif /* no NBPG */
21464 # endif /* no EXEC_PAGESIZE */
21465 # else /* no HAVE_SYS_PARAM_H */
21466 # define getpagesize() 8192 /* punt totally */
21467 # endif /* no HAVE_SYS_PARAM_H */
21468 # endif /* no _SC_PAGESIZE */
21470 #endif /* no HAVE_GETPAGESIZE */
21473 extern "C
" { void *malloc(unsigned); }
21481 char *data, *data2, *data3;
21485 pagesize = getpagesize();
21488 * First, make a file with some known garbage in it.
21490 data = malloc(pagesize);
21493 for (i = 0; i < pagesize; ++i)
21494 *(data + i) = rand();
21496 fd = creat("conftestmmap
", 0600);
21499 if (write(fd, data, pagesize) != pagesize)
21504 * Next, try to mmap the file at a fixed address which
21505 * already has something else allocated at it. If we can,
21506 * also make sure that we see the same garbage.
21508 fd = open("conftestmmap
", O_RDWR);
21511 data2 = malloc(2 * pagesize);
21514 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
21515 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
21516 MAP_PRIVATE | MAP_FIXED, fd, 0L))
21518 for (i = 0; i < pagesize; ++i)
21519 if (*(data + i) != *(data2 + i))
21523 * Finally, make sure that changes to the mapped area
21524 * do not percolate back to the file as seen by read().
21525 * (This is a bug on some variants of i386 svr4.0.)
21527 for (i = 0; i < pagesize; ++i)
21528 *(data2 + i) = *(data2 + i) + 1;
21529 data3 = malloc(pagesize);
21532 if (read(fd, data3, pagesize) != pagesize)
21534 for (i = 0; i < pagesize; ++i)
21535 if (*(data + i) != *(data3 + i))
21538 unlink("conftestmmap
");
21543 if { (eval echo configure:21544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
21545 ac_cv_func_mmap_fixed_mapped=yes
21547 echo "configure
: failed program was
:" >&5
21548 cat conftest.$ac_ext >&5
21550 ac_cv_func_mmap_fixed_mapped=no
21557 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
21558 if test $ac_cv_func_mmap_fixed_mapped = yes; then
21559 cat >> confdefs.h <<\EOF
21560 #define HAVE_MMAP 1
21566 # Establish limits on memory usage during 'make check'
21569 setrlimit_have_headers=yes
21570 for ac_hdr in sys/resource.h unistd.h
21572 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21573 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
21574 echo "configure
:21575: checking
for $ac_hdr" >&5
21575 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21576 echo $ac_n "(cached
) $ac_c" 1>&6
21578 cat > conftest.$ac_ext <<EOF
21579 #line 21580 "configure
"
21580 #include "confdefs.h
"
21583 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
21584 { (eval echo configure:21585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21585 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
21586 if test -z "$ac_err"; then
21588 eval "ac_cv_header_
$ac_safe=yes"
21591 echo "configure
: failed program was
:" >&5
21592 cat conftest.$ac_ext >&5
21594 eval "ac_cv_header_
$ac_safe=no
"
21598 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21599 echo "$ac_t""yes" 1>&6
21600 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21601 cat >> confdefs.h <<EOF
21602 #define $ac_tr_hdr 1
21606 echo "$ac_t""no
" 1>&6
21607 setrlimit_have_headers=no
21611 # If don't have the headers, then we can't run the tests now, and we
21612 # won't be seeing any of these during testsuite compilation.
21613 if test $setrlimit_have_headers = yes; then
21614 # Can't do these in a loop, else the resulting syntax is wrong.
21616 cat > conftest.$ac_ext <<EOF
21617 #line 21618 "configure
"
21618 #include "confdefs.h
"
21619 #include <sys/resource.h>
21620 #include <unistd.h>
21623 int f = RLIMIT_DATA ;
21626 if { (eval echo configure:21627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21630 echo "configure
: failed program was
:" >&5
21631 cat conftest.$ac_ext >&5
21636 cat >> confdefs.h <<EOF
21637 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
21642 cat > conftest.$ac_ext <<EOF
21643 #line 21644 "configure
"
21644 #include "confdefs.h
"
21645 #include <sys/resource.h>
21646 #include <unistd.h>
21649 int f = RLIMIT_RSS ;
21652 if { (eval echo configure:21653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21656 echo "configure
: failed program was
:" >&5
21657 cat conftest.$ac_ext >&5
21662 cat >> confdefs.h <<EOF
21663 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
21668 cat > conftest.$ac_ext <<EOF
21669 #line 21670 "configure
"
21670 #include "confdefs.h
"
21671 #include <sys/resource.h>
21672 #include <unistd.h>
21675 int f = RLIMIT_VMEM ;
21678 if { (eval echo configure:21679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21682 echo "configure
: failed program was
:" >&5
21683 cat conftest.$ac_ext >&5
21688 cat >> confdefs.h <<EOF
21689 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
21694 cat > conftest.$ac_ext <<EOF
21695 #line 21696 "configure
"
21696 #include "confdefs.h
"
21697 #include <sys/resource.h>
21698 #include <unistd.h>
21701 int f = RLIMIT_AS ;
21704 if { (eval echo configure:21705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21708 echo "configure
: failed program was
:" >&5
21709 cat conftest.$ac_ext >&5
21714 cat >> confdefs.h <<EOF
21715 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
21720 # Check for rlimit, setrlimit.
21721 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
21722 echo $ac_n "(cached
) $ac_c" 1>&6
21725 cat > conftest.$ac_ext <<EOF
21726 #line 21727 "configure
"
21727 #include "confdefs.h
"
21728 #include <sys/resource.h>
21729 #include <unistd.h>
21732 struct rlimit r; setrlimit(0, &r);
21735 if { (eval echo configure:21736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21739 echo "configure
: failed program was
:" >&5
21740 cat conftest.$ac_ext >&5
21750 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
21751 echo "configure
:21752: checking
for testsuite memory limit support
" >&5
21752 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
21754 cat >> confdefs.h <<\EOF
21755 #define _GLIBCPP_MEM_LIMITS 1
21761 echo "$ac_t""$ac_mem_limits" 1>&6
21764 # Look for setenv, so that extended locale tests can be performed.
21766 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
21767 echo "configure
:21768: checking
for setenv declaration
" >&5
21768 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
21769 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
21770 echo $ac_n "(cached
) $ac_c" 1>&6
21775 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21776 ac_cpp='$CXXCPP $CPPFLAGS'
21777 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21778 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21779 cross_compiling=$ac_cv_prog_cxx_cross
21781 cat > conftest.$ac_ext <<EOF
21782 #line 21783 "configure
"
21783 #include "confdefs.h
"
21784 #include <stdlib.h>
21789 if { (eval echo configure:21790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21791 glibcpp_cv_func_setenv_use=yes
21793 echo "configure
: failed program was
:" >&5
21794 cat conftest.$ac_ext >&5
21796 glibcpp_cv_func_setenv_use=no
21800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21801 ac_cpp='$CPP $CPPFLAGS'
21802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21804 cross_compiling=$ac_cv_prog_cc_cross
21810 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
21811 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
21812 for ac_func in setenv
21814 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21815 echo "configure
:21816: checking
for $ac_func" >&5
21816 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21817 echo $ac_n "(cached
) $ac_c" 1>&6
21819 cat > conftest.$ac_ext <<EOF
21820 #line 21821 "configure
"
21821 #include "confdefs.h
"
21822 /* System header to define __stub macros and hopefully few prototypes,
21823 which can conflict with char $ac_func(); below. */
21824 #include <assert.h>
21825 /* Override any gcc2 internal prototype to avoid an error. */
21826 /* We use char because int might match the return type of a gcc2
21827 builtin and then its argument prototype would still apply. */
21832 /* The GNU C library defines this for functions which it implements
21833 to always fail with ENOSYS. Some functions are actually named
21834 something starting with __ and the normal name is an alias. */
21835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21843 if { (eval echo configure:21844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21845 eval "ac_cv_func_
$ac_func=yes"
21847 echo "configure
: failed program was
:" >&5
21848 cat conftest.$ac_ext >&5
21850 eval "ac_cv_func_
$ac_func=no
"
21855 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21856 echo "$ac_t""yes" 1>&6
21857 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21858 cat >> confdefs.h <<EOF
21859 #define $ac_tr_func 1
21863 echo "$ac_t""no
" 1>&6
21872 # This depends on the possibly-skipped linker test above.
21873 # Check whether --enable-symvers or --disable-symvers was given.
21874 if test "${enable_symvers+set}" = set; then
21875 enableval="$enable_symvers"
21876 case "$enableval" in
21877 yes) enable_symvers=yes ;;
21878 no) enable_symvers=no ;;
21879 # other names here, just as sanity checks
21880 #gnu|sun|etcetera) enable_symvers=$enableval ;;
21881 gnu) enable_symvers=$enableval ;;
21882 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
21888 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
21889 # don't know enough about $LD to do tricks...
21890 if test x$enable_shared = xno ||
21892 test x$glibcpp_gnu_ld_version = x; then
21896 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
21897 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
21898 echo "configure
:21899: checking
for shared libgcc
" >&5
21899 ac_save_CFLAGS="$CFLAGS"
21901 cat > conftest.$ac_ext <<EOF
21902 #line 21903 "configure
"
21903 #include "confdefs.h
"
21909 if { (eval echo configure:21910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21911 glibcpp_shared_libgcc=yes
21913 echo "configure
: failed program was
:" >&5
21914 cat conftest.$ac_ext >&5
21916 glibcpp_shared_libgcc=no
21919 CFLAGS="$ac_save_CFLAGS"
21920 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
21922 # For GNU ld, we need at least this version. It's 2.12 in the same format
21923 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
21924 glibcpp_min_gnu_ld_version=21200
21926 # Check to see if unspecified "yes" value can win, given results
21928 if test $enable_symvers = yes ; then
21929 if test $with_gnu_ld = yes &&
21930 test $glibcpp_shared_libgcc = yes ;
21932 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
21935 ac_test_CFLAGS="${CFLAGS+set}"
21936 ac_save_CFLAGS="$CFLAGS"
21937 CFLAGS='-shared -Wl,--version-script,conftest.map'
21940 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
21942 cat > conftest.$ac_ext <<EOF
21943 #line 21944 "configure
"
21944 #include "confdefs.h
"
21950 if { (eval echo configure:21951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21954 echo "configure
: failed program was
:" >&5
21955 cat conftest.$ac_ext >&5
21958 if test "$ac_test_CFLAGS" = set; then
21959 CFLAGS="$ac_save_CFLAGS"
21961 # this is the suspicious part
21967 # just fail for now
21972 case $enable_symvers in
21974 LINKER_MAP=config/linker-map.dummy
21977 LINKER_MAP=config/linker-map.gnu
21984 if test $enable_symvers != no; then
21985 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
21986 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
21988 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
21989 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
21991 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
21992 echo "configure
:21993: checking versioning on shared library symbols
" >&5
21993 echo "$ac_t""$enable_symvers" 1>&6
21996 # Propagate the target-specific source directories through the build chain.
21997 OS_INC_SRCDIR=$os_include_dir/bits
21998 ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
21999 CPU_LIMITS_INC_SRCDIR=$CPULIMITSH/bits
22004 # Set up cross-compile flags
22008 if test "$CANADIAN" = yes; then
22016 cat > confcache <<\EOF
22017 # This file is a shell script that caches the results of configure
22018 # tests run on this system so they can be shared between configure
22019 # scripts and configure runs. It is not useful on other systems.
22020 # If it contains results you don't want to keep, you may remove or edit it.
22022 # By default, configure uses ./config.cache as the cache file,
22023 # creating it if it does not exist already. You can give configure
22024 # the --cache-file=FILE option to use a different cache file; that is
22025 # what configure does when it calls configure scripts in
22026 # subdirectories, so they share the cache.
22027 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22028 # config.status only pays attention to the cache file if you give it the
22029 # --recheck option to rerun configure.
22032 # The following way of writing the cache mishandles newlines in values,
22033 # but we know of no workaround that is simple, portable, and efficient.
22034 # So, don't put newlines in cache variables' values.
22035 # Ultrix sh set writes to stderr and can't be redirected directly,
22036 # and sets the high bit in the cache file unless we assign to the vars.
22038 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22040 # `set' does not quote correctly, so add quotes (double-quote substitution
22041 # turns \\\\ into \\, and sed turns \\ into \).
22043 -e "s
/'/'\\\\''/g
" \
22044 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22047 # `set' quotes correctly as required by POSIX, so do not add quotes.
22048 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22051 if cmp -s $cache_file confcache; then
22054 if test -w $cache_file; then
22055 echo "updating cache
$cache_file"
22056 cat confcache > $cache_file
22058 echo "not updating unwritable cache
$cache_file"
22064 if test "${multilib}" = "yes"; then
22065 multilib_arg="--enable-multilib"
22070 # Export all the install information
22072 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
22073 # exported correctly in GLIBCPP_CONFIGURE.
22074 glibcpp_toolexecdir=no
22075 glibcpp_toolexeclibdir=no
22076 glibcpp_prefixdir=${prefix}
22078 # Process the option --with-gxx-include-dir=<path to include-files directory>
22079 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
22080 echo "configure
:22081: checking
for --with-gxx-include-dir" >&5
22081 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
22082 if test "${with_gxx_include_dir+set}" = set; then
22083 withval="$with_gxx_include_dir"
22084 case "${withval}" in
22086 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
22093 gxx_include_dir=${withval}
22100 echo "$ac_t""$gxx_include_dir" 1>&6
22102 # Process the option "--enable-version-specific-runtime-libs"
22103 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
22104 echo "configure
:22105: checking
for --enable-version-specific-runtime-libs" >&5
22105 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
22106 if test "${enable_version_specific_runtime_libs+set}" = set; then
22107 enableval="$enable_version_specific_runtime_libs"
22108 case "$enableval" in
22109 yes) version_specific_libs=yes ;;
22110 no) version_specific_libs=no ;;
22111 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
22114 version_specific_libs=no
22116 # Option set, now we can test it.
22117 echo "$ac_t""$version_specific_libs" 1>&6
22119 # Default case for install directory for include files.
22120 if test $version_specific_libs = no && test $gxx_include_dir = no; then
22121 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
22124 # Version-specific runtime libs processing.
22125 if test $version_specific_libs = yes; then
22126 # Need the gcc compiler version to know where to install libraries
22127 # and header files if --enable-version-specific-runtime-libs option
22129 if test x"$gxx_include_dir" = x"no
"; then
22130 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
22132 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22133 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
22136 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
22137 # Install a library built with a cross compiler in tooldir, not libdir.
22138 if test x"$glibcpp_toolexecdir" = x"no
"; then
22139 if test -n "$with_cross_host" &&
22140 test x"$with_cross_host" != x"no
"; then
22141 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
22142 glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
22144 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
22145 glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
22149 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
22150 echo "configure
:22151: checking
for install location
" >&5
22151 echo "$ac_t""$gxx_include_dir" 1>&6
22159 # Export all the include and flag information to makefiles.
22161 # Root level of the build directory include sources.
22162 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
22164 # Passed down for canadian crosses.
22165 if test x"$CANADIAN" = xyes; then
22166 TOPLEVEL_INCLUDES='-I$(includedir)'
22169 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
22171 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
22173 if test x"$need_libio" = xyes; then
22174 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
22178 # Now, export this to all the little Makefiles....
22185 # Optimization flags that are probably a good idea for thrill-seekers. Just
22186 # uncomment the lines below and make, everything else is ready to go...
22187 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
22191 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
22195 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
22196 grep "enable shared
" > /dev/null; then
22197 LIBSUPCXX_PICFLAGS=-prefer-pic
22199 LIBSUPCXX_PICFLAGS=
22203 # Generate the various Makefiles, include files, and scripts.
22204 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
22205 # and libsupc++/Makefile.am so that multilib installs will end up
22206 # installed in the correct place. To work around this not being passed
22207 # down from config-ml.in -> top_srcdir/Makefile.am ->
22208 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
22210 cat > confcache <<\EOF
22211 # This file is a shell script that caches the results of configure
22212 # tests run on this system so they can be shared between configure
22213 # scripts and configure runs. It is not useful on other systems.
22214 # If it contains results you don't want to keep, you may remove or edit it.
22216 # By default, configure uses ./config.cache as the cache file,
22217 # creating it if it does not exist already. You can give configure
22218 # the --cache-file=FILE option to use a different cache file; that is
22219 # what configure does when it calls configure scripts in
22220 # subdirectories, so they share the cache.
22221 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22222 # config.status only pays attention to the cache file if you give it the
22223 # --recheck option to rerun configure.
22226 # The following way of writing the cache mishandles newlines in values,
22227 # but we know of no workaround that is simple, portable, and efficient.
22228 # So, don't put newlines in cache variables' values.
22229 # Ultrix sh set writes to stderr and can't be redirected directly,
22230 # and sets the high bit in the cache file unless we assign to the vars.
22232 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22234 # `set' does not quote correctly, so add quotes (double-quote substitution
22235 # turns \\\\ into \\, and sed turns \\ into \).
22237 -e "s
/'/'\\\\''/g
" \
22238 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
22241 # `set' quotes correctly as required by POSIX, so do not add quotes.
22242 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22245 if cmp -s $cache_file confcache; then
22248 if test -w $cache_file; then
22249 echo "updating cache
$cache_file"
22250 cat confcache > $cache_file
22252 echo "not updating unwritable cache
$cache_file"
22257 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22259 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
22260 # Let make expand exec_prefix.
22261 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
22263 # Any assignment to VPATH causes Sun make to only execute
22264 # the first set of double-colon rules, so remove it if not needed.
22265 # If there is a colon in the path, we need to keep it.
22266 if test "x
$srcdir" = x.; then
22267 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
22270 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22272 DEFS=-DHAVE_CONFIG_H
22274 # Without the ".
/", some shells look in PATH for config.status.
22275 : ${CONFIG_STATUS=./config.status}
22277 echo creating $CONFIG_STATUS
22278 rm -f $CONFIG_STATUS
22279 cat > $CONFIG_STATUS <<EOF
22281 # Generated automatically by configure.
22282 # Run this file to recreate the current configuration.
22283 # This directory was configured as follows,
22284 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22286 # $0 $ac_configure_args
22288 # Compiler output produced by configure, useful for debugging
22289 # configure, is in ./config.log if it exists.
22291 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
22294 case "\
$ac_option" in
22295 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22296 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22297 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22298 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22299 echo "$CONFIG_STATUS generated by autoconf version
2.13"
22301 -help | --help | --hel | --he | --h)
22302 echo "\
$ac_cs_usage"; exit 0 ;;
22303 *) echo "\
$ac_cs_usage"; exit 1 ;;
22307 ac_given_srcdir=$srcdir
22308 ac_given_INSTALL="$INSTALL"
22310 trap 'rm -fr `echo "Makefile \
22311 include
/Makefile src
/Makefile \
22312 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22313 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
22315 cat >> $CONFIG_STATUS <<EOF
22317 # Protect against being on the right side of a sed subst in config.status.
22318 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22319 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22323 s%@CFLAGS@%$CFLAGS%g
22324 s%@CPPFLAGS@%$CPPFLAGS%g
22325 s%@CXXFLAGS@%$CXXFLAGS%g
22326 s%@FFLAGS@%$FFLAGS%g
22328 s%@LDFLAGS@%$LDFLAGS%g
22330 s%@exec_prefix@%$exec_prefix%g
22331 s%@prefix@%$prefix%g
22332 s%@program_transform_name@%$program_transform_name%g
22333 s%@bindir@%$bindir%g
22334 s%@sbindir@%$sbindir%g
22335 s%@libexecdir@%$libexecdir%g
22336 s%@datadir@%$datadir%g
22337 s%@sysconfdir@%$sysconfdir%g
22338 s%@sharedstatedir@%$sharedstatedir%g
22339 s%@localstatedir@%$localstatedir%g
22340 s%@libdir@%$libdir%g
22341 s%@includedir@%$includedir%g
22342 s%@oldincludedir@%$oldincludedir%g
22343 s%@infodir@%$infodir%g
22344 s%@mandir@%$mandir%g
22345 s%@PACKAGE@%$PACKAGE%g
22346 s%@libtool_VERSION@%$libtool_VERSION%g
22347 s%@toplevel_srcdir@%$toplevel_srcdir%g
22349 s%@host_alias@%$host_alias%g
22350 s%@host_cpu@%$host_cpu%g
22351 s%@host_vendor@%$host_vendor%g
22352 s%@host_os@%$host_os%g
22353 s%@target@%$target%g
22354 s%@target_alias@%$target_alias%g
22355 s%@target_cpu@%$target_cpu%g
22356 s%@target_vendor@%$target_vendor%g
22357 s%@target_os@%$target_os%g
22359 s%@build_alias@%$build_alias%g
22360 s%@build_cpu@%$build_cpu%g
22361 s%@build_vendor@%$build_vendor%g
22362 s%@build_os@%$build_os%g
22363 s%@glibcpp_builddir@%$glibcpp_builddir%g
22364 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
22367 s%@glibcpp_basedir@%$glibcpp_basedir%g
22369 s%@glibcpp_CXX@%$glibcpp_CXX%g
22372 s%@RANLIB@%$RANLIB%g
22373 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22374 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22375 s%@INSTALL_DATA@%$INSTALL_DATA%g
22376 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
22377 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
22379 s%@EXEEXT@%$EXEEXT%g
22380 s%@VERSION@%$VERSION%g
22381 s%@ACLOCAL@%$ACLOCAL%g
22382 s%@AUTOCONF@%$AUTOCONF%g
22383 s%@AUTOMAKE@%$AUTOMAKE%g
22384 s%@AUTOHEADER@%$AUTOHEADER%g
22385 s%@MAKEINFO@%$MAKEINFO%g
22386 s%@SET_MAKE@%$SET_MAKE%g
22387 s%@OBJEXT@%$OBJEXT%g
22389 s%@LIBTOOL@%$LIBTOOL%g
22390 s%@CXXCPP@%$CXXCPP%g
22391 s%@enable_shared@%$enable_shared%g
22392 s%@enable_static@%$enable_static%g
22393 s%@ifGNUmake@%$ifGNUmake%g
22394 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
22396 s%@CSTDIO_H@%$CSTDIO_H%g
22397 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
22398 s%@CCODECVT_C@%$CCODECVT_C%g
22399 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
22400 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
22401 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
22402 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
22403 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
22404 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
22405 s%@libio_la@%$libio_la%g
22406 s%@check_msgfmt@%$check_msgfmt%g
22407 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
22408 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
22409 s%@glibcpp_localedir@%$glibcpp_localedir%g
22410 s%@USE_NLS@%$USE_NLS%g
22411 s%@CLOCALE_H@%$CLOCALE_H%g
22412 s%@CCODECVT_H@%$CCODECVT_H%g
22413 s%@CMESSAGES_H@%$CMESSAGES_H%g
22414 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
22415 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
22416 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
22417 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
22418 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
22419 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
22420 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
22421 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
22422 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
22423 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
22424 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
22425 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
22426 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
22427 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
22428 s%@WERROR@%$WERROR%g
22429 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
22430 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
22431 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
22432 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
22433 s%@CPU_LIMITS_INC_SRCDIR@%$CPU_LIMITS_INC_SRCDIR%g
22434 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
22435 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
22436 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
22437 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
22438 s%@gxx_include_dir@%$gxx_include_dir%g
22439 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
22440 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
22441 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
22442 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
22443 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
22444 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
22445 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
22446 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
22447 s%@WARN_FLAGS@%$WARN_FLAGS%g
22448 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
22453 cat >> $CONFIG_STATUS <<\EOF
22455 # Split the substitutions into bite-sized pieces for seds with
22456 # small command number limits, like on Digital OSF/1 and HP-UX.
22457 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
22458 ac_file=1 # Number of current file.
22459 ac_beg=1 # First line for current file.
22460 ac_end=$ac_max_sed_cmds # Line after last line for current file.
22463 while $ac_more_lines; do
22464 if test $ac_beg -gt 1; then
22465 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
22467 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
22469 if test ! -s conftest.s$ac_file; then
22470 ac_more_lines=false
22471 rm -f conftest.s$ac_file
22473 if test -z "$ac_sed_cmds"; then
22474 ac_sed_cmds="sed -f conftest.s
$ac_file"
22476 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
22478 ac_file=`expr $ac_file + 1`
22480 ac_end=`expr $ac_end + $ac_max_sed_cmds`
22483 if test -z "$ac_sed_cmds"; then
22488 cat >> $CONFIG_STATUS <<EOF
22490 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
22491 include
/Makefile src
/Makefile \
22492 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
22493 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
22495 cat >> $CONFIG_STATUS <<\EOF
22496 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
22497 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
22499 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
22500 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
22501 *) ac_file_in="${ac_file}.
in" ;;
22504 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22506 # Remove last slash and all that follows it. Not all systems have dirname.
22507 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22508 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22509 # The file is in a subdirectory.
22510 test ! -d "$ac_dir" && mkdir "$ac_dir"
22511 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
22512 # A "..
/" for each directory in $ac_dir_suffix.
22513 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22515 ac_dir_suffix= ac_dots=
22518 case "$ac_given_srcdir" in
22520 if test -z "$ac_dots"; then top_srcdir=.
22521 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22522 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
22523 *) # Relative path.
22524 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22525 top_srcdir="$ac_dots$ac_given_srcdir" ;;
22528 case "$ac_given_INSTALL" in
22529 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22530 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22533 echo creating "$ac_file"
22535 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
22537 *Makefile*) ac_comsub="1i
\\
22538 # $configure_input" ;;
22542 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22544 s%@configure_input@%$configure_input%g
22545 s%@srcdir@%$srcdir%g
22546 s%@top_srcdir@%$top_srcdir%g
22547 s%@INSTALL@%$INSTALL%g
22548 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
22552 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22553 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22555 # ac_d sets the value in "#define NAME VALUE" lines.
22556 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22557 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22560 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22561 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22562 ac_uB
='\([ ]\)%\1#\2define\3'
22565 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22566 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22567 ac_eB
='$%\1#\2define\3'
22571 if test "${CONFIG_HEADERS+set}" != set; then
22573 cat >> $CONFIG_STATUS <<EOF
22574 CONFIG_HEADERS="config.h"
22576 cat >> $CONFIG_STATUS <<\EOF
22578 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22579 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22581 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22582 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22583 *) ac_file_in
="${ac_file}.in" ;;
22586 echo creating
$ac_file
22588 rm -f conftest.frag conftest.
in conftest.out
22589 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22590 cat $ac_file_inputs > conftest.
in
22594 # Transform confdefs.h into a sed script conftest.vals that substitutes
22595 # the proper values into config.h.in to produce config.h. And first:
22596 # Protect against being on the right side of a sed subst in config.status.
22597 # Protect against being in an unquoted here document in config.status.
22598 rm -f conftest.vals
22599 cat > conftest.hdr
<<\EOF
22602 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22606 sed -n -f conftest.hdr confdefs.h > conftest.vals
22609 # This sed command replaces #undef with comments. This is necessary, for
22610 # example, in the case of _POSIX_SOURCE, which is predefined and required
22611 # on some systems where configure will not decide to define it.
22612 cat >> conftest.vals <<\EOF
22613 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22616 # Break up conftest.vals because some shells have a limit on
22617 # the size of here documents, and old seds have small limits too.
22619 rm -f conftest.tail
22622 ac_lines=`grep -c . conftest.vals
`
22623 # grep -c gives empty output for an empty file on some AIX systems.
22624 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22625 # Write a limited-size here document to conftest.frag.
22626 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22627 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22629 sed -f conftest.frag conftest.in > conftest.out
22631 mv conftest.out conftest.in
22632 ' >> $CONFIG_STATUS
22633 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22634 rm -f conftest.vals
22635 mv conftest.tail conftest.vals
22637 rm -f conftest.vals
22639 cat >> $CONFIG_STATUS <<\EOF
22640 rm -f conftest.frag conftest.h
22641 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22642 cat conftest.in >> conftest.h
22644 if cmp -s $ac_file conftest.h 2>/dev/null; then
22645 echo "$ac_file is unchanged"
22648 # Remove last slash and all that follows it. Not all systems have dirname.
22649 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
22650 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22651 # The file is in a subdirectory.
22652 test ! -d "$ac_dir" && mkdir "$ac_dir"
22655 mv conftest.h $ac_file
22661 cat >> $CONFIG_STATUS <<EOF
22662 ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CCTYPE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC $CTIME_CC $LINKER_MAP"
22663 ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/ctype.cc src/messages.cc src/monetary.cc src/numeric.cc src/time.cc src/linker.map"
22666 cat >> $CONFIG_STATUS <<\EOF
22667 srcdir=$ac_given_srcdir
22668 while test -n "$ac_sources"; do
22669 set $ac_dests; ac_dest=$1; shift; ac_dests=$*
22670 set $ac_sources; ac_source=$1; shift; ac_sources=$*
22672 echo "linking $srcdir/$ac_source to $ac_dest"
22674 if test ! -r $srcdir/$ac_source; then
22675 { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }
22679 # Make relative symlinks.
22680 # Remove last slash and all that follows it. Not all systems have dirname.
22681 ac_dest_dir=`echo $ac_dest|
sed 's%/[^/][^/]*$%%'`
22682 if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
22683 # The dest file is in a subdirectory.
22684 test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"
22685 ac_dest_dir_suffix="/`echo $ac_dest_dir|
sed 's%^\./%%'`"
22686 # A "../" for each directory in $ac_dest_dir_suffix.
22687 ac_dots=`echo $ac_dest_dir_suffix|
sed 's%/[^/]*%../%g'`
22689 ac_dest_dir_suffix= ac_dots=
22693 [/$]*) ac_rel_source="$srcdir/$ac_source" ;;
22694 *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;
22697 # Make a symlink if possible; otherwise try a hard link.
22698 if ln -s $ac_rel_source $ac_dest 2>/dev/null ||
22699 ln $srcdir/$ac_source $ac_dest; then :
22701 { echo "configure: error: can not link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }
22705 cat >> $CONFIG_STATUS <<EOF
22710 with_multisubdir=${with_multisubdir}
22711 ac_configure_args="${multilib_arg} ${ac_configure_args}"
22712 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
22713 glibcpp_basedir=${glibcpp_basedir}
22718 cat >> $CONFIG_STATUS <<\EOF
22719 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
22720 if test -n "$CONFIG_FILES"; then
22721 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
22722 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
22723 grep '^MULTISUBDIR =' Makefile >> src/Makefile
22724 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
22727 chmod +x testsuite_flags
22731 chmod +x $CONFIG_STATUS
22732 rm -fr confdefs* $ac_clean_files
22733 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22737 # Sanity checking & User-visible messages.
22738 # Checks down here, otherwise they get scrolled off before
22739 # the user will notice.
22741 # Trying to get more people to read documentation. Possibly remove
22742 # check and warn all the time. There is no "informational" AC_MSG_
22743 # macro, so these are going to be printed even when --quiet/--silent
22745 if test ! -f stamp-sanity-warned; then
22746 touch stamp-sanity-warned
22748 echo "Please make certain that you read the installation information here:"
22749 echo " faster => ${srcdir}/docs/html/install.html"
22750 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
22752 echo "and the configuration information here:"
22753 echo " faster => ${srcdir}/docs/html/configopts.html"
22754 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
22756 echo "before proceeding with ${_cv_gnu_make_command}."