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-cstdio enable stdio for target io package.
38 --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
41 --enable-clocale enable model for target locale package.
42 --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
45 --enable-nls use Native Language Support (default)"
47 --enable-cheaders=MODEL construct "C
" header files for g++ [default=c_std]"
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-sjlj-exceptions force use of builtin_setjmp for exceptions"
57 --enable-libunwind-exceptions force use of libunwind for exceptions"
59 --enable-concept-checks use Boost-derived template checks [default=no]"
61 --enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
64 --enable-debug build extra debug library [default=no]"
66 --enable-debug-flags=FLAGS pass compiler FLAGS when building debug
67 library;[default=none]"
69 --enable-symvers=style enables symbol versioning of the shared library [default=yes]"
71 --with-gxx-include-dir the installation directory for include files"
73 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
75 # Initialize some variables set by options.
76 # The variables have the same names as the options, with
77 # dashes changed to underlines.
79 cache_file
=.
/config.cache
88 program_transform_name
=s
,x
,x
,
96 bindir
='${exec_prefix}/bin'
97 sbindir
='${exec_prefix}/sbin'
98 libexecdir
='${exec_prefix}/libexec'
99 datadir
='${prefix}/share'
100 sysconfdir
='${prefix}/etc'
101 sharedstatedir
='${prefix}/com'
102 localstatedir
='${prefix}/var'
103 libdir
='${exec_prefix}/lib'
104 includedir
='${prefix}/include'
105 oldincludedir
='/usr/include'
106 infodir
='${prefix}/info'
107 mandir
='${prefix}/man'
109 # Initialize some other variables.
112 SHELL
=${CONFIG_SHELL-/bin/sh}
113 # Maximum number of lines to put in a shell here document.
120 # If the previous option needs an argument, assign it.
121 if test -n "$ac_prev"; then
122 eval "$ac_prev=\$ac_option"
128 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
132 # Accept the important Cygnus configure options, so we can diagnose typos.
136 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
138 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
139 bindir
="$ac_optarg" ;;
141 -build |
--build |
--buil |
--bui |
--bu)
143 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
144 build
="$ac_optarg" ;;
146 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
147 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
148 ac_prev
=cache_file
;;
149 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
150 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
151 cache_file
="$ac_optarg" ;;
153 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
155 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
157 datadir
="$ac_optarg" ;;
159 -disable-* |
--disable-*)
160 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
161 # Reject names that are not valid shell variable names.
162 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
163 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
165 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
166 eval "enable_${ac_feature}=no" ;;
168 -enable-* |
--enable-*)
169 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
170 # Reject names that are not valid shell variable names.
171 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
172 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
174 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
179 eval "enable_${ac_feature}='$ac_optarg'" ;;
181 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
182 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
183 |
--exec |
--exe |
--ex)
184 ac_prev
=exec_prefix
;;
185 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
186 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
187 |
--exec=* |
--exe=* |
--ex=*)
188 exec_prefix
="$ac_optarg" ;;
190 -gas |
--gas |
--ga |
--g)
191 # Obsolete; use --with-gas.
194 -help |
--help |
--hel |
--he)
195 # Omit some internal or obsolete options to make the list less imposing.
196 # This message is too long to be a string in the A/UX 3.1 sh.
198 Usage: configure [options] [host]
199 Options: [defaults in brackets after descriptions]
201 --cache-file=FILE cache test results in FILE
202 --help print this message
203 --no-create do not create output files
204 --quiet, --silent do not print \`checking...' messages
205 --version print the version of autoconf that created configure
206 Directory and file names:
207 --prefix=PREFIX install architecture-independent files in PREFIX
209 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
211 --bindir=DIR user executables in DIR [EPREFIX/bin]
212 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
213 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
214 --datadir=DIR read-only architecture-independent data in DIR
216 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
217 --sharedstatedir=DIR modifiable architecture-independent data in DIR
219 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
220 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
221 --includedir=DIR C header files in DIR [PREFIX/include]
222 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
223 --infodir=DIR info documentation in DIR [PREFIX/info]
224 --mandir=DIR man documentation in DIR [PREFIX/man]
225 --srcdir=DIR find the sources in DIR [configure dir or ..]
226 --program-prefix=PREFIX prepend PREFIX to installed program names
227 --program-suffix=SUFFIX append SUFFIX to installed program names
228 --program-transform-name=PROGRAM
229 run sed PROGRAM on installed program names
233 --build=BUILD configure for building on BUILD [BUILD=HOST]
234 --host=HOST configure for HOST [guessed]
235 --target=TARGET configure for TARGET [TARGET=HOST]
236 Features and packages:
237 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
238 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
239 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
240 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
241 --x-includes=DIR X include files are in DIR
242 --x-libraries=DIR X library files are in DIR
244 if test -n "$ac_help"; then
245 echo "--enable and --with options recognized:$ac_help"
249 -host |
--host |
--hos |
--ho)
251 -host=* |
--host=* |
--hos=* |
--ho=*)
254 -includedir |
--includedir |
--includedi |
--included |
--include \
255 |
--includ |
--inclu |
--incl |
--inc)
256 ac_prev
=includedir
;;
257 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
258 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
259 includedir
="$ac_optarg" ;;
261 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
263 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
264 infodir
="$ac_optarg" ;;
266 -libdir |
--libdir |
--libdi |
--libd)
268 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
269 libdir
="$ac_optarg" ;;
271 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
272 |
--libexe |
--libex |
--libe)
273 ac_prev
=libexecdir
;;
274 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
275 |
--libexe=* |
--libex=* |
--libe=*)
276 libexecdir
="$ac_optarg" ;;
278 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
279 |
--localstate |
--localstat |
--localsta |
--localst \
280 |
--locals |
--local |
--loca |
--loc |
--lo)
281 ac_prev
=localstatedir
;;
282 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
283 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
284 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
285 localstatedir
="$ac_optarg" ;;
287 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
289 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
290 mandir
="$ac_optarg" ;;
293 # Obsolete; use --without-fp.
296 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
300 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
301 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
304 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
305 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
306 |
--oldin |
--oldi |
--old |
--ol |
--o)
307 ac_prev
=oldincludedir
;;
308 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
309 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
310 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
311 oldincludedir
="$ac_optarg" ;;
313 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
315 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
316 prefix
="$ac_optarg" ;;
318 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
319 |
--program-pre |
--program-pr |
--program-p)
320 ac_prev
=program_prefix
;;
321 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
322 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
323 program_prefix
="$ac_optarg" ;;
325 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
326 |
--program-suf |
--program-su |
--program-s)
327 ac_prev
=program_suffix
;;
328 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
329 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
330 program_suffix
="$ac_optarg" ;;
332 -program-transform-name |
--program-transform-name \
333 |
--program-transform-nam |
--program-transform-na \
334 |
--program-transform-n |
--program-transform- \
335 |
--program-transform |
--program-transfor \
336 |
--program-transfo |
--program-transf \
337 |
--program-trans |
--program-tran \
338 |
--progr-tra |
--program-tr |
--program-t)
339 ac_prev
=program_transform_name
;;
340 -program-transform-name=* |
--program-transform-name=* \
341 |
--program-transform-nam=* |
--program-transform-na=* \
342 |
--program-transform-n=* |
--program-transform-=* \
343 |
--program-transform=* |
--program-transfor=* \
344 |
--program-transfo=* |
--program-transf=* \
345 |
--program-trans=* |
--program-tran=* \
346 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
347 program_transform_name
="$ac_optarg" ;;
349 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
350 |
-silent |
--silent |
--silen |
--sile |
--sil)
353 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
355 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
357 sbindir
="$ac_optarg" ;;
359 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
360 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
361 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
363 ac_prev
=sharedstatedir
;;
364 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
365 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
366 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
368 sharedstatedir
="$ac_optarg" ;;
370 -site |
--site |
--sit)
372 -site=* |
--site=* |
--sit=*)
375 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
377 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
378 srcdir
="$ac_optarg" ;;
380 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
381 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
382 ac_prev
=sysconfdir
;;
383 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
384 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
385 sysconfdir
="$ac_optarg" ;;
387 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
389 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
390 target
="$ac_optarg" ;;
392 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
395 -version |
--version |
--versio |
--versi |
--vers)
396 echo "configure generated by autoconf version 2.13"
400 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
401 # Reject names that are not valid shell variable names.
402 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
403 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
405 ac_package
=`echo $ac_package| sed 's/-/_/g'`
410 eval "with_${ac_package}='$ac_optarg'" ;;
412 -without-* |
--without-*)
413 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
414 # Reject names that are not valid shell variable names.
415 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
416 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
418 ac_package
=`echo $ac_package| sed 's/-/_/g'`
419 eval "with_${ac_package}=no" ;;
422 # Obsolete; use --with-x.
425 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
426 |
--x-incl |
--x-inc |
--x-in |
--x-i)
427 ac_prev
=x_includes
;;
428 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
429 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
430 x_includes
="$ac_optarg" ;;
432 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
433 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
434 ac_prev
=x_libraries
;;
435 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
436 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
437 x_libraries
="$ac_optarg" ;;
439 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
443 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
444 echo "configure: warning: $ac_option: invalid host type" 1>&2
446 if test "x$nonopt" != xNONE
; then
447 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
455 if test -n "$ac_prev"; then
456 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
461 # File descriptor usage:
464 # 2 errors and warnings
465 # 3 some systems may open it to /dev/tty
466 # 4 used on the Kubota Titan
467 # 6 checking for... messages and results
468 # 5 compiler messages saved in config.log
469 if test "$silent" = yes; then
477 This file contains any messages produced by compilers while
478 running configure, to aid debugging if configure makes a mistake.
481 # Strip out --no-create and --no-recursion so they do not pile up.
482 # Also quote any args containing shell metacharacters.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c) ;;
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
491 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
492 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
493 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
498 # Only set these to C if already set. These must not be set unconditionally
499 # because not all systems understand e.g. LANG=C (notably SCO).
500 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
501 # Non-C LC_CTYPE values break the ctype check.
502 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
503 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
504 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
505 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
507 # confdefs.h avoids OS command line length limits that DEFS can exceed.
508 rm -rf conftest
* confdefs.h
509 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
512 # A filename unique to this package, relative to the directory that
513 # configure is in, which we can look for to find out if srcdir is correct.
514 ac_unique_file
=src
/ios.cc
516 # Find the source files, if location was not specified.
517 if test -z "$srcdir"; then
518 ac_srcdir_defaulted
=yes
519 # Try the directory containing this script, then its parent.
521 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
522 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
524 if test ! -r $srcdir/$ac_unique_file; then
528 ac_srcdir_defaulted
=no
530 if test ! -r $srcdir/$ac_unique_file; then
531 if test "$ac_srcdir_defaulted" = yes; then
532 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
534 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
537 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
539 # Prefer explicitly selected file to automatically selected ones.
540 if test -z "$CONFIG_SITE"; then
541 if test "x$prefix" != xNONE
; then
542 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
544 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
547 for ac_site_file
in $CONFIG_SITE; do
548 if test -r "$ac_site_file"; then
549 echo "loading site script $ac_site_file"
554 if test -r "$cache_file"; then
555 echo "loading cache $cache_file"
558 echo "creating cache $cache_file"
563 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
564 ac_cpp
='$CPP $CPPFLAGS'
565 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
566 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
567 cross_compiling
=$ac_cv_prog_cc_cross
571 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
572 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
573 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
580 ac_n
= ac_c
='\c' ac_t
=
585 # This works around the fact that libtool configuration may change LD
586 # for this particular configuration, but some shells, instead of
587 # keeping the changes in LD private, export them just because LD is
588 # exported. Only used at the end of this file.
589 ORIGINAL_LD_FOR_MULTILIBS
=$LD
593 # For libtool versioning info, format is CURRENT:REVISION:AGE
594 libtool_VERSION
=6:0:0
598 # Check whether --enable-multilib or --disable-multilib was given.
599 if test "${enable_multilib+set}" = set; then
600 enableval
="$enable_multilib"
601 case "${enableval}" in
604 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
610 # When building with srcdir == objdir, links to the source files will
611 # be created in directories within the target_subdir. We have to
612 # adjust toplevel_srcdir accordingly, so that configure finds
613 # install-sh and other auxiliary files that live in the top-level
615 if test "${srcdir}" = "."; then
616 if test -z "${with_target_subdir}"; then
619 if test "${with_target_subdir}" != "."; then
620 toprel
="${with_multisrctop}../.."
622 toprel
="${with_multisrctop}.."
629 for ac_dir
in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
630 if test -f $ac_dir/install-sh
; then
632 ac_install_sh
="$ac_aux_dir/install-sh -c"
634 elif test -f $ac_dir/install.sh
; then
636 ac_install_sh
="$ac_aux_dir/install.sh -c"
640 if test -z "$ac_aux_dir"; then
641 { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
643 ac_config_guess=$ac_aux_dir/config.guess
644 ac_config_sub=$ac_aux_dir/config.sub
645 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
647 toplevel_srcdir=\${top_srcdir}/$toprel
651 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
653 # You will slowly go insane if you do not grok the following fact: when
654 # building v3 as part of the compiler, the top-level /target/ becomes the
655 # library's /host/. `configure' then causes --target to default to --host,
656 # exactly like any other package using autoconf. Therefore, 'target' and
657 # 'host' will always be the same. This makes sense both for native and
658 # cross compilers, just think about it for a little while. :-)
660 # Also, if v3 is being configured as part of a cross compiler, the top-level
661 # configure script will pass the "real
" host as $with_cross_host.
663 # AC 2.5x sets target_alias iff the user specified --target, but we use it
664 # everywhere, so we set it here just to be sure. In AC 2.13
665 # AC_CANONICAL_TARGET was known as AC_CANONICAL_SYSTEM.
667 # Do some error checking and defaulting for the host and target type.
669 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
672 # 1. You are not allowed to specify --host, --target, and nonopt at the
674 # 2. Host defaults to nonopt.
675 # 3. If nonopt is not specified, then host defaults to the current host,
676 # as determined by config.guess.
677 # 4. Target and build default to nonopt.
678 # 5. If nonopt is not specified, then target and build default to host.
680 # The aliases save the names the user supplied, while $host etc.
681 # will get canonicalized.
682 case $host---$target---$nonopt in
683 NONE---*---* | *---NONE---* | *---*---NONE) ;;
684 *) { echo "configure
: error
: can only configure
for one
host and one target
at a
time" 1>&2; exit 1; } ;;
688 # Make sure we can run config.sub.
689 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
690 else { echo "configure
: error
: can not run
$ac_config_sub" 1>&2; exit 1; }
693 echo $ac_n "checking
host system
type""...
$ac_c" 1>&6
694 echo "configure
:695: checking
host system
type" >&5
697 case "$host_alias" in
701 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
702 else { echo "configure
: error
: can not guess
host type; you must specify one
" 1>&2; exit 1; }
704 *) host_alias=$nonopt ;;
708 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
709 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
710 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
711 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
712 echo "$ac_t""$host" 1>&6
714 echo $ac_n "checking target system
type""...
$ac_c" 1>&6
715 echo "configure
:716: checking target system
type" >&5
718 case "$target_alias" in
721 NONE) target_alias=$host_alias ;;
722 *) target_alias=$nonopt ;;
726 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
727 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
728 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
729 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
730 echo "$ac_t""$target" 1>&6
732 echo $ac_n "checking build system
type""...
$ac_c" 1>&6
733 echo "configure
:734: checking build system
type" >&5
736 case "$build_alias" in
739 NONE) build_alias=$host_alias ;;
740 *) build_alias=$nonopt ;;
744 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
745 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
746 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
747 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
748 echo "$ac_t""$build" 1>&6
750 test "$host_alias" != "$target_alias" &&
751 test "$program_prefix$program_suffix$program_transform_name" = \
753 program_prefix=${target_alias}-
755 target_alias=${target_alias-$target}
758 # Runs configure.target, finds CC, CXX and assorted other critical bits.
759 # Must run this before the GLIBCPP_ENABLE_* macros below.
760 if test $host != $build; then
761 ac_tool_prefix=${host_alias}-
766 echo $ac_n "checking
for Cygwin environment
""...
$ac_c" 1>&6
767 echo "configure
:768: checking
for Cygwin environment
" >&5
768 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
769 echo $ac_n "(cached
) $ac_c" 1>&6
771 cat > conftest.$ac_ext <<EOF
772 #line 773 "configure
"
773 #include "confdefs.h
"
778 #define __CYGWIN__ __CYGWIN32__
783 if { (eval echo configure:784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
787 echo "configure
: failed program was
:" >&5
788 cat conftest.$ac_ext >&5
796 echo "$ac_t""$ac_cv_cygwin" 1>&6
798 test "$ac_cv_cygwin" = yes && CYGWIN=yes
799 echo $ac_n "checking
for mingw32 environment
""...
$ac_c" 1>&6
800 echo "configure
:801: checking
for mingw32 environment
" >&5
801 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
802 echo $ac_n "(cached
) $ac_c" 1>&6
804 cat > conftest.$ac_ext <<EOF
805 #line 806 "configure
"
806 #include "confdefs.h
"
812 if { (eval echo configure:813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
816 echo "configure
: failed program was
:" >&5
817 cat conftest.$ac_ext >&5
825 echo "$ac_t""$ac_cv_mingw32" 1>&6
827 test "$ac_cv_mingw32" = yes && MINGW32=yes
829 # Export build and source directories.
830 # These need to be absolute paths, yet at the same time need to
831 # canonicalize only relative paths, because then amd will not unmount
832 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
833 glibcpp_builddir=`${PWDCMD-pwd}`
835 \\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
836 *) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
843 for ac_prog in mawk gawk nawk awk
845 # Extract the first word of "$ac_prog", so it can be a program name with args.
846 set dummy $ac_prog; ac_word=$2
847 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
848 echo "configure
:849: checking
for $ac_word" >&5
849 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
850 echo $ac_n "(cached
) $ac_c" 1>&6
852 if test -n "$AWK"; then
853 ac_cv_prog_AWK="$AWK" # Let the user override the test.
855 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
857 for ac_dir in $ac_dummy; do
858 test -z "$ac_dir" && ac_dir=.
859 if test -f $ac_dir/$ac_word; then
860 ac_cv_prog_AWK="$ac_prog"
867 AWK="$ac_cv_prog_AWK"
868 if test -n "$AWK"; then
869 echo "$ac_t""$AWK" 1>&6
871 echo "$ac_t""no
" 1>&6
874 test -n "$AWK" && break
877 # Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.5x, can also
878 # be 'cp -p' if linking isn't available. Uncomment the next line to
879 # force a particular method.
880 #ac_cv_prog_LN_S='cp -p'
881 echo $ac_n "checking whether
ln -s works
""...
$ac_c" 1>&6
882 echo "configure
:883: checking whether
ln -s works
" >&5
883 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
884 echo $ac_n "(cached
) $ac_c" 1>&6
887 if ln -s X conftestdata 2>/dev/null
890 ac_cv_prog_LN_S="ln -s"
895 LN_S="$ac_cv_prog_LN_S"
896 if test "$ac_cv_prog_LN_S" = "ln -s"; then
897 echo "$ac_t""yes" 1>&6
899 echo "$ac_t""no
" 1>&6
903 # We use these options to decide which functions to include.
904 # Check whether --with-target-subdir or --without-target-subdir was given.
905 if test "${with_target_subdir+set}" = set; then
906 withval="$with_target_subdir"
910 # Check whether --with-cross-host or --without-cross-host was given.
911 if test "${with_cross_host+set}" = set; then
912 withval="$with_cross_host"
917 glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
920 # Never versions of autoconf add an underscore to these functions.
921 # Prevent future problems ...
928 # FIXME: We temporarily define our own version of AC_PROG_CC. This is
929 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
930 # are probably using a cross compiler, which will not be able to fully
931 # link an executable. This is addressed in later versions of autoconf.
936 # Extract the first word of "gcc
", so it can be a program name with args.
937 set dummy gcc; ac_word=$2
938 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
939 echo "configure
:940: checking
for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached
) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC="$CC" # Let the user override the test.
946 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
948 for ac_dir in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no
" 1>&6
965 if test -z "$CC"; then
966 # Extract the first word of "cc
", so it can be a program name with args.
967 set dummy cc; ac_word=$2
968 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
969 echo "configure
:970: checking
for $ac_word" >&5
970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
971 echo $ac_n "(cached
) $ac_c" 1>&6
973 if test -n "$CC"; then
974 ac_cv_prog_CC="$CC" # Let the user override the test.
976 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 for ac_dir in $ac_dummy; do
980 test -z "$ac_dir" && ac_dir=.
981 if test -f $ac_dir/$ac_word; then
982 if test "$ac_dir/$ac_word" = "/usr
/ucb
/cc
"; then
991 if test $ac_prog_rejected = yes; then
992 # We found a bogon in the path, so make sure we never use it.
993 set dummy $ac_cv_prog_CC
995 if test $# -gt 0; then
996 # We chose a different compiler from the bogus one.
997 # However, it has the same basename, so the bogon will be chosen
998 # first if we set CC to just the basename; use the full file name.
1000 set dummy "$ac_dir/$ac_word" "$@
"
1008 if test -n "$CC"; then
1009 echo "$ac_t""$CC" 1>&6
1011 echo "$ac_t""no
" 1>&6
1014 test -z "$CC" && { echo "configure
: error
: no acceptable cc found
in \
$PATH" 1>&2; exit 1; }
1017 echo $ac_n "checking whether we are using GNU C
""...
$ac_c" 1>&6
1018 echo "configure
:1019: checking whether we are using GNU C
" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached
) $ac_c" 1>&6
1022 cat > conftest.c <<EOF
1027 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1038 ac_test_CFLAGS="${CFLAGS+set}"
1039 ac_save_CFLAGS="$CFLAGS"
1041 echo $ac_n "checking whether
${CC-cc} accepts
-g""...
$ac_c" 1>&6
1042 echo "configure
:1043: checking whether
${CC-cc} accepts
-g" >&5
1043 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1044 echo $ac_n "(cached
) $ac_c" 1>&6
1046 echo 'void f(){}' > conftest.c
1047 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1056 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1057 if test "$ac_test_CFLAGS" = set; then
1058 CFLAGS="$ac_save_CFLAGS"
1059 elif test $ac_cv_prog_cc_g = yes; then
1066 test "${CFLAGS+set}" = set || CFLAGS="-g"
1070 # Likewise for AC_PROG_CXX. We can't just call it directly because g++
1071 # will try to link in libstdc++.
1075 # Use glibcpp_CXX so that we do not cause CXX to be cached with the
1076 # flags that come in CXX while configuring libstdc++. They're different
1077 # from those used for all other target libraries. If CXX is set in
1078 # the environment, respect that here.
1080 for ac_prog in $CCC c++ g++ gcc CC cxx cc++
1082 # Extract the first word of "$ac_prog", so it can be a program name with args.
1083 set dummy $ac_prog; ac_word=$2
1084 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1085 echo "configure
:1086: checking
for $ac_word" >&5
1086 if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
1087 echo $ac_n "(cached
) $ac_c" 1>&6
1089 if test -n "$glibcpp_CXX"; then
1090 ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
1092 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1094 for ac_dir in $ac_dummy; do
1095 test -z "$ac_dir" && ac_dir=.
1096 if test -f $ac_dir/$ac_word; then
1097 ac_cv_prog_glibcpp_CXX="$ac_prog"
1104 glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
1105 if test -n "$glibcpp_CXX"; then
1106 echo "$ac_t""$glibcpp_CXX" 1>&6
1108 echo "$ac_t""no
" 1>&6
1111 test -n "$glibcpp_CXX" && break
1113 test -n "$glibcpp_CXX" || glibcpp_CXX="gcc
"
1117 test -z "$glibcpp_CXX" && { echo "configure
: error
: no acceptable c
++ found
in \
$PATH" 1>&2; exit 1; }
1119 echo $ac_n "checking whether we are using GNU C
++""...
$ac_c" 1>&6
1120 echo "configure
:1121: checking whether we are using GNU C
++" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1122 echo $ac_n "(cached
) $ac_c" 1>&6
1124 cat > conftest.C <<EOF
1129 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1130: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1136 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1138 if test $ac_cv_prog_gxx = yes; then
1140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
1141 ac_save_CXXFLAGS="$CXXFLAGS"
1143 echo $ac_n "checking whether
${CXX-g++} accepts
-g""...
$ac_c" 1>&6
1144 echo "configure
:1145: checking whether
${CXX-g++} accepts
-g" >&5
1145 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1146 echo $ac_n "(cached
) $ac_c" 1>&6
1148 echo 'void f(){}' > conftest.cc
1149 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1150 ac_cv_prog_cxx_g=yes
1158 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1159 if test "$ac_test_CXXFLAGS" = set; then
1160 CXXFLAGS="$ac_save_CXXFLAGS"
1161 elif test $ac_cv_prog_cxx_g = yes; then
1168 test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
1172 # For directory versioning (e.g., headers) and other variables.
1173 echo $ac_n "checking
for GCC version number
""...
$ac_c" 1>&6
1174 echo "configure
:1175: checking
for GCC version number
" >&5
1175 gcc_version=`$glibcpp_CXX -dumpversion`
1176 echo "$ac_t""$gcc_version" 1>&6
1178 # For some reason, gettext needs this.
1180 echo $ac_n "checking
for strerror
in -lcposix""...
$ac_c" 1>&6
1181 echo "configure
:1182: checking
for strerror
in -lcposix" >&5
1182 ac_lib_var=`echo cposix'_'strerror | sed 'y%./+-%__p_%'`
1183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1184 echo $ac_n "(cached
) $ac_c" 1>&6
1186 ac_save_LIBS="$LIBS"
1187 LIBS="-lcposix $LIBS"
1188 cat > conftest.$ac_ext <<EOF
1189 #line 1190 "configure
"
1190 #include "confdefs.h
"
1191 /* Override any gcc2 internal prototype to avoid an error. */
1192 /* We use char because int might match the return type of a gcc2
1193 builtin and then its argument prototype would still apply. */
1200 if { (eval echo configure:1201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1202 eval "ac_cv_lib_
$ac_lib_var=yes"
1204 echo "configure
: failed program was
:" >&5
1205 cat conftest.$ac_ext >&5
1207 eval "ac_cv_lib_
$ac_lib_var=no
"
1210 LIBS="$ac_save_LIBS"
1213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1214 echo "$ac_t""yes" 1>&6
1215 LIBS="$LIBS -lcposix"
1217 echo "$ac_t""no
" 1>&6
1223 # Extract the first word of "${ac_tool_prefix}as
", so it can be a program name with args.
1224 set dummy ${ac_tool_prefix}as; ac_word=$2
1225 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1226 echo "configure
:1227: checking
for $ac_word" >&5
1227 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1228 echo $ac_n "(cached
) $ac_c" 1>&6
1230 if test -n "$AS"; then
1231 ac_cv_prog_AS="$AS" # Let the user override the test.
1233 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1235 for ac_dir in $ac_dummy; do
1236 test -z "$ac_dir" && ac_dir=.
1237 if test -f $ac_dir/$ac_word; then
1238 ac_cv_prog_AS="${ac_tool_prefix}as
"
1243 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as
"
1247 if test -n "$AS"; then
1248 echo "$ac_t""$AS" 1>&6
1250 echo "$ac_t""no
" 1>&6
1255 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1256 set dummy ${ac_tool_prefix}ar; ac_word=$2
1257 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1258 echo "configure
:1259: checking
for $ac_word" >&5
1259 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1260 echo $ac_n "(cached
) $ac_c" 1>&6
1262 if test -n "$AR"; then
1263 ac_cv_prog_AR="$AR" # Let the user override the test.
1265 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1267 for ac_dir in $ac_dummy; do
1268 test -z "$ac_dir" && ac_dir=.
1269 if test -f $ac_dir/$ac_word; then
1270 ac_cv_prog_AR="${ac_tool_prefix}ar"
1275 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1279 if test -n "$AR"; then
1280 echo "$ac_t""$AR" 1>&6
1282 echo "$ac_t""no
" 1>&6
1287 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
1288 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1289 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1290 echo "configure
:1291: checking
for $ac_word" >&5
1291 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1292 echo $ac_n "(cached
) $ac_c" 1>&6
1294 if test -n "$RANLIB"; then
1295 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1297 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1299 for ac_dir in $ac_dummy; do
1300 test -z "$ac_dir" && ac_dir=.
1301 if test -f $ac_dir/$ac_word; then
1302 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
1309 RANLIB="$ac_cv_prog_RANLIB"
1310 if test -n "$RANLIB"; then
1311 echo "$ac_t""$RANLIB" 1>&6
1313 echo "$ac_t""no
" 1>&6
1317 if test -z "$ac_cv_prog_RANLIB"; then
1318 if test -n "$ac_tool_prefix"; then
1319 # Extract the first word of "ranlib
", so it can be a program name with args.
1320 set dummy ranlib; ac_word=$2
1321 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
1322 echo "configure
:1323: checking
for $ac_word" >&5
1323 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1324 echo $ac_n "(cached
) $ac_c" 1>&6
1326 if test -n "$RANLIB"; then
1327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1329 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1331 for ac_dir in $ac_dummy; do
1332 test -z "$ac_dir" && ac_dir=.
1333 if test -f $ac_dir/$ac_word; then
1334 ac_cv_prog_RANLIB="ranlib
"
1339 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error
"
1342 RANLIB="$ac_cv_prog_RANLIB"
1343 if test -n "$RANLIB"; then
1344 echo "$ac_t""$RANLIB" 1>&6
1346 echo "$ac_t""no
" 1>&6
1350 RANLIB="ranlib-not-found-in-path-error
"
1354 # Find a good install program. We prefer a C program (faster),
1355 # so one script is as good as another. But avoid the broken or
1356 # incompatible versions:
1357 # SysV /etc/install, /usr/sbin/install
1358 # SunOS /usr/etc/install
1359 # IRIX /sbin/install
1361 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1362 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1363 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff
"
1364 # ./install, which can be erroneously created by make from ./install.sh.
1365 echo $ac_n "checking
for a BSD compatible
install""...
$ac_c" 1>&6
1366 echo "configure
:1367: checking
for a BSD compatible
install" >&5
1367 if test -z "$INSTALL"; then
1368 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1369 echo $ac_n "(cached
) $ac_c" 1>&6
1371 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1372 for ac_dir in $PATH; do
1373 # Account for people who put trailing slashes in PATH elements.
1375 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1377 # OSF1 and SCO ODT 3.0 have their own names for install.
1378 # Don't use installbsd from OSF since it installs stuff as root
1380 for ac_prog in ginstall scoinst install; do
1381 if test -f $ac_dir/$ac_prog; then
1382 if test $ac_prog = install &&
1383 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1384 # AIX install. It has an incompatible calling convention.
1387 ac_cv_path_install="$ac_dir/$ac_prog -c"
1398 if test "${ac_cv_path_install+set}" = set; then
1399 INSTALL="$ac_cv_path_install"
1401 # As a last resort, use the slow shell script. We don't cache a
1402 # path for INSTALL within a source directory, because that will
1403 # break other packages using the cache if that directory is
1404 # removed, or if the path is relative.
1405 INSTALL="$ac_install_sh"
1408 echo "$ac_t""$INSTALL" 1>&6
1410 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1411 # It thinks the first close brace ends the variable substitution.
1412 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1414 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1416 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1419 echo $ac_n "checking whether to
enable maintainer-specific portions of Makefiles
""...
$ac_c" 1>&6
1420 echo "configure
:1421: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
1421 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1422 if test "${enable_maintainer_mode+set}" = set; then
1423 enableval="$enable_maintainer_mode"
1424 USE_MAINTAINER_MODE=$enableval
1426 USE_MAINTAINER_MODE=no
1429 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1432 if test $USE_MAINTAINER_MODE = yes; then
1433 MAINTAINER_MODE_TRUE=
1434 MAINTAINER_MODE_FALSE='#'
1436 MAINTAINER_MODE_TRUE='#'
1437 MAINTAINER_MODE_FALSE=
1439 MAINT=$MAINTAINER_MODE_TRUE
1443 # We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1444 # at least currently, we never actually build a program, so we never
1445 # need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1446 # fails, because we are probably configuring with a cross compiler
1447 # which can't create executables. So we include AC_EXEEXT to keep
1448 # automake happy, but we don't execute it, since we don't care about
1451 # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
1452 # to nothing, so nothing would remain between `then' and `fi' if it
1453 # were not for the `:' below.
1457 echo $ac_n "checking
for executable suffix
""...
$ac_c" 1>&6
1458 echo "configure
:1459: checking
for executable suffix
" >&5
1459 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1460 echo $ac_n "(cached
) $ac_c" 1>&6
1462 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1466 echo 'int main () { return 0; }' > conftest.$ac_ext
1468 if { (eval echo configure:1469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1469 for file in conftest.*; do
1471 *.$ac_ext | *.c | *.o | *.obj) ;;
1472 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1476 { echo "configure
: error
: installation or configuration problem
: compiler cannot create executables.
" 1>&2; exit 1; }
1479 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1484 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1485 echo "$ac_t""${ac_cv_exeext}" 1>&6
1490 case ${glibcpp_basedir} in
1491 /* | A-Za-z:\\/*) libgcj_flagbasedir=${glibcpp_basedir} ;;
1492 *) glibcpp_flagbasedir='$(top_builddir)/'${glibcpp_basedir} ;;
1495 # Find platform-specific directories containing configuration info. In
1496 # addition to possibly modifying the same flags, it also sets up symlinks.
1498 . ${glibcpp_basedir}/configure.target
1499 echo "$ac_t""CPU config directory is
$cpu_include_dir" 1>&6
1500 echo "$ac_t""OS config directory is
$os_include_dir" 1>&6
1504 am__api_version="1.4"
1505 echo $ac_n "checking whether build environment is sane
""...
$ac_c" 1>&6
1506 echo "configure
:1507: checking whether build environment is sane
" >&5
1509 echo timestamp > conftestfile
1510 # Do `set' in a subshell so we don't clobber the current shell's
1511 # arguments. Must try -L first in case configure is actually a
1512 # symlink; some systems play weird games with the mod time of symlinks
1513 # (eg FreeBSD returns the mod time of the symlink's containing
1516 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1517 if test "$
*" = "X
"; then
1519 set X `ls -t $srcdir/configure conftestfile`
1521 if test "$
*" != "X
$srcdir/configure conftestfile
" \
1522 && test "$
*" != "X conftestfile
$srcdir/configure
"; then
1524 # If neither matched, then we have a broken ls. This can happen
1525 # if, for instance, CONFIG_SHELL is bash and it inherits a
1526 # broken ls alias from the environment. This has actually
1527 # happened. Such a system could not be considered "sane
".
1528 { echo "configure
: error
: ls -t appears to fail. Make sure there is not a broken
1529 alias in your environment
" 1>&2; exit 1; }
1532 test "$2" = conftestfile
1538 { echo "configure
: error
: newly created
file is older than distributed files
!
1539 Check your system
clock" 1>&2; exit 1; }
1542 echo "$ac_t""yes" 1>&6
1543 if test "$program_transform_name" = s,x,x,; then
1544 program_transform_name=
1546 # Double any \ or $. echo might interpret backslashes.
1547 cat <<\EOF_SED > conftestsed
1548 s,\\,\\\\,g; s,\$,$$,g
1550 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1553 test "$program_prefix" != NONE &&
1554 program_transform_name="s
,^
,${program_prefix},; $program_transform_name"
1555 # Use a double $ so make ignores it.
1556 test "$program_suffix" != NONE &&
1557 program_transform_name="s
,\$\$
,${program_suffix},; $program_transform_name"
1559 # sed with no file args requires a program.
1560 test "$program_transform_name" = "" && program_transform_name="s
,x
,x
,"
1562 echo $ac_n "checking whether
${MAKE-make} sets \
${MAKE}""...
$ac_c" 1>&6
1563 echo "configure
:1564: checking whether
${MAKE-make} sets \
${MAKE}" >&5
1564 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
1565 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1566 echo $ac_n "(cached
) $ac_c" 1>&6
1568 cat > conftestmake <<\EOF
1570 @echo 'ac_maketemp="${MAKE}"'
1572 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1573 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1574 if test -n "$ac_maketemp"; then
1575 eval ac_cv_prog_make_${ac_make}_set=yes
1577 eval ac_cv_prog_make_${ac_make}_set=no
1581 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1582 echo "$ac_t""yes" 1>&6
1585 echo "$ac_t""no
" 1>&6
1586 SET_MAKE="MAKE
=${MAKE-make}"
1592 VERSION=$gcc_version
1594 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
1595 { echo "configure
: error
: source directory already configured
; run
"make distclean" there first
" 1>&2; exit 1; }
1597 cat >> confdefs.h <<EOF
1598 #define PACKAGE "$PACKAGE"
1601 cat >> confdefs.h <<EOF
1602 #define VERSION "$VERSION"
1607 missing_dir=`cd $ac_aux_dir && pwd`
1608 echo $ac_n "checking
for working aclocal-
${am__api_version}""...
$ac_c" 1>&6
1609 echo "configure
:1610: checking
for working aclocal-
${am__api_version}" >&5
1610 # Run test in a subshell; some versions of sh will print an error if
1611 # an executable is not found, even if stderr is redirected.
1612 # Redirect stdin to placate older versions of autoconf. Sigh.
1613 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1614 ACLOCAL=aclocal-${am__api_version}
1615 echo "$ac_t""found
" 1>&6
1617 ACLOCAL="$missing_dir/missing aclocal-
${am__api_version}"
1618 echo "$ac_t""missing
" 1>&6
1621 echo $ac_n "checking
for working autoconf
""...
$ac_c" 1>&6
1622 echo "configure
:1623: checking
for working autoconf
" >&5
1623 # Run test in a subshell; some versions of sh will print an error if
1624 # an executable is not found, even if stderr is redirected.
1625 # Redirect stdin to placate older versions of autoconf. Sigh.
1626 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1628 echo "$ac_t""found
" 1>&6
1630 AUTOCONF="$missing_dir/missing autoconf
"
1631 echo "$ac_t""missing
" 1>&6
1634 echo $ac_n "checking
for working automake-
${am__api_version}""...
$ac_c" 1>&6
1635 echo "configure
:1636: checking
for working automake-
${am__api_version}" >&5
1636 # Run test in a subshell; some versions of sh will print an error if
1637 # an executable is not found, even if stderr is redirected.
1638 # Redirect stdin to placate older versions of autoconf. Sigh.
1639 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1640 AUTOMAKE=automake-${am__api_version}
1641 echo "$ac_t""found
" 1>&6
1643 AUTOMAKE="$missing_dir/missing automake-
${am__api_version}"
1644 echo "$ac_t""missing
" 1>&6
1647 echo $ac_n "checking
for working autoheader
""...
$ac_c" 1>&6
1648 echo "configure
:1649: checking
for working autoheader
" >&5
1649 # Run test in a subshell; some versions of sh will print an error if
1650 # an executable is not found, even if stderr is redirected.
1651 # Redirect stdin to placate older versions of autoconf. Sigh.
1652 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1653 AUTOHEADER=autoheader
1654 echo "$ac_t""found
" 1>&6
1656 AUTOHEADER="$missing_dir/missing autoheader
"
1657 echo "$ac_t""missing
" 1>&6
1660 echo $ac_n "checking
for working makeinfo
""...
$ac_c" 1>&6
1661 echo "configure
:1662: checking
for working makeinfo
" >&5
1662 # Run test in a subshell; some versions of sh will print an error if
1663 # an executable is not found, even if stderr is redirected.
1664 # Redirect stdin to placate older versions of autoconf. Sigh.
1665 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1667 echo "$ac_t""found
" 1>&6
1669 MAKEINFO="$missing_dir/missing makeinfo
"
1670 echo "$ac_t""missing
" 1>&6
1679 # Check whether --enable-shared or --disable-shared was given.
1680 if test "${enable_shared+set}" = set; then
1681 enableval="$enable_shared"
1682 p=${PACKAGE-default}
1684 yes) enable_shared=yes ;;
1685 no) enable_shared=no ;;
1688 # Look at the argument we got. We use all the common list separators.
1689 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1690 for pkg in $enableval; do
1691 if test "X
$pkg" = "X
$p"; then
1702 # Check whether --enable-static or --disable-static was given.
1703 if test "${enable_static+set}" = set; then
1704 enableval="$enable_static"
1705 p=${PACKAGE-default}
1707 yes) enable_static=yes ;;
1708 no) enable_static=no ;;
1711 # Look at the argument we got. We use all the common list separators.
1712 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1713 for pkg in $enableval; do
1714 if test "X
$pkg" = "X
$p"; then
1725 # Check whether --enable-fast-install or --disable-fast-install was given.
1726 if test "${enable_fast_install+set}" = set; then
1727 enableval="$enable_fast_install"
1728 p=${PACKAGE-default}
1730 yes) enable_fast_install=yes ;;
1731 no) enable_fast_install=no ;;
1733 enable_fast_install=no
1734 # Look at the argument we got. We use all the common list separators.
1735 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1736 for pkg in $enableval; do
1737 if test "X
$pkg" = "X
$p"; then
1738 enable_fast_install=yes
1745 enable_fast_install=yes
1748 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1749 if test "${with_gnu_ld+set}" = set; then
1750 withval="$with_gnu_ld"
1751 test "$withval" = no || with_gnu_ld=yes
1757 if test "$GCC" = yes; then
1758 # Check if gcc -print-prog-name=ld gives a path.
1759 echo $ac_n "checking
for ld used by GCC
""...
$ac_c" 1>&6
1760 echo "configure
:1761: checking
for ld used by GCC
" >&5
1763 # gcc leaves a trailing carriage return which upsets mingw
1764 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1766 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1769 # Accept absolute paths.
1770 [\\/]* | [A-Za-z]:[\\/]*)
1771 re_direlt='/[^/][^/]*/\.\./'
1772 # Canonicalize the path of ld
1773 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1774 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1775 ac_prog=`echo $ac_prog| sed "s
%$re_direlt%/%"`
1777 test -z "$LD" && LD="$ac_prog"
1780 # If it fails, then pretend we aren't using GCC.
1784 # If it is relative, then search for the first ld in PATH.
1788 elif test "$with_gnu_ld" = yes; then
1789 echo $ac_n "checking
for GNU ld
""...
$ac_c" 1>&6
1790 echo "configure
:1791: checking
for GNU ld
" >&5
1792 echo $ac_n "checking
for non-GNU ld
""...
$ac_c" 1>&6
1793 echo "configure
:1794: checking
for non-GNU ld
" >&5
1795 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1796 echo $ac_n "(cached
) $ac_c" 1>&6
1798 if test -z "$LD"; then
1799 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1800 for ac_dir in $PATH; do
1801 test -z "$ac_dir" && ac_dir=.
1802 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1803 lt_cv_path_LD="$ac_dir/$ac_prog"
1804 # Check to see if the program is GNU ld. I'd rather use --version,
1805 # but apparently some GNU ld's only accept -v.
1806 # Break only if it was the GNU/non-GNU ld that we prefer.
1807 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1808 test "$with_gnu_ld" != no && break
1810 test "$with_gnu_ld" != yes && break
1816 lt_cv_path_LD="$LD" # Let the user override the test with a path.
1821 if test -n "$LD"; then
1822 echo "$ac_t""$LD" 1>&6
1824 echo "$ac_t""no
" 1>&6
1826 test -z "$LD" && { echo "configure
: error
: no acceptable ld found
in \
$PATH" 1>&2; exit 1; }
1827 echo $ac_n "checking
if the linker
($LD) is GNU ld
""...
$ac_c" 1>&6
1828 echo "configure
:1829: checking
if the linker
($LD) is GNU ld
" >&5
1829 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1830 echo $ac_n "(cached
) $ac_c" 1>&6
1832 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1833 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1834 lt_cv_prog_gnu_ld=yes
1836 lt_cv_prog_gnu_ld=no
1840 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1841 with_gnu_ld=$lt_cv_prog_gnu_ld
1844 echo $ac_n "checking
for $LD option to reload object files
""...
$ac_c" 1>&6
1845 echo "configure
:1846: checking
for $LD option to reload object files
" >&5
1846 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1847 echo $ac_n "(cached
) $ac_c" 1>&6
1849 lt_cv_ld_reload_flag='-r'
1852 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1853 reload_flag=$lt_cv_ld_reload_flag
1854 test -n "$reload_flag" && reload_flag=" $reload_flag"
1856 echo $ac_n "checking
for BSD-compatible nm
""...
$ac_c" 1>&6
1857 echo "configure
:1858: checking
for BSD-compatible nm
" >&5
1858 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1859 echo $ac_n "(cached
) $ac_c" 1>&6
1861 if test -n "$NM"; then
1862 # Let the user override the test.
1865 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1866 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1867 test -z "$ac_dir" && ac_dir=.
1868 tmp_nm=$ac_dir/${ac_tool_prefix}nm
1869 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1870 # Check to see if the nm accepts a BSD-compat flag.
1871 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1872 # nm: unknown option "B
" ignored
1873 # Tru64's nm complains that /dev/null is an invalid object file
1874 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1875 lt_cv_path_NM="$tmp_nm -B"
1877 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1878 lt_cv_path_NM="$tmp_nm -p"
1881 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1882 continue # so that we can try to find one that supports BSD flags
1887 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1892 echo "$ac_t""$NM" 1>&6
1894 echo $ac_n "checking how to recognise dependant libraries
""...
$ac_c" 1>&6
1895 echo "configure
:1896: checking how to recognise dependant libraries
" >&5
1896 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
1897 echo $ac_n "(cached
) $ac_c" 1>&6
1899 lt_cv_file_magic_cmd='$MAGIC_CMD'
1900 lt_cv_file_magic_test_file=
1901 lt_cv_deplibs_check_method='unknown'
1902 # Need to set the preceding variable on all platforms that support
1903 # interlibrary dependencies.
1904 # 'none' -- dependencies not supported.
1905 # `unknown' -- same as none, but documents that we really don't know.
1906 # 'pass_all' -- all dependencies passed with no checks.
1907 # 'test_compile' -- check by making test program.
1908 # 'file_magic [regex]' -- check by looking for files in library path
1909 # which responds to the $file_magic_cmd with a given egrep regex.
1910 # If you have `file' or equivalent on your system and you're not sure
1911 # whether `pass_all' will *always* work, you probably want this one.
1915 lt_cv_deplibs_check_method=pass_all
1919 lt_cv_deplibs_check_method=pass_all
1923 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
1924 lt_cv_file_magic_cmd='/usr/bin/file -L'
1925 lt_cv_file_magic_test_file=/shlib/libc.so
1928 cygwin* | mingw* |pw32*)
1929 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
1930 lt_cv_file_magic_cmd='$OBJDUMP -f'
1933 darwin* | rhapsody*)
1934 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
1935 lt_cv_file_magic_cmd='/usr/bin/file -L'
1937 rhapsody* | darwin1.012)
1938 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
1941 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
1947 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
1950 # Not sure whether the presence of OpenBSD here was a mistake.
1951 # Let's accept both of them until this is cleared up.
1952 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
1953 lt_cv_file_magic_cmd=/usr/bin/file
1954 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1958 lt_cv_deplibs_check_method=pass_all
1963 lt_cv_deplibs_check_method=pass_all
1969 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
1970 lt_cv_file_magic_cmd=/usr/bin/file
1971 lt_cv_file_magic_test_file=/usr/lib/libc.sl
1974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
1975 lt_cv_file_magic_cmd=/usr/bin/file
1976 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
1984 # this will be overridden with pass_all, but let us keep it just in case
1985 lt_cv_deplibs_check_method="file_magic ELF
32-bit MSB dynamic lib MIPS
- version
1"
1989 *-32|*"-32 ") libmagic=32-bit;;
1990 *-n32|*"-n32 ") libmagic=N32;;
1991 *-64|*"-64 ") libmagic=64-bit;;
1992 *) libmagic=never-match;;
1994 # this will be overridden with pass_all, but let us keep it just in case
1995 lt_cv_deplibs_check_method="file_magic ELF
${libmagic} MSB mips-
[1234] dynamic lib MIPS
- version
1"
1998 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
1999 lt_cv_deplibs_check_method=pass_all
2002 # This must be Linux ELF.
2005 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2006 lt_cv_deplibs_check_method=pass_all ;;
2008 # glibc up to 2.1.1 does not perform some relocations on ARM
2009 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2011 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2015 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2016 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2018 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2023 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2024 lt_cv_file_magic_cmd=/usr/bin/file
2025 lt_cv_file_magic_test_file=/usr/lib/libnls.so
2028 osf3* | osf4* | osf5*)
2029 # this will be overridden with pass_all, but let us keep it just in case
2030 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2031 lt_cv_file_magic_test_file=/shlib/libc.so
2032 lt_cv_deplibs_check_method=pass_all
2036 lt_cv_deplibs_check_method=pass_all
2040 lt_cv_deplibs_check_method=pass_all
2041 lt_cv_file_magic_test_file=/lib/libc.so
2044 sysv5uw[78]* | sysv4*uw2*)
2045 lt_cv_deplibs_check_method=pass_all
2048 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2049 case $host_vendor in
2051 lt_cv_deplibs_check_method=pass_all
2054 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]'
2055 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2063 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2064 file_magic_cmd=$lt_cv_file_magic_cmd
2065 deplibs_check_method=$lt_cv_deplibs_check_method
2067 echo $ac_n "checking
for object suffix
""...
$ac_c" 1>&6
2068 echo "configure
:2069: checking
for object suffix
" >&5
2069 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2070 echo $ac_n "(cached
) $ac_c" 1>&6
2073 echo 'int i = 1;' > conftest.$ac_ext
2074 if { (eval echo configure:2075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2075 for ac_file in conftest.*; do
2078 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2082 { echo "configure
: error
: installation or configuration problem
; compiler does not work
" 1>&2; exit 1; }
2087 echo "$ac_t""$ac_cv_objext" 1>&6
2088 OBJEXT=$ac_cv_objext
2089 ac_objext=$ac_cv_objext
2091 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2093 # Only perform the check for file, if the check method requires it
2094 case $deplibs_check_method in
2096 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2097 echo $ac_n "checking
for ${ac_tool_prefix}file""...
$ac_c" 1>&6
2098 echo "configure
:2099: checking
for ${ac_tool_prefix}file" >&5
2099 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2100 echo $ac_n "(cached
) $ac_c" 1>&6
2104 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2107 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2110 ac_save_MAGIC_CMD="$MAGIC_CMD"
2111 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2112 ac_dummy="/usr
/bin
:$PATH"
2113 for ac_dir in $ac_dummy; do
2114 test -z "$ac_dir" && ac_dir=.
2115 if test -f $ac_dir/${ac_tool_prefix}file; then
2116 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2117 if test -n "$file_magic_test_file"; then
2118 case $deplibs_check_method in
2120 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2122 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2123 egrep "$file_magic_regex" > /dev/null; then
2128 *** Warning: the command libtool uses to detect shared libraries,
2129 *** $file_magic_cmd, produces output that libtool cannot recognize.
2130 *** The result is that libtool may fail to recognize shared libraries
2131 *** as such. This will affect the creation of libtool libraries that
2132 *** depend on shared libraries, but programs linked with such libtool
2133 *** libraries will work regardless of this problem. Nevertheless, you
2134 *** may want to report the problem to your system manager and/or to
2135 *** bug-libtool@gnu.org
2145 MAGIC_CMD="$ac_save_MAGIC_CMD"
2150 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2151 if test -n "$MAGIC_CMD"; then
2152 echo "$ac_t""$MAGIC_CMD" 1>&6
2154 echo "$ac_t""no
" 1>&6
2157 if test -z "$lt_cv_path_MAGIC_CMD"; then
2158 if test -n "$ac_tool_prefix"; then
2159 echo $ac_n "checking
for file""...
$ac_c" 1>&6
2160 echo "configure
:2161: checking
for file" >&5
2161 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2162 echo $ac_n "(cached
) $ac_c" 1>&6
2166 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2169 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2172 ac_save_MAGIC_CMD="$MAGIC_CMD"
2173 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2174 ac_dummy="/usr
/bin
:$PATH"
2175 for ac_dir in $ac_dummy; do
2176 test -z "$ac_dir" && ac_dir=.
2177 if test -f $ac_dir/file; then
2178 lt_cv_path_MAGIC_CMD="$ac_dir/file"
2179 if test -n "$file_magic_test_file"; then
2180 case $deplibs_check_method in
2182 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2183 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2184 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2185 egrep "$file_magic_regex" > /dev/null; then
2190 *** Warning: the command libtool uses to detect shared libraries,
2191 *** $file_magic_cmd, produces output that libtool cannot recognize.
2192 *** The result is that libtool may fail to recognize shared libraries
2193 *** as such. This will affect the creation of libtool libraries that
2194 *** depend on shared libraries, but programs linked with such libtool
2195 *** libraries will work regardless of this problem. Nevertheless, you
2196 *** may want to report the problem to your system manager and/or to
2197 *** bug-libtool@gnu.org
2207 MAGIC_CMD="$ac_save_MAGIC_CMD"
2212 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2213 if test -n "$MAGIC_CMD"; then
2214 echo "$ac_t""$MAGIC_CMD" 1>&6
2216 echo "$ac_t""no
" 1>&6
2228 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
2229 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2230 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2231 echo "configure
:2232: checking
for $ac_word" >&5
2232 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2233 echo $ac_n "(cached
) $ac_c" 1>&6
2235 if test -n "$RANLIB"; then
2236 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2238 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2240 for ac_dir in $ac_dummy; do
2241 test -z "$ac_dir" && ac_dir=.
2242 if test -f $ac_dir/$ac_word; then
2243 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
2250 RANLIB="$ac_cv_prog_RANLIB"
2251 if test -n "$RANLIB"; then
2252 echo "$ac_t""$RANLIB" 1>&6
2254 echo "$ac_t""no
" 1>&6
2258 if test -z "$ac_cv_prog_RANLIB"; then
2259 if test -n "$ac_tool_prefix"; then
2260 # Extract the first word of "ranlib
", so it can be a program name with args.
2261 set dummy ranlib; ac_word=$2
2262 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2263 echo "configure
:2264: checking
for $ac_word" >&5
2264 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2265 echo $ac_n "(cached
) $ac_c" 1>&6
2267 if test -n "$RANLIB"; then
2268 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2270 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2272 for ac_dir in $ac_dummy; do
2273 test -z "$ac_dir" && ac_dir=.
2274 if test -f $ac_dir/$ac_word; then
2275 ac_cv_prog_RANLIB="ranlib
"
2280 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2283 RANLIB="$ac_cv_prog_RANLIB"
2284 if test -n "$RANLIB"; then
2285 echo "$ac_t""$RANLIB" 1>&6
2287 echo "$ac_t""no
" 1>&6
2295 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}strip; ac_word=$2
2297 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2298 echo "configure
:2299: checking
for $ac_word" >&5
2299 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2300 echo $ac_n "(cached
) $ac_c" 1>&6
2302 if test -n "$STRIP"; then
2303 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2305 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2307 for ac_dir in $ac_dummy; do
2308 test -z "$ac_dir" && ac_dir=.
2309 if test -f $ac_dir/$ac_word; then
2310 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
2317 STRIP="$ac_cv_prog_STRIP"
2318 if test -n "$STRIP"; then
2319 echo "$ac_t""$STRIP" 1>&6
2321 echo "$ac_t""no
" 1>&6
2325 if test -z "$ac_cv_prog_STRIP"; then
2326 if test -n "$ac_tool_prefix"; then
2327 # Extract the first word of "strip
", so it can be a program name with args.
2328 set dummy strip; ac_word=$2
2329 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
2330 echo "configure
:2331: checking
for $ac_word" >&5
2331 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2332 echo $ac_n "(cached
) $ac_c" 1>&6
2334 if test -n "$STRIP"; then
2335 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2337 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2339 for ac_dir in $ac_dummy; do
2340 test -z "$ac_dir" && ac_dir=.
2341 if test -f $ac_dir/$ac_word; then
2342 ac_cv_prog_STRIP="strip
"
2347 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2350 STRIP="$ac_cv_prog_STRIP"
2351 if test -n "$STRIP"; then
2352 echo "$ac_t""$STRIP" 1>&6
2354 echo "$ac_t""no
" 1>&6
2363 # Check for any special flags to pass to ltconfig.
2364 libtool_flags="--cache-file=$cache_file"
2365 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2366 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2367 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2368 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2369 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2370 libtool_flags="$libtool_flags --enable-dlopen"
2372 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2373 if test "${enable_libtool_lock+set}" = set; then
2374 enableval="$enable_libtool_lock"
2378 test "x
$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2379 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2381 # Check whether --with-pic or --without-pic was given.
2382 if test "${with_pic+set}" = set; then
2389 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2390 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2392 # Some flags need to be propagated to the compiler or linker for good
2396 # Find out which ABI we are using.
2397 echo '#line 2398 "configure
"' > conftest.$ac_ext
2398 if { (eval echo configure:2399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2399 if test "$lt_cv_prog_gnu_ld" = yes; then
2400 case `/usr/bin/file conftest.$ac_objext` in
2402 LD="${LD-ld} -melf32bsmip"
2405 LD="${LD-ld} -melf32bmipn32"
2408 LD="${LD-ld} -melf64bmip"
2412 case `/usr/bin/file conftest.$ac_objext` in
2429 # Find out which ABI we are using.
2430 echo 'int i;' > conftest.$ac_ext
2431 if { (eval echo configure:2432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2432 case "`/usr/bin/file conftest.o`" in
2444 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
2445 # Find out which ABI we are using.
2446 echo 'int i;' > conftest.$ac_ext
2447 if { (eval echo configure:2448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2448 case "`/usr/bin/file conftest.o`" in
2452 LD="${LD-ld} -m elf_i386
"
2455 LD="${LD-ld} -m elf32ppclinux
"
2458 LD="${LD-ld} -m elf_s390
"
2461 LD="${LD-ld} -m elf32_sparc
"
2468 LD="${LD-ld} -m elf_x86_64
"
2470 ppc*-*linux*|powerpc*-*linux*)
2471 LD="${LD-ld} -m elf64ppc
"
2474 LD="${LD-ld} -m elf64_s390
"
2477 LD="${LD-ld} -m elf64_sparc
"
2487 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2488 SAVE_CFLAGS="$CFLAGS"
2489 CFLAGS="$CFLAGS -belf"
2490 echo $ac_n "checking whether the C compiler needs
-belf""...
$ac_c" 1>&6
2491 echo "configure
:2492: checking whether the C compiler needs
-belf" >&5
2492 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2493 echo $ac_n "(cached
) $ac_c" 1>&6
2497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2498 ac_cpp='$CPP $CPPFLAGS'
2499 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2500 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2501 cross_compiling=$ac_cv_prog_cc_cross
2503 cat > conftest.$ac_ext <<EOF
2504 #line 2505 "configure
"
2505 #include "confdefs.h
"
2511 if { (eval echo configure:2512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2513 lt_cv_cc_needs_belf=yes
2515 echo "configure
: failed program was
:" >&5
2516 cat conftest.$ac_ext >&5
2518 lt_cv_cc_needs_belf=no
2522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2523 ac_cpp='$CPP $CPPFLAGS'
2524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2526 cross_compiling=$ac_cv_prog_cc_cross
2530 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2531 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2532 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2533 CFLAGS="$SAVE_CFLAGS"
2540 echo $ac_n "checking how to run the C
++ preprocessor
""...
$ac_c" 1>&6
2541 echo "configure
:2542: checking how to run the C
++ preprocessor
" >&5
2542 if test -z "$CXXCPP"; then
2543 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
2544 echo $ac_n "(cached
) $ac_c" 1>&6
2547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2548 ac_cpp='$CXXCPP $CPPFLAGS'
2549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2551 cross_compiling=$ac_cv_prog_cxx_cross
2552 CXXCPP="${CXX-g++} -E"
2553 cat > conftest.$ac_ext <<EOF
2554 #line 2555 "configure
"
2555 #include "confdefs.h
"
2558 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2559 { (eval echo configure:2560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2560 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2561 if test -z "$ac_err"; then
2565 echo "configure
: failed program was
:" >&5
2566 cat conftest.$ac_ext >&5
2571 ac_cv_prog_CXXCPP="$CXXCPP"
2573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2574 ac_cpp='$CPP $CPPFLAGS'
2575 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2576 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2577 cross_compiling=$ac_cv_prog_cc_cross
2580 CXXCPP="$ac_cv_prog_CXXCPP"
2581 echo "$ac_t""$CXXCPP" 1>&6
2584 # Save cache, so that ltconfig can load it
2585 cat > confcache <<\EOF
2586 # This file is a shell script that caches the results of configure
2587 # tests run on this system so they can be shared between configure
2588 # scripts and configure runs. It is not useful on other systems.
2589 # If it contains results you don't want to keep, you may remove or edit it.
2591 # By default, configure uses ./config.cache as the cache file,
2592 # creating it if it does not exist already. You can give configure
2593 # the --cache-file=FILE option to use a different cache file; that is
2594 # what configure does when it calls configure scripts in
2595 # subdirectories, so they share the cache.
2596 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2597 # config.status only pays attention to the cache file if you give it the
2598 # --recheck option to rerun configure.
2601 # The following way of writing the cache mishandles newlines in values,
2602 # but we know of no workaround that is simple, portable, and efficient.
2603 # So, don't put newlines in cache variables' values.
2604 # Ultrix sh set writes to stderr and can't be redirected directly,
2605 # and sets the high bit in the cache file unless we assign to the vars.
2607 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2609 # `set' does not quote correctly, so add quotes (double-quote substitution
2610 # turns \\\\ into \\, and sed turns \\ into \).
2612 -e "s
/'/'\\\\''/g
" \
2613 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
2616 # `set' quotes correctly as required by POSIX, so do not add quotes.
2617 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2620 if cmp -s $cache_file confcache; then
2623 if test -w $cache_file; then
2624 echo "updating cache
$cache_file"
2625 cat confcache > $cache_file
2627 echo "not updating unwritable cache
$cache_file"
2633 # Actually configure libtool. ac_aux_dir is where install-sh is found.
2634 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2635 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2636 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2637 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2638 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2639 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2640 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2641 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2642 || { echo "configure
: error
: libtool configure failed
" 1>&2; exit 1; }
2644 # Reload cache, that may have been modified by ltconfig
2645 if test -r "$cache_file"; then
2646 echo "loading cache
$cache_file"
2649 echo "creating cache
$cache_file"
2654 # This can be used to rebuild libtool when needed
2655 LIBTOOL_DEPS="$ac_aux_dir/ltconfig
$ac_aux_dir/ltmain.sh
$ac_aux_dir/ltcf-c.sh
"
2657 # Always use our own libtool.
2658 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2660 # Redirect the config.log output again, so that the ltconfig log is not
2661 # clobbered by the next message.
2662 exec 5>>./config.log
2666 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh
"
2668 lt_save_CFLAGS="$CFLAGS"
2669 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
2670 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2671 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2672 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2673 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2674 deplibs_check_method="$deplibs_check_method" \
2675 file_magic_cmd="$file_magic_cmd" \
2676 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
2677 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
2678 || { echo "configure
: error
: libtool tag configuration failed
" 1>&2; exit 1; }
2680 CFLAGS="$lt_save_CFLAGS"
2682 # Redirect the config.log output again, so that the ltconfig log is not
2683 # clobbered by the next message.
2684 exec 5>>./config.log
2694 # Check for c++ or library specific bits that don't require linking.
2695 echo $ac_n "checking
for GNU
make""...
$ac_c" 1>&6
2696 echo "configure
:2697: checking
for GNU
make" >&5
2697 if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
2698 echo $ac_n "(cached
) $ac_c" 1>&6
2700 _cv_gnu_make_command='' ;
2701 for a in "${MAKE-make}" make gmake gnumake ; do
2702 if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
2704 _cv_gnu_make_command=$a ;
2711 echo "$ac_t""$_cv_gnu_make_command" 1>&6 ;
2712 if test "x
$_cv_gnu_make_command" != "x
" ; then
2719 #GLIBCPP_CHECK_COMPILER_VERSION
2721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
2722 ac_save_CXXFLAGS="$CXXFLAGS"
2723 CXXFLAGS='-Werror -Winvalid-pch -Wno-deprecated -x c++-header'
2725 echo $ac_n "checking
for compiler that seems to compile .gch files
""...
$ac_c" 1>&6
2726 echo "configure
:2727: checking
for compiler that seems to compile .gch files
" >&5
2727 if test x${glibcpp_pch_comp+set} != xset; then
2728 if eval "test \"`echo '$''{'glibcpp_pch_comp'+set}'`\" = set"; then
2729 echo $ac_n "(cached
) $ac_c" 1>&6
2734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2735 ac_cpp='$CXXCPP $CPPFLAGS'
2736 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2737 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2738 cross_compiling=$ac_cv_prog_cxx_cross
2740 cat > conftest.$ac_ext <<EOF
2741 #line 2742 "configure
"
2742 #include "confdefs.h
"
2749 if { (eval echo configure:2750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2751 glibcpp_pch_comp=yes
2753 echo "configure
: failed program was
:" >&5
2754 cat conftest.$ac_ext >&5
2760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2761 ac_cpp='$CPP $CPPFLAGS'
2762 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2763 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2764 cross_compiling=$ac_cv_prog_cc_cross
2770 echo "$ac_t""$glibcpp_pch_comp" 1>&6
2772 CXXFLAGS="$ac_save_CXXFLAGS"
2775 if test "$glibcpp_pch_comp" = yes; then
2776 GLIBCPP_BUILD_PCH_TRUE=
2777 GLIBCPP_BUILD_PCH_FALSE='#'
2779 GLIBCPP_BUILD_PCH_TRUE='#'
2780 GLIBCPP_BUILD_PCH_FALSE=
2784 # Enable all the variable C++ stuff. C_MBCHAR must come early.
2785 echo $ac_n "checking how to run the C preprocessor
""...
$ac_c" 1>&6
2786 echo "configure
:2787: checking how to run the C preprocessor
" >&5
2787 # On Suns, sometimes $CPP names a directory.
2788 if test -n "$CPP" && test -d "$CPP"; then
2791 if test -z "$CPP"; then
2792 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2793 echo $ac_n "(cached
) $ac_c" 1>&6
2795 # This must be in double quotes, not single quotes, because CPP may get
2796 # substituted into the Makefile and "${CC-cc}" will confuse make.
2798 # On the NeXT, cc -E runs the code through the compiler's parser,
2799 # not just through cpp.
2800 cat > conftest.$ac_ext <<EOF
2801 #line 2802 "configure
"
2802 #include "confdefs.h
"
2806 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2807 { (eval echo configure:2808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2808 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2809 if test -z "$ac_err"; then
2813 echo "configure
: failed program was
:" >&5
2814 cat conftest.$ac_ext >&5
2816 CPP="${CC-cc} -E -traditional-cpp"
2817 cat > conftest.$ac_ext <<EOF
2818 #line 2819 "configure
"
2819 #include "confdefs.h
"
2823 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2824 { (eval echo configure:2825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2825 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2826 if test -z "$ac_err"; then
2830 echo "configure
: failed program was
:" >&5
2831 cat conftest.$ac_ext >&5
2833 CPP="${CC-cc} -nologo -E"
2834 cat > conftest.$ac_ext <<EOF
2835 #line 2836 "configure
"
2836 #include "confdefs.h
"
2840 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2841 { (eval echo configure:2842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2842 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2843 if test -z "$ac_err"; then
2847 echo "configure
: failed program was
:" >&5
2848 cat conftest.$ac_ext >&5
2857 ac_cv_prog_CPP="$CPP"
2859 CPP="$ac_cv_prog_CPP"
2861 ac_cv_prog_CPP="$CPP"
2863 echo "$ac_t""$CPP" 1>&6
2866 echo $ac_n "checking
for cstdio to use
""...
$ac_c" 1>&6
2867 echo "configure
:2868: checking
for cstdio to use
" >&5
2868 # Check whether --enable-cstdio or --disable-cstdio was given.
2869 if test "${enable_cstdio+set}" = set; then
2870 enableval="$enable_cstdio"
2871 if test x$enable_cstdio = xno; then
2879 enable_cstdio_flag=$enable_cstdio
2881 case x${enable_cstdio_flag} in
2883 CSTDIO_H=config/io/c_io_libio.h
2884 BASIC_FILE_H=config/io/basic_file_libio.h
2885 BASIC_FILE_CC=config/io/basic_file_libio.cc
2886 echo "$ac_t""libio
" 1>&6
2888 # see if we are on a system with libio native (ie, linux)
2889 ac_safe=`echo "libio.h
" | sed 'y%./+-%__p_%'`
2890 echo $ac_n "checking
for libio.h
""...
$ac_c" 1>&6
2891 echo "configure
:2892: checking
for libio.h
" >&5
2892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2893 echo $ac_n "(cached
) $ac_c" 1>&6
2895 cat > conftest.$ac_ext <<EOF
2896 #line 2897 "configure
"
2897 #include "confdefs.h
"
2900 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
2901 { (eval echo configure:2902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2902 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
2903 if test -z "$ac_err"; then
2905 eval "ac_cv_header_
$ac_safe=yes"
2908 echo "configure
: failed program was
:" >&5
2909 cat conftest.$ac_ext >&5
2911 eval "ac_cv_header_
$ac_safe=no
"
2915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2916 echo "$ac_t""yes" 1>&6
2919 echo "$ac_t""no
" 1>&6
2924 # Need to check and see what version of glibc is being used. If
2925 # it's not glibc-2.2 or higher, then we'll need to go ahead and
2926 # compile most of libio for linux systems.
2927 if test x$has_libio = x"yes"; then
2930 echo $ac_n "checking
for glibc version
>= 2.2""...
$ac_c" 1>&6
2931 echo "configure
:2932: checking
for glibc version
>= 2.2" >&5
2932 cat > conftest.$ac_ext <<EOF
2933 #line 2934 "configure
"
2934 #include "confdefs.h
"
2936 #include <features.h>
2937 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
2942 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
2943 egrep "ok
" >/dev/null 2>&1; then
2945 glibc_satisfactory=yes
2948 glibc_satisfactory=no
2952 echo "$ac_t""$glibc_satisfactory" 1>&6
2956 # XXX at the moment, admit defeat and force the recompilation
2957 # XXX of glibc even on glibc-2.2 systems, because libio is not synched.
2958 glibc_satisfactory=no
2960 if test x$glibc_satisfactory = x"yes"; then
2965 # bkoz XXX need to add checks to enable this
2966 # pme XXX here's a first pass at such a check
2967 if test x$enable_c_mbchar != xno; then
2975 # Using libio, but <libio.h> doesn't exist on the target system. . .
2977 # bkoz XXX need to add checks to enable this
2978 # pme XXX here's a first pass at such a check
2979 if test x$enable_c_mbchar != xno; then
2986 xstdio | x | xno | xnone | xyes)
2988 CSTDIO_H=config/io/c_io_stdio.h
2989 BASIC_FILE_H=config/io/basic_file_stdio.h
2990 BASIC_FILE_CC=config/io/basic_file_stdio.cc
2991 echo "$ac_t""stdio
" 1>&6
2993 # We're not using stdio.
2998 echo "$enable_cstdio is an unknown io package
" 1>&2
3006 # 2000-08-04 bkoz hack
3007 CCODECVT_C=config/io/c_io_libio_codecvt.c
3009 # 2000-08-04 bkoz hack
3013 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3014 GLIBCPP_BUILD_LIBIO_TRUE=
3015 GLIBCPP_BUILD_LIBIO_FALSE='#'
3017 GLIBCPP_BUILD_LIBIO_TRUE='#'
3018 GLIBCPP_BUILD_LIBIO_FALSE=
3022 if test "$need_libio" = yes; then
3023 GLIBCPP_NEED_LIBIO_TRUE=
3024 GLIBCPP_NEED_LIBIO_FALSE='#'
3026 GLIBCPP_NEED_LIBIO_TRUE='#'
3027 GLIBCPP_NEED_LIBIO_FALSE=
3031 if test "$need_wlibio" = yes; then
3032 GLIBCPP_NEED_WLIBIO_TRUE=
3033 GLIBCPP_NEED_WLIBIO_FALSE='#'
3035 GLIBCPP_NEED_WLIBIO_TRUE='#'
3036 GLIBCPP_NEED_WLIBIO_FALSE=
3038 if test "$need_libio" = yes || test "$need_wlibio" = yes; then
3039 libio_la=../libio/libio.la
3046 echo $ac_n "checking
for clocale to use
""...
$ac_c" 1>&6
3047 echo "configure
:3048: checking
for clocale to use
" >&5
3048 # Check whether --enable-clocale or --disable-clocale was given.
3049 if test "${enable_clocale+set}" = set; then
3050 enableval="$enable_clocale"
3051 if test x$enable_clocale = xno; then
3059 enable_clocale_flag=$enable_clocale
3061 if test x$enable_clocale_flag = xno; then
3062 case x${target_os} in
3064 cat > conftest.$ac_ext <<EOF
3065 #line 3066 "configure
"
3066 #include "confdefs.h
"
3068 #include <features.h>
3069 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
3074 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
3075 egrep "_GLIBCPP_ok
" >/dev/null 2>&1; then
3077 enable_clocale_flag=gnu
3080 enable_clocale_flag=generic
3085 # Test for bugs early in glibc-2.2.x series
3086 if test x$enable_clocale_flag = xgnu; then
3087 if test "$cross_compiling" = yes; then
3088 enable_clocale_flag=generic
3090 cat > conftest.$ac_ext <<EOF
3091 #line 3092 "configure
"
3092 #include "confdefs.h
"
3094 #define _GNU_SOURCE 1
3097 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
3098 extern __typeof(newlocale) __newlocale;
3099 extern __typeof(duplocale) __duplocale;
3100 extern __typeof(strcoll_l) __strcoll_l;
3104 const char __one[] = "Äuglein Augmen
";
3105 const char __two[] = "Äuglein
";
3110 loc = __newlocale(1 << LC_ALL, "de_DE
", 0);
3111 loc_dup = __duplocale(loc);
3112 i = __strcoll_l(__one, __two, loc);
3113 j = __strcoll_l(__one, __two, loc_dup);
3118 if { (eval echo configure:3119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3120 enable_clocale_flag=gnu
3122 echo "configure
: failed program was
:" >&5
3123 cat conftest.$ac_ext >&5
3125 enable_clocale_flag=generic
3132 # ... at some point put __strxfrm_l tests in as well.
3135 enable_clocale_flag=generic
3140 # Check whether --enable-nls or --disable-nls was given.
3141 if test "${enable_nls+set}" = set; then
3142 enableval="$enable_nls"
3150 case x${enable_clocale_flag} in
3152 echo "$ac_t""generic
" 1>&6
3154 CLOCALE_H=config/locale/generic/c_locale.h
3155 CLOCALE_CC=config/locale/generic/c_locale.cc
3156 CCODECVT_H=config/locale/generic/codecvt_specializations.h
3157 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3158 CCOLLATE_CC=config/locale/generic/collate_members.cc
3159 CCTYPE_CC=config/locale/generic/ctype_members.cc
3160 CMESSAGES_H=config/locale/generic/messages_members.h
3161 CMESSAGES_CC=config/locale/generic/messages_members.cc
3162 CMONEY_CC=config/locale/generic/monetary_members.cc
3163 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3164 CTIME_H=config/locale/generic/time_members.h
3165 CTIME_CC=config/locale/generic/time_members.cc
3166 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3169 echo "$ac_t""gnu
" 1>&6
3171 # Declare intention to use gettext, and add support for specific
3173 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
3176 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
3177 # Extract the first word of "msgfmt
", so it can be a program name with args.
3178 set dummy msgfmt; ac_word=$2
3179 echo $ac_n "checking
for $ac_word""...
$ac_c" 1>&6
3180 echo "configure
:3181: checking
for $ac_word" >&5
3181 if eval "test \"`echo '$''{'ac_cv_prog_check_msgfmt'+set}'`\" = set"; then
3182 echo $ac_n "(cached
) $ac_c" 1>&6
3184 if test -n "$check_msgfmt"; then
3185 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
3187 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
3189 for ac_dir in $ac_dummy; do
3190 test -z "$ac_dir" && ac_dir=.
3191 if test -f $ac_dir/$ac_word; then
3192 ac_cv_prog_check_msgfmt="yes"
3197 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no
"
3200 check_msgfmt="$ac_cv_prog_check_msgfmt"
3201 if test -n "$check_msgfmt"; then
3202 echo "$ac_t""$check_msgfmt" 1>&6
3204 echo "$ac_t""no
" 1>&6
3207 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
3210 # Export the build objects.
3211 for ling in $ALL_LINGUAS; do \
3212 glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo
"; \
3213 glibcpp_POFILES="$glibcpp_POFILES $ling.po
"; \
3218 CLOCALE_H=config/locale/gnu/c_locale.h
3219 CLOCALE_CC=config/locale/gnu/c_locale.cc
3220 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3221 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
3222 CCOLLATE_CC=config/locale/gnu/collate_members.cc
3223 CCTYPE_CC=config/locale/gnu/ctype_members.cc
3224 CMESSAGES_H=config/locale/gnu/messages_members.h
3225 CMESSAGES_CC=config/locale/gnu/messages_members.cc
3226 CMONEY_CC=config/locale/gnu/monetary_members.cc
3227 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
3228 CTIME_H=config/locale/gnu/time_members.h
3229 CTIME_CC=config/locale/gnu/time_members.cc
3230 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
3233 echo "$ac_t""IEEE
1003.1" 1>&6
3235 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
3236 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
3237 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
3238 CCODECVT_CC=config/locale/generic/codecvt_members.cc
3239 CCOLLATE_CC=config/locale/generic/collate_members.cc
3240 CCTYPE_CC=config/locale/generic/ctype_members.cc
3241 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
3242 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
3243 CMONEY_CC=config/locale/generic/monetary_members.cc
3244 CNUMERIC_CC=config/locale/generic/numeric_members.cc
3245 CTIME_H=config/locale/generic/time_members.h
3246 CTIME_CC=config/locale/generic/time_members.cc
3247 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
3250 echo "$enable_clocale is an unknown locale package
" 1>&2
3255 # This is where the testsuite looks for locale catalogs, using the
3256 # -DLOCALEDIR define during testsuite compilation.
3257 glibcpp_localedir=${glibcpp_builddir}/po/share/locale
3260 # A standalone libintl (e.g., GNU libintl) may be in use.
3261 if test $USE_NLS = yes; then
3263 echo $ac_n "checking
for library containing
gettext""...
$ac_c" 1>&6
3264 echo "configure
:3265: checking
for library containing
gettext" >&5
3265 if eval "test \"`echo '$''{'ac_cv_search_gettext'+set}'`\" = set"; then
3266 echo $ac_n "(cached
) $ac_c" 1>&6
3268 ac_func_search_save_LIBS="$LIBS"
3269 ac_cv_search_gettext="no
"
3270 cat > conftest.$ac_ext <<EOF
3271 #line 3272 "configure
"
3272 #include "confdefs.h
"
3273 /* Override any gcc2 internal prototype to avoid an error. */
3274 /* We use char because int might match the return type of a gcc2
3275 builtin and then its argument prototype would still apply. */
3282 if { (eval echo configure:3283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3284 ac_cv_search_gettext="none required
"
3286 echo "configure
: failed program was
:" >&5
3287 cat conftest.$ac_ext >&5
3290 test "$ac_cv_search_gettext" = "no
" && for i in intl; do
3291 LIBS="-l$i $ac_func_search_save_LIBS"
3292 cat > conftest.$ac_ext <<EOF
3293 #line 3294 "configure
"
3294 #include "confdefs.h
"
3295 /* Override any gcc2 internal prototype to avoid an error. */
3296 /* We use char because int might match the return type of a gcc2
3297 builtin and then its argument prototype would still apply. */
3304 if { (eval echo configure:3305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3306 ac_cv_search_gettext="-l$i"
3309 echo "configure
: failed program was
:" >&5
3310 cat conftest.$ac_ext >&5
3314 LIBS="$ac_func_search_save_LIBS"
3317 echo "$ac_t""$ac_cv_search_gettext" 1>&6
3318 if test "$ac_cv_search_gettext" != "no
"; then
3319 test "$ac_cv_search_gettext" = "none required
" || LIBS="$ac_cv_search_gettext $LIBS"
3341 echo $ac_n "checking
for c header strategy to use
""...
$ac_c" 1>&6
3342 echo "configure
:3343: checking
for c header strategy to use
" >&5
3343 # Check whether --enable-cheaders or --disable-cheaders was given.
3344 if test "${enable_cheaders+set}" = set; then
3345 enableval="$enable_cheaders"
3347 case "$enableval" in
3352 enable_cheaders=c_std
3354 *) { echo "configure
: error
: Unknown argument to enable
/disable
"C" headers
" 1>&2; exit 1; }
3358 enable_cheaders=c_std
3361 echo "$ac_t""$enable_cheaders" 1>&6
3363 case "$enable_cheaders" in
3365 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
3368 C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
3375 if test "$enable_cheaders" = c; then
3376 GLIBCPP_C_HEADERS_C_TRUE=
3377 GLIBCPP_C_HEADERS_C_FALSE='#'
3379 GLIBCPP_C_HEADERS_C_TRUE='#'
3380 GLIBCPP_C_HEADERS_C_FALSE=
3384 if test "$enable_cheaders" = c_std; then
3385 GLIBCPP_C_HEADERS_C_STD_TRUE=
3386 GLIBCPP_C_HEADERS_C_STD_FALSE='#'
3388 GLIBCPP_C_HEADERS_C_STD_TRUE='#'
3389 GLIBCPP_C_HEADERS_C_STD_FALSE=
3393 if test "$c_compatibility" = yes; then
3394 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE=
3395 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE='#'
3397 GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE='#'
3398 GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE=
3401 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
3402 if test "${enable_c_mbchar+set}" = set; then
3403 enableval="$enable_c_mbchar"
3404 case "$enableval" in
3405 yes) enable_c_mbchar=yes ;;
3406 no) enable_c_mbchar=no ;;
3407 *) { echo "configure
: error
: Unknown argument to enable
/disable c-mbchar
" 1>&2; exit 1; } ;;
3414 # Check whether --enable-c99 or --disable-c99 was given.
3415 if test "${enable_c99+set}" = set; then
3416 enableval="$enable_c99"
3417 case "$enableval" in
3418 yes) enable_c99=yes ;;
3419 no) enable_c99=no ;;
3420 *) { echo "configure
: error
: Unknown argument to enable
/disable C99
" 1>&2; exit 1; } ;;
3428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3429 ac_cpp='$CXXCPP $CPPFLAGS'
3430 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3431 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3432 cross_compiling=$ac_cv_prog_cxx_cross
3435 # Check for the existence of <math.h> functions used if C99 is enabled.
3437 echo $ac_n "checking
for ISO C99 support
in <math.h
>""...
$ac_c" 1>&6
3438 echo "configure
:3439: checking
for ISO C99 support
in <math.h
>" >&5
3439 cat > conftest.$ac_ext <<EOF
3440 #line 3441 "configure
"
3441 #include "confdefs.h
"
3447 if { (eval echo configure:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3450 echo "configure
: failed program was
:" >&5
3451 cat conftest.$ac_ext >&5
3456 cat > conftest.$ac_ext <<EOF
3457 #line 3458 "configure
"
3458 #include "confdefs.h
"
3464 if { (eval echo configure:3465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3467 echo "configure
: failed program was
:" >&5
3468 cat conftest.$ac_ext >&5
3473 cat > conftest.$ac_ext <<EOF
3474 #line 3475 "configure
"
3475 #include "confdefs.h
"
3481 if { (eval echo configure:3482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3484 echo "configure
: failed program was
:" >&5
3485 cat conftest.$ac_ext >&5
3490 cat > conftest.$ac_ext <<EOF
3491 #line 3492 "configure
"
3492 #include "confdefs.h
"
3498 if { (eval echo configure:3499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3501 echo "configure
: failed program was
:" >&5
3502 cat conftest.$ac_ext >&5
3507 cat > conftest.$ac_ext <<EOF
3508 #line 3509 "configure
"
3509 #include "confdefs.h
"
3515 if { (eval echo configure:3516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3518 echo "configure
: failed program was
:" >&5
3519 cat conftest.$ac_ext >&5
3524 cat > conftest.$ac_ext <<EOF
3525 #line 3526 "configure
"
3526 #include "confdefs.h
"
3532 if { (eval echo configure:3533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3535 echo "configure
: failed program was
:" >&5
3536 cat conftest.$ac_ext >&5
3541 cat > conftest.$ac_ext <<EOF
3542 #line 3543 "configure
"
3543 #include "confdefs.h
"
3549 if { (eval echo configure:3550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3552 echo "configure
: failed program was
:" >&5
3553 cat conftest.$ac_ext >&5
3558 cat > conftest.$ac_ext <<EOF
3559 #line 3560 "configure
"
3560 #include "confdefs.h
"
3563 isgreaterequal(0.0,0.0);
3566 if { (eval echo configure:3567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3569 echo "configure
: failed program was
:" >&5
3570 cat conftest.$ac_ext >&5
3575 cat > conftest.$ac_ext <<EOF
3576 #line 3577 "configure
"
3577 #include "confdefs.h
"
3583 if { (eval echo configure:3584: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3586 echo "configure
: failed program was
:" >&5
3587 cat conftest.$ac_ext >&5
3592 cat > conftest.$ac_ext <<EOF
3593 #line 3594 "configure
"
3594 #include "confdefs.h
"
3597 islessequal(0.0,0.0);
3600 if { (eval echo configure:3601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3603 echo "configure
: failed program was
:" >&5
3604 cat conftest.$ac_ext >&5
3609 cat > conftest.$ac_ext <<EOF
3610 #line 3611 "configure
"
3611 #include "confdefs.h
"
3614 islessgreater(0.0,0.0);
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 isunordered(0.0,0.0);
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 echo "$ac_t""$ac_c99_math" 1>&6
3645 # Check for the existence in <stdio.h> of vscanf, et. al.
3647 echo $ac_n "checking
for ISO C99 support
in <stdio.h
>""...
$ac_c" 1>&6
3648 echo "configure
:3649: checking
for ISO C99 support
in <stdio.h
>" >&5
3649 cat > conftest.$ac_ext <<EOF
3650 #line 3651 "configure
"
3651 #include "confdefs.h
"
3654 snprintf("12", 0, "%i
");
3657 if { (eval echo configure:3658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3660 echo "configure
: failed program was
:" >&5
3661 cat conftest.$ac_ext >&5
3666 cat > conftest.$ac_ext <<EOF
3667 #line 3668 "configure
"
3668 #include "confdefs.h
"
3671 void foo(char* fmt, ...)
3672 {va_list args; va_start(args, fmt);
3673 vfscanf(stderr, "%i
", args);}
3678 if { (eval echo configure:3679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3681 echo "configure
: failed program was
:" >&5
3682 cat conftest.$ac_ext >&5
3687 cat > conftest.$ac_ext <<EOF
3688 #line 3689 "configure
"
3689 #include "confdefs.h
"
3692 void foo(char* fmt, ...)
3693 {va_list args; va_start(args, fmt);
3694 vscanf("%i
", args);}
3699 if { (eval echo configure:3700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3702 echo "configure
: failed program was
:" >&5
3703 cat conftest.$ac_ext >&5
3708 cat > conftest.$ac_ext <<EOF
3709 #line 3710 "configure
"
3710 #include "confdefs.h
"
3713 void foo(char* fmt, ...)
3714 {va_list args; va_start(args, fmt);
3715 vsnprintf(fmt, 0, "%i
", args);}
3720 if { (eval echo configure:3721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3723 echo "configure
: failed program was
:" >&5
3724 cat conftest.$ac_ext >&5
3729 cat > conftest.$ac_ext <<EOF
3730 #line 3731 "configure
"
3731 #include "confdefs.h
"
3734 void foo(char* fmt, ...)
3735 {va_list args; va_start(args, fmt);
3736 vsscanf(fmt, "%i
", args);}
3741 if { (eval echo configure:3742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3744 echo "configure
: failed program was
:" >&5
3745 cat conftest.$ac_ext >&5
3750 echo "$ac_t""$ac_c99_stdio" 1>&6
3752 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
3754 echo $ac_n "checking
for lldiv_t declaration
""...
$ac_c" 1>&6
3755 echo "configure
:3756: checking
for lldiv_t declaration
" >&5
3756 if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
3757 echo $ac_n "(cached
) $ac_c" 1>&6
3760 cat > conftest.$ac_ext <<EOF
3761 #line 3762 "configure
"
3762 #include "confdefs.h
"
3768 if { (eval echo configure:3769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3772 echo "configure
: failed program was
:" >&5
3773 cat conftest.$ac_ext >&5
3781 echo "$ac_t""$ac_c99_lldiv_t" 1>&6
3783 echo $ac_n "checking
for ISO C99 support
in <stdlib.h
>""...
$ac_c" 1>&6
3784 echo "configure
:3785: checking
for ISO C99 support
in <stdlib.h
>" >&5
3785 cat > conftest.$ac_ext <<EOF
3786 #line 3787 "configure
"
3787 #include "confdefs.h
"
3790 char* tmp; strtof("gnu
", &tmp);
3793 if { (eval echo configure:3794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3796 echo "configure
: failed program was
:" >&5
3797 cat conftest.$ac_ext >&5
3802 cat > conftest.$ac_ext <<EOF
3803 #line 3804 "configure
"
3804 #include "confdefs.h
"
3807 char* tmp; strtold("gnu
", &tmp);
3810 if { (eval echo configure:3811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3813 echo "configure
: failed program was
:" >&5
3814 cat conftest.$ac_ext >&5
3819 cat > conftest.$ac_ext <<EOF
3820 #line 3821 "configure
"
3821 #include "confdefs.h
"
3827 if { (eval echo configure:3828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3830 echo "configure
: failed program was
:" >&5
3831 cat conftest.$ac_ext >&5
3836 cat > conftest.$ac_ext <<EOF
3837 #line 3838 "configure
"
3838 #include "confdefs.h
"
3844 if { (eval echo configure:3845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3847 echo "configure
: failed program was
:" >&5
3848 cat conftest.$ac_ext >&5
3853 cat > conftest.$ac_ext <<EOF
3854 #line 3855 "configure
"
3855 #include "confdefs.h
"
3861 if { (eval echo configure:3862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3864 echo "configure
: failed program was
:" >&5
3865 cat conftest.$ac_ext >&5
3870 cat > conftest.$ac_ext <<EOF
3871 #line 3872 "configure
"
3872 #include "confdefs.h
"
3878 if { (eval echo configure:3879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3881 echo "configure
: failed program was
:" >&5
3882 cat conftest.$ac_ext >&5
3887 if test x"$ac_c99_lldiv_t" = x"no
"; then
3890 echo "$ac_t""$ac_c99_stdlib" 1>&6
3892 # Check for the existence of <wchar.h> functions used if C99 is enabled.
3893 # XXX the wchar.h checks should be rolled into the general C99 bits.
3895 echo $ac_n "checking
for additional ISO C99 support
in <wchar.h
>""...
$ac_c" 1>&6
3896 echo "configure
:3897: checking
for additional ISO C99 support
in <wchar.h
>" >&5
3897 cat > conftest.$ac_ext <<EOF
3898 #line 3899 "configure
"
3899 #include "confdefs.h
"
3902 wcstold(L"10.0", NULL);
3905 if { (eval echo configure:3906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3908 echo "configure
: failed program was
:" >&5
3909 cat conftest.$ac_ext >&5
3914 cat > conftest.$ac_ext <<EOF
3915 #line 3916 "configure
"
3916 #include "confdefs.h
"
3919 wcstoll(L"10", NULL, 10);
3922 if { (eval echo configure:3923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3925 echo "configure
: failed program was
:" >&5
3926 cat conftest.$ac_ext >&5
3931 cat > conftest.$ac_ext <<EOF
3932 #line 3933 "configure
"
3933 #include "confdefs.h
"
3936 wcstoull(L"10", NULL, 10);
3939 if { (eval echo configure:3940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3942 echo "configure
: failed program was
:" >&5
3943 cat conftest.$ac_ext >&5
3948 echo "$ac_t""$ac_c99_wchar" 1>&6
3950 echo $ac_n "checking
for enabled ISO C99 support
""...
$ac_c" 1>&6
3951 echo "configure
:3952: checking
for enabled ISO C99 support
" >&5
3952 if test x"$ac_c99_math" = x"no
" ||
3953 test x"$ac_c99_stdio" = x"no
" ||
3954 test x"$ac_c99_stdlib" = x"no
" ||
3955 test x"$ac_c99_wchar" = x"no
"; then
3958 echo "$ac_t""$enable_c99" 1>&6
3960 # Option parsed, now set things appropriately
3961 if test x"$enable_c99" = x"yes"; then
3962 cat >> confdefs.h <<\EOF
3963 #define _GLIBCPP_USE_C99 1
3969 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3970 ac_cpp='$CPP $CPPFLAGS'
3971 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3972 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3973 cross_compiling=$ac_cv_prog_cc_cross
3977 # Check whether --enable-long-long or --disable-long-long was given.
3978 if test "${enable_long_long+set}" = set; then
3979 enableval="$enable_long_long"
3980 case "$enableval" in
3981 yes) enable_long_long=yes ;;
3982 no) enable_long_long=no ;;
3983 *) { echo "configure
: error
: Unknown argument to enable
/disable long long
" 1>&2; exit 1; } ;;
3986 enable_long_long=yes
3991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3992 ac_cpp='$CXXCPP $CPPFLAGS'
3993 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3994 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3995 cross_compiling=$ac_cv_prog_cxx_cross
3998 echo $ac_n "checking
for enabled long long I
/O support
""...
$ac_c" 1>&6
3999 echo "configure
:4000: checking
for enabled long long I
/O support
" >&5
4000 # iostreams require strtoll, strtoull to compile
4001 cat > conftest.$ac_ext <<EOF
4002 #line 4003 "configure
"
4003 #include "confdefs.h
"
4006 char* tmp; strtoll("gnu
", &tmp, 10);
4009 if { (eval echo configure:4010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4012 echo "configure
: failed program was
:" >&5
4013 cat conftest.$ac_ext >&5
4018 cat > conftest.$ac_ext <<EOF
4019 #line 4020 "configure
"
4020 #include "confdefs.h
"
4023 char* tmp; strtoull("gnu
", &tmp, 10);
4026 if { (eval echo configure:4027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4029 echo "configure
: failed program was
:" >&5
4030 cat conftest.$ac_ext >&5
4036 # Option parsed, now set things appropriately
4037 if test x"$enable_long_long" = xyes; then
4038 cat >> confdefs.h <<\EOF
4039 #define _GLIBCPP_USE_LONG_LONG 1
4043 echo "$ac_t""$enable_long_long" 1>&6
4046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4047 ac_cpp='$CPP $CPPFLAGS'
4048 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4049 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4050 cross_compiling=$ac_cv_prog_cc_cross
4054 echo $ac_n "checking
for thread model used by GCC
""...
$ac_c" 1>&6
4055 echo "configure
:4056: checking
for thread model used by GCC
" >&5
4056 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
4057 echo "$ac_t""$target_thread_file" 1>&6
4059 if test $target_thread_file != single; then
4060 cat >> confdefs.h <<\EOF
4061 #define HAVE_GTHR_DEFAULT 1
4064 cat >> confdefs.h <<\EOF
4065 #define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
4070 glibcpp_thread_h=gthr-$target_thread_file.h
4074 echo $ac_n "checking
for exception model to use
""...
$ac_c" 1>&6
4075 echo "configure
:4076: checking
for exception model to use
" >&5
4078 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4079 ac_cpp='$CXXCPP $CPPFLAGS'
4080 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4081 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4082 cross_compiling=$ac_cv_prog_cxx_cross
4084 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4085 if test "${enable_sjlj_exceptions+set}" = set; then
4086 enableval="$enable_sjlj_exceptions"
4089 cat > conftest.$ac_ext << EOF
4090 #line 4091 "configure
"
4099 old_CXXFLAGS="$CXXFLAGS"
4101 if { (eval echo configure:4102: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4102 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
4103 enable_sjlj_exceptions=yes
4104 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
4105 enable_sjlj_exceptions=no
4108 CXXFLAGS="$old_CXXFLAGS"
4112 if test x$enable_sjlj_exceptions = xyes; then
4113 cat >> confdefs.h <<\EOF
4114 #define _GLIBCPP_SJLJ_EXCEPTIONS 1
4117 ac_exception_model_name=sjlj
4118 elif test x$enable_sjlj_exceptions = xno; then
4119 ac_exception_model_name="call frame
"
4121 { echo "configure
: error
: unable to detect exception model
" 1>&2; exit 1; }
4124 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
4125 ac_cpp='$CPP $CPPFLAGS'
4126 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
4127 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
4128 cross_compiling=$ac_cv_prog_cc_cross
4130 echo "$ac_t""$ac_exception_model_name" 1>&6
4133 echo $ac_n "checking
for use of libunwind
""...
$ac_c" 1>&6
4134 echo "configure
:4135: checking
for use of libunwind
" >&5
4135 # Check whether --enable-libunwind-exceptions or --disable-libunwind-exceptions was given.
4136 if test "${enable_libunwind_exceptions+set}" = set; then
4137 enableval="$enable_libunwind_exceptions"
4138 use_libunwind_exceptions=$enableval
4140 use_libunwind_exceptions=no
4143 echo "$ac_t""$use_libunwind_exceptions" 1>&6
4144 if test x"$use_libunwind_exceptions" = xyes; then
4145 LIBUNWIND_FLAG="-lunwind"
4151 # Check whether --enable-concept-checks or --disable-concept-checks was given.
4152 if test "${enable_concept_checks+set}" = set; then
4153 enableval="$enable_concept_checks"
4154 case "$enableval" in
4155 yes) enable_concept_checks=yes ;;
4156 no) enable_concept_checks=no ;;
4157 *) { echo "configure
: error
: Unknown argument to enable
/disable concept checks
" 1>&2; exit 1; } ;;
4160 enable_concept_checks=no
4162 if test x"$enable_concept_checks" = xyes; then
4163 cat >> confdefs.h <<\EOF
4164 #define _GLIBCPP_CONCEPT_CHECKS 1
4169 echo $ac_n "checking
for extra compiler flags
for building
""...
$ac_c" 1>&6
4170 echo "configure
:4171: checking
for extra compiler flags
for building
" >&5
4171 # Check whether --enable-cxx_flags or --disable-cxx_flags was given.
4172 if test "${enable_cxx_flags+set}" = set; then
4173 enableval="$enable_cxx_flags"
4174 case "x
$enable_cxx_flags" in
4176 { echo "configure
: error
: --enable-cxx-flags needs compiler flags as arguments
" 1>&2; exit 1; } ;;
4178 enable_cxx_flags='' ;;
4180 enable_cxx_flags="$enableval" ;;
4187 if test -n "$enable_cxx_flags"; then
4188 for f in $enable_cxx_flags; do
4192 *) # and we're trying to pass /what/ exactly?
4193 { echo "configure
: error
: compiler flags start with a
-" 1>&2; exit 1; } ;;
4197 EXTRA_CXX_FLAGS="$enable_cxx_flags"
4198 echo "$ac_t""$EXTRA_CXX_FLAGS" 1>&6
4201 # Check whether --enable-debug or --disable-debug was given.
4202 if test "${enable_debug+set}" = set; then
4203 enableval="$enable_debug"
4204 case "${enableval}" in
4205 yes) enable_debug=yes ;;
4206 no) enable_debug=no ;;
4207 *) { echo "configure
: error
: Unknown argument to enable
/disable extra debugging
" 1>&2; exit 1; } ;;
4212 echo $ac_n "checking
for additional debug build
""...
$ac_c" 1>&6
4213 echo "configure
:4214: checking
for additional debug build
" >&5
4214 echo "$ac_t""$enable_debug" 1>&6
4217 if test "$enable_debug" = yes; then
4218 GLIBCPP_BUILD_DEBUG_TRUE=
4219 GLIBCPP_BUILD_DEBUG_FALSE='#'
4221 GLIBCPP_BUILD_DEBUG_TRUE='#'
4222 GLIBCPP_BUILD_DEBUG_FALSE=
4225 # Check whether --enable-debug_flags or --disable-debug_flags was given.
4226 if test "${enable_debug_flags+set}" = set; then
4227 enableval="$enable_debug_flags"
4228 case "${enableval}" in
4230 -*) enable_debug_flags="${enableval}" ;;
4231 *) { echo "configure
: error
: Unknown argument to extra debugging flags
" 1>&2; exit 1; } ;;
4234 enable_debug_flags=none
4237 case x"$enable_debug" in
4239 case "$enable_debug_flags" in
4241 DEBUG_FLAGS="-g3 -O0";;
4243 DEBUG_FLAGS="${enableval}"
4252 echo $ac_n "checking
for debug build flags
""...
$ac_c" 1>&6
4253 echo "configure
:4254: checking
for debug build flags
" >&5
4254 echo "$ac_t""$DEBUG_FLAGS" 1>&6
4257 # No surprises, no surprises...
4258 if test $ATOMICITYH = cpu/generic ; then
4259 echo "configure
: warning
: No native atomic operations are provided
for this platform.
" 1>&2
4260 if test $target_thread_file = single; then
4261 echo "configure
: warning
: They cannot be faked when thread support is disabled.
" 1>&2
4262 echo "configure
: warning
: Thread-safety of certain classes is not guaranteed.
" 1>&2
4264 echo "configure
: warning
: They will be faked using a mutex.
" 1>&2
4265 echo "configure
: warning
: Performance of certain classes will degrade as a result.
" 1>&2
4270 if test -n "$with_cross_host" || test x"$build" != x"$host"; then
4272 # We are being configured with some form of cross compiler.
4273 GLIBCPP_IS_CROSS_COMPILING=1
4275 # This lets us hard-code the functionality we know we'll have in the cross
4276 # target environment. "Let
" is a sugar-coated word placed on an especially
4277 # dull and tedious hack, actually.
4279 # Here's why GLIBCPP_CHECK_MATH_SUPPORT, and other autoconf macros
4280 # that involve linking, can't be used:
4281 # "cannot open sim-crt0.o
"
4282 # "cannot open crt0.o
"
4283 # etc. All this is because there currently exists no unified, consistent
4284 # way for top level CC information to be passed down to target directories:
4285 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
4286 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
4287 # crosses can be removed.
4289 # If Canadian cross, then don't pick up tools from the build directory.
4290 # Used in GLIBCPP_EXPORT_INCLUDES (and nowhere else?).
4291 if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
4297 # Construct crosses by hand, eliminating bits that need ld...
4298 # GLIBCPP_CHECK_COMPILER_FEATURES
4299 # GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT
4300 # GLIBCPP_CHECK_MATH_SUPPORT
4304 os_include_dir="os
/gnu-linux
"
4305 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
4306 machine/endian.h machine/param.h sys/machine.h sys/types.h \
4307 fp.h locale.h float.h inttypes.h
4309 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4310 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4311 echo "configure
:4312: checking
for $ac_hdr" >&5
4312 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4313 echo $ac_n "(cached
) $ac_c" 1>&6
4315 cat > conftest.$ac_ext <<EOF
4316 #line 4317 "configure
"
4317 #include "confdefs.h
"
4320 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4321 { (eval echo configure:4322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4323 if test -z "$ac_err"; then
4325 eval "ac_cv_header_
$ac_safe=yes"
4328 echo "configure
: failed program was
:" >&5
4329 cat conftest.$ac_ext >&5
4331 eval "ac_cv_header_
$ac_safe=no
"
4335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4336 echo "$ac_t""yes" 1>&6
4337 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4338 cat >> confdefs.h <<EOF
4339 #define $ac_tr_hdr 1
4343 echo "$ac_t""no
" 1>&6
4347 SECTION_FLAGS='-ffunction-sections -fdata-sections'
4350 # If we're not using GNU ld, then there's no point in even trying these
4351 # tests. Check for that first. We should have already tested for gld
4352 # by now (in libtool), but require it now just to be safe...
4353 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
4354 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
4357 # The name set by libtool depends on the version of libtool. Shame on us
4358 # for depending on an impl detail, but c'est la vie. Older versions used
4359 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
4360 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
4361 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
4362 # set (hence we're using an older libtool), then set it.
4363 if test x${with_gnu_ld+set} != xset; then
4364 if test x${ac_cv_prog_gnu_ld+set} != xset; then
4365 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
4368 with_gnu_ld=$ac_cv_prog_gnu_ld
4372 # Start by getting the version number. I think the libtool test already
4373 # does some of this, but throws away the result.
4375 ldver=`$LD --version 2>/dev/null | head -1 | \
4376 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
4378 glibcpp_gnu_ld_version=`echo $ldver | \
4379 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
4381 # Set --gc-sections.
4382 if test "$with_gnu_ld" = "notbroken
"; then
4383 # GNU ld it is! Joy and bunny rabbits!
4385 # All these tests are for C++; save the language and the compiler flags.
4386 # Need to do this so that g++ won't try to link in libstdc++
4387 ac_test_CFLAGS="${CFLAGS+set}"
4388 ac_save_CFLAGS="$CFLAGS"
4389 CFLAGS='-x c++ -Wl,--gc-sections'
4391 # Check for -Wl,--gc-sections
4392 # XXX This test is broken at the moment, as symbols required for
4393 # linking are now in libsupc++ (not built yet.....). In addition,
4394 # this test has cored on solaris in the past. In addition,
4395 # --gc-sections doesn't really work at the moment (keeps on discarding
4396 # used sections, first .eh_frame and now some of the glibc sections for
4397 # iconv). Bzzzzt. Thanks for playing, maybe next time.
4398 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
4399 echo "configure
:4400: checking
for ld that supports
-Wl,--gc-sections" >&5
4400 if test "$cross_compiling" = yes; then
4401 ac_sectionLDflags=yes
4403 cat > conftest.$ac_ext <<EOF
4404 #line 4405 "configure
"
4405 #include "confdefs.h
"
4415 if { (eval echo configure:4416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
4417 ac_sectionLDflags=yes
4419 echo "configure
: failed program was
:" >&5
4420 cat conftest.$ac_ext >&5
4422 ac_sectionLDflags=no
4427 if test "$ac_test_CFLAGS" = set; then
4428 CFLAGS="$ac_save_CFLAGS"
4430 # this is the suspicious part
4433 if test "$ac_sectionLDflags" = "yes"; then
4434 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
4436 echo "$ac_t""$ac_sectionLDflags" 1>&6
4439 # Set linker optimization flags.
4440 if test x"$with_gnu_ld" = x"yes"; then
4441 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
4448 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
4449 echo "configure
:4450: checking
for main
in -lm" >&5
4450 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
4451 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4452 echo $ac_n "(cached
) $ac_c" 1>&6
4454 ac_save_LIBS="$LIBS"
4456 cat > conftest.$ac_ext <<EOF
4457 #line 4458 "configure
"
4458 #include "confdefs.h
"
4464 if { (eval echo configure:4465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4466 eval "ac_cv_lib_
$ac_lib_var=yes"
4468 echo "configure
: failed program was
:" >&5
4469 cat conftest.$ac_ext >&5
4471 eval "ac_cv_lib_
$ac_lib_var=no
"
4474 LIBS="$ac_save_LIBS"
4477 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4478 echo "$ac_t""yes" 1>&6
4479 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4480 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4481 cat >> confdefs.h <<EOF
4482 #define $ac_tr_lib 1
4488 echo "$ac_t""no
" 1>&6
4491 for ac_func in nan copysignf
4493 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4494 echo "configure
:4495: checking
for $ac_func" >&5
4495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4496 echo $ac_n "(cached
) $ac_c" 1>&6
4498 cat > conftest.$ac_ext <<EOF
4499 #line 4500 "configure
"
4500 #include "confdefs.h
"
4501 /* System header to define __stub macros and hopefully few prototypes,
4502 which can conflict with char $ac_func(); below. */
4504 /* Override any gcc2 internal prototype to avoid an error. */
4505 /* We use char because int might match the return type of a gcc2
4506 builtin and then its argument prototype would still apply. */
4511 /* The GNU C library defines this for functions which it implements
4512 to always fail with ENOSYS. Some functions are actually named
4513 something starting with __ and the normal name is an alias. */
4514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4522 if { (eval echo configure:4523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4524 eval "ac_cv_func_
$ac_func=yes"
4526 echo "configure
: failed program was
:" >&5
4527 cat conftest.$ac_ext >&5
4529 eval "ac_cv_func_
$ac_func=no
"
4534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4535 echo "$ac_t""yes" 1>&6
4536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4537 cat >> confdefs.h <<EOF
4538 #define $ac_tr_func 1
4542 echo "$ac_t""no
" 1>&6
4543 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
4548 for ac_func in __signbit
4550 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4551 echo "configure
:4552: checking
for $ac_func" >&5
4552 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4553 echo $ac_n "(cached
) $ac_c" 1>&6
4555 cat > conftest.$ac_ext <<EOF
4556 #line 4557 "configure
"
4557 #include "confdefs.h
"
4558 /* System header to define __stub macros and hopefully few prototypes,
4559 which can conflict with char $ac_func(); below. */
4561 /* Override any gcc2 internal prototype to avoid an error. */
4562 /* We use char because int might match the return type of a gcc2
4563 builtin and then its argument prototype would still apply. */
4568 /* The GNU C library defines this for functions which it implements
4569 to always fail with ENOSYS. Some functions are actually named
4570 something starting with __ and the normal name is an alias. */
4571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4579 if { (eval echo configure:4580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4581 eval "ac_cv_func_
$ac_func=yes"
4583 echo "configure
: failed program was
:" >&5
4584 cat conftest.$ac_ext >&5
4586 eval "ac_cv_func_
$ac_func=no
"
4591 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4592 echo "$ac_t""yes" 1>&6
4593 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4594 cat >> confdefs.h <<EOF
4595 #define $ac_tr_func 1
4599 echo "$ac_t""no
" 1>&6
4600 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
4604 for ac_func in __signbitf
4606 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4607 echo "configure
:4608: checking
for $ac_func" >&5
4608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4609 echo $ac_n "(cached
) $ac_c" 1>&6
4611 cat > conftest.$ac_ext <<EOF
4612 #line 4613 "configure
"
4613 #include "confdefs.h
"
4614 /* System header to define __stub macros and hopefully few prototypes,
4615 which can conflict with char $ac_func(); below. */
4617 /* Override any gcc2 internal prototype to avoid an error. */
4618 /* We use char because int might match the return type of a gcc2
4619 builtin and then its argument prototype would still apply. */
4624 /* The GNU C library defines this for functions which it implements
4625 to always fail with ENOSYS. Some functions are actually named
4626 something starting with __ and the normal name is an alias. */
4627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4635 if { (eval echo configure:4636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4637 eval "ac_cv_func_
$ac_func=yes"
4639 echo "configure
: failed program was
:" >&5
4640 cat conftest.$ac_ext >&5
4642 eval "ac_cv_func_
$ac_func=no
"
4647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4648 echo "$ac_t""yes" 1>&6
4649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4650 cat >> confdefs.h <<EOF
4651 #define $ac_tr_func 1
4655 echo "$ac_t""no
" 1>&6
4656 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
4661 if test x$ac_cv_func_copysignl = x"yes"; then
4662 for ac_func in __signbitl
4664 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4665 echo "configure
:4666: checking
for $ac_func" >&5
4666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4667 echo $ac_n "(cached
) $ac_c" 1>&6
4669 cat > conftest.$ac_ext <<EOF
4670 #line 4671 "configure
"
4671 #include "confdefs.h
"
4672 /* System header to define __stub macros and hopefully few prototypes,
4673 which can conflict with char $ac_func(); below. */
4675 /* Override any gcc2 internal prototype to avoid an error. */
4676 /* We use char because int might match the return type of a gcc2
4677 builtin and then its argument prototype would still apply. */
4682 /* The GNU C library defines this for functions which it implements
4683 to always fail with ENOSYS. Some functions are actually named
4684 something starting with __ and the normal name is an alias. */
4685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4693 if { (eval echo configure:4694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4695 eval "ac_cv_func_
$ac_func=yes"
4697 echo "configure
: failed program was
:" >&5
4698 cat conftest.$ac_ext >&5
4700 eval "ac_cv_func_
$ac_func=no
"
4705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4706 echo "$ac_t""yes" 1>&6
4707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4708 cat >> confdefs.h <<EOF
4709 #define $ac_tr_func 1
4713 echo "$ac_t""no
" 1>&6
4714 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
4720 if test -n "$LIBMATHOBJS"; then
4726 if test "$need_libmath" = yes; then
4727 GLIBCPP_BUILD_LIBMATH_TRUE=
4728 GLIBCPP_BUILD_LIBMATH_FALSE='#'
4730 GLIBCPP_BUILD_LIBMATH_TRUE='#'
4731 GLIBCPP_BUILD_LIBMATH_FALSE=
4737 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
4738 echo "configure
:4739: checking
for mbstate_t
" >&5
4739 cat > conftest.$ac_ext <<EOF
4740 #line 4741 "configure
"
4741 #include "confdefs.h
"
4744 mbstate_t teststate;
4747 if { (eval echo configure:4748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4751 echo "configure
: failed program was
:" >&5
4752 cat conftest.$ac_ext >&5
4757 echo "$ac_t""$have_mbstate_t" 1>&6
4758 if test x"$have_mbstate_t" = xyes; then
4759 cat >> confdefs.h <<\EOF
4760 #define HAVE_MBSTATE_T 1
4765 for ac_hdr in wchar.h
4767 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4768 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4769 echo "configure
:4770: checking
for $ac_hdr" >&5
4770 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4771 echo $ac_n "(cached
) $ac_c" 1>&6
4773 cat > conftest.$ac_ext <<EOF
4774 #line 4775 "configure
"
4775 #include "confdefs.h
"
4778 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4779 { (eval echo configure:4780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4781 if test -z "$ac_err"; then
4783 eval "ac_cv_header_
$ac_safe=yes"
4786 echo "configure
: failed program was
:" >&5
4787 cat conftest.$ac_ext >&5
4789 eval "ac_cv_header_
$ac_safe=no
"
4793 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4794 echo "$ac_t""yes" 1>&6
4795 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4796 cat >> confdefs.h <<EOF
4797 #define $ac_tr_hdr 1
4801 echo "$ac_t""no
" 1>&6
4806 for ac_hdr in wctype.h
4808 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
4809 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
4810 echo "configure
:4811: checking
for $ac_hdr" >&5
4811 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
4812 echo $ac_n "(cached
) $ac_c" 1>&6
4814 cat > conftest.$ac_ext <<EOF
4815 #line 4816 "configure
"
4816 #include "confdefs.h
"
4819 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
4820 { (eval echo configure:4821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
4822 if test -z "$ac_err"; then
4824 eval "ac_cv_header_
$ac_safe=yes"
4827 echo "configure
: failed program was
:" >&5
4828 cat conftest.$ac_ext >&5
4830 eval "ac_cv_header_
$ac_safe=no
"
4834 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
4835 echo "$ac_t""yes" 1>&6
4836 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
4837 cat >> confdefs.h <<EOF
4838 #define $ac_tr_hdr 1
4842 echo "$ac_t""no
" 1>&6
4848 if test x"$ac_has_wchar_h" = xyes &&
4849 test x"$ac_has_wctype_h" = xyes &&
4850 test x"$enable_c_mbchar" != xno; then
4852 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
4853 echo "configure
:4854: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
4854 cat > conftest.$ac_ext <<EOF
4855 #line 4856 "configure
"
4856 #include "confdefs.h
"
4859 int i = WCHAR_MIN; int j = WCHAR_MAX;
4862 if { (eval echo configure:4863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4864 has_wchar_minmax=yes
4866 echo "configure
: failed program was
:" >&5
4867 cat conftest.$ac_ext >&5
4872 echo "$ac_t""$has_wchar_minmax" 1>&6
4874 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
4875 echo "configure
:4876: checking
for WEOF
" >&5
4876 cat > conftest.$ac_ext <<EOF
4877 #line 4878 "configure
"
4878 #include "confdefs.h
"
4886 if { (eval echo configure:4887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4890 echo "configure
: failed program was
:" >&5
4891 cat conftest.$ac_ext >&5
4896 echo "$ac_t""$has_weof" 1>&6
4899 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
4901 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4902 echo "configure
:4903: checking
for $ac_func" >&5
4903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4904 echo $ac_n "(cached
) $ac_c" 1>&6
4906 cat > conftest.$ac_ext <<EOF
4907 #line 4908 "configure
"
4908 #include "confdefs.h
"
4909 /* System header to define __stub macros and hopefully few prototypes,
4910 which can conflict with char $ac_func(); below. */
4912 /* Override any gcc2 internal prototype to avoid an error. */
4913 /* We use char because int might match the return type of a gcc2
4914 builtin and then its argument prototype would still apply. */
4919 /* The GNU C library defines this for functions which it implements
4920 to always fail with ENOSYS. Some functions are actually named
4921 something starting with __ and the normal name is an alias. */
4922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4930 if { (eval echo configure:4931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4932 eval "ac_cv_func_
$ac_func=yes"
4934 echo "configure
: failed program was
:" >&5
4935 cat conftest.$ac_ext >&5
4937 eval "ac_cv_func_
$ac_func=no
"
4942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4943 echo "$ac_t""yes" 1>&6
4944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4945 cat >> confdefs.h <<EOF
4946 #define $ac_tr_func 1
4950 echo "$ac_t""no
" 1>&6
4957 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
4958 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
4959 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
4960 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
4961 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
4962 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
4964 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
4965 echo "configure
:4966: checking
for $ac_func" >&5
4966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4967 echo $ac_n "(cached
) $ac_c" 1>&6
4969 cat > conftest.$ac_ext <<EOF
4970 #line 4971 "configure
"
4971 #include "confdefs.h
"
4972 /* System header to define __stub macros and hopefully few prototypes,
4973 which can conflict with char $ac_func(); below. */
4975 /* Override any gcc2 internal prototype to avoid an error. */
4976 /* We use char because int might match the return type of a gcc2
4977 builtin and then its argument prototype would still apply. */
4982 /* The GNU C library defines this for functions which it implements
4983 to always fail with ENOSYS. Some functions are actually named
4984 something starting with __ and the normal name is an alias. */
4985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4993 if { (eval echo configure:4994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
4995 eval "ac_cv_func_
$ac_func=yes"
4997 echo "configure
: failed program was
:" >&5
4998 cat conftest.$ac_ext >&5
5000 eval "ac_cv_func_
$ac_func=no
"
5005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5006 echo "$ac_t""yes" 1>&6
5007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5008 cat >> confdefs.h <<EOF
5009 #define $ac_tr_func 1
5013 echo "$ac_t""no
" 1>&6
5020 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
5021 echo "configure
:5022: checking
for ISO C99 wchar_t support
" >&5
5022 if test x"$has_weof" = xyes &&
5023 test x"$has_wchar_minmax" = xyes &&
5024 test x"$ac_wfuncs" = xyes; then
5025 ac_isoC99_wchar_t=yes
5027 ac_isoC99_wchar_t=no
5029 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
5031 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
5032 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
5033 echo "configure
:5034: checking
for iconv.h
" >&5
5034 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5035 echo $ac_n "(cached
) $ac_c" 1>&6
5037 cat > conftest.$ac_ext <<EOF
5038 #line 5039 "configure
"
5039 #include "confdefs.h
"
5042 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5043 { (eval echo configure:5044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5045 if test -z "$ac_err"; then
5047 eval "ac_cv_header_
$ac_safe=yes"
5050 echo "configure
: failed program was
:" >&5
5051 cat conftest.$ac_ext >&5
5053 eval "ac_cv_header_
$ac_safe=no
"
5057 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5058 echo "$ac_t""yes" 1>&6
5061 echo "$ac_t""no
" 1>&6
5065 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
5066 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
5067 echo "configure
:5068: checking
for langinfo.h
" >&5
5068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5069 echo $ac_n "(cached
) $ac_c" 1>&6
5071 cat > conftest.$ac_ext <<EOF
5072 #line 5073 "configure
"
5073 #include "confdefs.h
"
5074 #include <langinfo.h>
5076 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5077 { (eval echo configure:5078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5079 if test -z "$ac_err"; then
5081 eval "ac_cv_header_
$ac_safe=yes"
5084 echo "configure
: failed program was
:" >&5
5085 cat conftest.$ac_ext >&5
5087 eval "ac_cv_header_
$ac_safe=no
"
5091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5092 echo "$ac_t""yes" 1>&6
5093 ac_has_langinfo_h=yes
5095 echo "$ac_t""no
" 1>&6
5096 ac_has_langinfo_h=no
5100 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
5101 echo "configure
:5102: checking
for iconv in -liconv" >&5
5102 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
5103 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5104 echo $ac_n "(cached
) $ac_c" 1>&6
5106 ac_save_LIBS="$LIBS"
5107 LIBS="-liconv $LIBS"
5108 cat > conftest.$ac_ext <<EOF
5109 #line 5110 "configure
"
5110 #include "confdefs.h
"
5111 /* Override any gcc2 internal prototype to avoid an error. */
5112 /* We use char because int might match the return type of a gcc2
5113 builtin and then its argument prototype would still apply. */
5120 if { (eval echo configure:5121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5122 eval "ac_cv_lib_
$ac_lib_var=yes"
5124 echo "configure
: failed program was
:" >&5
5125 cat conftest.$ac_ext >&5
5127 eval "ac_cv_lib_
$ac_lib_var=no
"
5130 LIBS="$ac_save_LIBS"
5133 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5134 echo "$ac_t""yes" 1>&6
5137 echo "$ac_t""no
" 1>&6
5140 ac_save_LIBS="$LIBS"
5141 LIBS="$LIBS $libiconv"
5143 for ac_func in iconv_open iconv_close iconv nl_langinfo
5145 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5146 echo "configure
:5147: checking
for $ac_func" >&5
5147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5148 echo $ac_n "(cached
) $ac_c" 1>&6
5150 cat > conftest.$ac_ext <<EOF
5151 #line 5152 "configure
"
5152 #include "confdefs.h
"
5153 /* System header to define __stub macros and hopefully few prototypes,
5154 which can conflict with char $ac_func(); below. */
5156 /* Override any gcc2 internal prototype to avoid an error. */
5157 /* We use char because int might match the return type of a gcc2
5158 builtin and then its argument prototype would still apply. */
5163 /* The GNU C library defines this for functions which it implements
5164 to always fail with ENOSYS. Some functions are actually named
5165 something starting with __ and the normal name is an alias. */
5166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5174 if { (eval echo configure:5175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5176 eval "ac_cv_func_
$ac_func=yes"
5178 echo "configure
: failed program was
:" >&5
5179 cat conftest.$ac_ext >&5
5181 eval "ac_cv_func_
$ac_func=no
"
5186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5187 echo "$ac_t""yes" 1>&6
5188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5189 cat >> confdefs.h <<EOF
5190 #define $ac_tr_func 1
5195 echo "$ac_t""no
" 1>&6
5201 LIBS="$ac_save_LIBS"
5203 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
5204 echo "configure
:5205: checking
for XPG2 wchar_t support
" >&5
5205 if test x"$ac_has_iconv_h" = xyes &&
5206 test x"$ac_has_langinfo_h" = xyes &&
5207 test x"$ac_XPG2funcs" = xyes; then
5212 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
5214 if test x"$ac_isoC99_wchar_t" = xyes &&
5215 test x"$ac_XPG2_wchar_t" = xyes; then
5216 cat >> confdefs.h <<\EOF
5217 #define _GLIBCPP_USE_WCHAR_T 1
5223 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
5224 echo "configure
:5225: checking
for enabled wchar_t specializations
" >&5
5225 echo "$ac_t""$enable_wchar_t" 1>&6
5228 if test "$enable_wchar_t" = yes; then
5229 GLIBCPP_TEST_WCHAR_T_TRUE=
5230 GLIBCPP_TEST_WCHAR_T_FALSE='#'
5232 GLIBCPP_TEST_WCHAR_T_TRUE='#'
5233 GLIBCPP_TEST_WCHAR_T_FALSE=
5236 cat >> confdefs.h <<\EOF
5237 #define HAVE_COPYSIGN 1
5240 cat >> confdefs.h <<\EOF
5241 #define HAVE_COPYSIGNF 1
5244 cat >> confdefs.h <<\EOF
5245 #define HAVE_FINITE 1
5248 cat >> confdefs.h <<\EOF
5249 #define HAVE_FINITEF 1
5252 cat >> confdefs.h <<\EOF
5253 #define HAVE_FREXPF 1
5256 cat >> confdefs.h <<\EOF
5257 #define HAVE_HYPOTF 1
5260 cat >> confdefs.h <<\EOF
5261 #define HAVE_ISINF 1
5264 cat >> confdefs.h <<\EOF
5265 #define HAVE_ISINFF 1
5268 cat >> confdefs.h <<\EOF
5269 #define HAVE_ISNAN 1
5272 cat >> confdefs.h <<\EOF
5273 #define HAVE_ISNANF 1
5276 cat >> confdefs.h <<\EOF
5277 #define HAVE_SINCOS 1
5280 cat >> confdefs.h <<\EOF
5281 #define HAVE_SINCOSF 1
5284 if test x"long_double_math_on_this_cpu
" = x"yes"; then
5285 cat >> confdefs.h <<\EOF
5286 #define HAVE_FINITEL 1
5289 cat >> confdefs.h <<\EOF
5290 #define HAVE_HYPOTL 1
5293 cat >> confdefs.h <<\EOF
5294 #define HAVE_ISINFL 1
5297 cat >> confdefs.h <<\EOF
5298 #define HAVE_ISNANL 1
5304 # Check for available headers.
5305 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
5306 machine/endian.h machine/param.h sys/machine.h sys/types.h \
5307 fp.h locale.h float.h inttypes.h
5309 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5310 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5311 echo "configure
:5312: checking
for $ac_hdr" >&5
5312 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5313 echo $ac_n "(cached
) $ac_c" 1>&6
5315 cat > conftest.$ac_ext <<EOF
5316 #line 5317 "configure
"
5317 #include "confdefs.h
"
5320 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5321 { (eval echo configure:5322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5322 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5323 if test -z "$ac_err"; then
5325 eval "ac_cv_header_
$ac_safe=yes"
5328 echo "configure
: failed program was
:" >&5
5329 cat conftest.$ac_ext >&5
5331 eval "ac_cv_header_
$ac_safe=no
"
5335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5336 echo "$ac_t""yes" 1>&6
5337 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5338 cat >> confdefs.h <<EOF
5339 #define $ac_tr_hdr 1
5343 echo "$ac_t""no
" 1>&6
5347 SECTION_FLAGS='-ffunction-sections -fdata-sections'
5350 # If we're not using GNU ld, then there's no point in even trying these
5351 # tests. Check for that first. We should have already tested for gld
5352 # by now (in libtool), but require it now just to be safe...
5353 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
5354 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
5357 # The name set by libtool depends on the version of libtool. Shame on us
5358 # for depending on an impl detail, but c'est la vie. Older versions used
5359 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
5360 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
5361 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
5362 # set (hence we're using an older libtool), then set it.
5363 if test x${with_gnu_ld+set} != xset; then
5364 if test x${ac_cv_prog_gnu_ld+set} != xset; then
5365 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
5368 with_gnu_ld=$ac_cv_prog_gnu_ld
5372 # Start by getting the version number. I think the libtool test already
5373 # does some of this, but throws away the result.
5375 ldver=`$LD --version 2>/dev/null | head -1 | \
5376 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
5378 glibcpp_gnu_ld_version=`echo $ldver | \
5379 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
5381 # Set --gc-sections.
5382 if test "$with_gnu_ld" = "notbroken
"; then
5383 # GNU ld it is! Joy and bunny rabbits!
5385 # All these tests are for C++; save the language and the compiler flags.
5386 # Need to do this so that g++ won't try to link in libstdc++
5387 ac_test_CFLAGS="${CFLAGS+set}"
5388 ac_save_CFLAGS="$CFLAGS"
5389 CFLAGS='-x c++ -Wl,--gc-sections'
5391 # Check for -Wl,--gc-sections
5392 # XXX This test is broken at the moment, as symbols required for
5393 # linking are now in libsupc++ (not built yet.....). In addition,
5394 # this test has cored on solaris in the past. In addition,
5395 # --gc-sections doesn't really work at the moment (keeps on discarding
5396 # used sections, first .eh_frame and now some of the glibc sections for
5397 # iconv). Bzzzzt. Thanks for playing, maybe next time.
5398 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
5399 echo "configure
:5400: checking
for ld that supports
-Wl,--gc-sections" >&5
5400 if test "$cross_compiling" = yes; then
5401 ac_sectionLDflags=yes
5403 cat > conftest.$ac_ext <<EOF
5404 #line 5405 "configure
"
5405 #include "confdefs.h
"
5415 if { (eval echo configure:5416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
5417 ac_sectionLDflags=yes
5419 echo "configure
: failed program was
:" >&5
5420 cat conftest.$ac_ext >&5
5422 ac_sectionLDflags=no
5427 if test "$ac_test_CFLAGS" = set; then
5428 CFLAGS="$ac_save_CFLAGS"
5430 # this is the suspicious part
5433 if test "$ac_sectionLDflags" = "yes"; then
5434 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
5436 echo "$ac_t""$ac_sectionLDflags" 1>&6
5439 # Set linker optimization flags.
5440 if test x"$with_gnu_ld" = x"yes"; then
5441 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
5448 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
5449 echo "configure
:5450: checking
for main
in -lm" >&5
5450 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
5451 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5452 echo $ac_n "(cached
) $ac_c" 1>&6
5454 ac_save_LIBS="$LIBS"
5456 cat > conftest.$ac_ext <<EOF
5457 #line 5458 "configure
"
5458 #include "confdefs.h
"
5464 if { (eval echo configure:5465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5466 eval "ac_cv_lib_
$ac_lib_var=yes"
5468 echo "configure
: failed program was
:" >&5
5469 cat conftest.$ac_ext >&5
5471 eval "ac_cv_lib_
$ac_lib_var=no
"
5474 LIBS="$ac_save_LIBS"
5477 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5478 echo "$ac_t""yes" 1>&6
5479 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5480 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5481 cat >> confdefs.h <<EOF
5482 #define $ac_tr_lib 1
5488 echo "$ac_t""no
" 1>&6
5491 for ac_func in nan copysignf
5493 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5494 echo "configure
:5495: checking
for $ac_func" >&5
5495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5496 echo $ac_n "(cached
) $ac_c" 1>&6
5498 cat > conftest.$ac_ext <<EOF
5499 #line 5500 "configure
"
5500 #include "confdefs.h
"
5501 /* System header to define __stub macros and hopefully few prototypes,
5502 which can conflict with char $ac_func(); below. */
5504 /* Override any gcc2 internal prototype to avoid an error. */
5505 /* We use char because int might match the return type of a gcc2
5506 builtin and then its argument prototype would still apply. */
5511 /* The GNU C library defines this for functions which it implements
5512 to always fail with ENOSYS. Some functions are actually named
5513 something starting with __ and the normal name is an alias. */
5514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5522 if { (eval echo configure:5523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5524 eval "ac_cv_func_
$ac_func=yes"
5526 echo "configure
: failed program was
:" >&5
5527 cat conftest.$ac_ext >&5
5529 eval "ac_cv_func_
$ac_func=no
"
5534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5535 echo "$ac_t""yes" 1>&6
5536 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5537 cat >> confdefs.h <<EOF
5538 #define $ac_tr_func 1
5542 echo "$ac_t""no
" 1>&6
5543 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
5548 for ac_func in __signbit
5550 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5551 echo "configure
:5552: checking
for $ac_func" >&5
5552 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5553 echo $ac_n "(cached
) $ac_c" 1>&6
5555 cat > conftest.$ac_ext <<EOF
5556 #line 5557 "configure
"
5557 #include "confdefs.h
"
5558 /* System header to define __stub macros and hopefully few prototypes,
5559 which can conflict with char $ac_func(); below. */
5561 /* Override any gcc2 internal prototype to avoid an error. */
5562 /* We use char because int might match the return type of a gcc2
5563 builtin and then its argument prototype would still apply. */
5568 /* The GNU C library defines this for functions which it implements
5569 to always fail with ENOSYS. Some functions are actually named
5570 something starting with __ and the normal name is an alias. */
5571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5579 if { (eval echo configure:5580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5581 eval "ac_cv_func_
$ac_func=yes"
5583 echo "configure
: failed program was
:" >&5
5584 cat conftest.$ac_ext >&5
5586 eval "ac_cv_func_
$ac_func=no
"
5591 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5592 echo "$ac_t""yes" 1>&6
5593 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5594 cat >> confdefs.h <<EOF
5595 #define $ac_tr_func 1
5599 echo "$ac_t""no
" 1>&6
5600 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
5604 for ac_func in __signbitf
5606 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5607 echo "configure
:5608: checking
for $ac_func" >&5
5608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5609 echo $ac_n "(cached
) $ac_c" 1>&6
5611 cat > conftest.$ac_ext <<EOF
5612 #line 5613 "configure
"
5613 #include "confdefs.h
"
5614 /* System header to define __stub macros and hopefully few prototypes,
5615 which can conflict with char $ac_func(); below. */
5617 /* Override any gcc2 internal prototype to avoid an error. */
5618 /* We use char because int might match the return type of a gcc2
5619 builtin and then its argument prototype would still apply. */
5624 /* The GNU C library defines this for functions which it implements
5625 to always fail with ENOSYS. Some functions are actually named
5626 something starting with __ and the normal name is an alias. */
5627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5635 if { (eval echo configure:5636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5637 eval "ac_cv_func_
$ac_func=yes"
5639 echo "configure
: failed program was
:" >&5
5640 cat conftest.$ac_ext >&5
5642 eval "ac_cv_func_
$ac_func=no
"
5647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5648 echo "$ac_t""yes" 1>&6
5649 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5650 cat >> confdefs.h <<EOF
5651 #define $ac_tr_func 1
5655 echo "$ac_t""no
" 1>&6
5656 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
5661 if test x$ac_cv_func_copysignl = x"yes"; then
5662 for ac_func in __signbitl
5664 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5665 echo "configure
:5666: checking
for $ac_func" >&5
5666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5667 echo $ac_n "(cached
) $ac_c" 1>&6
5669 cat > conftest.$ac_ext <<EOF
5670 #line 5671 "configure
"
5671 #include "confdefs.h
"
5672 /* System header to define __stub macros and hopefully few prototypes,
5673 which can conflict with char $ac_func(); below. */
5675 /* Override any gcc2 internal prototype to avoid an error. */
5676 /* We use char because int might match the return type of a gcc2
5677 builtin and then its argument prototype would still apply. */
5682 /* The GNU C library defines this for functions which it implements
5683 to always fail with ENOSYS. Some functions are actually named
5684 something starting with __ and the normal name is an alias. */
5685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5693 if { (eval echo configure:5694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5695 eval "ac_cv_func_
$ac_func=yes"
5697 echo "configure
: failed program was
:" >&5
5698 cat conftest.$ac_ext >&5
5700 eval "ac_cv_func_
$ac_func=no
"
5705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5706 echo "$ac_t""yes" 1>&6
5707 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5708 cat >> confdefs.h <<EOF
5709 #define $ac_tr_func 1
5713 echo "$ac_t""no
" 1>&6
5714 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
5720 if test -n "$LIBMATHOBJS"; then
5726 if test "$need_libmath" = yes; then
5727 GLIBCPP_BUILD_LIBMATH_TRUE=
5728 GLIBCPP_BUILD_LIBMATH_FALSE='#'
5730 GLIBCPP_BUILD_LIBMATH_TRUE='#'
5731 GLIBCPP_BUILD_LIBMATH_FALSE=
5737 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
5738 echo "configure
:5739: checking
for mbstate_t
" >&5
5739 cat > conftest.$ac_ext <<EOF
5740 #line 5741 "configure
"
5741 #include "confdefs.h
"
5744 mbstate_t teststate;
5747 if { (eval echo configure:5748: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5751 echo "configure
: failed program was
:" >&5
5752 cat conftest.$ac_ext >&5
5757 echo "$ac_t""$have_mbstate_t" 1>&6
5758 if test x"$have_mbstate_t" = xyes; then
5759 cat >> confdefs.h <<\EOF
5760 #define HAVE_MBSTATE_T 1
5765 for ac_hdr in wchar.h
5767 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5768 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5769 echo "configure
:5770: checking
for $ac_hdr" >&5
5770 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5771 echo $ac_n "(cached
) $ac_c" 1>&6
5773 cat > conftest.$ac_ext <<EOF
5774 #line 5775 "configure
"
5775 #include "confdefs.h
"
5778 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5779 { (eval echo configure:5780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5780 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5781 if test -z "$ac_err"; then
5783 eval "ac_cv_header_
$ac_safe=yes"
5786 echo "configure
: failed program was
:" >&5
5787 cat conftest.$ac_ext >&5
5789 eval "ac_cv_header_
$ac_safe=no
"
5793 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5794 echo "$ac_t""yes" 1>&6
5795 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5796 cat >> confdefs.h <<EOF
5797 #define $ac_tr_hdr 1
5801 echo "$ac_t""no
" 1>&6
5806 for ac_hdr in wctype.h
5808 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
5809 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
5810 echo "configure
:5811: checking
for $ac_hdr" >&5
5811 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
5812 echo $ac_n "(cached
) $ac_c" 1>&6
5814 cat > conftest.$ac_ext <<EOF
5815 #line 5816 "configure
"
5816 #include "confdefs.h
"
5819 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
5820 { (eval echo configure:5821: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5821 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
5822 if test -z "$ac_err"; then
5824 eval "ac_cv_header_
$ac_safe=yes"
5827 echo "configure
: failed program was
:" >&5
5828 cat conftest.$ac_ext >&5
5830 eval "ac_cv_header_
$ac_safe=no
"
5834 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
5835 echo "$ac_t""yes" 1>&6
5836 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
5837 cat >> confdefs.h <<EOF
5838 #define $ac_tr_hdr 1
5842 echo "$ac_t""no
" 1>&6
5848 if test x"$ac_has_wchar_h" = xyes &&
5849 test x"$ac_has_wctype_h" = xyes &&
5850 test x"$enable_c_mbchar" != xno; then
5852 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
5853 echo "configure
:5854: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
5854 cat > conftest.$ac_ext <<EOF
5855 #line 5856 "configure
"
5856 #include "confdefs.h
"
5859 int i = WCHAR_MIN; int j = WCHAR_MAX;
5862 if { (eval echo configure:5863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5864 has_wchar_minmax=yes
5866 echo "configure
: failed program was
:" >&5
5867 cat conftest.$ac_ext >&5
5872 echo "$ac_t""$has_wchar_minmax" 1>&6
5874 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
5875 echo "configure
:5876: checking
for WEOF
" >&5
5876 cat > conftest.$ac_ext <<EOF
5877 #line 5878 "configure
"
5878 #include "confdefs.h
"
5886 if { (eval echo configure:5887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5890 echo "configure
: failed program was
:" >&5
5891 cat conftest.$ac_ext >&5
5896 echo "$ac_t""$has_weof" 1>&6
5899 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
5901 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5902 echo "configure
:5903: checking
for $ac_func" >&5
5903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5904 echo $ac_n "(cached
) $ac_c" 1>&6
5906 cat > conftest.$ac_ext <<EOF
5907 #line 5908 "configure
"
5908 #include "confdefs.h
"
5909 /* System header to define __stub macros and hopefully few prototypes,
5910 which can conflict with char $ac_func(); below. */
5912 /* Override any gcc2 internal prototype to avoid an error. */
5913 /* We use char because int might match the return type of a gcc2
5914 builtin and then its argument prototype would still apply. */
5919 /* The GNU C library defines this for functions which it implements
5920 to always fail with ENOSYS. Some functions are actually named
5921 something starting with __ and the normal name is an alias. */
5922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5930 if { (eval echo configure:5931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5932 eval "ac_cv_func_
$ac_func=yes"
5934 echo "configure
: failed program was
:" >&5
5935 cat conftest.$ac_ext >&5
5937 eval "ac_cv_func_
$ac_func=no
"
5942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5943 echo "$ac_t""yes" 1>&6
5944 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
5945 cat >> confdefs.h <<EOF
5946 #define $ac_tr_func 1
5950 echo "$ac_t""no
" 1>&6
5957 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
5958 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
5959 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
5960 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
5961 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
5962 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
5964 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
5965 echo "configure
:5966: checking
for $ac_func" >&5
5966 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5967 echo $ac_n "(cached
) $ac_c" 1>&6
5969 cat > conftest.$ac_ext <<EOF
5970 #line 5971 "configure
"
5971 #include "confdefs.h
"
5972 /* System header to define __stub macros and hopefully few prototypes,
5973 which can conflict with char $ac_func(); below. */
5975 /* Override any gcc2 internal prototype to avoid an error. */
5976 /* We use char because int might match the return type of a gcc2
5977 builtin and then its argument prototype would still apply. */
5982 /* The GNU C library defines this for functions which it implements
5983 to always fail with ENOSYS. Some functions are actually named
5984 something starting with __ and the normal name is an alias. */
5985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5993 if { (eval echo configure:5994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
5995 eval "ac_cv_func_
$ac_func=yes"
5997 echo "configure
: failed program was
:" >&5
5998 cat conftest.$ac_ext >&5
6000 eval "ac_cv_func_
$ac_func=no
"
6005 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6006 echo "$ac_t""yes" 1>&6
6007 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6008 cat >> confdefs.h <<EOF
6009 #define $ac_tr_func 1
6013 echo "$ac_t""no
" 1>&6
6020 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
6021 echo "configure
:6022: checking
for ISO C99 wchar_t support
" >&5
6022 if test x"$has_weof" = xyes &&
6023 test x"$has_wchar_minmax" = xyes &&
6024 test x"$ac_wfuncs" = xyes; then
6025 ac_isoC99_wchar_t=yes
6027 ac_isoC99_wchar_t=no
6029 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
6031 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
6032 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
6033 echo "configure
:6034: checking
for iconv.h
" >&5
6034 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6035 echo $ac_n "(cached
) $ac_c" 1>&6
6037 cat > conftest.$ac_ext <<EOF
6038 #line 6039 "configure
"
6039 #include "confdefs.h
"
6042 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6043 { (eval echo configure:6044: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6044 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6045 if test -z "$ac_err"; then
6047 eval "ac_cv_header_
$ac_safe=yes"
6050 echo "configure
: failed program was
:" >&5
6051 cat conftest.$ac_ext >&5
6053 eval "ac_cv_header_
$ac_safe=no
"
6057 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6058 echo "$ac_t""yes" 1>&6
6061 echo "$ac_t""no
" 1>&6
6065 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
6066 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
6067 echo "configure
:6068: checking
for langinfo.h
" >&5
6068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6069 echo $ac_n "(cached
) $ac_c" 1>&6
6071 cat > conftest.$ac_ext <<EOF
6072 #line 6073 "configure
"
6073 #include "confdefs.h
"
6074 #include <langinfo.h>
6076 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6077 { (eval echo configure:6078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6078 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6079 if test -z "$ac_err"; then
6081 eval "ac_cv_header_
$ac_safe=yes"
6084 echo "configure
: failed program was
:" >&5
6085 cat conftest.$ac_ext >&5
6087 eval "ac_cv_header_
$ac_safe=no
"
6091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6092 echo "$ac_t""yes" 1>&6
6093 ac_has_langinfo_h=yes
6095 echo "$ac_t""no
" 1>&6
6096 ac_has_langinfo_h=no
6100 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
6101 echo "configure
:6102: checking
for iconv in -liconv" >&5
6102 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
6103 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6104 echo $ac_n "(cached
) $ac_c" 1>&6
6106 ac_save_LIBS="$LIBS"
6107 LIBS="-liconv $LIBS"
6108 cat > conftest.$ac_ext <<EOF
6109 #line 6110 "configure
"
6110 #include "confdefs.h
"
6111 /* Override any gcc2 internal prototype to avoid an error. */
6112 /* We use char because int might match the return type of a gcc2
6113 builtin and then its argument prototype would still apply. */
6120 if { (eval echo configure:6121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6122 eval "ac_cv_lib_
$ac_lib_var=yes"
6124 echo "configure
: failed program was
:" >&5
6125 cat conftest.$ac_ext >&5
6127 eval "ac_cv_lib_
$ac_lib_var=no
"
6130 LIBS="$ac_save_LIBS"
6133 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6134 echo "$ac_t""yes" 1>&6
6137 echo "$ac_t""no
" 1>&6
6140 ac_save_LIBS="$LIBS"
6141 LIBS="$LIBS $libiconv"
6143 for ac_func in iconv_open iconv_close iconv nl_langinfo
6145 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6146 echo "configure
:6147: checking
for $ac_func" >&5
6147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6148 echo $ac_n "(cached
) $ac_c" 1>&6
6150 cat > conftest.$ac_ext <<EOF
6151 #line 6152 "configure
"
6152 #include "confdefs.h
"
6153 /* System header to define __stub macros and hopefully few prototypes,
6154 which can conflict with char $ac_func(); below. */
6156 /* Override any gcc2 internal prototype to avoid an error. */
6157 /* We use char because int might match the return type of a gcc2
6158 builtin and then its argument prototype would still apply. */
6163 /* The GNU C library defines this for functions which it implements
6164 to always fail with ENOSYS. Some functions are actually named
6165 something starting with __ and the normal name is an alias. */
6166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6174 if { (eval echo configure:6175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6176 eval "ac_cv_func_
$ac_func=yes"
6178 echo "configure
: failed program was
:" >&5
6179 cat conftest.$ac_ext >&5
6181 eval "ac_cv_func_
$ac_func=no
"
6186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6187 echo "$ac_t""yes" 1>&6
6188 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6189 cat >> confdefs.h <<EOF
6190 #define $ac_tr_func 1
6195 echo "$ac_t""no
" 1>&6
6201 LIBS="$ac_save_LIBS"
6203 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
6204 echo "configure
:6205: checking
for XPG2 wchar_t support
" >&5
6205 if test x"$ac_has_iconv_h" = xyes &&
6206 test x"$ac_has_langinfo_h" = xyes &&
6207 test x"$ac_XPG2funcs" = xyes; then
6212 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
6214 if test x"$ac_isoC99_wchar_t" = xyes &&
6215 test x"$ac_XPG2_wchar_t" = xyes; then
6216 cat >> confdefs.h <<\EOF
6217 #define _GLIBCPP_USE_WCHAR_T 1
6223 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
6224 echo "configure
:6225: checking
for enabled wchar_t specializations
" >&5
6225 echo "$ac_t""$enable_wchar_t" 1>&6
6228 if test "$enable_wchar_t" = yes; then
6229 GLIBCPP_TEST_WCHAR_T_TRUE=
6230 GLIBCPP_TEST_WCHAR_T_FALSE='#'
6232 GLIBCPP_TEST_WCHAR_T_TRUE='#'
6233 GLIBCPP_TEST_WCHAR_T_FALSE=
6236 os_include_dir="os
/hpux
"
6237 cat >> confdefs.h <<\EOF
6238 #define HAVE_COPYSIGN 1
6241 cat >> confdefs.h <<\EOF
6242 #define HAVE_COPYSIGNF 1
6245 cat >> confdefs.h <<\EOF
6246 #define HAVE_FREXPF 1
6249 cat >> confdefs.h <<\EOF
6250 #define HAVE_HYPOT 1
6255 cat >> confdefs.h <<\EOF
6256 #define HAVE_FINITE 1
6259 cat >> confdefs.h <<\EOF
6260 #define HAVE_FINITEF 1
6263 cat >> confdefs.h <<\EOF
6264 #define HAVE_ISINF 1
6267 cat >> confdefs.h <<\EOF
6268 #define HAVE_ISINFF 1
6271 cat >> confdefs.h <<\EOF
6272 #define HAVE_ISNAN 1
6275 cat >> confdefs.h <<\EOF
6276 #define HAVE_ISNANF 1
6284 # Check for available headers.
6285 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
6286 machine/endian.h machine/param.h sys/machine.h sys/types.h \
6287 fp.h locale.h float.h inttypes.h
6289 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6290 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6291 echo "configure
:6292: checking
for $ac_hdr" >&5
6292 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6293 echo $ac_n "(cached
) $ac_c" 1>&6
6295 cat > conftest.$ac_ext <<EOF
6296 #line 6297 "configure
"
6297 #include "confdefs.h
"
6300 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6301 { (eval echo configure:6302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6302 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6303 if test -z "$ac_err"; then
6305 eval "ac_cv_header_
$ac_safe=yes"
6308 echo "configure
: failed program was
:" >&5
6309 cat conftest.$ac_ext >&5
6311 eval "ac_cv_header_
$ac_safe=no
"
6315 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6316 echo "$ac_t""yes" 1>&6
6317 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6318 cat >> confdefs.h <<EOF
6319 #define $ac_tr_hdr 1
6323 echo "$ac_t""no
" 1>&6
6327 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6330 # If we're not using GNU ld, then there's no point in even trying these
6331 # tests. Check for that first. We should have already tested for gld
6332 # by now (in libtool), but require it now just to be safe...
6333 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
6334 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
6337 # The name set by libtool depends on the version of libtool. Shame on us
6338 # for depending on an impl detail, but c'est la vie. Older versions used
6339 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
6340 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
6341 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
6342 # set (hence we're using an older libtool), then set it.
6343 if test x${with_gnu_ld+set} != xset; then
6344 if test x${ac_cv_prog_gnu_ld+set} != xset; then
6345 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
6348 with_gnu_ld=$ac_cv_prog_gnu_ld
6352 # Start by getting the version number. I think the libtool test already
6353 # does some of this, but throws away the result.
6355 ldver=`$LD --version 2>/dev/null | head -1 | \
6356 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
6358 glibcpp_gnu_ld_version=`echo $ldver | \
6359 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
6361 # Set --gc-sections.
6362 if test "$with_gnu_ld" = "notbroken
"; then
6363 # GNU ld it is! Joy and bunny rabbits!
6365 # All these tests are for C++; save the language and the compiler flags.
6366 # Need to do this so that g++ won't try to link in libstdc++
6367 ac_test_CFLAGS="${CFLAGS+set}"
6368 ac_save_CFLAGS="$CFLAGS"
6369 CFLAGS='-x c++ -Wl,--gc-sections'
6371 # Check for -Wl,--gc-sections
6372 # XXX This test is broken at the moment, as symbols required for
6373 # linking are now in libsupc++ (not built yet.....). In addition,
6374 # this test has cored on solaris in the past. In addition,
6375 # --gc-sections doesn't really work at the moment (keeps on discarding
6376 # used sections, first .eh_frame and now some of the glibc sections for
6377 # iconv). Bzzzzt. Thanks for playing, maybe next time.
6378 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
6379 echo "configure
:6380: checking
for ld that supports
-Wl,--gc-sections" >&5
6380 if test "$cross_compiling" = yes; then
6381 ac_sectionLDflags=yes
6383 cat > conftest.$ac_ext <<EOF
6384 #line 6385 "configure
"
6385 #include "confdefs.h
"
6395 if { (eval echo configure:6396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
6397 ac_sectionLDflags=yes
6399 echo "configure
: failed program was
:" >&5
6400 cat conftest.$ac_ext >&5
6402 ac_sectionLDflags=no
6407 if test "$ac_test_CFLAGS" = set; then
6408 CFLAGS="$ac_save_CFLAGS"
6410 # this is the suspicious part
6413 if test "$ac_sectionLDflags" = "yes"; then
6414 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
6416 echo "$ac_t""$ac_sectionLDflags" 1>&6
6419 # Set linker optimization flags.
6420 if test x"$with_gnu_ld" = x"yes"; then
6421 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
6428 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
6429 echo "configure
:6430: checking
for main
in -lm" >&5
6430 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
6431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6432 echo $ac_n "(cached
) $ac_c" 1>&6
6434 ac_save_LIBS="$LIBS"
6436 cat > conftest.$ac_ext <<EOF
6437 #line 6438 "configure
"
6438 #include "confdefs.h
"
6444 if { (eval echo configure:6445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6446 eval "ac_cv_lib_
$ac_lib_var=yes"
6448 echo "configure
: failed program was
:" >&5
6449 cat conftest.$ac_ext >&5
6451 eval "ac_cv_lib_
$ac_lib_var=no
"
6454 LIBS="$ac_save_LIBS"
6457 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6458 echo "$ac_t""yes" 1>&6
6459 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6460 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6461 cat >> confdefs.h <<EOF
6462 #define $ac_tr_lib 1
6468 echo "$ac_t""no
" 1>&6
6471 for ac_func in nan copysignf
6473 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6474 echo "configure
:6475: checking
for $ac_func" >&5
6475 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6476 echo $ac_n "(cached
) $ac_c" 1>&6
6478 cat > conftest.$ac_ext <<EOF
6479 #line 6480 "configure
"
6480 #include "confdefs.h
"
6481 /* System header to define __stub macros and hopefully few prototypes,
6482 which can conflict with char $ac_func(); below. */
6484 /* Override any gcc2 internal prototype to avoid an error. */
6485 /* We use char because int might match the return type of a gcc2
6486 builtin and then its argument prototype would still apply. */
6491 /* The GNU C library defines this for functions which it implements
6492 to always fail with ENOSYS. Some functions are actually named
6493 something starting with __ and the normal name is an alias. */
6494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6502 if { (eval echo configure:6503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6504 eval "ac_cv_func_
$ac_func=yes"
6506 echo "configure
: failed program was
:" >&5
6507 cat conftest.$ac_ext >&5
6509 eval "ac_cv_func_
$ac_func=no
"
6514 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6515 echo "$ac_t""yes" 1>&6
6516 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6517 cat >> confdefs.h <<EOF
6518 #define $ac_tr_func 1
6522 echo "$ac_t""no
" 1>&6
6523 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
6528 for ac_func in __signbit
6530 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6531 echo "configure
:6532: checking
for $ac_func" >&5
6532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6533 echo $ac_n "(cached
) $ac_c" 1>&6
6535 cat > conftest.$ac_ext <<EOF
6536 #line 6537 "configure
"
6537 #include "confdefs.h
"
6538 /* System header to define __stub macros and hopefully few prototypes,
6539 which can conflict with char $ac_func(); below. */
6541 /* Override any gcc2 internal prototype to avoid an error. */
6542 /* We use char because int might match the return type of a gcc2
6543 builtin and then its argument prototype would still apply. */
6548 /* The GNU C library defines this for functions which it implements
6549 to always fail with ENOSYS. Some functions are actually named
6550 something starting with __ and the normal name is an alias. */
6551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6559 if { (eval echo configure:6560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6561 eval "ac_cv_func_
$ac_func=yes"
6563 echo "configure
: failed program was
:" >&5
6564 cat conftest.$ac_ext >&5
6566 eval "ac_cv_func_
$ac_func=no
"
6571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6572 echo "$ac_t""yes" 1>&6
6573 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6574 cat >> confdefs.h <<EOF
6575 #define $ac_tr_func 1
6579 echo "$ac_t""no
" 1>&6
6580 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
6584 for ac_func in __signbitf
6586 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6587 echo "configure
:6588: checking
for $ac_func" >&5
6588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6589 echo $ac_n "(cached
) $ac_c" 1>&6
6591 cat > conftest.$ac_ext <<EOF
6592 #line 6593 "configure
"
6593 #include "confdefs.h
"
6594 /* System header to define __stub macros and hopefully few prototypes,
6595 which can conflict with char $ac_func(); below. */
6597 /* Override any gcc2 internal prototype to avoid an error. */
6598 /* We use char because int might match the return type of a gcc2
6599 builtin and then its argument prototype would still apply. */
6604 /* The GNU C library defines this for functions which it implements
6605 to always fail with ENOSYS. Some functions are actually named
6606 something starting with __ and the normal name is an alias. */
6607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6615 if { (eval echo configure:6616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6617 eval "ac_cv_func_
$ac_func=yes"
6619 echo "configure
: failed program was
:" >&5
6620 cat conftest.$ac_ext >&5
6622 eval "ac_cv_func_
$ac_func=no
"
6627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6628 echo "$ac_t""yes" 1>&6
6629 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6630 cat >> confdefs.h <<EOF
6631 #define $ac_tr_func 1
6635 echo "$ac_t""no
" 1>&6
6636 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
6641 if test x$ac_cv_func_copysignl = x"yes"; then
6642 for ac_func in __signbitl
6644 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6645 echo "configure
:6646: checking
for $ac_func" >&5
6646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6647 echo $ac_n "(cached
) $ac_c" 1>&6
6649 cat > conftest.$ac_ext <<EOF
6650 #line 6651 "configure
"
6651 #include "confdefs.h
"
6652 /* System header to define __stub macros and hopefully few prototypes,
6653 which can conflict with char $ac_func(); below. */
6655 /* Override any gcc2 internal prototype to avoid an error. */
6656 /* We use char because int might match the return type of a gcc2
6657 builtin and then its argument prototype would still apply. */
6662 /* The GNU C library defines this for functions which it implements
6663 to always fail with ENOSYS. Some functions are actually named
6664 something starting with __ and the normal name is an alias. */
6665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6673 if { (eval echo configure:6674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6675 eval "ac_cv_func_
$ac_func=yes"
6677 echo "configure
: failed program was
:" >&5
6678 cat conftest.$ac_ext >&5
6680 eval "ac_cv_func_
$ac_func=no
"
6685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6686 echo "$ac_t""yes" 1>&6
6687 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6688 cat >> confdefs.h <<EOF
6689 #define $ac_tr_func 1
6693 echo "$ac_t""no
" 1>&6
6694 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
6700 if test -n "$LIBMATHOBJS"; then
6706 if test "$need_libmath" = yes; then
6707 GLIBCPP_BUILD_LIBMATH_TRUE=
6708 GLIBCPP_BUILD_LIBMATH_FALSE='#'
6710 GLIBCPP_BUILD_LIBMATH_TRUE='#'
6711 GLIBCPP_BUILD_LIBMATH_FALSE=
6717 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
6718 echo "configure
:6719: checking
for mbstate_t
" >&5
6719 cat > conftest.$ac_ext <<EOF
6720 #line 6721 "configure
"
6721 #include "confdefs.h
"
6724 mbstate_t teststate;
6727 if { (eval echo configure:6728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6731 echo "configure
: failed program was
:" >&5
6732 cat conftest.$ac_ext >&5
6737 echo "$ac_t""$have_mbstate_t" 1>&6
6738 if test x"$have_mbstate_t" = xyes; then
6739 cat >> confdefs.h <<\EOF
6740 #define HAVE_MBSTATE_T 1
6745 for ac_hdr in wchar.h
6747 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6748 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6749 echo "configure
:6750: checking
for $ac_hdr" >&5
6750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6751 echo $ac_n "(cached
) $ac_c" 1>&6
6753 cat > conftest.$ac_ext <<EOF
6754 #line 6755 "configure
"
6755 #include "confdefs.h
"
6758 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6759 { (eval echo configure:6760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6761 if test -z "$ac_err"; then
6763 eval "ac_cv_header_
$ac_safe=yes"
6766 echo "configure
: failed program was
:" >&5
6767 cat conftest.$ac_ext >&5
6769 eval "ac_cv_header_
$ac_safe=no
"
6773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6774 echo "$ac_t""yes" 1>&6
6775 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6776 cat >> confdefs.h <<EOF
6777 #define $ac_tr_hdr 1
6781 echo "$ac_t""no
" 1>&6
6786 for ac_hdr in wctype.h
6788 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
6789 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
6790 echo "configure
:6791: checking
for $ac_hdr" >&5
6791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6792 echo $ac_n "(cached
) $ac_c" 1>&6
6794 cat > conftest.$ac_ext <<EOF
6795 #line 6796 "configure
"
6796 #include "confdefs.h
"
6799 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
6800 { (eval echo configure:6801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6801 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
6802 if test -z "$ac_err"; then
6804 eval "ac_cv_header_
$ac_safe=yes"
6807 echo "configure
: failed program was
:" >&5
6808 cat conftest.$ac_ext >&5
6810 eval "ac_cv_header_
$ac_safe=no
"
6814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6815 echo "$ac_t""yes" 1>&6
6816 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
6817 cat >> confdefs.h <<EOF
6818 #define $ac_tr_hdr 1
6822 echo "$ac_t""no
" 1>&6
6828 if test x"$ac_has_wchar_h" = xyes &&
6829 test x"$ac_has_wctype_h" = xyes &&
6830 test x"$enable_c_mbchar" != xno; then
6832 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
6833 echo "configure
:6834: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
6834 cat > conftest.$ac_ext <<EOF
6835 #line 6836 "configure
"
6836 #include "confdefs.h
"
6839 int i = WCHAR_MIN; int j = WCHAR_MAX;
6842 if { (eval echo configure:6843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6844 has_wchar_minmax=yes
6846 echo "configure
: failed program was
:" >&5
6847 cat conftest.$ac_ext >&5
6852 echo "$ac_t""$has_wchar_minmax" 1>&6
6854 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
6855 echo "configure
:6856: checking
for WEOF
" >&5
6856 cat > conftest.$ac_ext <<EOF
6857 #line 6858 "configure
"
6858 #include "confdefs.h
"
6866 if { (eval echo configure:6867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6870 echo "configure
: failed program was
:" >&5
6871 cat conftest.$ac_ext >&5
6876 echo "$ac_t""$has_weof" 1>&6
6879 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
6881 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6882 echo "configure
:6883: checking
for $ac_func" >&5
6883 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6884 echo $ac_n "(cached
) $ac_c" 1>&6
6886 cat > conftest.$ac_ext <<EOF
6887 #line 6888 "configure
"
6888 #include "confdefs.h
"
6889 /* System header to define __stub macros and hopefully few prototypes,
6890 which can conflict with char $ac_func(); below. */
6892 /* Override any gcc2 internal prototype to avoid an error. */
6893 /* We use char because int might match the return type of a gcc2
6894 builtin and then its argument prototype would still apply. */
6899 /* The GNU C library defines this for functions which it implements
6900 to always fail with ENOSYS. Some functions are actually named
6901 something starting with __ and the normal name is an alias. */
6902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6910 if { (eval echo configure:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6912 eval "ac_cv_func_
$ac_func=yes"
6914 echo "configure
: failed program was
:" >&5
6915 cat conftest.$ac_ext >&5
6917 eval "ac_cv_func_
$ac_func=no
"
6922 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6923 echo "$ac_t""yes" 1>&6
6924 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6925 cat >> confdefs.h <<EOF
6926 #define $ac_tr_func 1
6930 echo "$ac_t""no
" 1>&6
6937 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
6938 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
6939 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
6940 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
6941 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
6942 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
6944 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
6945 echo "configure
:6946: checking
for $ac_func" >&5
6946 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6947 echo $ac_n "(cached
) $ac_c" 1>&6
6949 cat > conftest.$ac_ext <<EOF
6950 #line 6951 "configure
"
6951 #include "confdefs.h
"
6952 /* System header to define __stub macros and hopefully few prototypes,
6953 which can conflict with char $ac_func(); below. */
6955 /* Override any gcc2 internal prototype to avoid an error. */
6956 /* We use char because int might match the return type of a gcc2
6957 builtin and then its argument prototype would still apply. */
6962 /* The GNU C library defines this for functions which it implements
6963 to always fail with ENOSYS. Some functions are actually named
6964 something starting with __ and the normal name is an alias. */
6965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6973 if { (eval echo configure:6974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
6975 eval "ac_cv_func_
$ac_func=yes"
6977 echo "configure
: failed program was
:" >&5
6978 cat conftest.$ac_ext >&5
6980 eval "ac_cv_func_
$ac_func=no
"
6985 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6986 echo "$ac_t""yes" 1>&6
6987 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6988 cat >> confdefs.h <<EOF
6989 #define $ac_tr_func 1
6993 echo "$ac_t""no
" 1>&6
7000 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7001 echo "configure
:7002: checking
for ISO C99 wchar_t support
" >&5
7002 if test x"$has_weof" = xyes &&
7003 test x"$has_wchar_minmax" = xyes &&
7004 test x"$ac_wfuncs" = xyes; then
7005 ac_isoC99_wchar_t=yes
7007 ac_isoC99_wchar_t=no
7009 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
7011 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
7012 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
7013 echo "configure
:7014: checking
for iconv.h
" >&5
7014 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7015 echo $ac_n "(cached
) $ac_c" 1>&6
7017 cat > conftest.$ac_ext <<EOF
7018 #line 7019 "configure
"
7019 #include "confdefs.h
"
7022 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7023 { (eval echo configure:7024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7024 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7025 if test -z "$ac_err"; then
7027 eval "ac_cv_header_
$ac_safe=yes"
7030 echo "configure
: failed program was
:" >&5
7031 cat conftest.$ac_ext >&5
7033 eval "ac_cv_header_
$ac_safe=no
"
7037 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7038 echo "$ac_t""yes" 1>&6
7041 echo "$ac_t""no
" 1>&6
7045 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
7046 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
7047 echo "configure
:7048: checking
for langinfo.h
" >&5
7048 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7049 echo $ac_n "(cached
) $ac_c" 1>&6
7051 cat > conftest.$ac_ext <<EOF
7052 #line 7053 "configure
"
7053 #include "confdefs.h
"
7054 #include <langinfo.h>
7056 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7057 { (eval echo configure:7058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7058 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7059 if test -z "$ac_err"; then
7061 eval "ac_cv_header_
$ac_safe=yes"
7064 echo "configure
: failed program was
:" >&5
7065 cat conftest.$ac_ext >&5
7067 eval "ac_cv_header_
$ac_safe=no
"
7071 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7072 echo "$ac_t""yes" 1>&6
7073 ac_has_langinfo_h=yes
7075 echo "$ac_t""no
" 1>&6
7076 ac_has_langinfo_h=no
7080 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
7081 echo "configure
:7082: checking
for iconv in -liconv" >&5
7082 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
7083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7084 echo $ac_n "(cached
) $ac_c" 1>&6
7086 ac_save_LIBS="$LIBS"
7087 LIBS="-liconv $LIBS"
7088 cat > conftest.$ac_ext <<EOF
7089 #line 7090 "configure
"
7090 #include "confdefs.h
"
7091 /* Override any gcc2 internal prototype to avoid an error. */
7092 /* We use char because int might match the return type of a gcc2
7093 builtin and then its argument prototype would still apply. */
7100 if { (eval echo configure:7101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7102 eval "ac_cv_lib_
$ac_lib_var=yes"
7104 echo "configure
: failed program was
:" >&5
7105 cat conftest.$ac_ext >&5
7107 eval "ac_cv_lib_
$ac_lib_var=no
"
7110 LIBS="$ac_save_LIBS"
7113 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7114 echo "$ac_t""yes" 1>&6
7117 echo "$ac_t""no
" 1>&6
7120 ac_save_LIBS="$LIBS"
7121 LIBS="$LIBS $libiconv"
7123 for ac_func in iconv_open iconv_close iconv nl_langinfo
7125 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7126 echo "configure
:7127: checking
for $ac_func" >&5
7127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7128 echo $ac_n "(cached
) $ac_c" 1>&6
7130 cat > conftest.$ac_ext <<EOF
7131 #line 7132 "configure
"
7132 #include "confdefs.h
"
7133 /* System header to define __stub macros and hopefully few prototypes,
7134 which can conflict with char $ac_func(); below. */
7136 /* Override any gcc2 internal prototype to avoid an error. */
7137 /* We use char because int might match the return type of a gcc2
7138 builtin and then its argument prototype would still apply. */
7143 /* The GNU C library defines this for functions which it implements
7144 to always fail with ENOSYS. Some functions are actually named
7145 something starting with __ and the normal name is an alias. */
7146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7154 if { (eval echo configure:7155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7156 eval "ac_cv_func_
$ac_func=yes"
7158 echo "configure
: failed program was
:" >&5
7159 cat conftest.$ac_ext >&5
7161 eval "ac_cv_func_
$ac_func=no
"
7166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7167 echo "$ac_t""yes" 1>&6
7168 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7169 cat >> confdefs.h <<EOF
7170 #define $ac_tr_func 1
7175 echo "$ac_t""no
" 1>&6
7181 LIBS="$ac_save_LIBS"
7183 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
7184 echo "configure
:7185: checking
for XPG2 wchar_t support
" >&5
7185 if test x"$ac_has_iconv_h" = xyes &&
7186 test x"$ac_has_langinfo_h" = xyes &&
7187 test x"$ac_XPG2funcs" = xyes; then
7192 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
7194 if test x"$ac_isoC99_wchar_t" = xyes &&
7195 test x"$ac_XPG2_wchar_t" = xyes; then
7196 cat >> confdefs.h <<\EOF
7197 #define _GLIBCPP_USE_WCHAR_T 1
7203 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
7204 echo "configure
:7205: checking
for enabled wchar_t specializations
" >&5
7205 echo "$ac_t""$enable_wchar_t" 1>&6
7208 if test "$enable_wchar_t" = yes; then
7209 GLIBCPP_TEST_WCHAR_T_TRUE=
7210 GLIBCPP_TEST_WCHAR_T_FALSE='#'
7212 GLIBCPP_TEST_WCHAR_T_TRUE='#'
7213 GLIBCPP_TEST_WCHAR_T_FALSE=
7216 os_include_dir="os
/bsd
/netbsd
"
7217 cat >> confdefs.h <<\EOF
7218 #define HAVE_COPYSIGN 1
7221 cat >> confdefs.h <<\EOF
7222 #define HAVE_COPYSIGNF 1
7225 cat >> confdefs.h <<\EOF
7226 #define HAVE_FINITEF 1
7229 cat >> confdefs.h <<\EOF
7230 #define HAVE_FINITE 1
7233 cat >> confdefs.h <<\EOF
7234 #define HAVE_FREXPF 1
7237 cat >> confdefs.h <<\EOF
7238 #define HAVE_HYPOTF 1
7241 cat >> confdefs.h <<\EOF
7242 #define HAVE_ISINF 1
7245 cat >> confdefs.h <<\EOF
7246 #define HAVE_ISINFF 1
7249 cat >> confdefs.h <<\EOF
7250 #define HAVE_ISNAN 1
7253 cat >> confdefs.h <<\EOF
7254 #define HAVE_ISNANF 1
7257 if test x"long_double_math_on_this_cpu
" = x"yes"; then
7258 cat >> confdefs.h <<\EOF
7259 #define HAVE_FINITEL 1
7262 cat >> confdefs.h <<\EOF
7263 #define HAVE_ISINFL 1
7266 cat >> confdefs.h <<\EOF
7267 #define HAVE_ISNANL 1
7273 # Check for available headers.
7274 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h \
7275 machine/endian.h machine/param.h sys/machine.h sys/types.h \
7276 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
7279 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7280 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7281 echo "configure
:7282: checking
for $ac_hdr" >&5
7282 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7283 echo $ac_n "(cached
) $ac_c" 1>&6
7285 cat > conftest.$ac_ext <<EOF
7286 #line 7287 "configure
"
7287 #include "confdefs.h
"
7290 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7291 { (eval echo configure:7292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7292 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7293 if test -z "$ac_err"; then
7295 eval "ac_cv_header_
$ac_safe=yes"
7298 echo "configure
: failed program was
:" >&5
7299 cat conftest.$ac_ext >&5
7301 eval "ac_cv_header_
$ac_safe=no
"
7305 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7306 echo "$ac_t""yes" 1>&6
7307 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7308 cat >> confdefs.h <<EOF
7309 #define $ac_tr_hdr 1
7313 echo "$ac_t""no
" 1>&6
7317 SECTION_FLAGS='-ffunction-sections -fdata-sections'
7320 # If we're not using GNU ld, then there's no point in even trying these
7321 # tests. Check for that first. We should have already tested for gld
7322 # by now (in libtool), but require it now just to be safe...
7323 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
7324 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
7327 # The name set by libtool depends on the version of libtool. Shame on us
7328 # for depending on an impl detail, but c'est la vie. Older versions used
7329 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
7330 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
7331 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
7332 # set (hence we're using an older libtool), then set it.
7333 if test x${with_gnu_ld+set} != xset; then
7334 if test x${ac_cv_prog_gnu_ld+set} != xset; then
7335 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
7338 with_gnu_ld=$ac_cv_prog_gnu_ld
7342 # Start by getting the version number. I think the libtool test already
7343 # does some of this, but throws away the result.
7345 ldver=`$LD --version 2>/dev/null | head -1 | \
7346 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
7348 glibcpp_gnu_ld_version=`echo $ldver | \
7349 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
7351 # Set --gc-sections.
7352 if test "$with_gnu_ld" = "notbroken
"; then
7353 # GNU ld it is! Joy and bunny rabbits!
7355 # All these tests are for C++; save the language and the compiler flags.
7356 # Need to do this so that g++ won't try to link in libstdc++
7357 ac_test_CFLAGS="${CFLAGS+set}"
7358 ac_save_CFLAGS="$CFLAGS"
7359 CFLAGS='-x c++ -Wl,--gc-sections'
7361 # Check for -Wl,--gc-sections
7362 # XXX This test is broken at the moment, as symbols required for
7363 # linking are now in libsupc++ (not built yet.....). In addition,
7364 # this test has cored on solaris in the past. In addition,
7365 # --gc-sections doesn't really work at the moment (keeps on discarding
7366 # used sections, first .eh_frame and now some of the glibc sections for
7367 # iconv). Bzzzzt. Thanks for playing, maybe next time.
7368 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
7369 echo "configure
:7370: checking
for ld that supports
-Wl,--gc-sections" >&5
7370 if test "$cross_compiling" = yes; then
7371 ac_sectionLDflags=yes
7373 cat > conftest.$ac_ext <<EOF
7374 #line 7375 "configure
"
7375 #include "confdefs.h
"
7385 if { (eval echo configure:7386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
7387 ac_sectionLDflags=yes
7389 echo "configure
: failed program was
:" >&5
7390 cat conftest.$ac_ext >&5
7392 ac_sectionLDflags=no
7397 if test "$ac_test_CFLAGS" = set; then
7398 CFLAGS="$ac_save_CFLAGS"
7400 # this is the suspicious part
7403 if test "$ac_sectionLDflags" = "yes"; then
7404 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
7406 echo "$ac_t""$ac_sectionLDflags" 1>&6
7409 # Set linker optimization flags.
7410 if test x"$with_gnu_ld" = x"yes"; then
7411 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
7418 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
7419 echo "configure
:7420: checking
for main
in -lm" >&5
7420 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
7421 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7422 echo $ac_n "(cached
) $ac_c" 1>&6
7424 ac_save_LIBS="$LIBS"
7426 cat > conftest.$ac_ext <<EOF
7427 #line 7428 "configure
"
7428 #include "confdefs.h
"
7434 if { (eval echo configure:7435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7436 eval "ac_cv_lib_
$ac_lib_var=yes"
7438 echo "configure
: failed program was
:" >&5
7439 cat conftest.$ac_ext >&5
7441 eval "ac_cv_lib_
$ac_lib_var=no
"
7444 LIBS="$ac_save_LIBS"
7447 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7448 echo "$ac_t""yes" 1>&6
7449 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
7450 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
7451 cat >> confdefs.h <<EOF
7452 #define $ac_tr_lib 1
7458 echo "$ac_t""no
" 1>&6
7461 for ac_func in nan copysignf
7463 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7464 echo "configure
:7465: checking
for $ac_func" >&5
7465 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7466 echo $ac_n "(cached
) $ac_c" 1>&6
7468 cat > conftest.$ac_ext <<EOF
7469 #line 7470 "configure
"
7470 #include "confdefs.h
"
7471 /* System header to define __stub macros and hopefully few prototypes,
7472 which can conflict with char $ac_func(); below. */
7474 /* Override any gcc2 internal prototype to avoid an error. */
7475 /* We use char because int might match the return type of a gcc2
7476 builtin and then its argument prototype would still apply. */
7481 /* The GNU C library defines this for functions which it implements
7482 to always fail with ENOSYS. Some functions are actually named
7483 something starting with __ and the normal name is an alias. */
7484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7492 if { (eval echo configure:7493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7494 eval "ac_cv_func_
$ac_func=yes"
7496 echo "configure
: failed program was
:" >&5
7497 cat conftest.$ac_ext >&5
7499 eval "ac_cv_func_
$ac_func=no
"
7504 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7505 echo "$ac_t""yes" 1>&6
7506 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7507 cat >> confdefs.h <<EOF
7508 #define $ac_tr_func 1
7512 echo "$ac_t""no
" 1>&6
7513 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
7518 for ac_func in __signbit
7520 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7521 echo "configure
:7522: checking
for $ac_func" >&5
7522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7523 echo $ac_n "(cached
) $ac_c" 1>&6
7525 cat > conftest.$ac_ext <<EOF
7526 #line 7527 "configure
"
7527 #include "confdefs.h
"
7528 /* System header to define __stub macros and hopefully few prototypes,
7529 which can conflict with char $ac_func(); below. */
7531 /* Override any gcc2 internal prototype to avoid an error. */
7532 /* We use char because int might match the return type of a gcc2
7533 builtin and then its argument prototype would still apply. */
7538 /* The GNU C library defines this for functions which it implements
7539 to always fail with ENOSYS. Some functions are actually named
7540 something starting with __ and the normal name is an alias. */
7541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7549 if { (eval echo configure:7550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7551 eval "ac_cv_func_
$ac_func=yes"
7553 echo "configure
: failed program was
:" >&5
7554 cat conftest.$ac_ext >&5
7556 eval "ac_cv_func_
$ac_func=no
"
7561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7562 echo "$ac_t""yes" 1>&6
7563 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7564 cat >> confdefs.h <<EOF
7565 #define $ac_tr_func 1
7569 echo "$ac_t""no
" 1>&6
7570 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
7574 for ac_func in __signbitf
7576 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7577 echo "configure
:7578: checking
for $ac_func" >&5
7578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7579 echo $ac_n "(cached
) $ac_c" 1>&6
7581 cat > conftest.$ac_ext <<EOF
7582 #line 7583 "configure
"
7583 #include "confdefs.h
"
7584 /* System header to define __stub macros and hopefully few prototypes,
7585 which can conflict with char $ac_func(); below. */
7587 /* Override any gcc2 internal prototype to avoid an error. */
7588 /* We use char because int might match the return type of a gcc2
7589 builtin and then its argument prototype would still apply. */
7594 /* The GNU C library defines this for functions which it implements
7595 to always fail with ENOSYS. Some functions are actually named
7596 something starting with __ and the normal name is an alias. */
7597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7605 if { (eval echo configure:7606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7607 eval "ac_cv_func_
$ac_func=yes"
7609 echo "configure
: failed program was
:" >&5
7610 cat conftest.$ac_ext >&5
7612 eval "ac_cv_func_
$ac_func=no
"
7617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7618 echo "$ac_t""yes" 1>&6
7619 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7620 cat >> confdefs.h <<EOF
7621 #define $ac_tr_func 1
7625 echo "$ac_t""no
" 1>&6
7626 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
7631 if test x$ac_cv_func_copysignl = x"yes"; then
7632 for ac_func in __signbitl
7634 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7635 echo "configure
:7636: checking
for $ac_func" >&5
7636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7637 echo $ac_n "(cached
) $ac_c" 1>&6
7639 cat > conftest.$ac_ext <<EOF
7640 #line 7641 "configure
"
7641 #include "confdefs.h
"
7642 /* System header to define __stub macros and hopefully few prototypes,
7643 which can conflict with char $ac_func(); below. */
7645 /* Override any gcc2 internal prototype to avoid an error. */
7646 /* We use char because int might match the return type of a gcc2
7647 builtin and then its argument prototype would still apply. */
7652 /* The GNU C library defines this for functions which it implements
7653 to always fail with ENOSYS. Some functions are actually named
7654 something starting with __ and the normal name is an alias. */
7655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7663 if { (eval echo configure:7664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7665 eval "ac_cv_func_
$ac_func=yes"
7667 echo "configure
: failed program was
:" >&5
7668 cat conftest.$ac_ext >&5
7670 eval "ac_cv_func_
$ac_func=no
"
7675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7676 echo "$ac_t""yes" 1>&6
7677 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7678 cat >> confdefs.h <<EOF
7679 #define $ac_tr_func 1
7683 echo "$ac_t""no
" 1>&6
7684 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
7690 if test -n "$LIBMATHOBJS"; then
7696 if test "$need_libmath" = yes; then
7697 GLIBCPP_BUILD_LIBMATH_TRUE=
7698 GLIBCPP_BUILD_LIBMATH_FALSE='#'
7700 GLIBCPP_BUILD_LIBMATH_TRUE='#'
7701 GLIBCPP_BUILD_LIBMATH_FALSE=
7707 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
7708 echo "configure
:7709: checking
for mbstate_t
" >&5
7709 cat > conftest.$ac_ext <<EOF
7710 #line 7711 "configure
"
7711 #include "confdefs.h
"
7714 mbstate_t teststate;
7717 if { (eval echo configure:7718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7721 echo "configure
: failed program was
:" >&5
7722 cat conftest.$ac_ext >&5
7727 echo "$ac_t""$have_mbstate_t" 1>&6
7728 if test x"$have_mbstate_t" = xyes; then
7729 cat >> confdefs.h <<\EOF
7730 #define HAVE_MBSTATE_T 1
7735 for ac_hdr in wchar.h
7737 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7738 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7739 echo "configure
:7740: checking
for $ac_hdr" >&5
7740 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7741 echo $ac_n "(cached
) $ac_c" 1>&6
7743 cat > conftest.$ac_ext <<EOF
7744 #line 7745 "configure
"
7745 #include "confdefs.h
"
7748 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7749 { (eval echo configure:7750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7750 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7751 if test -z "$ac_err"; then
7753 eval "ac_cv_header_
$ac_safe=yes"
7756 echo "configure
: failed program was
:" >&5
7757 cat conftest.$ac_ext >&5
7759 eval "ac_cv_header_
$ac_safe=no
"
7763 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7764 echo "$ac_t""yes" 1>&6
7765 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7766 cat >> confdefs.h <<EOF
7767 #define $ac_tr_hdr 1
7771 echo "$ac_t""no
" 1>&6
7776 for ac_hdr in wctype.h
7778 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7779 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
7780 echo "configure
:7781: checking
for $ac_hdr" >&5
7781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7782 echo $ac_n "(cached
) $ac_c" 1>&6
7784 cat > conftest.$ac_ext <<EOF
7785 #line 7786 "configure
"
7786 #include "confdefs.h
"
7789 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
7790 { (eval echo configure:7791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7791 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
7792 if test -z "$ac_err"; then
7794 eval "ac_cv_header_
$ac_safe=yes"
7797 echo "configure
: failed program was
:" >&5
7798 cat conftest.$ac_ext >&5
7800 eval "ac_cv_header_
$ac_safe=no
"
7804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7805 echo "$ac_t""yes" 1>&6
7806 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7807 cat >> confdefs.h <<EOF
7808 #define $ac_tr_hdr 1
7812 echo "$ac_t""no
" 1>&6
7818 if test x"$ac_has_wchar_h" = xyes &&
7819 test x"$ac_has_wctype_h" = xyes &&
7820 test x"$enable_c_mbchar" != xno; then
7822 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
7823 echo "configure
:7824: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
7824 cat > conftest.$ac_ext <<EOF
7825 #line 7826 "configure
"
7826 #include "confdefs.h
"
7829 int i = WCHAR_MIN; int j = WCHAR_MAX;
7832 if { (eval echo configure:7833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7834 has_wchar_minmax=yes
7836 echo "configure
: failed program was
:" >&5
7837 cat conftest.$ac_ext >&5
7842 echo "$ac_t""$has_wchar_minmax" 1>&6
7844 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
7845 echo "configure
:7846: checking
for WEOF
" >&5
7846 cat > conftest.$ac_ext <<EOF
7847 #line 7848 "configure
"
7848 #include "confdefs.h
"
7856 if { (eval echo configure:7857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7860 echo "configure
: failed program was
:" >&5
7861 cat conftest.$ac_ext >&5
7866 echo "$ac_t""$has_weof" 1>&6
7869 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
7871 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7872 echo "configure
:7873: checking
for $ac_func" >&5
7873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7874 echo $ac_n "(cached
) $ac_c" 1>&6
7876 cat > conftest.$ac_ext <<EOF
7877 #line 7878 "configure
"
7878 #include "confdefs.h
"
7879 /* System header to define __stub macros and hopefully few prototypes,
7880 which can conflict with char $ac_func(); below. */
7882 /* Override any gcc2 internal prototype to avoid an error. */
7883 /* We use char because int might match the return type of a gcc2
7884 builtin and then its argument prototype would still apply. */
7889 /* The GNU C library defines this for functions which it implements
7890 to always fail with ENOSYS. Some functions are actually named
7891 something starting with __ and the normal name is an alias. */
7892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7900 if { (eval echo configure:7901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7902 eval "ac_cv_func_
$ac_func=yes"
7904 echo "configure
: failed program was
:" >&5
7905 cat conftest.$ac_ext >&5
7907 eval "ac_cv_func_
$ac_func=no
"
7912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7913 echo "$ac_t""yes" 1>&6
7914 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7915 cat >> confdefs.h <<EOF
7916 #define $ac_tr_func 1
7920 echo "$ac_t""no
" 1>&6
7927 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
7928 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
7929 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
7930 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
7931 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
7932 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
7934 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
7935 echo "configure
:7936: checking
for $ac_func" >&5
7936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7937 echo $ac_n "(cached
) $ac_c" 1>&6
7939 cat > conftest.$ac_ext <<EOF
7940 #line 7941 "configure
"
7941 #include "confdefs.h
"
7942 /* System header to define __stub macros and hopefully few prototypes,
7943 which can conflict with char $ac_func(); below. */
7945 /* Override any gcc2 internal prototype to avoid an error. */
7946 /* We use char because int might match the return type of a gcc2
7947 builtin and then its argument prototype would still apply. */
7952 /* The GNU C library defines this for functions which it implements
7953 to always fail with ENOSYS. Some functions are actually named
7954 something starting with __ and the normal name is an alias. */
7955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7963 if { (eval echo configure:7964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
7965 eval "ac_cv_func_
$ac_func=yes"
7967 echo "configure
: failed program was
:" >&5
7968 cat conftest.$ac_ext >&5
7970 eval "ac_cv_func_
$ac_func=no
"
7975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7976 echo "$ac_t""yes" 1>&6
7977 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7978 cat >> confdefs.h <<EOF
7979 #define $ac_tr_func 1
7983 echo "$ac_t""no
" 1>&6
7990 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
7991 echo "configure
:7992: checking
for ISO C99 wchar_t support
" >&5
7992 if test x"$has_weof" = xyes &&
7993 test x"$has_wchar_minmax" = xyes &&
7994 test x"$ac_wfuncs" = xyes; then
7995 ac_isoC99_wchar_t=yes
7997 ac_isoC99_wchar_t=no
7999 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
8001 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
8002 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
8003 echo "configure
:8004: checking
for iconv.h
" >&5
8004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8005 echo $ac_n "(cached
) $ac_c" 1>&6
8007 cat > conftest.$ac_ext <<EOF
8008 #line 8009 "configure
"
8009 #include "confdefs.h
"
8012 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8013 { (eval echo configure:8014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8014 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8015 if test -z "$ac_err"; then
8017 eval "ac_cv_header_
$ac_safe=yes"
8020 echo "configure
: failed program was
:" >&5
8021 cat conftest.$ac_ext >&5
8023 eval "ac_cv_header_
$ac_safe=no
"
8027 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8028 echo "$ac_t""yes" 1>&6
8031 echo "$ac_t""no
" 1>&6
8035 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
8036 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
8037 echo "configure
:8038: checking
for langinfo.h
" >&5
8038 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8039 echo $ac_n "(cached
) $ac_c" 1>&6
8041 cat > conftest.$ac_ext <<EOF
8042 #line 8043 "configure
"
8043 #include "confdefs.h
"
8044 #include <langinfo.h>
8046 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8047 { (eval echo configure:8048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8048 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8049 if test -z "$ac_err"; then
8051 eval "ac_cv_header_
$ac_safe=yes"
8054 echo "configure
: failed program was
:" >&5
8055 cat conftest.$ac_ext >&5
8057 eval "ac_cv_header_
$ac_safe=no
"
8061 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8062 echo "$ac_t""yes" 1>&6
8063 ac_has_langinfo_h=yes
8065 echo "$ac_t""no
" 1>&6
8066 ac_has_langinfo_h=no
8070 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
8071 echo "configure
:8072: checking
for iconv in -liconv" >&5
8072 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
8073 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8074 echo $ac_n "(cached
) $ac_c" 1>&6
8076 ac_save_LIBS="$LIBS"
8077 LIBS="-liconv $LIBS"
8078 cat > conftest.$ac_ext <<EOF
8079 #line 8080 "configure
"
8080 #include "confdefs.h
"
8081 /* Override any gcc2 internal prototype to avoid an error. */
8082 /* We use char because int might match the return type of a gcc2
8083 builtin and then its argument prototype would still apply. */
8090 if { (eval echo configure:8091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8092 eval "ac_cv_lib_
$ac_lib_var=yes"
8094 echo "configure
: failed program was
:" >&5
8095 cat conftest.$ac_ext >&5
8097 eval "ac_cv_lib_
$ac_lib_var=no
"
8100 LIBS="$ac_save_LIBS"
8103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8104 echo "$ac_t""yes" 1>&6
8107 echo "$ac_t""no
" 1>&6
8110 ac_save_LIBS="$LIBS"
8111 LIBS="$LIBS $libiconv"
8113 for ac_func in iconv_open iconv_close iconv nl_langinfo
8115 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8116 echo "configure
:8117: checking
for $ac_func" >&5
8117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8118 echo $ac_n "(cached
) $ac_c" 1>&6
8120 cat > conftest.$ac_ext <<EOF
8121 #line 8122 "configure
"
8122 #include "confdefs.h
"
8123 /* System header to define __stub macros and hopefully few prototypes,
8124 which can conflict with char $ac_func(); below. */
8126 /* Override any gcc2 internal prototype to avoid an error. */
8127 /* We use char because int might match the return type of a gcc2
8128 builtin and then its argument prototype would still apply. */
8133 /* The GNU C library defines this for functions which it implements
8134 to always fail with ENOSYS. Some functions are actually named
8135 something starting with __ and the normal name is an alias. */
8136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8144 if { (eval echo configure:8145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8146 eval "ac_cv_func_
$ac_func=yes"
8148 echo "configure
: failed program was
:" >&5
8149 cat conftest.$ac_ext >&5
8151 eval "ac_cv_func_
$ac_func=no
"
8156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8157 echo "$ac_t""yes" 1>&6
8158 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8159 cat >> confdefs.h <<EOF
8160 #define $ac_tr_func 1
8165 echo "$ac_t""no
" 1>&6
8171 LIBS="$ac_save_LIBS"
8173 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
8174 echo "configure
:8175: checking
for XPG2 wchar_t support
" >&5
8175 if test x"$ac_has_iconv_h" = xyes &&
8176 test x"$ac_has_langinfo_h" = xyes &&
8177 test x"$ac_XPG2funcs" = xyes; then
8182 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
8184 if test x"$ac_isoC99_wchar_t" = xyes &&
8185 test x"$ac_XPG2_wchar_t" = xyes; then
8186 cat >> confdefs.h <<\EOF
8187 #define _GLIBCPP_USE_WCHAR_T 1
8193 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
8194 echo "configure
:8195: checking
for enabled wchar_t specializations
" >&5
8195 echo "$ac_t""$enable_wchar_t" 1>&6
8198 if test "$enable_wchar_t" = yes; then
8199 GLIBCPP_TEST_WCHAR_T_TRUE=
8200 GLIBCPP_TEST_WCHAR_T_FALSE='#'
8202 GLIBCPP_TEST_WCHAR_T_TRUE='#'
8203 GLIBCPP_TEST_WCHAR_T_FALSE=
8206 os_include_dir="os
/bsd
/freebsd
"
8207 cat >> confdefs.h <<\EOF
8208 #define HAVE_LC_MESSAGES 1
8211 cat >> confdefs.h <<\EOF
8212 #define HAVE_DRAND48 1
8215 cat >> confdefs.h <<\EOF
8216 #define HAVE_GETPAGESIZE 1
8219 cat >> confdefs.h <<\EOF
8220 #define HAVE_SETENV 1
8223 cat >> confdefs.h <<\EOF
8224 #define HAVE_SIGSETJMP 1
8227 cat >> confdefs.h <<\EOF
8228 #define HAVE_COPYSIGN 1
8231 cat >> confdefs.h <<\EOF
8232 #define HAVE_COPYSIGNF 1
8235 cat >> confdefs.h <<\EOF
8236 #define HAVE_FINITEF 1
8239 cat >> confdefs.h <<\EOF
8240 #define HAVE_FINITE 1
8243 cat >> confdefs.h <<\EOF
8244 #define HAVE_FREXPF 1
8247 cat >> confdefs.h <<\EOF
8248 #define HAVE_HYPOT 1
8251 cat >> confdefs.h <<\EOF
8252 #define HAVE_HYPOTF 1
8255 cat >> confdefs.h <<\EOF
8256 #define HAVE_ISINF 1
8259 cat >> confdefs.h <<\EOF
8260 #define HAVE_ISNAN 1
8263 cat >> confdefs.h <<\EOF
8264 #define HAVE_ISNANF 1
8267 if test x"long_double_math_on_this_cpu
" = x"yes"; then
8268 cat >> confdefs.h <<\EOF
8269 #define HAVE_FINITEL 1
8272 cat >> confdefs.h <<\EOF
8273 #define HAVE_ISINFL 1
8276 cat >> confdefs.h <<\EOF
8277 #define HAVE_ISNANL 1
8283 for ac_hdr in sys/types.h locale.h float.h
8285 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8286 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8287 echo "configure
:8288: checking
for $ac_hdr" >&5
8288 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8289 echo $ac_n "(cached
) $ac_c" 1>&6
8291 cat > conftest.$ac_ext <<EOF
8292 #line 8293 "configure
"
8293 #include "confdefs.h
"
8296 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8297 { (eval echo configure:8298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8298 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8299 if test -z "$ac_err"; then
8301 eval "ac_cv_header_
$ac_safe=yes"
8304 echo "configure
: failed program was
:" >&5
8305 cat conftest.$ac_ext >&5
8307 eval "ac_cv_header_
$ac_safe=no
"
8311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8312 echo "$ac_t""yes" 1>&6
8313 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8314 cat >> confdefs.h <<EOF
8315 #define $ac_tr_hdr 1
8319 echo "$ac_t""no
" 1>&6
8324 # If we're not using GNU ld, then there's no point in even trying these
8325 # tests. Check for that first. We should have already tested for gld
8326 # by now (in libtool), but require it now just to be safe...
8327 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8328 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8331 # The name set by libtool depends on the version of libtool. Shame on us
8332 # for depending on an impl detail, but c'est la vie. Older versions used
8333 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8334 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8335 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8336 # set (hence we're using an older libtool), then set it.
8337 if test x${with_gnu_ld+set} != xset; then
8338 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8339 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
8342 with_gnu_ld=$ac_cv_prog_gnu_ld
8346 # Start by getting the version number. I think the libtool test already
8347 # does some of this, but throws away the result.
8349 ldver=`$LD --version 2>/dev/null | head -1 | \
8350 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8352 glibcpp_gnu_ld_version=`echo $ldver | \
8353 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8355 # Set --gc-sections.
8356 if test "$with_gnu_ld" = "notbroken
"; then
8357 # GNU ld it is! Joy and bunny rabbits!
8359 # All these tests are for C++; save the language and the compiler flags.
8360 # Need to do this so that g++ won't try to link in libstdc++
8361 ac_test_CFLAGS="${CFLAGS+set}"
8362 ac_save_CFLAGS="$CFLAGS"
8363 CFLAGS='-x c++ -Wl,--gc-sections'
8365 # Check for -Wl,--gc-sections
8366 # XXX This test is broken at the moment, as symbols required for
8367 # linking are now in libsupc++ (not built yet.....). In addition,
8368 # this test has cored on solaris in the past. In addition,
8369 # --gc-sections doesn't really work at the moment (keeps on discarding
8370 # used sections, first .eh_frame and now some of the glibc sections for
8371 # iconv). Bzzzzt. Thanks for playing, maybe next time.
8372 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
8373 echo "configure
:8374: checking
for ld that supports
-Wl,--gc-sections" >&5
8374 if test "$cross_compiling" = yes; then
8375 ac_sectionLDflags=yes
8377 cat > conftest.$ac_ext <<EOF
8378 #line 8379 "configure
"
8379 #include "confdefs.h
"
8389 if { (eval echo configure:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
8391 ac_sectionLDflags=yes
8393 echo "configure
: failed program was
:" >&5
8394 cat conftest.$ac_ext >&5
8396 ac_sectionLDflags=no
8401 if test "$ac_test_CFLAGS" = set; then
8402 CFLAGS="$ac_save_CFLAGS"
8404 # this is the suspicious part
8407 if test "$ac_sectionLDflags" = "yes"; then
8408 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8410 echo "$ac_t""$ac_sectionLDflags" 1>&6
8413 # Set linker optimization flags.
8414 if test x"$with_gnu_ld" = x"yes"; then
8415 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8422 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
8423 echo "configure
:8424: checking
for main
in -lm" >&5
8424 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
8425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8426 echo $ac_n "(cached
) $ac_c" 1>&6
8428 ac_save_LIBS="$LIBS"
8430 cat > conftest.$ac_ext <<EOF
8431 #line 8432 "configure
"
8432 #include "confdefs.h
"
8438 if { (eval echo configure:8439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8440 eval "ac_cv_lib_
$ac_lib_var=yes"
8442 echo "configure
: failed program was
:" >&5
8443 cat conftest.$ac_ext >&5
8445 eval "ac_cv_lib_
$ac_lib_var=no
"
8448 LIBS="$ac_save_LIBS"
8451 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8452 echo "$ac_t""yes" 1>&6
8453 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
8454 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
8455 cat >> confdefs.h <<EOF
8456 #define $ac_tr_lib 1
8462 echo "$ac_t""no
" 1>&6
8465 for ac_func in nan copysignf
8467 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8468 echo "configure
:8469: checking
for $ac_func" >&5
8469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8470 echo $ac_n "(cached
) $ac_c" 1>&6
8472 cat > conftest.$ac_ext <<EOF
8473 #line 8474 "configure
"
8474 #include "confdefs.h
"
8475 /* System header to define __stub macros and hopefully few prototypes,
8476 which can conflict with char $ac_func(); below. */
8478 /* Override any gcc2 internal prototype to avoid an error. */
8479 /* We use char because int might match the return type of a gcc2
8480 builtin and then its argument prototype would still apply. */
8485 /* The GNU C library defines this for functions which it implements
8486 to always fail with ENOSYS. Some functions are actually named
8487 something starting with __ and the normal name is an alias. */
8488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8496 if { (eval echo configure:8497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8498 eval "ac_cv_func_
$ac_func=yes"
8500 echo "configure
: failed program was
:" >&5
8501 cat conftest.$ac_ext >&5
8503 eval "ac_cv_func_
$ac_func=no
"
8508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8509 echo "$ac_t""yes" 1>&6
8510 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8511 cat >> confdefs.h <<EOF
8512 #define $ac_tr_func 1
8516 echo "$ac_t""no
" 1>&6
8517 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
8522 for ac_func in __signbit
8524 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8525 echo "configure
:8526: checking
for $ac_func" >&5
8526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8527 echo $ac_n "(cached
) $ac_c" 1>&6
8529 cat > conftest.$ac_ext <<EOF
8530 #line 8531 "configure
"
8531 #include "confdefs.h
"
8532 /* System header to define __stub macros and hopefully few prototypes,
8533 which can conflict with char $ac_func(); below. */
8535 /* Override any gcc2 internal prototype to avoid an error. */
8536 /* We use char because int might match the return type of a gcc2
8537 builtin and then its argument prototype would still apply. */
8542 /* The GNU C library defines this for functions which it implements
8543 to always fail with ENOSYS. Some functions are actually named
8544 something starting with __ and the normal name is an alias. */
8545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8553 if { (eval echo configure:8554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8555 eval "ac_cv_func_
$ac_func=yes"
8557 echo "configure
: failed program was
:" >&5
8558 cat conftest.$ac_ext >&5
8560 eval "ac_cv_func_
$ac_func=no
"
8565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8566 echo "$ac_t""yes" 1>&6
8567 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8568 cat >> confdefs.h <<EOF
8569 #define $ac_tr_func 1
8573 echo "$ac_t""no
" 1>&6
8574 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
8578 for ac_func in __signbitf
8580 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8581 echo "configure
:8582: checking
for $ac_func" >&5
8582 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8583 echo $ac_n "(cached
) $ac_c" 1>&6
8585 cat > conftest.$ac_ext <<EOF
8586 #line 8587 "configure
"
8587 #include "confdefs.h
"
8588 /* System header to define __stub macros and hopefully few prototypes,
8589 which can conflict with char $ac_func(); below. */
8591 /* Override any gcc2 internal prototype to avoid an error. */
8592 /* We use char because int might match the return type of a gcc2
8593 builtin and then its argument prototype would still apply. */
8598 /* The GNU C library defines this for functions which it implements
8599 to always fail with ENOSYS. Some functions are actually named
8600 something starting with __ and the normal name is an alias. */
8601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8609 if { (eval echo configure:8610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8611 eval "ac_cv_func_
$ac_func=yes"
8613 echo "configure
: failed program was
:" >&5
8614 cat conftest.$ac_ext >&5
8616 eval "ac_cv_func_
$ac_func=no
"
8621 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8622 echo "$ac_t""yes" 1>&6
8623 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8624 cat >> confdefs.h <<EOF
8625 #define $ac_tr_func 1
8629 echo "$ac_t""no
" 1>&6
8630 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
8635 if test x$ac_cv_func_copysignl = x"yes"; then
8636 for ac_func in __signbitl
8638 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8639 echo "configure
:8640: checking
for $ac_func" >&5
8640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8641 echo $ac_n "(cached
) $ac_c" 1>&6
8643 cat > conftest.$ac_ext <<EOF
8644 #line 8645 "configure
"
8645 #include "confdefs.h
"
8646 /* System header to define __stub macros and hopefully few prototypes,
8647 which can conflict with char $ac_func(); below. */
8649 /* Override any gcc2 internal prototype to avoid an error. */
8650 /* We use char because int might match the return type of a gcc2
8651 builtin and then its argument prototype would still apply. */
8656 /* The GNU C library defines this for functions which it implements
8657 to always fail with ENOSYS. Some functions are actually named
8658 something starting with __ and the normal name is an alias. */
8659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8667 if { (eval echo configure:8668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8669 eval "ac_cv_func_
$ac_func=yes"
8671 echo "configure
: failed program was
:" >&5
8672 cat conftest.$ac_ext >&5
8674 eval "ac_cv_func_
$ac_func=no
"
8679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8680 echo "$ac_t""yes" 1>&6
8681 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8682 cat >> confdefs.h <<EOF
8683 #define $ac_tr_func 1
8687 echo "$ac_t""no
" 1>&6
8688 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
8694 if test -n "$LIBMATHOBJS"; then
8700 if test "$need_libmath" = yes; then
8701 GLIBCPP_BUILD_LIBMATH_TRUE=
8702 GLIBCPP_BUILD_LIBMATH_FALSE='#'
8704 GLIBCPP_BUILD_LIBMATH_TRUE='#'
8705 GLIBCPP_BUILD_LIBMATH_FALSE=
8711 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
8712 echo "configure
:8713: checking
for mbstate_t
" >&5
8713 cat > conftest.$ac_ext <<EOF
8714 #line 8715 "configure
"
8715 #include "confdefs.h
"
8718 mbstate_t teststate;
8721 if { (eval echo configure:8722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8725 echo "configure
: failed program was
:" >&5
8726 cat conftest.$ac_ext >&5
8731 echo "$ac_t""$have_mbstate_t" 1>&6
8732 if test x"$have_mbstate_t" = xyes; then
8733 cat >> confdefs.h <<\EOF
8734 #define HAVE_MBSTATE_T 1
8739 for ac_hdr in wchar.h
8741 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8742 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8743 echo "configure
:8744: checking
for $ac_hdr" >&5
8744 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8745 echo $ac_n "(cached
) $ac_c" 1>&6
8747 cat > conftest.$ac_ext <<EOF
8748 #line 8749 "configure
"
8749 #include "confdefs.h
"
8752 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8753 { (eval echo configure:8754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8754 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8755 if test -z "$ac_err"; then
8757 eval "ac_cv_header_
$ac_safe=yes"
8760 echo "configure
: failed program was
:" >&5
8761 cat conftest.$ac_ext >&5
8763 eval "ac_cv_header_
$ac_safe=no
"
8767 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8768 echo "$ac_t""yes" 1>&6
8769 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8770 cat >> confdefs.h <<EOF
8771 #define $ac_tr_hdr 1
8775 echo "$ac_t""no
" 1>&6
8780 for ac_hdr in wctype.h
8782 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8783 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
8784 echo "configure
:8785: checking
for $ac_hdr" >&5
8785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8786 echo $ac_n "(cached
) $ac_c" 1>&6
8788 cat > conftest.$ac_ext <<EOF
8789 #line 8790 "configure
"
8790 #include "confdefs.h
"
8793 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
8794 { (eval echo configure:8795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
8796 if test -z "$ac_err"; then
8798 eval "ac_cv_header_
$ac_safe=yes"
8801 echo "configure
: failed program was
:" >&5
8802 cat conftest.$ac_ext >&5
8804 eval "ac_cv_header_
$ac_safe=no
"
8808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8809 echo "$ac_t""yes" 1>&6
8810 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8811 cat >> confdefs.h <<EOF
8812 #define $ac_tr_hdr 1
8816 echo "$ac_t""no
" 1>&6
8822 if test x"$ac_has_wchar_h" = xyes &&
8823 test x"$ac_has_wctype_h" = xyes &&
8824 test x"$enable_c_mbchar" != xno; then
8826 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
8827 echo "configure
:8828: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
8828 cat > conftest.$ac_ext <<EOF
8829 #line 8830 "configure
"
8830 #include "confdefs.h
"
8833 int i = WCHAR_MIN; int j = WCHAR_MAX;
8836 if { (eval echo configure:8837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8838 has_wchar_minmax=yes
8840 echo "configure
: failed program was
:" >&5
8841 cat conftest.$ac_ext >&5
8846 echo "$ac_t""$has_wchar_minmax" 1>&6
8848 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
8849 echo "configure
:8850: checking
for WEOF
" >&5
8850 cat > conftest.$ac_ext <<EOF
8851 #line 8852 "configure
"
8852 #include "confdefs.h
"
8860 if { (eval echo configure:8861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8864 echo "configure
: failed program was
:" >&5
8865 cat conftest.$ac_ext >&5
8870 echo "$ac_t""$has_weof" 1>&6
8873 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
8875 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8876 echo "configure
:8877: checking
for $ac_func" >&5
8877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8878 echo $ac_n "(cached
) $ac_c" 1>&6
8880 cat > conftest.$ac_ext <<EOF
8881 #line 8882 "configure
"
8882 #include "confdefs.h
"
8883 /* System header to define __stub macros and hopefully few prototypes,
8884 which can conflict with char $ac_func(); below. */
8886 /* Override any gcc2 internal prototype to avoid an error. */
8887 /* We use char because int might match the return type of a gcc2
8888 builtin and then its argument prototype would still apply. */
8893 /* The GNU C library defines this for functions which it implements
8894 to always fail with ENOSYS. Some functions are actually named
8895 something starting with __ and the normal name is an alias. */
8896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8904 if { (eval echo configure:8905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8906 eval "ac_cv_func_
$ac_func=yes"
8908 echo "configure
: failed program was
:" >&5
8909 cat conftest.$ac_ext >&5
8911 eval "ac_cv_func_
$ac_func=no
"
8916 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8917 echo "$ac_t""yes" 1>&6
8918 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8919 cat >> confdefs.h <<EOF
8920 #define $ac_tr_func 1
8924 echo "$ac_t""no
" 1>&6
8931 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
8932 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
8933 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
8934 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
8935 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
8936 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
8938 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
8939 echo "configure
:8940: checking
for $ac_func" >&5
8940 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8941 echo $ac_n "(cached
) $ac_c" 1>&6
8943 cat > conftest.$ac_ext <<EOF
8944 #line 8945 "configure
"
8945 #include "confdefs.h
"
8946 /* System header to define __stub macros and hopefully few prototypes,
8947 which can conflict with char $ac_func(); below. */
8949 /* Override any gcc2 internal prototype to avoid an error. */
8950 /* We use char because int might match the return type of a gcc2
8951 builtin and then its argument prototype would still apply. */
8956 /* The GNU C library defines this for functions which it implements
8957 to always fail with ENOSYS. Some functions are actually named
8958 something starting with __ and the normal name is an alias. */
8959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8967 if { (eval echo configure:8968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
8969 eval "ac_cv_func_
$ac_func=yes"
8971 echo "configure
: failed program was
:" >&5
8972 cat conftest.$ac_ext >&5
8974 eval "ac_cv_func_
$ac_func=no
"
8979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8980 echo "$ac_t""yes" 1>&6
8981 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8982 cat >> confdefs.h <<EOF
8983 #define $ac_tr_func 1
8987 echo "$ac_t""no
" 1>&6
8994 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
8995 echo "configure
:8996: checking
for ISO C99 wchar_t support
" >&5
8996 if test x"$has_weof" = xyes &&
8997 test x"$has_wchar_minmax" = xyes &&
8998 test x"$ac_wfuncs" = xyes; then
8999 ac_isoC99_wchar_t=yes
9001 ac_isoC99_wchar_t=no
9003 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9005 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9006 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9007 echo "configure
:9008: checking
for iconv.h
" >&5
9008 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9009 echo $ac_n "(cached
) $ac_c" 1>&6
9011 cat > conftest.$ac_ext <<EOF
9012 #line 9013 "configure
"
9013 #include "confdefs.h
"
9016 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9017 { (eval echo configure:9018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9018 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9019 if test -z "$ac_err"; then
9021 eval "ac_cv_header_
$ac_safe=yes"
9024 echo "configure
: failed program was
:" >&5
9025 cat conftest.$ac_ext >&5
9027 eval "ac_cv_header_
$ac_safe=no
"
9031 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9032 echo "$ac_t""yes" 1>&6
9035 echo "$ac_t""no
" 1>&6
9039 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9040 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9041 echo "configure
:9042: checking
for langinfo.h
" >&5
9042 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9043 echo $ac_n "(cached
) $ac_c" 1>&6
9045 cat > conftest.$ac_ext <<EOF
9046 #line 9047 "configure
"
9047 #include "confdefs.h
"
9048 #include <langinfo.h>
9050 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9051 { (eval echo configure:9052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9053 if test -z "$ac_err"; then
9055 eval "ac_cv_header_
$ac_safe=yes"
9058 echo "configure
: failed program was
:" >&5
9059 cat conftest.$ac_ext >&5
9061 eval "ac_cv_header_
$ac_safe=no
"
9065 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9066 echo "$ac_t""yes" 1>&6
9067 ac_has_langinfo_h=yes
9069 echo "$ac_t""no
" 1>&6
9070 ac_has_langinfo_h=no
9074 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9075 echo "configure
:9076: checking
for iconv in -liconv" >&5
9076 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9077 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9078 echo $ac_n "(cached
) $ac_c" 1>&6
9080 ac_save_LIBS="$LIBS"
9081 LIBS="-liconv $LIBS"
9082 cat > conftest.$ac_ext <<EOF
9083 #line 9084 "configure
"
9084 #include "confdefs.h
"
9085 /* Override any gcc2 internal prototype to avoid an error. */
9086 /* We use char because int might match the return type of a gcc2
9087 builtin and then its argument prototype would still apply. */
9094 if { (eval echo configure:9095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9096 eval "ac_cv_lib_
$ac_lib_var=yes"
9098 echo "configure
: failed program was
:" >&5
9099 cat conftest.$ac_ext >&5
9101 eval "ac_cv_lib_
$ac_lib_var=no
"
9104 LIBS="$ac_save_LIBS"
9107 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9108 echo "$ac_t""yes" 1>&6
9111 echo "$ac_t""no
" 1>&6
9114 ac_save_LIBS="$LIBS"
9115 LIBS="$LIBS $libiconv"
9117 for ac_func in iconv_open iconv_close iconv nl_langinfo
9119 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9120 echo "configure
:9121: checking
for $ac_func" >&5
9121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9122 echo $ac_n "(cached
) $ac_c" 1>&6
9124 cat > conftest.$ac_ext <<EOF
9125 #line 9126 "configure
"
9126 #include "confdefs.h
"
9127 /* System header to define __stub macros and hopefully few prototypes,
9128 which can conflict with char $ac_func(); below. */
9130 /* Override any gcc2 internal prototype to avoid an error. */
9131 /* We use char because int might match the return type of a gcc2
9132 builtin and then its argument prototype would still apply. */
9137 /* The GNU C library defines this for functions which it implements
9138 to always fail with ENOSYS. Some functions are actually named
9139 something starting with __ and the normal name is an alias. */
9140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9148 if { (eval echo configure:9149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9150 eval "ac_cv_func_
$ac_func=yes"
9152 echo "configure
: failed program was
:" >&5
9153 cat conftest.$ac_ext >&5
9155 eval "ac_cv_func_
$ac_func=no
"
9160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9161 echo "$ac_t""yes" 1>&6
9162 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9163 cat >> confdefs.h <<EOF
9164 #define $ac_tr_func 1
9169 echo "$ac_t""no
" 1>&6
9175 LIBS="$ac_save_LIBS"
9177 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
9178 echo "configure
:9179: checking
for XPG2 wchar_t support
" >&5
9179 if test x"$ac_has_iconv_h" = xyes &&
9180 test x"$ac_has_langinfo_h" = xyes &&
9181 test x"$ac_XPG2funcs" = xyes; then
9186 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
9188 if test x"$ac_isoC99_wchar_t" = xyes &&
9189 test x"$ac_XPG2_wchar_t" = xyes; then
9190 cat >> confdefs.h <<\EOF
9191 #define _GLIBCPP_USE_WCHAR_T 1
9197 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
9198 echo "configure
:9199: checking
for enabled wchar_t specializations
" >&5
9199 echo "$ac_t""$enable_wchar_t" 1>&6
9202 if test "$enable_wchar_t" = yes; then
9203 GLIBCPP_TEST_WCHAR_T_TRUE=
9204 GLIBCPP_TEST_WCHAR_T_FALSE='#'
9206 GLIBCPP_TEST_WCHAR_T_TRUE='#'
9207 GLIBCPP_TEST_WCHAR_T_FALSE=
9210 os_include_dir="os
/mingw32
"
9213 os_include_dir="os
/windiss
"
9216 SECTION_FLAGS='-ffunction-sections -fdata-sections'
9219 # If we're not using GNU ld, then there's no point in even trying these
9220 # tests. Check for that first. We should have already tested for gld
9221 # by now (in libtool), but require it now just to be safe...
9222 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9223 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9226 # The name set by libtool depends on the version of libtool. Shame on us
9227 # for depending on an impl detail, but c'est la vie. Older versions used
9228 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9229 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9230 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
9231 # set (hence we're using an older libtool), then set it.
9232 if test x${with_gnu_ld+set} != xset; then
9233 if test x${ac_cv_prog_gnu_ld+set} != xset; then
9234 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
9237 with_gnu_ld=$ac_cv_prog_gnu_ld
9241 # Start by getting the version number. I think the libtool test already
9242 # does some of this, but throws away the result.
9244 ldver=`$LD --version 2>/dev/null | head -1 | \
9245 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9247 glibcpp_gnu_ld_version=`echo $ldver | \
9248 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9250 # Set --gc-sections.
9251 if test "$with_gnu_ld" = "notbroken
"; then
9252 # GNU ld it is! Joy and bunny rabbits!
9254 # All these tests are for C++; save the language and the compiler flags.
9255 # Need to do this so that g++ won't try to link in libstdc++
9256 ac_test_CFLAGS="${CFLAGS+set}"
9257 ac_save_CFLAGS="$CFLAGS"
9258 CFLAGS='-x c++ -Wl,--gc-sections'
9260 # Check for -Wl,--gc-sections
9261 # XXX This test is broken at the moment, as symbols required for
9262 # linking are now in libsupc++ (not built yet.....). In addition,
9263 # this test has cored on solaris in the past. In addition,
9264 # --gc-sections doesn't really work at the moment (keeps on discarding
9265 # used sections, first .eh_frame and now some of the glibc sections for
9266 # iconv). Bzzzzt. Thanks for playing, maybe next time.
9267 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
9268 echo "configure
:9269: checking
for ld that supports
-Wl,--gc-sections" >&5
9269 if test "$cross_compiling" = yes; then
9270 ac_sectionLDflags=yes
9272 cat > conftest.$ac_ext <<EOF
9273 #line 9274 "configure
"
9274 #include "confdefs.h
"
9284 if { (eval echo configure:9285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
9286 ac_sectionLDflags=yes
9288 echo "configure
: failed program was
:" >&5
9289 cat conftest.$ac_ext >&5
9291 ac_sectionLDflags=no
9296 if test "$ac_test_CFLAGS" = set; then
9297 CFLAGS="$ac_save_CFLAGS"
9299 # this is the suspicious part
9302 if test "$ac_sectionLDflags" = "yes"; then
9303 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9305 echo "$ac_t""$ac_sectionLDflags" 1>&6
9308 # Set linker optimization flags.
9309 if test x"$with_gnu_ld" = x"yes"; then
9310 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9317 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
9318 echo "configure
:9319: checking
for main
in -lm" >&5
9319 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
9320 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9321 echo $ac_n "(cached
) $ac_c" 1>&6
9323 ac_save_LIBS="$LIBS"
9325 cat > conftest.$ac_ext <<EOF
9326 #line 9327 "configure
"
9327 #include "confdefs.h
"
9333 if { (eval echo configure:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9335 eval "ac_cv_lib_
$ac_lib_var=yes"
9337 echo "configure
: failed program was
:" >&5
9338 cat conftest.$ac_ext >&5
9340 eval "ac_cv_lib_
$ac_lib_var=no
"
9343 LIBS="$ac_save_LIBS"
9346 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9347 echo "$ac_t""yes" 1>&6
9348 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9349 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9350 cat >> confdefs.h <<EOF
9351 #define $ac_tr_lib 1
9357 echo "$ac_t""no
" 1>&6
9360 for ac_func in nan copysignf
9362 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9363 echo "configure
:9364: checking
for $ac_func" >&5
9364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9365 echo $ac_n "(cached
) $ac_c" 1>&6
9367 cat > conftest.$ac_ext <<EOF
9368 #line 9369 "configure
"
9369 #include "confdefs.h
"
9370 /* System header to define __stub macros and hopefully few prototypes,
9371 which can conflict with char $ac_func(); below. */
9373 /* Override any gcc2 internal prototype to avoid an error. */
9374 /* We use char because int might match the return type of a gcc2
9375 builtin and then its argument prototype would still apply. */
9380 /* The GNU C library defines this for functions which it implements
9381 to always fail with ENOSYS. Some functions are actually named
9382 something starting with __ and the normal name is an alias. */
9383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9391 if { (eval echo configure:9392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9393 eval "ac_cv_func_
$ac_func=yes"
9395 echo "configure
: failed program was
:" >&5
9396 cat conftest.$ac_ext >&5
9398 eval "ac_cv_func_
$ac_func=no
"
9403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9404 echo "$ac_t""yes" 1>&6
9405 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9406 cat >> confdefs.h <<EOF
9407 #define $ac_tr_func 1
9411 echo "$ac_t""no
" 1>&6
9412 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
9417 for ac_func in __signbit
9419 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9420 echo "configure
:9421: checking
for $ac_func" >&5
9421 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9422 echo $ac_n "(cached
) $ac_c" 1>&6
9424 cat > conftest.$ac_ext <<EOF
9425 #line 9426 "configure
"
9426 #include "confdefs.h
"
9427 /* System header to define __stub macros and hopefully few prototypes,
9428 which can conflict with char $ac_func(); below. */
9430 /* Override any gcc2 internal prototype to avoid an error. */
9431 /* We use char because int might match the return type of a gcc2
9432 builtin and then its argument prototype would still apply. */
9437 /* The GNU C library defines this for functions which it implements
9438 to always fail with ENOSYS. Some functions are actually named
9439 something starting with __ and the normal name is an alias. */
9440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9448 if { (eval echo configure:9449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9450 eval "ac_cv_func_
$ac_func=yes"
9452 echo "configure
: failed program was
:" >&5
9453 cat conftest.$ac_ext >&5
9455 eval "ac_cv_func_
$ac_func=no
"
9460 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9461 echo "$ac_t""yes" 1>&6
9462 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9463 cat >> confdefs.h <<EOF
9464 #define $ac_tr_func 1
9468 echo "$ac_t""no
" 1>&6
9469 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
9473 for ac_func in __signbitf
9475 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9476 echo "configure
:9477: checking
for $ac_func" >&5
9477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9478 echo $ac_n "(cached
) $ac_c" 1>&6
9480 cat > conftest.$ac_ext <<EOF
9481 #line 9482 "configure
"
9482 #include "confdefs.h
"
9483 /* System header to define __stub macros and hopefully few prototypes,
9484 which can conflict with char $ac_func(); below. */
9486 /* Override any gcc2 internal prototype to avoid an error. */
9487 /* We use char because int might match the return type of a gcc2
9488 builtin and then its argument prototype would still apply. */
9493 /* The GNU C library defines this for functions which it implements
9494 to always fail with ENOSYS. Some functions are actually named
9495 something starting with __ and the normal name is an alias. */
9496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9504 if { (eval echo configure:9505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9506 eval "ac_cv_func_
$ac_func=yes"
9508 echo "configure
: failed program was
:" >&5
9509 cat conftest.$ac_ext >&5
9511 eval "ac_cv_func_
$ac_func=no
"
9516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9517 echo "$ac_t""yes" 1>&6
9518 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9519 cat >> confdefs.h <<EOF
9520 #define $ac_tr_func 1
9524 echo "$ac_t""no
" 1>&6
9525 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
9530 if test x$ac_cv_func_copysignl = x"yes"; then
9531 for ac_func in __signbitl
9533 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9534 echo "configure
:9535: checking
for $ac_func" >&5
9535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9536 echo $ac_n "(cached
) $ac_c" 1>&6
9538 cat > conftest.$ac_ext <<EOF
9539 #line 9540 "configure
"
9540 #include "confdefs.h
"
9541 /* System header to define __stub macros and hopefully few prototypes,
9542 which can conflict with char $ac_func(); below. */
9544 /* Override any gcc2 internal prototype to avoid an error. */
9545 /* We use char because int might match the return type of a gcc2
9546 builtin and then its argument prototype would still apply. */
9551 /* The GNU C library defines this for functions which it implements
9552 to always fail with ENOSYS. Some functions are actually named
9553 something starting with __ and the normal name is an alias. */
9554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9562 if { (eval echo configure:9563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9564 eval "ac_cv_func_
$ac_func=yes"
9566 echo "configure
: failed program was
:" >&5
9567 cat conftest.$ac_ext >&5
9569 eval "ac_cv_func_
$ac_func=no
"
9574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9575 echo "$ac_t""yes" 1>&6
9576 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9577 cat >> confdefs.h <<EOF
9578 #define $ac_tr_func 1
9582 echo "$ac_t""no
" 1>&6
9583 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
9589 if test -n "$LIBMATHOBJS"; then
9595 if test "$need_libmath" = yes; then
9596 GLIBCPP_BUILD_LIBMATH_TRUE=
9597 GLIBCPP_BUILD_LIBMATH_FALSE='#'
9599 GLIBCPP_BUILD_LIBMATH_TRUE='#'
9600 GLIBCPP_BUILD_LIBMATH_FALSE=
9606 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
9607 echo "configure
:9608: checking
for mbstate_t
" >&5
9608 cat > conftest.$ac_ext <<EOF
9609 #line 9610 "configure
"
9610 #include "confdefs.h
"
9613 mbstate_t teststate;
9616 if { (eval echo configure:9617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9620 echo "configure
: failed program was
:" >&5
9621 cat conftest.$ac_ext >&5
9626 echo "$ac_t""$have_mbstate_t" 1>&6
9627 if test x"$have_mbstate_t" = xyes; then
9628 cat >> confdefs.h <<\EOF
9629 #define HAVE_MBSTATE_T 1
9634 for ac_hdr in wchar.h
9636 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9637 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9638 echo "configure
:9639: checking
for $ac_hdr" >&5
9639 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9640 echo $ac_n "(cached
) $ac_c" 1>&6
9642 cat > conftest.$ac_ext <<EOF
9643 #line 9644 "configure
"
9644 #include "confdefs.h
"
9647 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9648 { (eval echo configure:9649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9649 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9650 if test -z "$ac_err"; then
9652 eval "ac_cv_header_
$ac_safe=yes"
9655 echo "configure
: failed program was
:" >&5
9656 cat conftest.$ac_ext >&5
9658 eval "ac_cv_header_
$ac_safe=no
"
9662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9663 echo "$ac_t""yes" 1>&6
9664 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9665 cat >> confdefs.h <<EOF
9666 #define $ac_tr_hdr 1
9670 echo "$ac_t""no
" 1>&6
9675 for ac_hdr in wctype.h
9677 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9678 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
9679 echo "configure
:9680: checking
for $ac_hdr" >&5
9680 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9681 echo $ac_n "(cached
) $ac_c" 1>&6
9683 cat > conftest.$ac_ext <<EOF
9684 #line 9685 "configure
"
9685 #include "confdefs.h
"
9688 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9689 { (eval echo configure:9690: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9690 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9691 if test -z "$ac_err"; then
9693 eval "ac_cv_header_
$ac_safe=yes"
9696 echo "configure
: failed program was
:" >&5
9697 cat conftest.$ac_ext >&5
9699 eval "ac_cv_header_
$ac_safe=no
"
9703 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9704 echo "$ac_t""yes" 1>&6
9705 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9706 cat >> confdefs.h <<EOF
9707 #define $ac_tr_hdr 1
9711 echo "$ac_t""no
" 1>&6
9717 if test x"$ac_has_wchar_h" = xyes &&
9718 test x"$ac_has_wctype_h" = xyes &&
9719 test x"$enable_c_mbchar" != xno; then
9721 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
9722 echo "configure
:9723: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
9723 cat > conftest.$ac_ext <<EOF
9724 #line 9725 "configure
"
9725 #include "confdefs.h
"
9728 int i = WCHAR_MIN; int j = WCHAR_MAX;
9731 if { (eval echo configure:9732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9733 has_wchar_minmax=yes
9735 echo "configure
: failed program was
:" >&5
9736 cat conftest.$ac_ext >&5
9741 echo "$ac_t""$has_wchar_minmax" 1>&6
9743 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
9744 echo "configure
:9745: checking
for WEOF
" >&5
9745 cat > conftest.$ac_ext <<EOF
9746 #line 9747 "configure
"
9747 #include "confdefs.h
"
9755 if { (eval echo configure:9756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9759 echo "configure
: failed program was
:" >&5
9760 cat conftest.$ac_ext >&5
9765 echo "$ac_t""$has_weof" 1>&6
9768 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
9770 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9771 echo "configure
:9772: checking
for $ac_func" >&5
9772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9773 echo $ac_n "(cached
) $ac_c" 1>&6
9775 cat > conftest.$ac_ext <<EOF
9776 #line 9777 "configure
"
9777 #include "confdefs.h
"
9778 /* System header to define __stub macros and hopefully few prototypes,
9779 which can conflict with char $ac_func(); below. */
9781 /* Override any gcc2 internal prototype to avoid an error. */
9782 /* We use char because int might match the return type of a gcc2
9783 builtin and then its argument prototype would still apply. */
9788 /* The GNU C library defines this for functions which it implements
9789 to always fail with ENOSYS. Some functions are actually named
9790 something starting with __ and the normal name is an alias. */
9791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9799 if { (eval echo configure:9800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9801 eval "ac_cv_func_
$ac_func=yes"
9803 echo "configure
: failed program was
:" >&5
9804 cat conftest.$ac_ext >&5
9806 eval "ac_cv_func_
$ac_func=no
"
9811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9812 echo "$ac_t""yes" 1>&6
9813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9814 cat >> confdefs.h <<EOF
9815 #define $ac_tr_func 1
9819 echo "$ac_t""no
" 1>&6
9826 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
9827 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
9828 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
9829 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
9830 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
9831 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
9833 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
9834 echo "configure
:9835: checking
for $ac_func" >&5
9835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9836 echo $ac_n "(cached
) $ac_c" 1>&6
9838 cat > conftest.$ac_ext <<EOF
9839 #line 9840 "configure
"
9840 #include "confdefs.h
"
9841 /* System header to define __stub macros and hopefully few prototypes,
9842 which can conflict with char $ac_func(); below. */
9844 /* Override any gcc2 internal prototype to avoid an error. */
9845 /* We use char because int might match the return type of a gcc2
9846 builtin and then its argument prototype would still apply. */
9851 /* The GNU C library defines this for functions which it implements
9852 to always fail with ENOSYS. Some functions are actually named
9853 something starting with __ and the normal name is an alias. */
9854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9862 if { (eval echo configure:9863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9864 eval "ac_cv_func_
$ac_func=yes"
9866 echo "configure
: failed program was
:" >&5
9867 cat conftest.$ac_ext >&5
9869 eval "ac_cv_func_
$ac_func=no
"
9874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9875 echo "$ac_t""yes" 1>&6
9876 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9877 cat >> confdefs.h <<EOF
9878 #define $ac_tr_func 1
9882 echo "$ac_t""no
" 1>&6
9889 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
9890 echo "configure
:9891: checking
for ISO C99 wchar_t support
" >&5
9891 if test x"$has_weof" = xyes &&
9892 test x"$has_wchar_minmax" = xyes &&
9893 test x"$ac_wfuncs" = xyes; then
9894 ac_isoC99_wchar_t=yes
9896 ac_isoC99_wchar_t=no
9898 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
9900 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
9901 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
9902 echo "configure
:9903: checking
for iconv.h
" >&5
9903 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9904 echo $ac_n "(cached
) $ac_c" 1>&6
9906 cat > conftest.$ac_ext <<EOF
9907 #line 9908 "configure
"
9908 #include "confdefs.h
"
9911 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9912 { (eval echo configure:9913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9913 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9914 if test -z "$ac_err"; then
9916 eval "ac_cv_header_
$ac_safe=yes"
9919 echo "configure
: failed program was
:" >&5
9920 cat conftest.$ac_ext >&5
9922 eval "ac_cv_header_
$ac_safe=no
"
9926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9927 echo "$ac_t""yes" 1>&6
9930 echo "$ac_t""no
" 1>&6
9934 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
9935 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
9936 echo "configure
:9937: checking
for langinfo.h
" >&5
9937 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9938 echo $ac_n "(cached
) $ac_c" 1>&6
9940 cat > conftest.$ac_ext <<EOF
9941 #line 9942 "configure
"
9942 #include "confdefs.h
"
9943 #include <langinfo.h>
9945 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
9946 { (eval echo configure:9947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9947 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
9948 if test -z "$ac_err"; then
9950 eval "ac_cv_header_
$ac_safe=yes"
9953 echo "configure
: failed program was
:" >&5
9954 cat conftest.$ac_ext >&5
9956 eval "ac_cv_header_
$ac_safe=no
"
9960 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9961 echo "$ac_t""yes" 1>&6
9962 ac_has_langinfo_h=yes
9964 echo "$ac_t""no
" 1>&6
9965 ac_has_langinfo_h=no
9969 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
9970 echo "configure
:9971: checking
for iconv in -liconv" >&5
9971 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
9972 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9973 echo $ac_n "(cached
) $ac_c" 1>&6
9975 ac_save_LIBS="$LIBS"
9976 LIBS="-liconv $LIBS"
9977 cat > conftest.$ac_ext <<EOF
9978 #line 9979 "configure
"
9979 #include "confdefs.h
"
9980 /* Override any gcc2 internal prototype to avoid an error. */
9981 /* We use char because int might match the return type of a gcc2
9982 builtin and then its argument prototype would still apply. */
9989 if { (eval echo configure:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
9991 eval "ac_cv_lib_
$ac_lib_var=yes"
9993 echo "configure
: failed program was
:" >&5
9994 cat conftest.$ac_ext >&5
9996 eval "ac_cv_lib_
$ac_lib_var=no
"
9999 LIBS="$ac_save_LIBS"
10002 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10003 echo "$ac_t""yes" 1>&6
10006 echo "$ac_t""no
" 1>&6
10009 ac_save_LIBS="$LIBS"
10010 LIBS="$LIBS $libiconv"
10012 for ac_func in iconv_open iconv_close iconv nl_langinfo
10014 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10015 echo "configure
:10016: checking
for $ac_func" >&5
10016 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10017 echo $ac_n "(cached
) $ac_c" 1>&6
10019 cat > conftest.$ac_ext <<EOF
10020 #line 10021 "configure
"
10021 #include "confdefs.h
"
10022 /* System header to define __stub macros and hopefully few prototypes,
10023 which can conflict with char $ac_func(); below. */
10024 #include <assert.h>
10025 /* Override any gcc2 internal prototype to avoid an error. */
10026 /* We use char because int might match the return type of a gcc2
10027 builtin and then its argument prototype would still apply. */
10032 /* The GNU C library defines this for functions which it implements
10033 to always fail with ENOSYS. Some functions are actually named
10034 something starting with __ and the normal name is an alias. */
10035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10043 if { (eval echo configure:10044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10045 eval "ac_cv_func_
$ac_func=yes"
10047 echo "configure
: failed program was
:" >&5
10048 cat conftest.$ac_ext >&5
10050 eval "ac_cv_func_
$ac_func=no
"
10055 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10056 echo "$ac_t""yes" 1>&6
10057 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10058 cat >> confdefs.h <<EOF
10059 #define $ac_tr_func 1
10064 echo "$ac_t""no
" 1>&6
10070 LIBS="$ac_save_LIBS"
10072 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
10073 echo "configure
:10074: checking
for XPG2 wchar_t support
" >&5
10074 if test x"$ac_has_iconv_h" = xyes &&
10075 test x"$ac_has_langinfo_h" = xyes &&
10076 test x"$ac_XPG2funcs" = xyes; then
10077 ac_XPG2_wchar_t=yes
10081 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
10083 if test x"$ac_isoC99_wchar_t" = xyes &&
10084 test x"$ac_XPG2_wchar_t" = xyes; then
10085 cat >> confdefs.h <<\EOF
10086 #define _GLIBCPP_USE_WCHAR_T 1
10092 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
10093 echo "configure
:10094: checking
for enabled wchar_t specializations
" >&5
10094 echo "$ac_t""$enable_wchar_t" 1>&6
10097 if test "$enable_wchar_t" = yes; then
10098 GLIBCPP_TEST_WCHAR_T_TRUE=
10099 GLIBCPP_TEST_WCHAR_T_FALSE='#'
10101 GLIBCPP_TEST_WCHAR_T_TRUE='#'
10102 GLIBCPP_TEST_WCHAR_T_FALSE=
10105 os_include_dir="os
/qnx
/qnx6.1
"
10106 cat >> confdefs.h <<\EOF
10107 #define HAVE_COSF 1
10110 cat >> confdefs.h <<\EOF
10111 #define HAVE_COSL 1
10114 cat >> confdefs.h <<\EOF
10115 #define HAVE_COSHF 1
10118 cat >> confdefs.h <<\EOF
10119 #define HAVE_COSHL 1
10122 cat >> confdefs.h <<\EOF
10123 #define HAVE_LOGF 1
10126 cat >> confdefs.h <<\EOF
10127 #define HAVE_LOGL 1
10130 cat >> confdefs.h <<\EOF
10131 #define HAVE_LOG10F 1
10134 cat >> confdefs.h <<\EOF
10135 #define HAVE_LOG10L 1
10138 cat >> confdefs.h <<\EOF
10139 #define HAVE_SINF 1
10142 cat >> confdefs.h <<\EOF
10143 #define HAVE_SINL 1
10146 cat >> confdefs.h <<\EOF
10147 #define HAVE_SINHF 1
10150 cat >> confdefs.h <<\EOF
10151 #define HAVE_SINHL 1
10156 os_include_dir="os
/newlib
"
10157 cat >> confdefs.h <<\EOF
10158 #define HAVE_HYPOT 1
10168 cat >> confdefs.h <<\EOF
10169 #define HAVE_ACOSF 1
10172 cat >> confdefs.h <<\EOF
10173 #define HAVE_ASINF 1
10176 cat >> confdefs.h <<\EOF
10177 #define HAVE_ATAN2F 1
10180 cat >> confdefs.h <<\EOF
10181 #define HAVE_ATANF 1
10184 cat >> confdefs.h <<\EOF
10185 #define HAVE_CEILF 1
10188 cat >> confdefs.h <<\EOF
10189 #define HAVE_COPYSIGN 1
10192 cat >> confdefs.h <<\EOF
10193 #define HAVE_COPYSIGNF 1
10196 cat >> confdefs.h <<\EOF
10197 #define HAVE_COSF 1
10200 cat >> confdefs.h <<\EOF
10201 #define HAVE_COSHF 1
10204 cat >> confdefs.h <<\EOF
10205 #define HAVE_EXPF 1
10208 cat >> confdefs.h <<\EOF
10209 #define HAVE_FABSF 1
10212 cat >> confdefs.h <<\EOF
10213 #define HAVE_FLOORF 1
10216 cat >> confdefs.h <<\EOF
10217 #define HAVE_FMODF 1
10220 cat >> confdefs.h <<\EOF
10221 #define HAVE_FREXPF 1
10224 cat >> confdefs.h <<\EOF
10225 #define HAVE_LDEXPF 1
10228 cat >> confdefs.h <<\EOF
10229 #define HAVE_LOG10F 1
10232 cat >> confdefs.h <<\EOF
10233 #define HAVE_LOGF 1
10236 cat >> confdefs.h <<\EOF
10237 #define HAVE_MODFF 1
10240 cat >> confdefs.h <<\EOF
10241 #define HAVE_POWF 1
10244 cat >> confdefs.h <<\EOF
10245 #define HAVE_SINF 1
10248 cat >> confdefs.h <<\EOF
10249 #define HAVE_SINHF 1
10252 cat >> confdefs.h <<\EOF
10253 #define HAVE_SQRTF 1
10256 cat >> confdefs.h <<\EOF
10257 #define HAVE_TANF 1
10260 cat >> confdefs.h <<\EOF
10261 #define HAVE_TANHF 1
10266 # Must replicate generic section since we don't have strtof or strtold.
10267 cat >> confdefs.h <<\EOF
10268 #define HAVE_MMAP 1
10271 cat >> confdefs.h <<\EOF
10272 #define HAVE_ACOSF 1
10275 cat >> confdefs.h <<\EOF
10276 #define HAVE_ASINF 1
10279 cat >> confdefs.h <<\EOF
10280 #define HAVE_ATAN2F 1
10283 cat >> confdefs.h <<\EOF
10284 #define HAVE_ATANF 1
10287 cat >> confdefs.h <<\EOF
10288 #define HAVE_CEILF 1
10291 cat >> confdefs.h <<\EOF
10292 #define HAVE_COPYSIGN 1
10295 cat >> confdefs.h <<\EOF
10296 #define HAVE_COPYSIGNF 1
10299 cat >> confdefs.h <<\EOF
10300 #define HAVE_COSF 1
10303 cat >> confdefs.h <<\EOF
10304 #define HAVE_COSHF 1
10307 cat >> confdefs.h <<\EOF
10308 #define HAVE_EXPF 1
10311 cat >> confdefs.h <<\EOF
10312 #define HAVE_FABSF 1
10315 cat >> confdefs.h <<\EOF
10316 #define HAVE_FLOORF 1
10319 cat >> confdefs.h <<\EOF
10320 #define HAVE_FMODF 1
10323 cat >> confdefs.h <<\EOF
10324 #define HAVE_FREXPF 1
10327 cat >> confdefs.h <<\EOF
10328 #define HAVE_LDEXPF 1
10331 cat >> confdefs.h <<\EOF
10332 #define HAVE_LOG10F 1
10335 cat >> confdefs.h <<\EOF
10336 #define HAVE_LOGF 1
10339 cat >> confdefs.h <<\EOF
10340 #define HAVE_MODFF 1
10343 cat >> confdefs.h <<\EOF
10344 #define HAVE_POWF 1
10347 cat >> confdefs.h <<\EOF
10348 #define HAVE_SINF 1
10351 cat >> confdefs.h <<\EOF
10352 #define HAVE_SINHF 1
10355 cat >> confdefs.h <<\EOF
10356 #define HAVE_SQRTF 1
10359 cat >> confdefs.h <<\EOF
10360 #define HAVE_TANF 1
10363 cat >> confdefs.h <<\EOF
10364 #define HAVE_TANHF 1
10369 # GLIBCPP_CHECK_STDLIB_SUPPORT
10370 cat >> confdefs.h <<\EOF
10371 #define HAVE_STRTOF 1
10374 cat >> confdefs.h <<\EOF
10375 #define HAVE_STRTOLD 1
10379 cat >> confdefs.h <<\EOF
10380 #define HAVE_MMAP 1
10384 cat >> confdefs.h <<\EOF
10385 #define HAVE_ACOSF 1
10388 cat >> confdefs.h <<\EOF
10389 #define HAVE_ASINF 1
10392 cat >> confdefs.h <<\EOF
10393 #define HAVE_ATAN2F 1
10396 cat >> confdefs.h <<\EOF
10397 #define HAVE_ATANF 1
10400 cat >> confdefs.h <<\EOF
10401 #define HAVE_CEILF 1
10404 cat >> confdefs.h <<\EOF
10405 #define HAVE_COPYSIGN 1
10408 cat >> confdefs.h <<\EOF
10409 #define HAVE_COPYSIGNF 1
10412 cat >> confdefs.h <<\EOF
10413 #define HAVE_COSF 1
10416 cat >> confdefs.h <<\EOF
10417 #define HAVE_COSHF 1
10420 cat >> confdefs.h <<\EOF
10421 #define HAVE_EXPF 1
10424 cat >> confdefs.h <<\EOF
10425 #define HAVE_FABSF 1
10428 cat >> confdefs.h <<\EOF
10429 #define HAVE_FLOORF 1
10432 cat >> confdefs.h <<\EOF
10433 #define HAVE_FMODF 1
10436 cat >> confdefs.h <<\EOF
10437 #define HAVE_FREXPF 1
10440 cat >> confdefs.h <<\EOF
10441 #define HAVE_LDEXPF 1
10444 cat >> confdefs.h <<\EOF
10445 #define HAVE_LOG10F 1
10448 cat >> confdefs.h <<\EOF
10449 #define HAVE_LOGF 1
10452 cat >> confdefs.h <<\EOF
10453 #define HAVE_MODFF 1
10456 cat >> confdefs.h <<\EOF
10457 #define HAVE_POWF 1
10460 cat >> confdefs.h <<\EOF
10461 #define HAVE_SINF 1
10464 cat >> confdefs.h <<\EOF
10465 #define HAVE_SINHF 1
10468 cat >> confdefs.h <<\EOF
10469 #define HAVE_SQRTF 1
10472 cat >> confdefs.h <<\EOF
10473 #define HAVE_TANF 1
10476 cat >> confdefs.h <<\EOF
10477 #define HAVE_TANHF 1
10483 # At some point, we should differentiate between architectures
10484 # like x86, which have long double versions, and alpha/powerpc/etc.,
10485 # which don't. For the time being, punt.
10486 if test x"long_double_math_on_this_cpu
" = x"yes"; then
10487 cat >> confdefs.h <<\EOF
10488 #define HAVE_ACOSL 1
10491 cat >> confdefs.h <<\EOF
10492 #define HAVE_ASINL 1
10495 cat >> confdefs.h <<\EOF
10496 #define HAVE_ATAN2L 1
10499 cat >> confdefs.h <<\EOF
10500 #define HAVE_ATANL 1
10503 cat >> confdefs.h <<\EOF
10504 #define HAVE_CEILL 1
10507 cat >> confdefs.h <<\EOF
10508 #define HAVE_COPYSIGNL 1
10511 cat >> confdefs.h <<\EOF
10512 #define HAVE_COSL 1
10515 cat >> confdefs.h <<\EOF
10516 #define HAVE_COSHL 1
10519 cat >> confdefs.h <<\EOF
10520 #define HAVE_EXPL 1
10523 cat >> confdefs.h <<\EOF
10524 #define HAVE_FABSL 1
10527 cat >> confdefs.h <<\EOF
10528 #define HAVE_FLOORL 1
10531 cat >> confdefs.h <<\EOF
10532 #define HAVE_FMODL 1
10535 cat >> confdefs.h <<\EOF
10536 #define HAVE_FREXPL 1
10539 cat >> confdefs.h <<\EOF
10540 #define HAVE_LDEXPL 1
10543 cat >> confdefs.h <<\EOF
10544 #define HAVE_LOG10L 1
10547 cat >> confdefs.h <<\EOF
10548 #define HAVE_LOGL 1
10551 cat >> confdefs.h <<\EOF
10552 #define HAVE_MODFL 1
10555 cat >> confdefs.h <<\EOF
10556 #define HAVE_POWL 1
10559 cat >> confdefs.h <<\EOF
10560 #define HAVE_SINCOSL 1
10563 cat >> confdefs.h <<\EOF
10564 #define HAVE_SINL 1
10567 cat >> confdefs.h <<\EOF
10568 #define HAVE_SINHL 1
10571 cat >> confdefs.h <<\EOF
10572 #define HAVE_SQRTL 1
10575 cat >> confdefs.h <<\EOF
10576 #define HAVE_TANL 1
10579 cat >> confdefs.h <<\EOF
10580 #define HAVE_TANHL 1
10587 # We are being configured natively. We can do more elaborate tests
10588 # that include AC_TRY_COMPILE now, as the linker is assumed to be
10590 GLIBCPP_IS_CROSS_COMPILING=0
10593 # Check for available headers.
10594 for ac_hdr in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
10595 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
10596 sys/types.h libintl.h
10598 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10599 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
10600 echo "configure
:10601: checking
for $ac_hdr" >&5
10601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10602 echo $ac_n "(cached
) $ac_c" 1>&6
10604 cat > conftest.$ac_ext <<EOF
10605 #line 10606 "configure
"
10606 #include "confdefs.h
"
10609 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
10610 { (eval echo configure:10611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10611 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
10612 if test -z "$ac_err"; then
10614 eval "ac_cv_header_
$ac_safe=yes"
10617 echo "configure
: failed program was
:" >&5
10618 cat conftest.$ac_ext >&5
10620 eval "ac_cv_header_
$ac_safe=no
"
10624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10625 echo "$ac_t""yes" 1>&6
10626 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10627 cat >> confdefs.h <<EOF
10628 #define $ac_tr_hdr 1
10632 echo "$ac_t""no
" 1>&6
10638 # All these tests are for C++; save the language and the compiler flags.
10639 # The CXXFLAGS thing is suspicious, but based on similar bits previously
10640 # found in GLIBCPP_CONFIGURE.
10643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10644 ac_cpp='$CXXCPP $CPPFLAGS'
10645 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10646 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10647 cross_compiling=$ac_cv_prog_cxx_cross
10649 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10650 ac_save_CXXFLAGS="$CXXFLAGS"
10652 # Check for maintainer-mode bits.
10653 if test x"$USE_MAINTAINER_MODE" = xno; then
10659 # Check for -ffunction-sections -fdata-sections
10660 echo $ac_n "checking
for g
++ that supports
-ffunction-sections -fdata-sections""...
$ac_c" 1>&6
10661 echo "configure
:10662: checking
for g
++ that supports
-ffunction-sections -fdata-sections" >&5
10662 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
10663 cat > conftest.$ac_ext <<EOF
10664 #line 10665 "configure
"
10665 #include "confdefs.h
"
10672 if { (eval echo configure:10673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10676 echo "configure
: failed program was
:" >&5
10677 cat conftest.$ac_ext >&5
10682 if test "$ac_test_CXXFLAGS" = set; then
10683 CXXFLAGS="$ac_save_CXXFLAGS"
10685 # this is the suspicious part
10688 if test x"$ac_fdsections" = x"yes"; then
10689 SECTION_FLAGS='-ffunction-sections -fdata-sections'
10691 echo "$ac_t""$ac_fdsections" 1>&6
10694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10695 ac_cpp='$CPP $CPPFLAGS'
10696 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10697 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10698 cross_compiling=$ac_cv_prog_cc_cross
10704 # If we're not using GNU ld, then there's no point in even trying these
10705 # tests. Check for that first. We should have already tested for gld
10706 # by now (in libtool), but require it now just to be safe...
10707 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
10708 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
10711 # The name set by libtool depends on the version of libtool. Shame on us
10712 # for depending on an impl detail, but c'est la vie. Older versions used
10713 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
10714 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
10715 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
10716 # set (hence we're using an older libtool), then set it.
10717 if test x${with_gnu_ld+set} != xset; then
10718 if test x${ac_cv_prog_gnu_ld+set} != xset; then
10719 # We got through "ac_require
(ac_prog_ld
)" and still not set? Huh?
10722 with_gnu_ld=$ac_cv_prog_gnu_ld
10726 # Start by getting the version number. I think the libtool test already
10727 # does some of this, but throws away the result.
10729 ldver=`$LD --version 2>/dev/null | head -1 | \
10730 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
10732 glibcpp_gnu_ld_version=`echo $ldver | \
10733 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
10735 # Set --gc-sections.
10736 if test "$with_gnu_ld" = "notbroken
"; then
10737 # GNU ld it is! Joy and bunny rabbits!
10739 # All these tests are for C++; save the language and the compiler flags.
10740 # Need to do this so that g++ won't try to link in libstdc++
10741 ac_test_CFLAGS="${CFLAGS+set}"
10742 ac_save_CFLAGS="$CFLAGS"
10743 CFLAGS='-x c++ -Wl,--gc-sections'
10745 # Check for -Wl,--gc-sections
10746 # XXX This test is broken at the moment, as symbols required for
10747 # linking are now in libsupc++ (not built yet.....). In addition,
10748 # this test has cored on solaris in the past. In addition,
10749 # --gc-sections doesn't really work at the moment (keeps on discarding
10750 # used sections, first .eh_frame and now some of the glibc sections for
10751 # iconv). Bzzzzt. Thanks for playing, maybe next time.
10752 echo $ac_n "checking
for ld that supports
-Wl,--gc-sections""...
$ac_c" 1>&6
10753 echo "configure
:10754: checking
for ld that supports
-Wl,--gc-sections" >&5
10754 if test "$cross_compiling" = yes; then
10755 ac_sectionLDflags=yes
10757 cat > conftest.$ac_ext <<EOF
10758 #line 10759 "configure
"
10759 #include "confdefs.h
"
10769 if { (eval echo configure:10770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
10771 ac_sectionLDflags=yes
10773 echo "configure
: failed program was
:" >&5
10774 cat conftest.$ac_ext >&5
10776 ac_sectionLDflags=no
10781 if test "$ac_test_CFLAGS" = set; then
10782 CFLAGS="$ac_save_CFLAGS"
10784 # this is the suspicious part
10787 if test "$ac_sectionLDflags" = "yes"; then
10788 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
10790 echo "$ac_t""$ac_sectionLDflags" 1>&6
10793 # Set linker optimization flags.
10794 if test x"$with_gnu_ld" = x"yes"; then
10795 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
10802 ac_test_CXXFLAGS="${CXXFLAGS+set}"
10803 ac_save_CXXFLAGS="$CXXFLAGS"
10804 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
10806 echo $ac_n "checking
for sin
in -lm""...
$ac_c" 1>&6
10807 echo "configure
:10808: checking
for sin
in -lm" >&5
10808 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
10809 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10810 echo $ac_n "(cached
) $ac_c" 1>&6
10812 ac_save_LIBS="$LIBS"
10814 cat > conftest.$ac_ext <<EOF
10815 #line 10816 "configure
"
10816 #include "confdefs.h
"
10817 /* Override any gcc2 internal prototype to avoid an error. */
10818 /* We use char because int might match the return type of a gcc2
10819 builtin and then its argument prototype would still apply. */
10826 if { (eval echo configure:10827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10828 eval "ac_cv_lib_
$ac_lib_var=yes"
10830 echo "configure
: failed program was
:" >&5
10831 cat conftest.$ac_ext >&5
10833 eval "ac_cv_lib_
$ac_lib_var=no
"
10836 LIBS="$ac_save_LIBS"
10839 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10840 echo "$ac_t""yes" 1>&6
10843 echo "$ac_t""no
" 1>&6
10846 ac_save_LIBS="$LIBS"
10851 echo $ac_n "checking
for isinf declaration
""...
$ac_c" 1>&6
10852 echo "configure
:10853: checking
for isinf declaration
" >&5
10853 if test x${glibcpp_cv_func_isinf_use+set} != xset; then
10854 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
10855 echo $ac_n "(cached
) $ac_c" 1>&6
10860 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10861 ac_cpp='$CXXCPP $CPPFLAGS'
10862 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10863 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10864 cross_compiling=$ac_cv_prog_cxx_cross
10866 cat > conftest.$ac_ext <<EOF
10867 #line 10868 "configure
"
10868 #include "confdefs.h
"
10870 #ifdef HAVE_IEEEFP_H
10871 #include <ieeefp.h>
10878 if { (eval echo configure:10879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10880 glibcpp_cv_func_isinf_use=yes
10882 echo "configure
: failed program was
:" >&5
10883 cat conftest.$ac_ext >&5
10885 glibcpp_cv_func_isinf_use=no
10889 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10890 ac_cpp='$CPP $CPPFLAGS'
10891 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10892 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10893 cross_compiling=$ac_cv_prog_cc_cross
10899 echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
10901 if test x$glibcpp_cv_func_isinf_use = x"yes"; then
10902 for ac_func in isinf
10904 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
10905 echo "configure
:10906: checking
for $ac_func" >&5
10906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10907 echo $ac_n "(cached
) $ac_c" 1>&6
10909 cat > conftest.$ac_ext <<EOF
10910 #line 10911 "configure
"
10911 #include "confdefs.h
"
10912 /* System header to define __stub macros and hopefully few prototypes,
10913 which can conflict with char $ac_func(); below. */
10914 #include <assert.h>
10915 /* Override any gcc2 internal prototype to avoid an error. */
10916 /* We use char because int might match the return type of a gcc2
10917 builtin and then its argument prototype would still apply. */
10922 /* The GNU C library defines this for functions which it implements
10923 to always fail with ENOSYS. Some functions are actually named
10924 something starting with __ and the normal name is an alias. */
10925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10933 if { (eval echo configure:10934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
10935 eval "ac_cv_func_
$ac_func=yes"
10937 echo "configure
: failed program was
:" >&5
10938 cat conftest.$ac_ext >&5
10940 eval "ac_cv_func_
$ac_func=no
"
10945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10946 echo "$ac_t""yes" 1>&6
10947 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10948 cat >> confdefs.h <<EOF
10949 #define $ac_tr_func 1
10953 echo "$ac_t""no
" 1>&6
10959 echo $ac_n "checking
for _isinf declaration
""...
$ac_c" 1>&6
10960 echo "configure
:10961: checking
for _isinf declaration
" >&5
10961 if test x${glibcpp_cv_func__isinf_use+set} != xset; then
10962 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
10963 echo $ac_n "(cached
) $ac_c" 1>&6
10968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10969 ac_cpp='$CXXCPP $CPPFLAGS'
10970 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10971 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10972 cross_compiling=$ac_cv_prog_cxx_cross
10974 cat > conftest.$ac_ext <<EOF
10975 #line 10976 "configure
"
10976 #include "confdefs.h
"
10978 #ifdef HAVE_IEEEFP_H
10979 #include <ieeefp.h>
10986 if { (eval echo configure:10987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10988 glibcpp_cv_func__isinf_use=yes
10990 echo "configure
: failed program was
:" >&5
10991 cat conftest.$ac_ext >&5
10993 glibcpp_cv_func__isinf_use=no
10997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10998 ac_cpp='$CPP $CPPFLAGS'
10999 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11000 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11001 cross_compiling=$ac_cv_prog_cc_cross
11007 echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
11009 if test x$glibcpp_cv_func__isinf_use = x"yes"; then
11010 for ac_func in _isinf
11012 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11013 echo "configure
:11014: checking
for $ac_func" >&5
11014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11015 echo $ac_n "(cached
) $ac_c" 1>&6
11017 cat > conftest.$ac_ext <<EOF
11018 #line 11019 "configure
"
11019 #include "confdefs.h
"
11020 /* System header to define __stub macros and hopefully few prototypes,
11021 which can conflict with char $ac_func(); below. */
11022 #include <assert.h>
11023 /* Override any gcc2 internal prototype to avoid an error. */
11024 /* We use char because int might match the return type of a gcc2
11025 builtin and then its argument prototype would still apply. */
11030 /* The GNU C library defines this for functions which it implements
11031 to always fail with ENOSYS. Some functions are actually named
11032 something starting with __ and the normal name is an alias. */
11033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11041 if { (eval echo configure:11042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11043 eval "ac_cv_func_
$ac_func=yes"
11045 echo "configure
: failed program was
:" >&5
11046 cat conftest.$ac_ext >&5
11048 eval "ac_cv_func_
$ac_func=no
"
11053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11054 echo "$ac_t""yes" 1>&6
11055 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11056 cat >> confdefs.h <<EOF
11057 #define $ac_tr_func 1
11061 echo "$ac_t""no
" 1>&6
11070 echo $ac_n "checking
for isnan declaration
""...
$ac_c" 1>&6
11071 echo "configure
:11072: checking
for isnan declaration
" >&5
11072 if test x${glibcpp_cv_func_isnan_use+set} != xset; then
11073 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
11074 echo $ac_n "(cached
) $ac_c" 1>&6
11079 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11080 ac_cpp='$CXXCPP $CPPFLAGS'
11081 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11082 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11083 cross_compiling=$ac_cv_prog_cxx_cross
11085 cat > conftest.$ac_ext <<EOF
11086 #line 11087 "configure
"
11087 #include "confdefs.h
"
11089 #ifdef HAVE_IEEEFP_H
11090 #include <ieeefp.h>
11097 if { (eval echo configure:11098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11099 glibcpp_cv_func_isnan_use=yes
11101 echo "configure
: failed program was
:" >&5
11102 cat conftest.$ac_ext >&5
11104 glibcpp_cv_func_isnan_use=no
11108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11109 ac_cpp='$CPP $CPPFLAGS'
11110 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11111 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11112 cross_compiling=$ac_cv_prog_cc_cross
11118 echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
11120 if test x$glibcpp_cv_func_isnan_use = x"yes"; then
11121 for ac_func in isnan
11123 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11124 echo "configure
:11125: checking
for $ac_func" >&5
11125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11126 echo $ac_n "(cached
) $ac_c" 1>&6
11128 cat > conftest.$ac_ext <<EOF
11129 #line 11130 "configure
"
11130 #include "confdefs.h
"
11131 /* System header to define __stub macros and hopefully few prototypes,
11132 which can conflict with char $ac_func(); below. */
11133 #include <assert.h>
11134 /* Override any gcc2 internal prototype to avoid an error. */
11135 /* We use char because int might match the return type of a gcc2
11136 builtin and then its argument prototype would still apply. */
11141 /* The GNU C library defines this for functions which it implements
11142 to always fail with ENOSYS. Some functions are actually named
11143 something starting with __ and the normal name is an alias. */
11144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11152 if { (eval echo configure:11153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11154 eval "ac_cv_func_
$ac_func=yes"
11156 echo "configure
: failed program was
:" >&5
11157 cat conftest.$ac_ext >&5
11159 eval "ac_cv_func_
$ac_func=no
"
11164 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11165 echo "$ac_t""yes" 1>&6
11166 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11167 cat >> confdefs.h <<EOF
11168 #define $ac_tr_func 1
11172 echo "$ac_t""no
" 1>&6
11178 echo $ac_n "checking
for _isnan declaration
""...
$ac_c" 1>&6
11179 echo "configure
:11180: checking
for _isnan declaration
" >&5
11180 if test x${glibcpp_cv_func__isnan_use+set} != xset; then
11181 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
11182 echo $ac_n "(cached
) $ac_c" 1>&6
11187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11188 ac_cpp='$CXXCPP $CPPFLAGS'
11189 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11190 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11191 cross_compiling=$ac_cv_prog_cxx_cross
11193 cat > conftest.$ac_ext <<EOF
11194 #line 11195 "configure
"
11195 #include "confdefs.h
"
11197 #ifdef HAVE_IEEEFP_H
11198 #include <ieeefp.h>
11205 if { (eval echo configure:11206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11207 glibcpp_cv_func__isnan_use=yes
11209 echo "configure
: failed program was
:" >&5
11210 cat conftest.$ac_ext >&5
11212 glibcpp_cv_func__isnan_use=no
11216 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11217 ac_cpp='$CPP $CPPFLAGS'
11218 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11219 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11220 cross_compiling=$ac_cv_prog_cc_cross
11226 echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
11228 if test x$glibcpp_cv_func__isnan_use = x"yes"; then
11229 for ac_func in _isnan
11231 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11232 echo "configure
:11233: checking
for $ac_func" >&5
11233 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11234 echo $ac_n "(cached
) $ac_c" 1>&6
11236 cat > conftest.$ac_ext <<EOF
11237 #line 11238 "configure
"
11238 #include "confdefs.h
"
11239 /* System header to define __stub macros and hopefully few prototypes,
11240 which can conflict with char $ac_func(); below. */
11241 #include <assert.h>
11242 /* Override any gcc2 internal prototype to avoid an error. */
11243 /* We use char because int might match the return type of a gcc2
11244 builtin and then its argument prototype would still apply. */
11249 /* The GNU C library defines this for functions which it implements
11250 to always fail with ENOSYS. Some functions are actually named
11251 something starting with __ and the normal name is an alias. */
11252 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11260 if { (eval echo configure:11261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11262 eval "ac_cv_func_
$ac_func=yes"
11264 echo "configure
: failed program was
:" >&5
11265 cat conftest.$ac_ext >&5
11267 eval "ac_cv_func_
$ac_func=no
"
11272 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11273 echo "$ac_t""yes" 1>&6
11274 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11275 cat >> confdefs.h <<EOF
11276 #define $ac_tr_func 1
11280 echo "$ac_t""no
" 1>&6
11289 echo $ac_n "checking
for finite declaration
""...
$ac_c" 1>&6
11290 echo "configure
:11291: checking
for finite declaration
" >&5
11291 if test x${glibcpp_cv_func_finite_use+set} != xset; then
11292 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
11293 echo $ac_n "(cached
) $ac_c" 1>&6
11298 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11299 ac_cpp='$CXXCPP $CPPFLAGS'
11300 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11301 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11302 cross_compiling=$ac_cv_prog_cxx_cross
11304 cat > conftest.$ac_ext <<EOF
11305 #line 11306 "configure
"
11306 #include "confdefs.h
"
11308 #ifdef HAVE_IEEEFP_H
11309 #include <ieeefp.h>
11316 if { (eval echo configure:11317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11318 glibcpp_cv_func_finite_use=yes
11320 echo "configure
: failed program was
:" >&5
11321 cat conftest.$ac_ext >&5
11323 glibcpp_cv_func_finite_use=no
11327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11328 ac_cpp='$CPP $CPPFLAGS'
11329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11331 cross_compiling=$ac_cv_prog_cc_cross
11337 echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
11339 if test x$glibcpp_cv_func_finite_use = x"yes"; then
11340 for ac_func in finite
11342 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11343 echo "configure
:11344: checking
for $ac_func" >&5
11344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11345 echo $ac_n "(cached
) $ac_c" 1>&6
11347 cat > conftest.$ac_ext <<EOF
11348 #line 11349 "configure
"
11349 #include "confdefs.h
"
11350 /* System header to define __stub macros and hopefully few prototypes,
11351 which can conflict with char $ac_func(); below. */
11352 #include <assert.h>
11353 /* Override any gcc2 internal prototype to avoid an error. */
11354 /* We use char because int might match the return type of a gcc2
11355 builtin and then its argument prototype would still apply. */
11360 /* The GNU C library defines this for functions which it implements
11361 to always fail with ENOSYS. Some functions are actually named
11362 something starting with __ and the normal name is an alias. */
11363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11371 if { (eval echo configure:11372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11373 eval "ac_cv_func_
$ac_func=yes"
11375 echo "configure
: failed program was
:" >&5
11376 cat conftest.$ac_ext >&5
11378 eval "ac_cv_func_
$ac_func=no
"
11383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11384 echo "$ac_t""yes" 1>&6
11385 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11386 cat >> confdefs.h <<EOF
11387 #define $ac_tr_func 1
11391 echo "$ac_t""no
" 1>&6
11397 echo $ac_n "checking
for _finite declaration
""...
$ac_c" 1>&6
11398 echo "configure
:11399: checking
for _finite declaration
" >&5
11399 if test x${glibcpp_cv_func__finite_use+set} != xset; then
11400 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
11401 echo $ac_n "(cached
) $ac_c" 1>&6
11406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11407 ac_cpp='$CXXCPP $CPPFLAGS'
11408 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11409 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11410 cross_compiling=$ac_cv_prog_cxx_cross
11412 cat > conftest.$ac_ext <<EOF
11413 #line 11414 "configure
"
11414 #include "confdefs.h
"
11416 #ifdef HAVE_IEEEFP_H
11417 #include <ieeefp.h>
11424 if { (eval echo configure:11425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11426 glibcpp_cv_func__finite_use=yes
11428 echo "configure
: failed program was
:" >&5
11429 cat conftest.$ac_ext >&5
11431 glibcpp_cv_func__finite_use=no
11435 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11436 ac_cpp='$CPP $CPPFLAGS'
11437 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11438 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11439 cross_compiling=$ac_cv_prog_cc_cross
11445 echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
11447 if test x$glibcpp_cv_func__finite_use = x"yes"; then
11448 for ac_func in _finite
11450 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11451 echo "configure
:11452: checking
for $ac_func" >&5
11452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11453 echo $ac_n "(cached
) $ac_c" 1>&6
11455 cat > conftest.$ac_ext <<EOF
11456 #line 11457 "configure
"
11457 #include "confdefs.h
"
11458 /* System header to define __stub macros and hopefully few prototypes,
11459 which can conflict with char $ac_func(); below. */
11460 #include <assert.h>
11461 /* Override any gcc2 internal prototype to avoid an error. */
11462 /* We use char because int might match the return type of a gcc2
11463 builtin and then its argument prototype would still apply. */
11468 /* The GNU C library defines this for functions which it implements
11469 to always fail with ENOSYS. Some functions are actually named
11470 something starting with __ and the normal name is an alias. */
11471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11479 if { (eval echo configure:11480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11481 eval "ac_cv_func_
$ac_func=yes"
11483 echo "configure
: failed program was
:" >&5
11484 cat conftest.$ac_ext >&5
11486 eval "ac_cv_func_
$ac_func=no
"
11491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11492 echo "$ac_t""yes" 1>&6
11493 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11494 cat >> confdefs.h <<EOF
11495 #define $ac_tr_func 1
11499 echo "$ac_t""no
" 1>&6
11508 echo $ac_n "checking
for copysign declaration
""...
$ac_c" 1>&6
11509 echo "configure
:11510: checking
for copysign declaration
" >&5
11510 if test x${glibcpp_cv_func_copysign_use+set} != xset; then
11511 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
11512 echo $ac_n "(cached
) $ac_c" 1>&6
11517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11518 ac_cpp='$CXXCPP $CPPFLAGS'
11519 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11520 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11521 cross_compiling=$ac_cv_prog_cxx_cross
11523 cat > conftest.$ac_ext <<EOF
11524 #line 11525 "configure
"
11525 #include "confdefs.h
"
11531 if { (eval echo configure:11532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11533 glibcpp_cv_func_copysign_use=yes
11535 echo "configure
: failed program was
:" >&5
11536 cat conftest.$ac_ext >&5
11538 glibcpp_cv_func_copysign_use=no
11542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11543 ac_cpp='$CPP $CPPFLAGS'
11544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11546 cross_compiling=$ac_cv_prog_cc_cross
11552 echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
11554 if test x$glibcpp_cv_func_copysign_use = x"yes"; then
11555 for ac_func in copysign
11557 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11558 echo "configure
:11559: checking
for $ac_func" >&5
11559 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11560 echo $ac_n "(cached
) $ac_c" 1>&6
11562 cat > conftest.$ac_ext <<EOF
11563 #line 11564 "configure
"
11564 #include "confdefs.h
"
11565 /* System header to define __stub macros and hopefully few prototypes,
11566 which can conflict with char $ac_func(); below. */
11567 #include <assert.h>
11568 /* Override any gcc2 internal prototype to avoid an error. */
11569 /* We use char because int might match the return type of a gcc2
11570 builtin and then its argument prototype would still apply. */
11575 /* The GNU C library defines this for functions which it implements
11576 to always fail with ENOSYS. Some functions are actually named
11577 something starting with __ and the normal name is an alias. */
11578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11586 if { (eval echo configure:11587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11588 eval "ac_cv_func_
$ac_func=yes"
11590 echo "configure
: failed program was
:" >&5
11591 cat conftest.$ac_ext >&5
11593 eval "ac_cv_func_
$ac_func=no
"
11598 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11599 echo "$ac_t""yes" 1>&6
11600 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11601 cat >> confdefs.h <<EOF
11602 #define $ac_tr_func 1
11606 echo "$ac_t""no
" 1>&6
11612 echo $ac_n "checking
for _copysign declaration
""...
$ac_c" 1>&6
11613 echo "configure
:11614: checking
for _copysign declaration
" >&5
11614 if test x${glibcpp_cv_func__copysign_use+set} != xset; then
11615 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
11616 echo $ac_n "(cached
) $ac_c" 1>&6
11621 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11622 ac_cpp='$CXXCPP $CPPFLAGS'
11623 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11624 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11625 cross_compiling=$ac_cv_prog_cxx_cross
11627 cat > conftest.$ac_ext <<EOF
11628 #line 11629 "configure
"
11629 #include "confdefs.h
"
11635 if { (eval echo configure:11636: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11637 glibcpp_cv_func__copysign_use=yes
11639 echo "configure
: failed program was
:" >&5
11640 cat conftest.$ac_ext >&5
11642 glibcpp_cv_func__copysign_use=no
11646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11647 ac_cpp='$CPP $CPPFLAGS'
11648 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11649 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11650 cross_compiling=$ac_cv_prog_cc_cross
11656 echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
11658 if test x$glibcpp_cv_func__copysign_use = x"yes"; then
11659 for ac_func in _copysign
11661 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11662 echo "configure
:11663: checking
for $ac_func" >&5
11663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11664 echo $ac_n "(cached
) $ac_c" 1>&6
11666 cat > conftest.$ac_ext <<EOF
11667 #line 11668 "configure
"
11668 #include "confdefs.h
"
11669 /* System header to define __stub macros and hopefully few prototypes,
11670 which can conflict with char $ac_func(); below. */
11671 #include <assert.h>
11672 /* Override any gcc2 internal prototype to avoid an error. */
11673 /* We use char because int might match the return type of a gcc2
11674 builtin and then its argument prototype would still apply. */
11679 /* The GNU C library defines this for functions which it implements
11680 to always fail with ENOSYS. Some functions are actually named
11681 something starting with __ and the normal name is an alias. */
11682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11690 if { (eval echo configure:11691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11692 eval "ac_cv_func_
$ac_func=yes"
11694 echo "configure
: failed program was
:" >&5
11695 cat conftest.$ac_ext >&5
11697 eval "ac_cv_func_
$ac_func=no
"
11702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11703 echo "$ac_t""yes" 1>&6
11704 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11705 cat >> confdefs.h <<EOF
11706 #define $ac_tr_func 1
11710 echo "$ac_t""no
" 1>&6
11719 echo $ac_n "checking
for sincos declaration
""...
$ac_c" 1>&6
11720 echo "configure
:11721: checking
for sincos declaration
" >&5
11721 if test x${glibcpp_cv_func_sincos_use+set} != xset; then
11722 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
11723 echo $ac_n "(cached
) $ac_c" 1>&6
11728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11729 ac_cpp='$CXXCPP $CPPFLAGS'
11730 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11731 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11732 cross_compiling=$ac_cv_prog_cxx_cross
11734 cat > conftest.$ac_ext <<EOF
11735 #line 11736 "configure
"
11736 #include "confdefs.h
"
11742 if { (eval echo configure:11743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11744 glibcpp_cv_func_sincos_use=yes
11746 echo "configure
: failed program was
:" >&5
11747 cat conftest.$ac_ext >&5
11749 glibcpp_cv_func_sincos_use=no
11753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11754 ac_cpp='$CPP $CPPFLAGS'
11755 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11756 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11757 cross_compiling=$ac_cv_prog_cc_cross
11763 echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
11765 if test x$glibcpp_cv_func_sincos_use = x"yes"; then
11766 for ac_func in sincos
11768 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11769 echo "configure
:11770: checking
for $ac_func" >&5
11770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11771 echo $ac_n "(cached
) $ac_c" 1>&6
11773 cat > conftest.$ac_ext <<EOF
11774 #line 11775 "configure
"
11775 #include "confdefs.h
"
11776 /* System header to define __stub macros and hopefully few prototypes,
11777 which can conflict with char $ac_func(); below. */
11778 #include <assert.h>
11779 /* Override any gcc2 internal prototype to avoid an error. */
11780 /* We use char because int might match the return type of a gcc2
11781 builtin and then its argument prototype would still apply. */
11786 /* The GNU C library defines this for functions which it implements
11787 to always fail with ENOSYS. Some functions are actually named
11788 something starting with __ and the normal name is an alias. */
11789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11797 if { (eval echo configure:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11799 eval "ac_cv_func_
$ac_func=yes"
11801 echo "configure
: failed program was
:" >&5
11802 cat conftest.$ac_ext >&5
11804 eval "ac_cv_func_
$ac_func=no
"
11809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11810 echo "$ac_t""yes" 1>&6
11811 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11812 cat >> confdefs.h <<EOF
11813 #define $ac_tr_func 1
11817 echo "$ac_t""no
" 1>&6
11823 echo $ac_n "checking
for _sincos declaration
""...
$ac_c" 1>&6
11824 echo "configure
:11825: checking
for _sincos declaration
" >&5
11825 if test x${glibcpp_cv_func__sincos_use+set} != xset; then
11826 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
11827 echo $ac_n "(cached
) $ac_c" 1>&6
11832 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11833 ac_cpp='$CXXCPP $CPPFLAGS'
11834 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11835 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11836 cross_compiling=$ac_cv_prog_cxx_cross
11838 cat > conftest.$ac_ext <<EOF
11839 #line 11840 "configure
"
11840 #include "confdefs.h
"
11846 if { (eval echo configure:11847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11848 glibcpp_cv_func__sincos_use=yes
11850 echo "configure
: failed program was
:" >&5
11851 cat conftest.$ac_ext >&5
11853 glibcpp_cv_func__sincos_use=no
11857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11858 ac_cpp='$CPP $CPPFLAGS'
11859 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11860 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11861 cross_compiling=$ac_cv_prog_cc_cross
11867 echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
11869 if test x$glibcpp_cv_func__sincos_use = x"yes"; then
11870 for ac_func in _sincos
11872 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11873 echo "configure
:11874: checking
for $ac_func" >&5
11874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11875 echo $ac_n "(cached
) $ac_c" 1>&6
11877 cat > conftest.$ac_ext <<EOF
11878 #line 11879 "configure
"
11879 #include "confdefs.h
"
11880 /* System header to define __stub macros and hopefully few prototypes,
11881 which can conflict with char $ac_func(); below. */
11882 #include <assert.h>
11883 /* Override any gcc2 internal prototype to avoid an error. */
11884 /* We use char because int might match the return type of a gcc2
11885 builtin and then its argument prototype would still apply. */
11890 /* The GNU C library defines this for functions which it implements
11891 to always fail with ENOSYS. Some functions are actually named
11892 something starting with __ and the normal name is an alias. */
11893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11901 if { (eval echo configure:11902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
11903 eval "ac_cv_func_
$ac_func=yes"
11905 echo "configure
: failed program was
:" >&5
11906 cat conftest.$ac_ext >&5
11908 eval "ac_cv_func_
$ac_func=no
"
11913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11914 echo "$ac_t""yes" 1>&6
11915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11916 cat >> confdefs.h <<EOF
11917 #define $ac_tr_func 1
11921 echo "$ac_t""no
" 1>&6
11930 echo $ac_n "checking
for fpclass declaration
""...
$ac_c" 1>&6
11931 echo "configure
:11932: checking
for fpclass declaration
" >&5
11932 if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
11933 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
11934 echo $ac_n "(cached
) $ac_c" 1>&6
11939 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11940 ac_cpp='$CXXCPP $CPPFLAGS'
11941 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11942 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11943 cross_compiling=$ac_cv_prog_cxx_cross
11945 cat > conftest.$ac_ext <<EOF
11946 #line 11947 "configure
"
11947 #include "confdefs.h
"
11949 #ifdef HAVE_IEEEFP_H
11950 #include <ieeefp.h>
11957 if { (eval echo configure:11958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11959 glibcpp_cv_func_fpclass_use=yes
11961 echo "configure
: failed program was
:" >&5
11962 cat conftest.$ac_ext >&5
11964 glibcpp_cv_func_fpclass_use=no
11968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11969 ac_cpp='$CPP $CPPFLAGS'
11970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11972 cross_compiling=$ac_cv_prog_cc_cross
11978 echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
11980 if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
11981 for ac_func in fpclass
11983 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
11984 echo "configure
:11985: checking
for $ac_func" >&5
11985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11986 echo $ac_n "(cached
) $ac_c" 1>&6
11988 cat > conftest.$ac_ext <<EOF
11989 #line 11990 "configure
"
11990 #include "confdefs.h
"
11991 /* System header to define __stub macros and hopefully few prototypes,
11992 which can conflict with char $ac_func(); below. */
11993 #include <assert.h>
11994 /* Override any gcc2 internal prototype to avoid an error. */
11995 /* We use char because int might match the return type of a gcc2
11996 builtin and then its argument prototype would still apply. */
12001 /* The GNU C library defines this for functions which it implements
12002 to always fail with ENOSYS. Some functions are actually named
12003 something starting with __ and the normal name is an alias. */
12004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12012 if { (eval echo configure:12013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12014 eval "ac_cv_func_
$ac_func=yes"
12016 echo "configure
: failed program was
:" >&5
12017 cat conftest.$ac_ext >&5
12019 eval "ac_cv_func_
$ac_func=no
"
12024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12025 echo "$ac_t""yes" 1>&6
12026 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12027 cat >> confdefs.h <<EOF
12028 #define $ac_tr_func 1
12032 echo "$ac_t""no
" 1>&6
12038 echo $ac_n "checking
for _fpclass declaration
""...
$ac_c" 1>&6
12039 echo "configure
:12040: checking
for _fpclass declaration
" >&5
12040 if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
12041 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
12042 echo $ac_n "(cached
) $ac_c" 1>&6
12047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12048 ac_cpp='$CXXCPP $CPPFLAGS'
12049 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12050 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12051 cross_compiling=$ac_cv_prog_cxx_cross
12053 cat > conftest.$ac_ext <<EOF
12054 #line 12055 "configure
"
12055 #include "confdefs.h
"
12057 #ifdef HAVE_IEEEFP_H
12058 #include <ieeefp.h>
12065 if { (eval echo configure:12066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12067 glibcpp_cv_func__fpclass_use=yes
12069 echo "configure
: failed program was
:" >&5
12070 cat conftest.$ac_ext >&5
12072 glibcpp_cv_func__fpclass_use=no
12076 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12077 ac_cpp='$CPP $CPPFLAGS'
12078 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12079 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12080 cross_compiling=$ac_cv_prog_cc_cross
12086 echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
12088 if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
12089 for ac_func in _fpclass
12091 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12092 echo "configure
:12093: checking
for $ac_func" >&5
12093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12094 echo $ac_n "(cached
) $ac_c" 1>&6
12096 cat > conftest.$ac_ext <<EOF
12097 #line 12098 "configure
"
12098 #include "confdefs.h
"
12099 /* System header to define __stub macros and hopefully few prototypes,
12100 which can conflict with char $ac_func(); below. */
12101 #include <assert.h>
12102 /* Override any gcc2 internal prototype to avoid an error. */
12103 /* We use char because int might match the return type of a gcc2
12104 builtin and then its argument prototype would still apply. */
12109 /* The GNU C library defines this for functions which it implements
12110 to always fail with ENOSYS. Some functions are actually named
12111 something starting with __ and the normal name is an alias. */
12112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12120 if { (eval echo configure:12121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12122 eval "ac_cv_func_
$ac_func=yes"
12124 echo "configure
: failed program was
:" >&5
12125 cat conftest.$ac_ext >&5
12127 eval "ac_cv_func_
$ac_func=no
"
12132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12133 echo "$ac_t""yes" 1>&6
12134 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12135 cat >> confdefs.h <<EOF
12136 #define $ac_tr_func 1
12140 echo "$ac_t""no
" 1>&6
12149 echo $ac_n "checking
for qfpclass declaration
""...
$ac_c" 1>&6
12150 echo "configure
:12151: checking
for qfpclass declaration
" >&5
12151 if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
12152 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
12153 echo $ac_n "(cached
) $ac_c" 1>&6
12158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12159 ac_cpp='$CXXCPP $CPPFLAGS'
12160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12162 cross_compiling=$ac_cv_prog_cxx_cross
12164 cat > conftest.$ac_ext <<EOF
12165 #line 12166 "configure
"
12166 #include "confdefs.h
"
12168 #ifdef HAVE_IEEEFP_H
12169 #include <ieeefp.h>
12176 if { (eval echo configure:12177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12178 glibcpp_cv_func_qfpclass_use=yes
12180 echo "configure
: failed program was
:" >&5
12181 cat conftest.$ac_ext >&5
12183 glibcpp_cv_func_qfpclass_use=no
12187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12188 ac_cpp='$CPP $CPPFLAGS'
12189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12191 cross_compiling=$ac_cv_prog_cc_cross
12197 echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
12199 if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
12200 for ac_func in qfpclass
12202 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12203 echo "configure
:12204: checking
for $ac_func" >&5
12204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12205 echo $ac_n "(cached
) $ac_c" 1>&6
12207 cat > conftest.$ac_ext <<EOF
12208 #line 12209 "configure
"
12209 #include "confdefs.h
"
12210 /* System header to define __stub macros and hopefully few prototypes,
12211 which can conflict with char $ac_func(); below. */
12212 #include <assert.h>
12213 /* Override any gcc2 internal prototype to avoid an error. */
12214 /* We use char because int might match the return type of a gcc2
12215 builtin and then its argument prototype would still apply. */
12220 /* The GNU C library defines this for functions which it implements
12221 to always fail with ENOSYS. Some functions are actually named
12222 something starting with __ and the normal name is an alias. */
12223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12231 if { (eval echo configure:12232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12233 eval "ac_cv_func_
$ac_func=yes"
12235 echo "configure
: failed program was
:" >&5
12236 cat conftest.$ac_ext >&5
12238 eval "ac_cv_func_
$ac_func=no
"
12243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12244 echo "$ac_t""yes" 1>&6
12245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12246 cat >> confdefs.h <<EOF
12247 #define $ac_tr_func 1
12251 echo "$ac_t""no
" 1>&6
12257 echo $ac_n "checking
for _qfpclass declaration
""...
$ac_c" 1>&6
12258 echo "configure
:12259: checking
for _qfpclass declaration
" >&5
12259 if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
12260 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
12261 echo $ac_n "(cached
) $ac_c" 1>&6
12266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12267 ac_cpp='$CXXCPP $CPPFLAGS'
12268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12270 cross_compiling=$ac_cv_prog_cxx_cross
12272 cat > conftest.$ac_ext <<EOF
12273 #line 12274 "configure
"
12274 #include "confdefs.h
"
12276 #ifdef HAVE_IEEEFP_H
12277 #include <ieeefp.h>
12284 if { (eval echo configure:12285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12286 glibcpp_cv_func__qfpclass_use=yes
12288 echo "configure
: failed program was
:" >&5
12289 cat conftest.$ac_ext >&5
12291 glibcpp_cv_func__qfpclass_use=no
12295 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12296 ac_cpp='$CPP $CPPFLAGS'
12297 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12298 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12299 cross_compiling=$ac_cv_prog_cc_cross
12305 echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
12307 if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
12308 for ac_func in _qfpclass
12310 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12311 echo "configure
:12312: checking
for $ac_func" >&5
12312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12313 echo $ac_n "(cached
) $ac_c" 1>&6
12315 cat > conftest.$ac_ext <<EOF
12316 #line 12317 "configure
"
12317 #include "confdefs.h
"
12318 /* System header to define __stub macros and hopefully few prototypes,
12319 which can conflict with char $ac_func(); below. */
12320 #include <assert.h>
12321 /* Override any gcc2 internal prototype to avoid an error. */
12322 /* We use char because int might match the return type of a gcc2
12323 builtin and then its argument prototype would still apply. */
12328 /* The GNU C library defines this for functions which it implements
12329 to always fail with ENOSYS. Some functions are actually named
12330 something starting with __ and the normal name is an alias. */
12331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12339 if { (eval echo configure:12340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12341 eval "ac_cv_func_
$ac_func=yes"
12343 echo "configure
: failed program was
:" >&5
12344 cat conftest.$ac_ext >&5
12346 eval "ac_cv_func_
$ac_func=no
"
12351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12352 echo "$ac_t""yes" 1>&6
12353 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12354 cat >> confdefs.h <<EOF
12355 #define $ac_tr_func 1
12359 echo "$ac_t""no
" 1>&6
12368 echo $ac_n "checking
for hypot declaration
""...
$ac_c" 1>&6
12369 echo "configure
:12370: checking
for hypot declaration
" >&5
12370 if test x${glibcpp_cv_func_hypot_use+set} != xset; then
12371 if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
12372 echo $ac_n "(cached
) $ac_c" 1>&6
12377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12378 ac_cpp='$CXXCPP $CPPFLAGS'
12379 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12380 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12381 cross_compiling=$ac_cv_prog_cxx_cross
12383 cat > conftest.$ac_ext <<EOF
12384 #line 12385 "configure
"
12385 #include "confdefs.h
"
12391 if { (eval echo configure:12392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12393 glibcpp_cv_func_hypot_use=yes
12395 echo "configure
: failed program was
:" >&5
12396 cat conftest.$ac_ext >&5
12398 glibcpp_cv_func_hypot_use=no
12402 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12403 ac_cpp='$CPP $CPPFLAGS'
12404 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12405 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12406 cross_compiling=$ac_cv_prog_cc_cross
12412 echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
12414 if test x$glibcpp_cv_func_hypot_use = x"yes"; then
12415 for ac_func in hypot
12417 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12418 echo "configure
:12419: checking
for $ac_func" >&5
12419 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12420 echo $ac_n "(cached
) $ac_c" 1>&6
12422 cat > conftest.$ac_ext <<EOF
12423 #line 12424 "configure
"
12424 #include "confdefs.h
"
12425 /* System header to define __stub macros and hopefully few prototypes,
12426 which can conflict with char $ac_func(); below. */
12427 #include <assert.h>
12428 /* Override any gcc2 internal prototype to avoid an error. */
12429 /* We use char because int might match the return type of a gcc2
12430 builtin and then its argument prototype would still apply. */
12435 /* The GNU C library defines this for functions which it implements
12436 to always fail with ENOSYS. Some functions are actually named
12437 something starting with __ and the normal name is an alias. */
12438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12446 if { (eval echo configure:12447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12448 eval "ac_cv_func_
$ac_func=yes"
12450 echo "configure
: failed program was
:" >&5
12451 cat conftest.$ac_ext >&5
12453 eval "ac_cv_func_
$ac_func=no
"
12458 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12459 echo "$ac_t""yes" 1>&6
12460 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12461 cat >> confdefs.h <<EOF
12462 #define $ac_tr_func 1
12466 echo "$ac_t""no
" 1>&6
12472 echo $ac_n "checking
for _hypot declaration
""...
$ac_c" 1>&6
12473 echo "configure
:12474: checking
for _hypot declaration
" >&5
12474 if test x${glibcpp_cv_func__hypot_use+set} != xset; then
12475 if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
12476 echo $ac_n "(cached
) $ac_c" 1>&6
12481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12482 ac_cpp='$CXXCPP $CPPFLAGS'
12483 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12484 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12485 cross_compiling=$ac_cv_prog_cxx_cross
12487 cat > conftest.$ac_ext <<EOF
12488 #line 12489 "configure
"
12489 #include "confdefs.h
"
12495 if { (eval echo configure:12496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12497 glibcpp_cv_func__hypot_use=yes
12499 echo "configure
: failed program was
:" >&5
12500 cat conftest.$ac_ext >&5
12502 glibcpp_cv_func__hypot_use=no
12506 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12507 ac_cpp='$CPP $CPPFLAGS'
12508 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12509 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12510 cross_compiling=$ac_cv_prog_cc_cross
12516 echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
12518 if test x$glibcpp_cv_func__hypot_use = x"yes"; then
12519 for ac_func in _hypot
12521 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12522 echo "configure
:12523: checking
for $ac_func" >&5
12523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12524 echo $ac_n "(cached
) $ac_c" 1>&6
12526 cat > conftest.$ac_ext <<EOF
12527 #line 12528 "configure
"
12528 #include "confdefs.h
"
12529 /* System header to define __stub macros and hopefully few prototypes,
12530 which can conflict with char $ac_func(); below. */
12531 #include <assert.h>
12532 /* Override any gcc2 internal prototype to avoid an error. */
12533 /* We use char because int might match the return type of a gcc2
12534 builtin and then its argument prototype would still apply. */
12539 /* The GNU C library defines this for functions which it implements
12540 to always fail with ENOSYS. Some functions are actually named
12541 something starting with __ and the normal name is an alias. */
12542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12550 if { (eval echo configure:12551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12552 eval "ac_cv_func_
$ac_func=yes"
12554 echo "configure
: failed program was
:" >&5
12555 cat conftest.$ac_ext >&5
12557 eval "ac_cv_func_
$ac_func=no
"
12562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12563 echo "$ac_t""yes" 1>&6
12564 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12565 cat >> confdefs.h <<EOF
12566 #define $ac_tr_func 1
12570 echo "$ac_t""no
" 1>&6
12579 echo $ac_n "checking
for float trig functions
""...
$ac_c" 1>&6
12580 echo "configure
:12581: checking
for float trig functions
" >&5
12581 if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
12582 echo $ac_n "(cached
) $ac_c" 1>&6
12587 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12588 ac_cpp='$CXXCPP $CPPFLAGS'
12589 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12590 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12591 cross_compiling=$ac_cv_prog_cxx_cross
12593 cat > conftest.$ac_ext <<EOF
12594 #line 12595 "configure
"
12595 #include "confdefs.h
"
12598 `for x in acosf asinf atanf \
12600 coshf sinhf tanhf; do echo "$x (0);"; done`
12603 if { (eval echo configure:12604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12605 glibcpp_cv_func_float_trig_use=yes
12607 echo "configure
: failed program was
:" >&5
12608 cat conftest.$ac_ext >&5
12610 glibcpp_cv_func_float_trig_use=no
12614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12615 ac_cpp='$CPP $CPPFLAGS'
12616 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12617 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12618 cross_compiling=$ac_cv_prog_cc_cross
12622 echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6
12623 if test x$glibcpp_cv_func_float_trig_use = x"yes"; then
12624 for ac_func in acosf asinf atanf \
12628 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12629 echo "configure
:12630: checking
for $ac_func" >&5
12630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12631 echo $ac_n "(cached
) $ac_c" 1>&6
12633 cat > conftest.$ac_ext <<EOF
12634 #line 12635 "configure
"
12635 #include "confdefs.h
"
12636 /* System header to define __stub macros and hopefully few prototypes,
12637 which can conflict with char $ac_func(); below. */
12638 #include <assert.h>
12639 /* Override any gcc2 internal prototype to avoid an error. */
12640 /* We use char because int might match the return type of a gcc2
12641 builtin and then its argument prototype would still apply. */
12646 /* The GNU C library defines this for functions which it implements
12647 to always fail with ENOSYS. Some functions are actually named
12648 something starting with __ and the normal name is an alias. */
12649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12657 if { (eval echo configure:12658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12659 eval "ac_cv_func_
$ac_func=yes"
12661 echo "configure
: failed program was
:" >&5
12662 cat conftest.$ac_ext >&5
12664 eval "ac_cv_func_
$ac_func=no
"
12669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12670 echo "$ac_t""yes" 1>&6
12671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12672 cat >> confdefs.h <<EOF
12673 #define $ac_tr_func 1
12677 echo "$ac_t""no
" 1>&6
12684 echo $ac_n "checking
for float round functions
""...
$ac_c" 1>&6
12685 echo "configure
:12686: checking
for float round functions
" >&5
12686 if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
12687 echo $ac_n "(cached
) $ac_c" 1>&6
12692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12693 ac_cpp='$CXXCPP $CPPFLAGS'
12694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12696 cross_compiling=$ac_cv_prog_cxx_cross
12698 cat > conftest.$ac_ext <<EOF
12699 #line 12700 "configure
"
12700 #include "confdefs.h
"
12703 `for x in ceilf floorf; do echo "$x (0);"; done`
12706 if { (eval echo configure:12707: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12708 glibcpp_cv_func_float_round_use=yes
12710 echo "configure
: failed program was
:" >&5
12711 cat conftest.$ac_ext >&5
12713 glibcpp_cv_func_float_round_use=no
12717 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12718 ac_cpp='$CPP $CPPFLAGS'
12719 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12720 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12721 cross_compiling=$ac_cv_prog_cc_cross
12725 echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6
12726 if test x$glibcpp_cv_func_float_round_use = x"yes"; then
12727 for ac_func in ceilf floorf
12729 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12730 echo "configure
:12731: checking
for $ac_func" >&5
12731 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12732 echo $ac_n "(cached
) $ac_c" 1>&6
12734 cat > conftest.$ac_ext <<EOF
12735 #line 12736 "configure
"
12736 #include "confdefs.h
"
12737 /* System header to define __stub macros and hopefully few prototypes,
12738 which can conflict with char $ac_func(); below. */
12739 #include <assert.h>
12740 /* Override any gcc2 internal prototype to avoid an error. */
12741 /* We use char because int might match the return type of a gcc2
12742 builtin and then its argument prototype would still apply. */
12747 /* The GNU C library defines this for functions which it implements
12748 to always fail with ENOSYS. Some functions are actually named
12749 something starting with __ and the normal name is an alias. */
12750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12758 if { (eval echo configure:12759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12760 eval "ac_cv_func_
$ac_func=yes"
12762 echo "configure
: failed program was
:" >&5
12763 cat conftest.$ac_ext >&5
12765 eval "ac_cv_func_
$ac_func=no
"
12770 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12771 echo "$ac_t""yes" 1>&6
12772 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12773 cat >> confdefs.h <<EOF
12774 #define $ac_tr_func 1
12778 echo "$ac_t""no
" 1>&6
12786 echo $ac_n "checking
for expf declaration
""...
$ac_c" 1>&6
12787 echo "configure
:12788: checking
for expf declaration
" >&5
12788 if test x${glibcpp_cv_func_expf_use+set} != xset; then
12789 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then
12790 echo $ac_n "(cached
) $ac_c" 1>&6
12795 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12796 ac_cpp='$CXXCPP $CPPFLAGS'
12797 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12798 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12799 cross_compiling=$ac_cv_prog_cxx_cross
12801 cat > conftest.$ac_ext <<EOF
12802 #line 12803 "configure
"
12803 #include "confdefs.h
"
12805 #ifdef HAVE_IEEEFP_H
12806 #include <ieeefp.h>
12813 if { (eval echo configure:12814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12815 glibcpp_cv_func_expf_use=yes
12817 echo "configure
: failed program was
:" >&5
12818 cat conftest.$ac_ext >&5
12820 glibcpp_cv_func_expf_use=no
12824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12825 ac_cpp='$CPP $CPPFLAGS'
12826 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12827 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12828 cross_compiling=$ac_cv_prog_cc_cross
12834 echo "$ac_t""$glibcpp_cv_func_expf_use" 1>&6
12836 if test x$glibcpp_cv_func_expf_use = x"yes"; then
12837 for ac_func in expf
12839 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12840 echo "configure
:12841: checking
for $ac_func" >&5
12841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12842 echo $ac_n "(cached
) $ac_c" 1>&6
12844 cat > conftest.$ac_ext <<EOF
12845 #line 12846 "configure
"
12846 #include "confdefs.h
"
12847 /* System header to define __stub macros and hopefully few prototypes,
12848 which can conflict with char $ac_func(); below. */
12849 #include <assert.h>
12850 /* Override any gcc2 internal prototype to avoid an error. */
12851 /* We use char because int might match the return type of a gcc2
12852 builtin and then its argument prototype would still apply. */
12857 /* The GNU C library defines this for functions which it implements
12858 to always fail with ENOSYS. Some functions are actually named
12859 something starting with __ and the normal name is an alias. */
12860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12868 if { (eval echo configure:12869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12870 eval "ac_cv_func_
$ac_func=yes"
12872 echo "configure
: failed program was
:" >&5
12873 cat conftest.$ac_ext >&5
12875 eval "ac_cv_func_
$ac_func=no
"
12880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12881 echo "$ac_t""yes" 1>&6
12882 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12883 cat >> confdefs.h <<EOF
12884 #define $ac_tr_func 1
12888 echo "$ac_t""no
" 1>&6
12894 echo $ac_n "checking
for _expf declaration
""...
$ac_c" 1>&6
12895 echo "configure
:12896: checking
for _expf declaration
" >&5
12896 if test x${glibcpp_cv_func__expf_use+set} != xset; then
12897 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then
12898 echo $ac_n "(cached
) $ac_c" 1>&6
12903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12904 ac_cpp='$CXXCPP $CPPFLAGS'
12905 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12906 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12907 cross_compiling=$ac_cv_prog_cxx_cross
12909 cat > conftest.$ac_ext <<EOF
12910 #line 12911 "configure
"
12911 #include "confdefs.h
"
12913 #ifdef HAVE_IEEEFP_H
12914 #include <ieeefp.h>
12921 if { (eval echo configure:12922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12923 glibcpp_cv_func__expf_use=yes
12925 echo "configure
: failed program was
:" >&5
12926 cat conftest.$ac_ext >&5
12928 glibcpp_cv_func__expf_use=no
12932 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12933 ac_cpp='$CPP $CPPFLAGS'
12934 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12935 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12936 cross_compiling=$ac_cv_prog_cc_cross
12942 echo "$ac_t""$glibcpp_cv_func__expf_use" 1>&6
12944 if test x$glibcpp_cv_func__expf_use = x"yes"; then
12945 for ac_func in _expf
12947 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
12948 echo "configure
:12949: checking
for $ac_func" >&5
12949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12950 echo $ac_n "(cached
) $ac_c" 1>&6
12952 cat > conftest.$ac_ext <<EOF
12953 #line 12954 "configure
"
12954 #include "confdefs.h
"
12955 /* System header to define __stub macros and hopefully few prototypes,
12956 which can conflict with char $ac_func(); below. */
12957 #include <assert.h>
12958 /* Override any gcc2 internal prototype to avoid an error. */
12959 /* We use char because int might match the return type of a gcc2
12960 builtin and then its argument prototype would still apply. */
12965 /* The GNU C library defines this for functions which it implements
12966 to always fail with ENOSYS. Some functions are actually named
12967 something starting with __ and the normal name is an alias. */
12968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12976 if { (eval echo configure:12977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12978 eval "ac_cv_func_
$ac_func=yes"
12980 echo "configure
: failed program was
:" >&5
12981 cat conftest.$ac_ext >&5
12983 eval "ac_cv_func_
$ac_func=no
"
12988 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12989 echo "$ac_t""yes" 1>&6
12990 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12991 cat >> confdefs.h <<EOF
12992 #define $ac_tr_func 1
12996 echo "$ac_t""no
" 1>&6
13005 echo $ac_n "checking
for isnanf declaration
""...
$ac_c" 1>&6
13006 echo "configure
:13007: checking
for isnanf declaration
" >&5
13007 if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
13008 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
13009 echo $ac_n "(cached
) $ac_c" 1>&6
13014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13015 ac_cpp='$CXXCPP $CPPFLAGS'
13016 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13017 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13018 cross_compiling=$ac_cv_prog_cxx_cross
13020 cat > conftest.$ac_ext <<EOF
13021 #line 13022 "configure
"
13022 #include "confdefs.h
"
13024 #ifdef HAVE_IEEEFP_H
13025 #include <ieeefp.h>
13032 if { (eval echo configure:13033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13034 glibcpp_cv_func_isnanf_use=yes
13036 echo "configure
: failed program was
:" >&5
13037 cat conftest.$ac_ext >&5
13039 glibcpp_cv_func_isnanf_use=no
13043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13044 ac_cpp='$CPP $CPPFLAGS'
13045 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13046 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13047 cross_compiling=$ac_cv_prog_cc_cross
13053 echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
13055 if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
13056 for ac_func in isnanf
13058 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13059 echo "configure
:13060: checking
for $ac_func" >&5
13060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13061 echo $ac_n "(cached
) $ac_c" 1>&6
13063 cat > conftest.$ac_ext <<EOF
13064 #line 13065 "configure
"
13065 #include "confdefs.h
"
13066 /* System header to define __stub macros and hopefully few prototypes,
13067 which can conflict with char $ac_func(); below. */
13068 #include <assert.h>
13069 /* Override any gcc2 internal prototype to avoid an error. */
13070 /* We use char because int might match the return type of a gcc2
13071 builtin and then its argument prototype would still apply. */
13076 /* The GNU C library defines this for functions which it implements
13077 to always fail with ENOSYS. Some functions are actually named
13078 something starting with __ and the normal name is an alias. */
13079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13087 if { (eval echo configure:13088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13089 eval "ac_cv_func_
$ac_func=yes"
13091 echo "configure
: failed program was
:" >&5
13092 cat conftest.$ac_ext >&5
13094 eval "ac_cv_func_
$ac_func=no
"
13099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13100 echo "$ac_t""yes" 1>&6
13101 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13102 cat >> confdefs.h <<EOF
13103 #define $ac_tr_func 1
13107 echo "$ac_t""no
" 1>&6
13113 echo $ac_n "checking
for _isnanf declaration
""...
$ac_c" 1>&6
13114 echo "configure
:13115: checking
for _isnanf declaration
" >&5
13115 if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
13116 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
13117 echo $ac_n "(cached
) $ac_c" 1>&6
13122 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13123 ac_cpp='$CXXCPP $CPPFLAGS'
13124 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13125 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13126 cross_compiling=$ac_cv_prog_cxx_cross
13128 cat > conftest.$ac_ext <<EOF
13129 #line 13130 "configure
"
13130 #include "confdefs.h
"
13132 #ifdef HAVE_IEEEFP_H
13133 #include <ieeefp.h>
13140 if { (eval echo configure:13141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13142 glibcpp_cv_func__isnanf_use=yes
13144 echo "configure
: failed program was
:" >&5
13145 cat conftest.$ac_ext >&5
13147 glibcpp_cv_func__isnanf_use=no
13151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13152 ac_cpp='$CPP $CPPFLAGS'
13153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13155 cross_compiling=$ac_cv_prog_cc_cross
13161 echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
13163 if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
13164 for ac_func in _isnanf
13166 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13167 echo "configure
:13168: checking
for $ac_func" >&5
13168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13169 echo $ac_n "(cached
) $ac_c" 1>&6
13171 cat > conftest.$ac_ext <<EOF
13172 #line 13173 "configure
"
13173 #include "confdefs.h
"
13174 /* System header to define __stub macros and hopefully few prototypes,
13175 which can conflict with char $ac_func(); below. */
13176 #include <assert.h>
13177 /* Override any gcc2 internal prototype to avoid an error. */
13178 /* We use char because int might match the return type of a gcc2
13179 builtin and then its argument prototype would still apply. */
13184 /* The GNU C library defines this for functions which it implements
13185 to always fail with ENOSYS. Some functions are actually named
13186 something starting with __ and the normal name is an alias. */
13187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13195 if { (eval echo configure:13196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13197 eval "ac_cv_func_
$ac_func=yes"
13199 echo "configure
: failed program was
:" >&5
13200 cat conftest.$ac_ext >&5
13202 eval "ac_cv_func_
$ac_func=no
"
13207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13208 echo "$ac_t""yes" 1>&6
13209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13210 cat >> confdefs.h <<EOF
13211 #define $ac_tr_func 1
13215 echo "$ac_t""no
" 1>&6
13224 echo $ac_n "checking
for isinff declaration
""...
$ac_c" 1>&6
13225 echo "configure
:13226: checking
for isinff declaration
" >&5
13226 if test x${glibcpp_cv_func_isinff_use+set} != xset; then
13227 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
13228 echo $ac_n "(cached
) $ac_c" 1>&6
13233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13234 ac_cpp='$CXXCPP $CPPFLAGS'
13235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13237 cross_compiling=$ac_cv_prog_cxx_cross
13239 cat > conftest.$ac_ext <<EOF
13240 #line 13241 "configure
"
13241 #include "confdefs.h
"
13243 #ifdef HAVE_IEEEFP_H
13244 #include <ieeefp.h>
13251 if { (eval echo configure:13252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13253 glibcpp_cv_func_isinff_use=yes
13255 echo "configure
: failed program was
:" >&5
13256 cat conftest.$ac_ext >&5
13258 glibcpp_cv_func_isinff_use=no
13262 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13263 ac_cpp='$CPP $CPPFLAGS'
13264 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13265 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13266 cross_compiling=$ac_cv_prog_cc_cross
13272 echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
13274 if test x$glibcpp_cv_func_isinff_use = x"yes"; then
13275 for ac_func in isinff
13277 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13278 echo "configure
:13279: checking
for $ac_func" >&5
13279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13280 echo $ac_n "(cached
) $ac_c" 1>&6
13282 cat > conftest.$ac_ext <<EOF
13283 #line 13284 "configure
"
13284 #include "confdefs.h
"
13285 /* System header to define __stub macros and hopefully few prototypes,
13286 which can conflict with char $ac_func(); below. */
13287 #include <assert.h>
13288 /* Override any gcc2 internal prototype to avoid an error. */
13289 /* We use char because int might match the return type of a gcc2
13290 builtin and then its argument prototype would still apply. */
13295 /* The GNU C library defines this for functions which it implements
13296 to always fail with ENOSYS. Some functions are actually named
13297 something starting with __ and the normal name is an alias. */
13298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13306 if { (eval echo configure:13307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13308 eval "ac_cv_func_
$ac_func=yes"
13310 echo "configure
: failed program was
:" >&5
13311 cat conftest.$ac_ext >&5
13313 eval "ac_cv_func_
$ac_func=no
"
13318 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13319 echo "$ac_t""yes" 1>&6
13320 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13321 cat >> confdefs.h <<EOF
13322 #define $ac_tr_func 1
13326 echo "$ac_t""no
" 1>&6
13332 echo $ac_n "checking
for _isinff declaration
""...
$ac_c" 1>&6
13333 echo "configure
:13334: checking
for _isinff declaration
" >&5
13334 if test x${glibcpp_cv_func__isinff_use+set} != xset; then
13335 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
13336 echo $ac_n "(cached
) $ac_c" 1>&6
13341 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13342 ac_cpp='$CXXCPP $CPPFLAGS'
13343 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13344 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13345 cross_compiling=$ac_cv_prog_cxx_cross
13347 cat > conftest.$ac_ext <<EOF
13348 #line 13349 "configure
"
13349 #include "confdefs.h
"
13351 #ifdef HAVE_IEEEFP_H
13352 #include <ieeefp.h>
13359 if { (eval echo configure:13360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13361 glibcpp_cv_func__isinff_use=yes
13363 echo "configure
: failed program was
:" >&5
13364 cat conftest.$ac_ext >&5
13366 glibcpp_cv_func__isinff_use=no
13370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13371 ac_cpp='$CPP $CPPFLAGS'
13372 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13373 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13374 cross_compiling=$ac_cv_prog_cc_cross
13380 echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
13382 if test x$glibcpp_cv_func__isinff_use = x"yes"; then
13383 for ac_func in _isinff
13385 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13386 echo "configure
:13387: checking
for $ac_func" >&5
13387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13388 echo $ac_n "(cached
) $ac_c" 1>&6
13390 cat > conftest.$ac_ext <<EOF
13391 #line 13392 "configure
"
13392 #include "confdefs.h
"
13393 /* System header to define __stub macros and hopefully few prototypes,
13394 which can conflict with char $ac_func(); below. */
13395 #include <assert.h>
13396 /* Override any gcc2 internal prototype to avoid an error. */
13397 /* We use char because int might match the return type of a gcc2
13398 builtin and then its argument prototype would still apply. */
13403 /* The GNU C library defines this for functions which it implements
13404 to always fail with ENOSYS. Some functions are actually named
13405 something starting with __ and the normal name is an alias. */
13406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13414 if { (eval echo configure:13415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13416 eval "ac_cv_func_
$ac_func=yes"
13418 echo "configure
: failed program was
:" >&5
13419 cat conftest.$ac_ext >&5
13421 eval "ac_cv_func_
$ac_func=no
"
13426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13427 echo "$ac_t""yes" 1>&6
13428 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13429 cat >> confdefs.h <<EOF
13430 #define $ac_tr_func 1
13434 echo "$ac_t""no
" 1>&6
13443 echo $ac_n "checking
for atan2f declaration
""...
$ac_c" 1>&6
13444 echo "configure
:13445: checking
for atan2f declaration
" >&5
13445 if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
13446 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
13447 echo $ac_n "(cached
) $ac_c" 1>&6
13452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13453 ac_cpp='$CXXCPP $CPPFLAGS'
13454 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13455 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13456 cross_compiling=$ac_cv_prog_cxx_cross
13458 cat > conftest.$ac_ext <<EOF
13459 #line 13460 "configure
"
13460 #include "confdefs.h
"
13466 if { (eval echo configure:13467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13468 glibcpp_cv_func_atan2f_use=yes
13470 echo "configure
: failed program was
:" >&5
13471 cat conftest.$ac_ext >&5
13473 glibcpp_cv_func_atan2f_use=no
13477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13478 ac_cpp='$CPP $CPPFLAGS'
13479 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13480 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13481 cross_compiling=$ac_cv_prog_cc_cross
13487 echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
13489 if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
13490 for ac_func in atan2f
13492 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13493 echo "configure
:13494: checking
for $ac_func" >&5
13494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13495 echo $ac_n "(cached
) $ac_c" 1>&6
13497 cat > conftest.$ac_ext <<EOF
13498 #line 13499 "configure
"
13499 #include "confdefs.h
"
13500 /* System header to define __stub macros and hopefully few prototypes,
13501 which can conflict with char $ac_func(); below. */
13502 #include <assert.h>
13503 /* Override any gcc2 internal prototype to avoid an error. */
13504 /* We use char because int might match the return type of a gcc2
13505 builtin and then its argument prototype would still apply. */
13510 /* The GNU C library defines this for functions which it implements
13511 to always fail with ENOSYS. Some functions are actually named
13512 something starting with __ and the normal name is an alias. */
13513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13521 if { (eval echo configure:13522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13523 eval "ac_cv_func_
$ac_func=yes"
13525 echo "configure
: failed program was
:" >&5
13526 cat conftest.$ac_ext >&5
13528 eval "ac_cv_func_
$ac_func=no
"
13533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13534 echo "$ac_t""yes" 1>&6
13535 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13536 cat >> confdefs.h <<EOF
13537 #define $ac_tr_func 1
13541 echo "$ac_t""no
" 1>&6
13547 echo $ac_n "checking
for _atan2f declaration
""...
$ac_c" 1>&6
13548 echo "configure
:13549: checking
for _atan2f declaration
" >&5
13549 if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
13550 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
13551 echo $ac_n "(cached
) $ac_c" 1>&6
13556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13557 ac_cpp='$CXXCPP $CPPFLAGS'
13558 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13559 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13560 cross_compiling=$ac_cv_prog_cxx_cross
13562 cat > conftest.$ac_ext <<EOF
13563 #line 13564 "configure
"
13564 #include "confdefs.h
"
13570 if { (eval echo configure:13571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13572 glibcpp_cv_func__atan2f_use=yes
13574 echo "configure
: failed program was
:" >&5
13575 cat conftest.$ac_ext >&5
13577 glibcpp_cv_func__atan2f_use=no
13581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13585 cross_compiling=$ac_cv_prog_cc_cross
13591 echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
13593 if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
13594 for ac_func in _atan2f
13596 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13597 echo "configure
:13598: checking
for $ac_func" >&5
13598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13599 echo $ac_n "(cached
) $ac_c" 1>&6
13601 cat > conftest.$ac_ext <<EOF
13602 #line 13603 "configure
"
13603 #include "confdefs.h
"
13604 /* System header to define __stub macros and hopefully few prototypes,
13605 which can conflict with char $ac_func(); below. */
13606 #include <assert.h>
13607 /* Override any gcc2 internal prototype to avoid an error. */
13608 /* We use char because int might match the return type of a gcc2
13609 builtin and then its argument prototype would still apply. */
13614 /* The GNU C library defines this for functions which it implements
13615 to always fail with ENOSYS. Some functions are actually named
13616 something starting with __ and the normal name is an alias. */
13617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13625 if { (eval echo configure:13626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13627 eval "ac_cv_func_
$ac_func=yes"
13629 echo "configure
: failed program was
:" >&5
13630 cat conftest.$ac_ext >&5
13632 eval "ac_cv_func_
$ac_func=no
"
13637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13638 echo "$ac_t""yes" 1>&6
13639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13640 cat >> confdefs.h <<EOF
13641 #define $ac_tr_func 1
13645 echo "$ac_t""no
" 1>&6
13654 echo $ac_n "checking
for fabsf declaration
""...
$ac_c" 1>&6
13655 echo "configure
:13656: checking
for fabsf declaration
" >&5
13656 if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
13657 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
13658 echo $ac_n "(cached
) $ac_c" 1>&6
13663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13664 ac_cpp='$CXXCPP $CPPFLAGS'
13665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13667 cross_compiling=$ac_cv_prog_cxx_cross
13669 cat > conftest.$ac_ext <<EOF
13670 #line 13671 "configure
"
13671 #include "confdefs.h
"
13673 #ifdef HAVE_IEEEFP_H
13674 #include <ieeefp.h>
13681 if { (eval echo configure:13682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13683 glibcpp_cv_func_fabsf_use=yes
13685 echo "configure
: failed program was
:" >&5
13686 cat conftest.$ac_ext >&5
13688 glibcpp_cv_func_fabsf_use=no
13692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13693 ac_cpp='$CPP $CPPFLAGS'
13694 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13695 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13696 cross_compiling=$ac_cv_prog_cc_cross
13702 echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
13704 if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
13705 for ac_func in fabsf
13707 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13708 echo "configure
:13709: checking
for $ac_func" >&5
13709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13710 echo $ac_n "(cached
) $ac_c" 1>&6
13712 cat > conftest.$ac_ext <<EOF
13713 #line 13714 "configure
"
13714 #include "confdefs.h
"
13715 /* System header to define __stub macros and hopefully few prototypes,
13716 which can conflict with char $ac_func(); below. */
13717 #include <assert.h>
13718 /* Override any gcc2 internal prototype to avoid an error. */
13719 /* We use char because int might match the return type of a gcc2
13720 builtin and then its argument prototype would still apply. */
13725 /* The GNU C library defines this for functions which it implements
13726 to always fail with ENOSYS. Some functions are actually named
13727 something starting with __ and the normal name is an alias. */
13728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13736 if { (eval echo configure:13737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13738 eval "ac_cv_func_
$ac_func=yes"
13740 echo "configure
: failed program was
:" >&5
13741 cat conftest.$ac_ext >&5
13743 eval "ac_cv_func_
$ac_func=no
"
13748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13749 echo "$ac_t""yes" 1>&6
13750 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13751 cat >> confdefs.h <<EOF
13752 #define $ac_tr_func 1
13756 echo "$ac_t""no
" 1>&6
13762 echo $ac_n "checking
for _fabsf declaration
""...
$ac_c" 1>&6
13763 echo "configure
:13764: checking
for _fabsf declaration
" >&5
13764 if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
13765 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
13766 echo $ac_n "(cached
) $ac_c" 1>&6
13771 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13772 ac_cpp='$CXXCPP $CPPFLAGS'
13773 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13774 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13775 cross_compiling=$ac_cv_prog_cxx_cross
13777 cat > conftest.$ac_ext <<EOF
13778 #line 13779 "configure
"
13779 #include "confdefs.h
"
13781 #ifdef HAVE_IEEEFP_H
13782 #include <ieeefp.h>
13789 if { (eval echo configure:13790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13791 glibcpp_cv_func__fabsf_use=yes
13793 echo "configure
: failed program was
:" >&5
13794 cat conftest.$ac_ext >&5
13796 glibcpp_cv_func__fabsf_use=no
13800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13801 ac_cpp='$CPP $CPPFLAGS'
13802 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13803 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13804 cross_compiling=$ac_cv_prog_cc_cross
13810 echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
13812 if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
13813 for ac_func in _fabsf
13815 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13816 echo "configure
:13817: checking
for $ac_func" >&5
13817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13818 echo $ac_n "(cached
) $ac_c" 1>&6
13820 cat > conftest.$ac_ext <<EOF
13821 #line 13822 "configure
"
13822 #include "confdefs.h
"
13823 /* System header to define __stub macros and hopefully few prototypes,
13824 which can conflict with char $ac_func(); below. */
13825 #include <assert.h>
13826 /* Override any gcc2 internal prototype to avoid an error. */
13827 /* We use char because int might match the return type of a gcc2
13828 builtin and then its argument prototype would still apply. */
13833 /* The GNU C library defines this for functions which it implements
13834 to always fail with ENOSYS. Some functions are actually named
13835 something starting with __ and the normal name is an alias. */
13836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13844 if { (eval echo configure:13845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13846 eval "ac_cv_func_
$ac_func=yes"
13848 echo "configure
: failed program was
:" >&5
13849 cat conftest.$ac_ext >&5
13851 eval "ac_cv_func_
$ac_func=no
"
13856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13857 echo "$ac_t""yes" 1>&6
13858 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13859 cat >> confdefs.h <<EOF
13860 #define $ac_tr_func 1
13864 echo "$ac_t""no
" 1>&6
13873 echo $ac_n "checking
for fmodf declaration
""...
$ac_c" 1>&6
13874 echo "configure
:13875: checking
for fmodf declaration
" >&5
13875 if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
13876 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
13877 echo $ac_n "(cached
) $ac_c" 1>&6
13882 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13883 ac_cpp='$CXXCPP $CPPFLAGS'
13884 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13885 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13886 cross_compiling=$ac_cv_prog_cxx_cross
13888 cat > conftest.$ac_ext <<EOF
13889 #line 13890 "configure
"
13890 #include "confdefs.h
"
13896 if { (eval echo configure:13897: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13898 glibcpp_cv_func_fmodf_use=yes
13900 echo "configure
: failed program was
:" >&5
13901 cat conftest.$ac_ext >&5
13903 glibcpp_cv_func_fmodf_use=no
13907 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13908 ac_cpp='$CPP $CPPFLAGS'
13909 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13910 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13911 cross_compiling=$ac_cv_prog_cc_cross
13917 echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
13919 if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
13920 for ac_func in fmodf
13922 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
13923 echo "configure
:13924: checking
for $ac_func" >&5
13924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13925 echo $ac_n "(cached
) $ac_c" 1>&6
13927 cat > conftest.$ac_ext <<EOF
13928 #line 13929 "configure
"
13929 #include "confdefs.h
"
13930 /* System header to define __stub macros and hopefully few prototypes,
13931 which can conflict with char $ac_func(); below. */
13932 #include <assert.h>
13933 /* Override any gcc2 internal prototype to avoid an error. */
13934 /* We use char because int might match the return type of a gcc2
13935 builtin and then its argument prototype would still apply. */
13940 /* The GNU C library defines this for functions which it implements
13941 to always fail with ENOSYS. Some functions are actually named
13942 something starting with __ and the normal name is an alias. */
13943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13951 if { (eval echo configure:13952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13953 eval "ac_cv_func_
$ac_func=yes"
13955 echo "configure
: failed program was
:" >&5
13956 cat conftest.$ac_ext >&5
13958 eval "ac_cv_func_
$ac_func=no
"
13963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13964 echo "$ac_t""yes" 1>&6
13965 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13966 cat >> confdefs.h <<EOF
13967 #define $ac_tr_func 1
13971 echo "$ac_t""no
" 1>&6
13977 echo $ac_n "checking
for _fmodf declaration
""...
$ac_c" 1>&6
13978 echo "configure
:13979: checking
for _fmodf declaration
" >&5
13979 if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
13980 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
13981 echo $ac_n "(cached
) $ac_c" 1>&6
13986 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13987 ac_cpp='$CXXCPP $CPPFLAGS'
13988 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13989 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13990 cross_compiling=$ac_cv_prog_cxx_cross
13992 cat > conftest.$ac_ext <<EOF
13993 #line 13994 "configure
"
13994 #include "confdefs.h
"
14000 if { (eval echo configure:14001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14002 glibcpp_cv_func__fmodf_use=yes
14004 echo "configure
: failed program was
:" >&5
14005 cat conftest.$ac_ext >&5
14007 glibcpp_cv_func__fmodf_use=no
14011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14012 ac_cpp='$CPP $CPPFLAGS'
14013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14015 cross_compiling=$ac_cv_prog_cc_cross
14021 echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
14023 if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
14024 for ac_func in _fmodf
14026 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14027 echo "configure
:14028: checking
for $ac_func" >&5
14028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14029 echo $ac_n "(cached
) $ac_c" 1>&6
14031 cat > conftest.$ac_ext <<EOF
14032 #line 14033 "configure
"
14033 #include "confdefs.h
"
14034 /* System header to define __stub macros and hopefully few prototypes,
14035 which can conflict with char $ac_func(); below. */
14036 #include <assert.h>
14037 /* Override any gcc2 internal prototype to avoid an error. */
14038 /* We use char because int might match the return type of a gcc2
14039 builtin and then its argument prototype would still apply. */
14044 /* The GNU C library defines this for functions which it implements
14045 to always fail with ENOSYS. Some functions are actually named
14046 something starting with __ and the normal name is an alias. */
14047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14055 if { (eval echo configure:14056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14057 eval "ac_cv_func_
$ac_func=yes"
14059 echo "configure
: failed program was
:" >&5
14060 cat conftest.$ac_ext >&5
14062 eval "ac_cv_func_
$ac_func=no
"
14067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14068 echo "$ac_t""yes" 1>&6
14069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14070 cat >> confdefs.h <<EOF
14071 #define $ac_tr_func 1
14075 echo "$ac_t""no
" 1>&6
14084 echo $ac_n "checking
for frexpf declaration
""...
$ac_c" 1>&6
14085 echo "configure
:14086: checking
for frexpf declaration
" >&5
14086 if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
14087 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
14088 echo $ac_n "(cached
) $ac_c" 1>&6
14093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14094 ac_cpp='$CXXCPP $CPPFLAGS'
14095 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14096 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14097 cross_compiling=$ac_cv_prog_cxx_cross
14099 cat > conftest.$ac_ext <<EOF
14100 #line 14101 "configure
"
14101 #include "confdefs.h
"
14107 if { (eval echo configure:14108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14109 glibcpp_cv_func_frexpf_use=yes
14111 echo "configure
: failed program was
:" >&5
14112 cat conftest.$ac_ext >&5
14114 glibcpp_cv_func_frexpf_use=no
14118 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14119 ac_cpp='$CPP $CPPFLAGS'
14120 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14121 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14122 cross_compiling=$ac_cv_prog_cc_cross
14128 echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
14130 if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
14131 for ac_func in frexpf
14133 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14134 echo "configure
:14135: checking
for $ac_func" >&5
14135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14136 echo $ac_n "(cached
) $ac_c" 1>&6
14138 cat > conftest.$ac_ext <<EOF
14139 #line 14140 "configure
"
14140 #include "confdefs.h
"
14141 /* System header to define __stub macros and hopefully few prototypes,
14142 which can conflict with char $ac_func(); below. */
14143 #include <assert.h>
14144 /* Override any gcc2 internal prototype to avoid an error. */
14145 /* We use char because int might match the return type of a gcc2
14146 builtin and then its argument prototype would still apply. */
14151 /* The GNU C library defines this for functions which it implements
14152 to always fail with ENOSYS. Some functions are actually named
14153 something starting with __ and the normal name is an alias. */
14154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14162 if { (eval echo configure:14163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14164 eval "ac_cv_func_
$ac_func=yes"
14166 echo "configure
: failed program was
:" >&5
14167 cat conftest.$ac_ext >&5
14169 eval "ac_cv_func_
$ac_func=no
"
14174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14175 echo "$ac_t""yes" 1>&6
14176 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14177 cat >> confdefs.h <<EOF
14178 #define $ac_tr_func 1
14182 echo "$ac_t""no
" 1>&6
14188 echo $ac_n "checking
for _frexpf declaration
""...
$ac_c" 1>&6
14189 echo "configure
:14190: checking
for _frexpf declaration
" >&5
14190 if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
14191 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
14192 echo $ac_n "(cached
) $ac_c" 1>&6
14197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14198 ac_cpp='$CXXCPP $CPPFLAGS'
14199 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14200 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14201 cross_compiling=$ac_cv_prog_cxx_cross
14203 cat > conftest.$ac_ext <<EOF
14204 #line 14205 "configure
"
14205 #include "confdefs.h
"
14211 if { (eval echo configure:14212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14213 glibcpp_cv_func__frexpf_use=yes
14215 echo "configure
: failed program was
:" >&5
14216 cat conftest.$ac_ext >&5
14218 glibcpp_cv_func__frexpf_use=no
14222 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14223 ac_cpp='$CPP $CPPFLAGS'
14224 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14225 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14226 cross_compiling=$ac_cv_prog_cc_cross
14232 echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
14234 if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
14235 for ac_func in _frexpf
14237 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14238 echo "configure
:14239: checking
for $ac_func" >&5
14239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14240 echo $ac_n "(cached
) $ac_c" 1>&6
14242 cat > conftest.$ac_ext <<EOF
14243 #line 14244 "configure
"
14244 #include "confdefs.h
"
14245 /* System header to define __stub macros and hopefully few prototypes,
14246 which can conflict with char $ac_func(); below. */
14247 #include <assert.h>
14248 /* Override any gcc2 internal prototype to avoid an error. */
14249 /* We use char because int might match the return type of a gcc2
14250 builtin and then its argument prototype would still apply. */
14255 /* The GNU C library defines this for functions which it implements
14256 to always fail with ENOSYS. Some functions are actually named
14257 something starting with __ and the normal name is an alias. */
14258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14266 if { (eval echo configure:14267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14268 eval "ac_cv_func_
$ac_func=yes"
14270 echo "configure
: failed program was
:" >&5
14271 cat conftest.$ac_ext >&5
14273 eval "ac_cv_func_
$ac_func=no
"
14278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14279 echo "$ac_t""yes" 1>&6
14280 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14281 cat >> confdefs.h <<EOF
14282 #define $ac_tr_func 1
14286 echo "$ac_t""no
" 1>&6
14295 echo $ac_n "checking
for hypotf declaration
""...
$ac_c" 1>&6
14296 echo "configure
:14297: checking
for hypotf declaration
" >&5
14297 if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
14298 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
14299 echo $ac_n "(cached
) $ac_c" 1>&6
14304 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14305 ac_cpp='$CXXCPP $CPPFLAGS'
14306 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14307 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14308 cross_compiling=$ac_cv_prog_cxx_cross
14310 cat > conftest.$ac_ext <<EOF
14311 #line 14312 "configure
"
14312 #include "confdefs.h
"
14318 if { (eval echo configure:14319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14320 glibcpp_cv_func_hypotf_use=yes
14322 echo "configure
: failed program was
:" >&5
14323 cat conftest.$ac_ext >&5
14325 glibcpp_cv_func_hypotf_use=no
14329 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14330 ac_cpp='$CPP $CPPFLAGS'
14331 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14332 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14333 cross_compiling=$ac_cv_prog_cc_cross
14339 echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
14341 if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
14342 for ac_func in hypotf
14344 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14345 echo "configure
:14346: checking
for $ac_func" >&5
14346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14347 echo $ac_n "(cached
) $ac_c" 1>&6
14349 cat > conftest.$ac_ext <<EOF
14350 #line 14351 "configure
"
14351 #include "confdefs.h
"
14352 /* System header to define __stub macros and hopefully few prototypes,
14353 which can conflict with char $ac_func(); below. */
14354 #include <assert.h>
14355 /* Override any gcc2 internal prototype to avoid an error. */
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14362 /* The GNU C library defines this for functions which it implements
14363 to always fail with ENOSYS. Some functions are actually named
14364 something starting with __ and the normal name is an alias. */
14365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14373 if { (eval echo configure:14374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14375 eval "ac_cv_func_
$ac_func=yes"
14377 echo "configure
: failed program was
:" >&5
14378 cat conftest.$ac_ext >&5
14380 eval "ac_cv_func_
$ac_func=no
"
14385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14386 echo "$ac_t""yes" 1>&6
14387 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14388 cat >> confdefs.h <<EOF
14389 #define $ac_tr_func 1
14393 echo "$ac_t""no
" 1>&6
14399 echo $ac_n "checking
for _hypotf declaration
""...
$ac_c" 1>&6
14400 echo "configure
:14401: checking
for _hypotf declaration
" >&5
14401 if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
14402 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
14403 echo $ac_n "(cached
) $ac_c" 1>&6
14408 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14409 ac_cpp='$CXXCPP $CPPFLAGS'
14410 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14411 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14412 cross_compiling=$ac_cv_prog_cxx_cross
14414 cat > conftest.$ac_ext <<EOF
14415 #line 14416 "configure
"
14416 #include "confdefs.h
"
14422 if { (eval echo configure:14423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14424 glibcpp_cv_func__hypotf_use=yes
14426 echo "configure
: failed program was
:" >&5
14427 cat conftest.$ac_ext >&5
14429 glibcpp_cv_func__hypotf_use=no
14433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14434 ac_cpp='$CPP $CPPFLAGS'
14435 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14436 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14437 cross_compiling=$ac_cv_prog_cc_cross
14443 echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
14445 if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
14446 for ac_func in _hypotf
14448 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14449 echo "configure
:14450: checking
for $ac_func" >&5
14450 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14451 echo $ac_n "(cached
) $ac_c" 1>&6
14453 cat > conftest.$ac_ext <<EOF
14454 #line 14455 "configure
"
14455 #include "confdefs.h
"
14456 /* System header to define __stub macros and hopefully few prototypes,
14457 which can conflict with char $ac_func(); below. */
14458 #include <assert.h>
14459 /* Override any gcc2 internal prototype to avoid an error. */
14460 /* We use char because int might match the return type of a gcc2
14461 builtin and then its argument prototype would still apply. */
14466 /* The GNU C library defines this for functions which it implements
14467 to always fail with ENOSYS. Some functions are actually named
14468 something starting with __ and the normal name is an alias. */
14469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14477 if { (eval echo configure:14478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14479 eval "ac_cv_func_
$ac_func=yes"
14481 echo "configure
: failed program was
:" >&5
14482 cat conftest.$ac_ext >&5
14484 eval "ac_cv_func_
$ac_func=no
"
14489 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14490 echo "$ac_t""yes" 1>&6
14491 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14492 cat >> confdefs.h <<EOF
14493 #define $ac_tr_func 1
14497 echo "$ac_t""no
" 1>&6
14506 echo $ac_n "checking
for ldexpf declaration
""...
$ac_c" 1>&6
14507 echo "configure
:14508: checking
for ldexpf declaration
" >&5
14508 if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
14509 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
14510 echo $ac_n "(cached
) $ac_c" 1>&6
14515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14516 ac_cpp='$CXXCPP $CPPFLAGS'
14517 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14518 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14519 cross_compiling=$ac_cv_prog_cxx_cross
14521 cat > conftest.$ac_ext <<EOF
14522 #line 14523 "configure
"
14523 #include "confdefs.h
"
14529 if { (eval echo configure:14530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14531 glibcpp_cv_func_ldexpf_use=yes
14533 echo "configure
: failed program was
:" >&5
14534 cat conftest.$ac_ext >&5
14536 glibcpp_cv_func_ldexpf_use=no
14540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14541 ac_cpp='$CPP $CPPFLAGS'
14542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14544 cross_compiling=$ac_cv_prog_cc_cross
14550 echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
14552 if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
14553 for ac_func in ldexpf
14555 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14556 echo "configure
:14557: checking
for $ac_func" >&5
14557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14558 echo $ac_n "(cached
) $ac_c" 1>&6
14560 cat > conftest.$ac_ext <<EOF
14561 #line 14562 "configure
"
14562 #include "confdefs.h
"
14563 /* System header to define __stub macros and hopefully few prototypes,
14564 which can conflict with char $ac_func(); below. */
14565 #include <assert.h>
14566 /* Override any gcc2 internal prototype to avoid an error. */
14567 /* We use char because int might match the return type of a gcc2
14568 builtin and then its argument prototype would still apply. */
14573 /* The GNU C library defines this for functions which it implements
14574 to always fail with ENOSYS. Some functions are actually named
14575 something starting with __ and the normal name is an alias. */
14576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14584 if { (eval echo configure:14585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14586 eval "ac_cv_func_
$ac_func=yes"
14588 echo "configure
: failed program was
:" >&5
14589 cat conftest.$ac_ext >&5
14591 eval "ac_cv_func_
$ac_func=no
"
14596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14597 echo "$ac_t""yes" 1>&6
14598 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14599 cat >> confdefs.h <<EOF
14600 #define $ac_tr_func 1
14604 echo "$ac_t""no
" 1>&6
14610 echo $ac_n "checking
for _ldexpf declaration
""...
$ac_c" 1>&6
14611 echo "configure
:14612: checking
for _ldexpf declaration
" >&5
14612 if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
14613 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
14614 echo $ac_n "(cached
) $ac_c" 1>&6
14619 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14620 ac_cpp='$CXXCPP $CPPFLAGS'
14621 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14622 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14623 cross_compiling=$ac_cv_prog_cxx_cross
14625 cat > conftest.$ac_ext <<EOF
14626 #line 14627 "configure
"
14627 #include "confdefs.h
"
14633 if { (eval echo configure:14634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14635 glibcpp_cv_func__ldexpf_use=yes
14637 echo "configure
: failed program was
:" >&5
14638 cat conftest.$ac_ext >&5
14640 glibcpp_cv_func__ldexpf_use=no
14644 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14645 ac_cpp='$CPP $CPPFLAGS'
14646 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14647 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14648 cross_compiling=$ac_cv_prog_cc_cross
14654 echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
14656 if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
14657 for ac_func in _ldexpf
14659 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14660 echo "configure
:14661: checking
for $ac_func" >&5
14661 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14662 echo $ac_n "(cached
) $ac_c" 1>&6
14664 cat > conftest.$ac_ext <<EOF
14665 #line 14666 "configure
"
14666 #include "confdefs.h
"
14667 /* System header to define __stub macros and hopefully few prototypes,
14668 which can conflict with char $ac_func(); below. */
14669 #include <assert.h>
14670 /* Override any gcc2 internal prototype to avoid an error. */
14671 /* We use char because int might match the return type of a gcc2
14672 builtin and then its argument prototype would still apply. */
14677 /* The GNU C library defines this for functions which it implements
14678 to always fail with ENOSYS. Some functions are actually named
14679 something starting with __ and the normal name is an alias. */
14680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14688 if { (eval echo configure:14689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14690 eval "ac_cv_func_
$ac_func=yes"
14692 echo "configure
: failed program was
:" >&5
14693 cat conftest.$ac_ext >&5
14695 eval "ac_cv_func_
$ac_func=no
"
14700 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14701 echo "$ac_t""yes" 1>&6
14702 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14703 cat >> confdefs.h <<EOF
14704 #define $ac_tr_func 1
14708 echo "$ac_t""no
" 1>&6
14717 echo $ac_n "checking
for logf declaration
""...
$ac_c" 1>&6
14718 echo "configure
:14719: checking
for logf declaration
" >&5
14719 if test x${glibcpp_cv_func_logf_use+set} != xset; then
14720 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
14721 echo $ac_n "(cached
) $ac_c" 1>&6
14726 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14727 ac_cpp='$CXXCPP $CPPFLAGS'
14728 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14729 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14730 cross_compiling=$ac_cv_prog_cxx_cross
14732 cat > conftest.$ac_ext <<EOF
14733 #line 14734 "configure
"
14734 #include "confdefs.h
"
14736 #ifdef HAVE_IEEEFP_H
14737 #include <ieeefp.h>
14744 if { (eval echo configure:14745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14746 glibcpp_cv_func_logf_use=yes
14748 echo "configure
: failed program was
:" >&5
14749 cat conftest.$ac_ext >&5
14751 glibcpp_cv_func_logf_use=no
14755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14756 ac_cpp='$CPP $CPPFLAGS'
14757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14759 cross_compiling=$ac_cv_prog_cc_cross
14765 echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
14767 if test x$glibcpp_cv_func_logf_use = x"yes"; then
14768 for ac_func in logf
14770 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14771 echo "configure
:14772: checking
for $ac_func" >&5
14772 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14773 echo $ac_n "(cached
) $ac_c" 1>&6
14775 cat > conftest.$ac_ext <<EOF
14776 #line 14777 "configure
"
14777 #include "confdefs.h
"
14778 /* System header to define __stub macros and hopefully few prototypes,
14779 which can conflict with char $ac_func(); below. */
14780 #include <assert.h>
14781 /* Override any gcc2 internal prototype to avoid an error. */
14782 /* We use char because int might match the return type of a gcc2
14783 builtin and then its argument prototype would still apply. */
14788 /* The GNU C library defines this for functions which it implements
14789 to always fail with ENOSYS. Some functions are actually named
14790 something starting with __ and the normal name is an alias. */
14791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14799 if { (eval echo configure:14800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14801 eval "ac_cv_func_
$ac_func=yes"
14803 echo "configure
: failed program was
:" >&5
14804 cat conftest.$ac_ext >&5
14806 eval "ac_cv_func_
$ac_func=no
"
14811 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14812 echo "$ac_t""yes" 1>&6
14813 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14814 cat >> confdefs.h <<EOF
14815 #define $ac_tr_func 1
14819 echo "$ac_t""no
" 1>&6
14825 echo $ac_n "checking
for _logf declaration
""...
$ac_c" 1>&6
14826 echo "configure
:14827: checking
for _logf declaration
" >&5
14827 if test x${glibcpp_cv_func__logf_use+set} != xset; then
14828 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
14829 echo $ac_n "(cached
) $ac_c" 1>&6
14834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14835 ac_cpp='$CXXCPP $CPPFLAGS'
14836 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14837 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14838 cross_compiling=$ac_cv_prog_cxx_cross
14840 cat > conftest.$ac_ext <<EOF
14841 #line 14842 "configure
"
14842 #include "confdefs.h
"
14844 #ifdef HAVE_IEEEFP_H
14845 #include <ieeefp.h>
14852 if { (eval echo configure:14853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14854 glibcpp_cv_func__logf_use=yes
14856 echo "configure
: failed program was
:" >&5
14857 cat conftest.$ac_ext >&5
14859 glibcpp_cv_func__logf_use=no
14863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14864 ac_cpp='$CPP $CPPFLAGS'
14865 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14866 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14867 cross_compiling=$ac_cv_prog_cc_cross
14873 echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
14875 if test x$glibcpp_cv_func__logf_use = x"yes"; then
14876 for ac_func in _logf
14878 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14879 echo "configure
:14880: checking
for $ac_func" >&5
14880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14881 echo $ac_n "(cached
) $ac_c" 1>&6
14883 cat > conftest.$ac_ext <<EOF
14884 #line 14885 "configure
"
14885 #include "confdefs.h
"
14886 /* System header to define __stub macros and hopefully few prototypes,
14887 which can conflict with char $ac_func(); below. */
14888 #include <assert.h>
14889 /* Override any gcc2 internal prototype to avoid an error. */
14890 /* We use char because int might match the return type of a gcc2
14891 builtin and then its argument prototype would still apply. */
14896 /* The GNU C library defines this for functions which it implements
14897 to always fail with ENOSYS. Some functions are actually named
14898 something starting with __ and the normal name is an alias. */
14899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14907 if { (eval echo configure:14908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14909 eval "ac_cv_func_
$ac_func=yes"
14911 echo "configure
: failed program was
:" >&5
14912 cat conftest.$ac_ext >&5
14914 eval "ac_cv_func_
$ac_func=no
"
14919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14920 echo "$ac_t""yes" 1>&6
14921 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14922 cat >> confdefs.h <<EOF
14923 #define $ac_tr_func 1
14927 echo "$ac_t""no
" 1>&6
14936 echo $ac_n "checking
for log10f declaration
""...
$ac_c" 1>&6
14937 echo "configure
:14938: checking
for log10f declaration
" >&5
14938 if test x${glibcpp_cv_func_log10f_use+set} != xset; then
14939 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
14940 echo $ac_n "(cached
) $ac_c" 1>&6
14945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14946 ac_cpp='$CXXCPP $CPPFLAGS'
14947 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14948 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14949 cross_compiling=$ac_cv_prog_cxx_cross
14951 cat > conftest.$ac_ext <<EOF
14952 #line 14953 "configure
"
14953 #include "confdefs.h
"
14955 #ifdef HAVE_IEEEFP_H
14956 #include <ieeefp.h>
14963 if { (eval echo configure:14964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14965 glibcpp_cv_func_log10f_use=yes
14967 echo "configure
: failed program was
:" >&5
14968 cat conftest.$ac_ext >&5
14970 glibcpp_cv_func_log10f_use=no
14974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14975 ac_cpp='$CPP $CPPFLAGS'
14976 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14977 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14978 cross_compiling=$ac_cv_prog_cc_cross
14984 echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
14986 if test x$glibcpp_cv_func_log10f_use = x"yes"; then
14987 for ac_func in log10f
14989 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
14990 echo "configure
:14991: checking
for $ac_func" >&5
14991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14992 echo $ac_n "(cached
) $ac_c" 1>&6
14994 cat > conftest.$ac_ext <<EOF
14995 #line 14996 "configure
"
14996 #include "confdefs.h
"
14997 /* System header to define __stub macros and hopefully few prototypes,
14998 which can conflict with char $ac_func(); below. */
14999 #include <assert.h>
15000 /* Override any gcc2 internal prototype to avoid an error. */
15001 /* We use char because int might match the return type of a gcc2
15002 builtin and then its argument prototype would still apply. */
15007 /* The GNU C library defines this for functions which it implements
15008 to always fail with ENOSYS. Some functions are actually named
15009 something starting with __ and the normal name is an alias. */
15010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15018 if { (eval echo configure:15019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15020 eval "ac_cv_func_
$ac_func=yes"
15022 echo "configure
: failed program was
:" >&5
15023 cat conftest.$ac_ext >&5
15025 eval "ac_cv_func_
$ac_func=no
"
15030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15031 echo "$ac_t""yes" 1>&6
15032 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15033 cat >> confdefs.h <<EOF
15034 #define $ac_tr_func 1
15038 echo "$ac_t""no
" 1>&6
15044 echo $ac_n "checking
for _log10f declaration
""...
$ac_c" 1>&6
15045 echo "configure
:15046: checking
for _log10f declaration
" >&5
15046 if test x${glibcpp_cv_func__log10f_use+set} != xset; then
15047 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
15048 echo $ac_n "(cached
) $ac_c" 1>&6
15053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15054 ac_cpp='$CXXCPP $CPPFLAGS'
15055 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15056 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15057 cross_compiling=$ac_cv_prog_cxx_cross
15059 cat > conftest.$ac_ext <<EOF
15060 #line 15061 "configure
"
15061 #include "confdefs.h
"
15063 #ifdef HAVE_IEEEFP_H
15064 #include <ieeefp.h>
15071 if { (eval echo configure:15072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15073 glibcpp_cv_func__log10f_use=yes
15075 echo "configure
: failed program was
:" >&5
15076 cat conftest.$ac_ext >&5
15078 glibcpp_cv_func__log10f_use=no
15082 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15083 ac_cpp='$CPP $CPPFLAGS'
15084 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15085 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15086 cross_compiling=$ac_cv_prog_cc_cross
15092 echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
15094 if test x$glibcpp_cv_func__log10f_use = x"yes"; then
15095 for ac_func in _log10f
15097 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15098 echo "configure
:15099: checking
for $ac_func" >&5
15099 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15100 echo $ac_n "(cached
) $ac_c" 1>&6
15102 cat > conftest.$ac_ext <<EOF
15103 #line 15104 "configure
"
15104 #include "confdefs.h
"
15105 /* System header to define __stub macros and hopefully few prototypes,
15106 which can conflict with char $ac_func(); below. */
15107 #include <assert.h>
15108 /* Override any gcc2 internal prototype to avoid an error. */
15109 /* We use char because int might match the return type of a gcc2
15110 builtin and then its argument prototype would still apply. */
15115 /* The GNU C library defines this for functions which it implements
15116 to always fail with ENOSYS. Some functions are actually named
15117 something starting with __ and the normal name is an alias. */
15118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15126 if { (eval echo configure:15127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15128 eval "ac_cv_func_
$ac_func=yes"
15130 echo "configure
: failed program was
:" >&5
15131 cat conftest.$ac_ext >&5
15133 eval "ac_cv_func_
$ac_func=no
"
15138 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15139 echo "$ac_t""yes" 1>&6
15140 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15141 cat >> confdefs.h <<EOF
15142 #define $ac_tr_func 1
15146 echo "$ac_t""no
" 1>&6
15155 echo $ac_n "checking
for modff declaration
""...
$ac_c" 1>&6
15156 echo "configure
:15157: checking
for modff declaration
" >&5
15157 if test x${glibcpp_cv_func_modff_use+set} != xset; then
15158 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
15159 echo $ac_n "(cached
) $ac_c" 1>&6
15164 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15165 ac_cpp='$CXXCPP $CPPFLAGS'
15166 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15167 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15168 cross_compiling=$ac_cv_prog_cxx_cross
15170 cat > conftest.$ac_ext <<EOF
15171 #line 15172 "configure
"
15172 #include "confdefs.h
"
15178 if { (eval echo configure:15179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15180 glibcpp_cv_func_modff_use=yes
15182 echo "configure
: failed program was
:" >&5
15183 cat conftest.$ac_ext >&5
15185 glibcpp_cv_func_modff_use=no
15189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15190 ac_cpp='$CPP $CPPFLAGS'
15191 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15192 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15193 cross_compiling=$ac_cv_prog_cc_cross
15199 echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
15201 if test x$glibcpp_cv_func_modff_use = x"yes"; then
15202 for ac_func in modff
15204 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15205 echo "configure
:15206: checking
for $ac_func" >&5
15206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15207 echo $ac_n "(cached
) $ac_c" 1>&6
15209 cat > conftest.$ac_ext <<EOF
15210 #line 15211 "configure
"
15211 #include "confdefs.h
"
15212 /* System header to define __stub macros and hopefully few prototypes,
15213 which can conflict with char $ac_func(); below. */
15214 #include <assert.h>
15215 /* Override any gcc2 internal prototype to avoid an error. */
15216 /* We use char because int might match the return type of a gcc2
15217 builtin and then its argument prototype would still apply. */
15222 /* The GNU C library defines this for functions which it implements
15223 to always fail with ENOSYS. Some functions are actually named
15224 something starting with __ and the normal name is an alias. */
15225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15233 if { (eval echo configure:15234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15235 eval "ac_cv_func_
$ac_func=yes"
15237 echo "configure
: failed program was
:" >&5
15238 cat conftest.$ac_ext >&5
15240 eval "ac_cv_func_
$ac_func=no
"
15245 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15246 echo "$ac_t""yes" 1>&6
15247 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15248 cat >> confdefs.h <<EOF
15249 #define $ac_tr_func 1
15253 echo "$ac_t""no
" 1>&6
15259 echo $ac_n "checking
for _modff declaration
""...
$ac_c" 1>&6
15260 echo "configure
:15261: checking
for _modff declaration
" >&5
15261 if test x${glibcpp_cv_func__modff_use+set} != xset; then
15262 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
15263 echo $ac_n "(cached
) $ac_c" 1>&6
15268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15269 ac_cpp='$CXXCPP $CPPFLAGS'
15270 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15271 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15272 cross_compiling=$ac_cv_prog_cxx_cross
15274 cat > conftest.$ac_ext <<EOF
15275 #line 15276 "configure
"
15276 #include "confdefs.h
"
15282 if { (eval echo configure:15283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15284 glibcpp_cv_func__modff_use=yes
15286 echo "configure
: failed program was
:" >&5
15287 cat conftest.$ac_ext >&5
15289 glibcpp_cv_func__modff_use=no
15293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15294 ac_cpp='$CPP $CPPFLAGS'
15295 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15296 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15297 cross_compiling=$ac_cv_prog_cc_cross
15303 echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
15305 if test x$glibcpp_cv_func__modff_use = x"yes"; then
15306 for ac_func in _modff
15308 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15309 echo "configure
:15310: checking
for $ac_func" >&5
15310 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15311 echo $ac_n "(cached
) $ac_c" 1>&6
15313 cat > conftest.$ac_ext <<EOF
15314 #line 15315 "configure
"
15315 #include "confdefs.h
"
15316 /* System header to define __stub macros and hopefully few prototypes,
15317 which can conflict with char $ac_func(); below. */
15318 #include <assert.h>
15319 /* Override any gcc2 internal prototype to avoid an error. */
15320 /* We use char because int might match the return type of a gcc2
15321 builtin and then its argument prototype would still apply. */
15326 /* The GNU C library defines this for functions which it implements
15327 to always fail with ENOSYS. Some functions are actually named
15328 something starting with __ and the normal name is an alias. */
15329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15337 if { (eval echo configure:15338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15339 eval "ac_cv_func_
$ac_func=yes"
15341 echo "configure
: failed program was
:" >&5
15342 cat conftest.$ac_ext >&5
15344 eval "ac_cv_func_
$ac_func=no
"
15349 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15350 echo "$ac_t""yes" 1>&6
15351 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15352 cat >> confdefs.h <<EOF
15353 #define $ac_tr_func 1
15357 echo "$ac_t""no
" 1>&6
15366 echo $ac_n "checking
for powf declaration
""...
$ac_c" 1>&6
15367 echo "configure
:15368: checking
for powf declaration
" >&5
15368 if test x${glibcpp_cv_func_powf_use+set} != xset; then
15369 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
15370 echo $ac_n "(cached
) $ac_c" 1>&6
15375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15376 ac_cpp='$CXXCPP $CPPFLAGS'
15377 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15378 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15379 cross_compiling=$ac_cv_prog_cxx_cross
15381 cat > conftest.$ac_ext <<EOF
15382 #line 15383 "configure
"
15383 #include "confdefs.h
"
15389 if { (eval echo configure:15390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15391 glibcpp_cv_func_powf_use=yes
15393 echo "configure
: failed program was
:" >&5
15394 cat conftest.$ac_ext >&5
15396 glibcpp_cv_func_powf_use=no
15400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15401 ac_cpp='$CPP $CPPFLAGS'
15402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15404 cross_compiling=$ac_cv_prog_cc_cross
15410 echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
15412 if test x$glibcpp_cv_func_powf_use = x"yes"; then
15413 for ac_func in powf
15415 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15416 echo "configure
:15417: checking
for $ac_func" >&5
15417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15418 echo $ac_n "(cached
) $ac_c" 1>&6
15420 cat > conftest.$ac_ext <<EOF
15421 #line 15422 "configure
"
15422 #include "confdefs.h
"
15423 /* System header to define __stub macros and hopefully few prototypes,
15424 which can conflict with char $ac_func(); below. */
15425 #include <assert.h>
15426 /* Override any gcc2 internal prototype to avoid an error. */
15427 /* We use char because int might match the return type of a gcc2
15428 builtin and then its argument prototype would still apply. */
15433 /* The GNU C library defines this for functions which it implements
15434 to always fail with ENOSYS. Some functions are actually named
15435 something starting with __ and the normal name is an alias. */
15436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15444 if { (eval echo configure:15445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15446 eval "ac_cv_func_
$ac_func=yes"
15448 echo "configure
: failed program was
:" >&5
15449 cat conftest.$ac_ext >&5
15451 eval "ac_cv_func_
$ac_func=no
"
15456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15457 echo "$ac_t""yes" 1>&6
15458 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15459 cat >> confdefs.h <<EOF
15460 #define $ac_tr_func 1
15464 echo "$ac_t""no
" 1>&6
15470 echo $ac_n "checking
for _powf declaration
""...
$ac_c" 1>&6
15471 echo "configure
:15472: checking
for _powf declaration
" >&5
15472 if test x${glibcpp_cv_func__powf_use+set} != xset; then
15473 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
15474 echo $ac_n "(cached
) $ac_c" 1>&6
15479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15480 ac_cpp='$CXXCPP $CPPFLAGS'
15481 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15482 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15483 cross_compiling=$ac_cv_prog_cxx_cross
15485 cat > conftest.$ac_ext <<EOF
15486 #line 15487 "configure
"
15487 #include "confdefs.h
"
15493 if { (eval echo configure:15494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15495 glibcpp_cv_func__powf_use=yes
15497 echo "configure
: failed program was
:" >&5
15498 cat conftest.$ac_ext >&5
15500 glibcpp_cv_func__powf_use=no
15504 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15505 ac_cpp='$CPP $CPPFLAGS'
15506 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15507 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15508 cross_compiling=$ac_cv_prog_cc_cross
15514 echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
15516 if test x$glibcpp_cv_func__powf_use = x"yes"; then
15517 for ac_func in _powf
15519 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15520 echo "configure
:15521: checking
for $ac_func" >&5
15521 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15522 echo $ac_n "(cached
) $ac_c" 1>&6
15524 cat > conftest.$ac_ext <<EOF
15525 #line 15526 "configure
"
15526 #include "confdefs.h
"
15527 /* System header to define __stub macros and hopefully few prototypes,
15528 which can conflict with char $ac_func(); below. */
15529 #include <assert.h>
15530 /* Override any gcc2 internal prototype to avoid an error. */
15531 /* We use char because int might match the return type of a gcc2
15532 builtin and then its argument prototype would still apply. */
15537 /* The GNU C library defines this for functions which it implements
15538 to always fail with ENOSYS. Some functions are actually named
15539 something starting with __ and the normal name is an alias. */
15540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15548 if { (eval echo configure:15549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15550 eval "ac_cv_func_
$ac_func=yes"
15552 echo "configure
: failed program was
:" >&5
15553 cat conftest.$ac_ext >&5
15555 eval "ac_cv_func_
$ac_func=no
"
15560 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15561 echo "$ac_t""yes" 1>&6
15562 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15563 cat >> confdefs.h <<EOF
15564 #define $ac_tr_func 1
15568 echo "$ac_t""no
" 1>&6
15577 echo $ac_n "checking
for sqrtf declaration
""...
$ac_c" 1>&6
15578 echo "configure
:15579: checking
for sqrtf declaration
" >&5
15579 if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
15580 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
15581 echo $ac_n "(cached
) $ac_c" 1>&6
15586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15587 ac_cpp='$CXXCPP $CPPFLAGS'
15588 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15589 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15590 cross_compiling=$ac_cv_prog_cxx_cross
15592 cat > conftest.$ac_ext <<EOF
15593 #line 15594 "configure
"
15594 #include "confdefs.h
"
15596 #ifdef HAVE_IEEEFP_H
15597 #include <ieeefp.h>
15604 if { (eval echo configure:15605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15606 glibcpp_cv_func_sqrtf_use=yes
15608 echo "configure
: failed program was
:" >&5
15609 cat conftest.$ac_ext >&5
15611 glibcpp_cv_func_sqrtf_use=no
15615 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15616 ac_cpp='$CPP $CPPFLAGS'
15617 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15618 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15619 cross_compiling=$ac_cv_prog_cc_cross
15625 echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
15627 if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
15628 for ac_func in sqrtf
15630 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15631 echo "configure
:15632: checking
for $ac_func" >&5
15632 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15633 echo $ac_n "(cached
) $ac_c" 1>&6
15635 cat > conftest.$ac_ext <<EOF
15636 #line 15637 "configure
"
15637 #include "confdefs.h
"
15638 /* System header to define __stub macros and hopefully few prototypes,
15639 which can conflict with char $ac_func(); below. */
15640 #include <assert.h>
15641 /* Override any gcc2 internal prototype to avoid an error. */
15642 /* We use char because int might match the return type of a gcc2
15643 builtin and then its argument prototype would still apply. */
15648 /* The GNU C library defines this for functions which it implements
15649 to always fail with ENOSYS. Some functions are actually named
15650 something starting with __ and the normal name is an alias. */
15651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15659 if { (eval echo configure:15660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15661 eval "ac_cv_func_
$ac_func=yes"
15663 echo "configure
: failed program was
:" >&5
15664 cat conftest.$ac_ext >&5
15666 eval "ac_cv_func_
$ac_func=no
"
15671 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15672 echo "$ac_t""yes" 1>&6
15673 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15674 cat >> confdefs.h <<EOF
15675 #define $ac_tr_func 1
15679 echo "$ac_t""no
" 1>&6
15685 echo $ac_n "checking
for _sqrtf declaration
""...
$ac_c" 1>&6
15686 echo "configure
:15687: checking
for _sqrtf declaration
" >&5
15687 if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
15688 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
15689 echo $ac_n "(cached
) $ac_c" 1>&6
15694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15697 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15698 cross_compiling=$ac_cv_prog_cxx_cross
15700 cat > conftest.$ac_ext <<EOF
15701 #line 15702 "configure
"
15702 #include "confdefs.h
"
15704 #ifdef HAVE_IEEEFP_H
15705 #include <ieeefp.h>
15712 if { (eval echo configure:15713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15714 glibcpp_cv_func__sqrtf_use=yes
15716 echo "configure
: failed program was
:" >&5
15717 cat conftest.$ac_ext >&5
15719 glibcpp_cv_func__sqrtf_use=no
15723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15724 ac_cpp='$CPP $CPPFLAGS'
15725 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15726 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15727 cross_compiling=$ac_cv_prog_cc_cross
15733 echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
15735 if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
15736 for ac_func in _sqrtf
15738 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15739 echo "configure
:15740: checking
for $ac_func" >&5
15740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15741 echo $ac_n "(cached
) $ac_c" 1>&6
15743 cat > conftest.$ac_ext <<EOF
15744 #line 15745 "configure
"
15745 #include "confdefs.h
"
15746 /* System header to define __stub macros and hopefully few prototypes,
15747 which can conflict with char $ac_func(); below. */
15748 #include <assert.h>
15749 /* Override any gcc2 internal prototype to avoid an error. */
15750 /* We use char because int might match the return type of a gcc2
15751 builtin and then its argument prototype would still apply. */
15756 /* The GNU C library defines this for functions which it implements
15757 to always fail with ENOSYS. Some functions are actually named
15758 something starting with __ and the normal name is an alias. */
15759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15767 if { (eval echo configure:15768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15769 eval "ac_cv_func_
$ac_func=yes"
15771 echo "configure
: failed program was
:" >&5
15772 cat conftest.$ac_ext >&5
15774 eval "ac_cv_func_
$ac_func=no
"
15779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15780 echo "$ac_t""yes" 1>&6
15781 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15782 cat >> confdefs.h <<EOF
15783 #define $ac_tr_func 1
15787 echo "$ac_t""no
" 1>&6
15796 echo $ac_n "checking
for sincosf declaration
""...
$ac_c" 1>&6
15797 echo "configure
:15798: checking
for sincosf declaration
" >&5
15798 if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
15799 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
15800 echo $ac_n "(cached
) $ac_c" 1>&6
15805 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15806 ac_cpp='$CXXCPP $CPPFLAGS'
15807 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15808 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15809 cross_compiling=$ac_cv_prog_cxx_cross
15811 cat > conftest.$ac_ext <<EOF
15812 #line 15813 "configure
"
15813 #include "confdefs.h
"
15819 if { (eval echo configure:15820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15821 glibcpp_cv_func_sincosf_use=yes
15823 echo "configure
: failed program was
:" >&5
15824 cat conftest.$ac_ext >&5
15826 glibcpp_cv_func_sincosf_use=no
15830 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15831 ac_cpp='$CPP $CPPFLAGS'
15832 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15833 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15834 cross_compiling=$ac_cv_prog_cc_cross
15840 echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
15842 if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
15843 for ac_func in sincosf
15845 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15846 echo "configure
:15847: checking
for $ac_func" >&5
15847 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15848 echo $ac_n "(cached
) $ac_c" 1>&6
15850 cat > conftest.$ac_ext <<EOF
15851 #line 15852 "configure
"
15852 #include "confdefs.h
"
15853 /* System header to define __stub macros and hopefully few prototypes,
15854 which can conflict with char $ac_func(); below. */
15855 #include <assert.h>
15856 /* Override any gcc2 internal prototype to avoid an error. */
15857 /* We use char because int might match the return type of a gcc2
15858 builtin and then its argument prototype would still apply. */
15863 /* The GNU C library defines this for functions which it implements
15864 to always fail with ENOSYS. Some functions are actually named
15865 something starting with __ and the normal name is an alias. */
15866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15874 if { (eval echo configure:15875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15876 eval "ac_cv_func_
$ac_func=yes"
15878 echo "configure
: failed program was
:" >&5
15879 cat conftest.$ac_ext >&5
15881 eval "ac_cv_func_
$ac_func=no
"
15886 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15887 echo "$ac_t""yes" 1>&6
15888 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15889 cat >> confdefs.h <<EOF
15890 #define $ac_tr_func 1
15894 echo "$ac_t""no
" 1>&6
15900 echo $ac_n "checking
for _sincosf declaration
""...
$ac_c" 1>&6
15901 echo "configure
:15902: checking
for _sincosf declaration
" >&5
15902 if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
15903 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
15904 echo $ac_n "(cached
) $ac_c" 1>&6
15909 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15910 ac_cpp='$CXXCPP $CPPFLAGS'
15911 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15912 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15913 cross_compiling=$ac_cv_prog_cxx_cross
15915 cat > conftest.$ac_ext <<EOF
15916 #line 15917 "configure
"
15917 #include "confdefs.h
"
15923 if { (eval echo configure:15924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15925 glibcpp_cv_func__sincosf_use=yes
15927 echo "configure
: failed program was
:" >&5
15928 cat conftest.$ac_ext >&5
15930 glibcpp_cv_func__sincosf_use=no
15934 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15935 ac_cpp='$CPP $CPPFLAGS'
15936 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15937 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15938 cross_compiling=$ac_cv_prog_cc_cross
15944 echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
15946 if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
15947 for ac_func in _sincosf
15949 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
15950 echo "configure
:15951: checking
for $ac_func" >&5
15951 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15952 echo $ac_n "(cached
) $ac_c" 1>&6
15954 cat > conftest.$ac_ext <<EOF
15955 #line 15956 "configure
"
15956 #include "confdefs.h
"
15957 /* System header to define __stub macros and hopefully few prototypes,
15958 which can conflict with char $ac_func(); below. */
15959 #include <assert.h>
15960 /* Override any gcc2 internal prototype to avoid an error. */
15961 /* We use char because int might match the return type of a gcc2
15962 builtin and then its argument prototype would still apply. */
15967 /* The GNU C library defines this for functions which it implements
15968 to always fail with ENOSYS. Some functions are actually named
15969 something starting with __ and the normal name is an alias. */
15970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15978 if { (eval echo configure:15979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15980 eval "ac_cv_func_
$ac_func=yes"
15982 echo "configure
: failed program was
:" >&5
15983 cat conftest.$ac_ext >&5
15985 eval "ac_cv_func_
$ac_func=no
"
15990 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15991 echo "$ac_t""yes" 1>&6
15992 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15993 cat >> confdefs.h <<EOF
15994 #define $ac_tr_func 1
15998 echo "$ac_t""no
" 1>&6
16007 echo $ac_n "checking
for finitef declaration
""...
$ac_c" 1>&6
16008 echo "configure
:16009: checking
for finitef declaration
" >&5
16009 if test x${glibcpp_cv_func_finitef_use+set} != xset; then
16010 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
16011 echo $ac_n "(cached
) $ac_c" 1>&6
16016 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16017 ac_cpp='$CXXCPP $CPPFLAGS'
16018 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16019 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16020 cross_compiling=$ac_cv_prog_cxx_cross
16022 cat > conftest.$ac_ext <<EOF
16023 #line 16024 "configure
"
16024 #include "confdefs.h
"
16026 #ifdef HAVE_IEEEFP_H
16027 #include <ieeefp.h>
16034 if { (eval echo configure:16035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16036 glibcpp_cv_func_finitef_use=yes
16038 echo "configure
: failed program was
:" >&5
16039 cat conftest.$ac_ext >&5
16041 glibcpp_cv_func_finitef_use=no
16045 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16046 ac_cpp='$CPP $CPPFLAGS'
16047 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16048 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16049 cross_compiling=$ac_cv_prog_cc_cross
16055 echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
16057 if test x$glibcpp_cv_func_finitef_use = x"yes"; then
16058 for ac_func in finitef
16060 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16061 echo "configure
:16062: checking
for $ac_func" >&5
16062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16063 echo $ac_n "(cached
) $ac_c" 1>&6
16065 cat > conftest.$ac_ext <<EOF
16066 #line 16067 "configure
"
16067 #include "confdefs.h
"
16068 /* System header to define __stub macros and hopefully few prototypes,
16069 which can conflict with char $ac_func(); below. */
16070 #include <assert.h>
16071 /* Override any gcc2 internal prototype to avoid an error. */
16072 /* We use char because int might match the return type of a gcc2
16073 builtin and then its argument prototype would still apply. */
16078 /* The GNU C library defines this for functions which it implements
16079 to always fail with ENOSYS. Some functions are actually named
16080 something starting with __ and the normal name is an alias. */
16081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16089 if { (eval echo configure:16090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16091 eval "ac_cv_func_
$ac_func=yes"
16093 echo "configure
: failed program was
:" >&5
16094 cat conftest.$ac_ext >&5
16096 eval "ac_cv_func_
$ac_func=no
"
16101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16102 echo "$ac_t""yes" 1>&6
16103 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16104 cat >> confdefs.h <<EOF
16105 #define $ac_tr_func 1
16109 echo "$ac_t""no
" 1>&6
16115 echo $ac_n "checking
for _finitef declaration
""...
$ac_c" 1>&6
16116 echo "configure
:16117: checking
for _finitef declaration
" >&5
16117 if test x${glibcpp_cv_func__finitef_use+set} != xset; then
16118 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
16119 echo $ac_n "(cached
) $ac_c" 1>&6
16124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16125 ac_cpp='$CXXCPP $CPPFLAGS'
16126 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16127 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16128 cross_compiling=$ac_cv_prog_cxx_cross
16130 cat > conftest.$ac_ext <<EOF
16131 #line 16132 "configure
"
16132 #include "confdefs.h
"
16134 #ifdef HAVE_IEEEFP_H
16135 #include <ieeefp.h>
16142 if { (eval echo configure:16143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16144 glibcpp_cv_func__finitef_use=yes
16146 echo "configure
: failed program was
:" >&5
16147 cat conftest.$ac_ext >&5
16149 glibcpp_cv_func__finitef_use=no
16153 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16154 ac_cpp='$CPP $CPPFLAGS'
16155 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16156 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16157 cross_compiling=$ac_cv_prog_cc_cross
16163 echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
16165 if test x$glibcpp_cv_func__finitef_use = x"yes"; then
16166 for ac_func in _finitef
16168 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16169 echo "configure
:16170: checking
for $ac_func" >&5
16170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16171 echo $ac_n "(cached
) $ac_c" 1>&6
16173 cat > conftest.$ac_ext <<EOF
16174 #line 16175 "configure
"
16175 #include "confdefs.h
"
16176 /* System header to define __stub macros and hopefully few prototypes,
16177 which can conflict with char $ac_func(); below. */
16178 #include <assert.h>
16179 /* Override any gcc2 internal prototype to avoid an error. */
16180 /* We use char because int might match the return type of a gcc2
16181 builtin and then its argument prototype would still apply. */
16186 /* The GNU C library defines this for functions which it implements
16187 to always fail with ENOSYS. Some functions are actually named
16188 something starting with __ and the normal name is an alias. */
16189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16197 if { (eval echo configure:16198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16199 eval "ac_cv_func_
$ac_func=yes"
16201 echo "configure
: failed program was
:" >&5
16202 cat conftest.$ac_ext >&5
16204 eval "ac_cv_func_
$ac_func=no
"
16209 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16210 echo "$ac_t""yes" 1>&6
16211 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16212 cat >> confdefs.h <<EOF
16213 #define $ac_tr_func 1
16217 echo "$ac_t""no
" 1>&6
16226 echo $ac_n "checking
for long double trig functions
""...
$ac_c" 1>&6
16227 echo "configure
:16228: checking
for long double trig functions
" >&5
16228 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
16229 echo $ac_n "(cached
) $ac_c" 1>&6
16234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16235 ac_cpp='$CXXCPP $CPPFLAGS'
16236 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16237 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16238 cross_compiling=$ac_cv_prog_cxx_cross
16240 cat > conftest.$ac_ext <<EOF
16241 #line 16242 "configure
"
16242 #include "confdefs.h
"
16245 `for x in acosl asinl atanl \
16247 coshl sinhl tanhl; do echo "$x (0);"; done`
16250 if { (eval echo configure:16251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16252 glibcpp_cv_func_long_double_trig_use=yes
16254 echo "configure
: failed program was
:" >&5
16255 cat conftest.$ac_ext >&5
16257 glibcpp_cv_func_long_double_trig_use=no
16261 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16262 ac_cpp='$CPP $CPPFLAGS'
16263 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16264 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16265 cross_compiling=$ac_cv_prog_cc_cross
16269 echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
16270 if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
16271 for ac_func in acosl asinl atanl \
16275 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16276 echo "configure
:16277: checking
for $ac_func" >&5
16277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16278 echo $ac_n "(cached
) $ac_c" 1>&6
16280 cat > conftest.$ac_ext <<EOF
16281 #line 16282 "configure
"
16282 #include "confdefs.h
"
16283 /* System header to define __stub macros and hopefully few prototypes,
16284 which can conflict with char $ac_func(); below. */
16285 #include <assert.h>
16286 /* Override any gcc2 internal prototype to avoid an error. */
16287 /* We use char because int might match the return type of a gcc2
16288 builtin and then its argument prototype would still apply. */
16293 /* The GNU C library defines this for functions which it implements
16294 to always fail with ENOSYS. Some functions are actually named
16295 something starting with __ and the normal name is an alias. */
16296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16304 if { (eval echo configure:16305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16306 eval "ac_cv_func_
$ac_func=yes"
16308 echo "configure
: failed program was
:" >&5
16309 cat conftest.$ac_ext >&5
16311 eval "ac_cv_func_
$ac_func=no
"
16316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16317 echo "$ac_t""yes" 1>&6
16318 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16319 cat >> confdefs.h <<EOF
16320 #define $ac_tr_func 1
16324 echo "$ac_t""no
" 1>&6
16331 echo $ac_n "checking
for long double round functions
""...
$ac_c" 1>&6
16332 echo "configure
:16333: checking
for long double round functions
" >&5
16333 if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
16334 echo $ac_n "(cached
) $ac_c" 1>&6
16339 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16340 ac_cpp='$CXXCPP $CPPFLAGS'
16341 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16342 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16343 cross_compiling=$ac_cv_prog_cxx_cross
16345 cat > conftest.$ac_ext <<EOF
16346 #line 16347 "configure
"
16347 #include "confdefs.h
"
16350 `for x in ceill floorl; do echo "$x (0);"; done`
16353 if { (eval echo configure:16354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16355 glibcpp_cv_func_long_double_round_use=yes
16357 echo "configure
: failed program was
:" >&5
16358 cat conftest.$ac_ext >&5
16360 glibcpp_cv_func_long_double_round_use=no
16364 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16365 ac_cpp='$CPP $CPPFLAGS'
16366 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16367 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16368 cross_compiling=$ac_cv_prog_cc_cross
16372 echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
16373 if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
16374 for ac_func in ceill floorl
16376 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16377 echo "configure
:16378: checking
for $ac_func" >&5
16378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16379 echo $ac_n "(cached
) $ac_c" 1>&6
16381 cat > conftest.$ac_ext <<EOF
16382 #line 16383 "configure
"
16383 #include "confdefs.h
"
16384 /* System header to define __stub macros and hopefully few prototypes,
16385 which can conflict with char $ac_func(); below. */
16386 #include <assert.h>
16387 /* Override any gcc2 internal prototype to avoid an error. */
16388 /* We use char because int might match the return type of a gcc2
16389 builtin and then its argument prototype would still apply. */
16394 /* The GNU C library defines this for functions which it implements
16395 to always fail with ENOSYS. Some functions are actually named
16396 something starting with __ and the normal name is an alias. */
16397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16405 if { (eval echo configure:16406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16407 eval "ac_cv_func_
$ac_func=yes"
16409 echo "configure
: failed program was
:" >&5
16410 cat conftest.$ac_ext >&5
16412 eval "ac_cv_func_
$ac_func=no
"
16417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16418 echo "$ac_t""yes" 1>&6
16419 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16420 cat >> confdefs.h <<EOF
16421 #define $ac_tr_func 1
16425 echo "$ac_t""no
" 1>&6
16433 echo $ac_n "checking
for isnanl declaration
""...
$ac_c" 1>&6
16434 echo "configure
:16435: checking
for isnanl declaration
" >&5
16435 if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
16436 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
16437 echo $ac_n "(cached
) $ac_c" 1>&6
16442 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16443 ac_cpp='$CXXCPP $CPPFLAGS'
16444 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16445 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16446 cross_compiling=$ac_cv_prog_cxx_cross
16448 cat > conftest.$ac_ext <<EOF
16449 #line 16450 "configure
"
16450 #include "confdefs.h
"
16452 #ifdef HAVE_IEEEFP_H
16453 #include <ieeefp.h>
16460 if { (eval echo configure:16461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16462 glibcpp_cv_func_isnanl_use=yes
16464 echo "configure
: failed program was
:" >&5
16465 cat conftest.$ac_ext >&5
16467 glibcpp_cv_func_isnanl_use=no
16471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16472 ac_cpp='$CPP $CPPFLAGS'
16473 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16474 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16475 cross_compiling=$ac_cv_prog_cc_cross
16481 echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
16483 if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
16484 for ac_func in isnanl
16486 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16487 echo "configure
:16488: checking
for $ac_func" >&5
16488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16489 echo $ac_n "(cached
) $ac_c" 1>&6
16491 cat > conftest.$ac_ext <<EOF
16492 #line 16493 "configure
"
16493 #include "confdefs.h
"
16494 /* System header to define __stub macros and hopefully few prototypes,
16495 which can conflict with char $ac_func(); below. */
16496 #include <assert.h>
16497 /* Override any gcc2 internal prototype to avoid an error. */
16498 /* We use char because int might match the return type of a gcc2
16499 builtin and then its argument prototype would still apply. */
16504 /* The GNU C library defines this for functions which it implements
16505 to always fail with ENOSYS. Some functions are actually named
16506 something starting with __ and the normal name is an alias. */
16507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16515 if { (eval echo configure:16516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16517 eval "ac_cv_func_
$ac_func=yes"
16519 echo "configure
: failed program was
:" >&5
16520 cat conftest.$ac_ext >&5
16522 eval "ac_cv_func_
$ac_func=no
"
16527 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16528 echo "$ac_t""yes" 1>&6
16529 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16530 cat >> confdefs.h <<EOF
16531 #define $ac_tr_func 1
16535 echo "$ac_t""no
" 1>&6
16541 echo $ac_n "checking
for _isnanl declaration
""...
$ac_c" 1>&6
16542 echo "configure
:16543: checking
for _isnanl declaration
" >&5
16543 if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
16544 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
16545 echo $ac_n "(cached
) $ac_c" 1>&6
16550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16551 ac_cpp='$CXXCPP $CPPFLAGS'
16552 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16553 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16554 cross_compiling=$ac_cv_prog_cxx_cross
16556 cat > conftest.$ac_ext <<EOF
16557 #line 16558 "configure
"
16558 #include "confdefs.h
"
16560 #ifdef HAVE_IEEEFP_H
16561 #include <ieeefp.h>
16568 if { (eval echo configure:16569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16570 glibcpp_cv_func__isnanl_use=yes
16572 echo "configure
: failed program was
:" >&5
16573 cat conftest.$ac_ext >&5
16575 glibcpp_cv_func__isnanl_use=no
16579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16580 ac_cpp='$CPP $CPPFLAGS'
16581 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16582 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16583 cross_compiling=$ac_cv_prog_cc_cross
16589 echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
16591 if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
16592 for ac_func in _isnanl
16594 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16595 echo "configure
:16596: checking
for $ac_func" >&5
16596 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16597 echo $ac_n "(cached
) $ac_c" 1>&6
16599 cat > conftest.$ac_ext <<EOF
16600 #line 16601 "configure
"
16601 #include "confdefs.h
"
16602 /* System header to define __stub macros and hopefully few prototypes,
16603 which can conflict with char $ac_func(); below. */
16604 #include <assert.h>
16605 /* Override any gcc2 internal prototype to avoid an error. */
16606 /* We use char because int might match the return type of a gcc2
16607 builtin and then its argument prototype would still apply. */
16612 /* The GNU C library defines this for functions which it implements
16613 to always fail with ENOSYS. Some functions are actually named
16614 something starting with __ and the normal name is an alias. */
16615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16623 if { (eval echo configure:16624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16625 eval "ac_cv_func_
$ac_func=yes"
16627 echo "configure
: failed program was
:" >&5
16628 cat conftest.$ac_ext >&5
16630 eval "ac_cv_func_
$ac_func=no
"
16635 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16636 echo "$ac_t""yes" 1>&6
16637 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16638 cat >> confdefs.h <<EOF
16639 #define $ac_tr_func 1
16643 echo "$ac_t""no
" 1>&6
16652 echo $ac_n "checking
for isinfl declaration
""...
$ac_c" 1>&6
16653 echo "configure
:16654: checking
for isinfl declaration
" >&5
16654 if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
16655 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
16656 echo $ac_n "(cached
) $ac_c" 1>&6
16661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16662 ac_cpp='$CXXCPP $CPPFLAGS'
16663 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16664 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16665 cross_compiling=$ac_cv_prog_cxx_cross
16667 cat > conftest.$ac_ext <<EOF
16668 #line 16669 "configure
"
16669 #include "confdefs.h
"
16671 #ifdef HAVE_IEEEFP_H
16672 #include <ieeefp.h>
16679 if { (eval echo configure:16680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16681 glibcpp_cv_func_isinfl_use=yes
16683 echo "configure
: failed program was
:" >&5
16684 cat conftest.$ac_ext >&5
16686 glibcpp_cv_func_isinfl_use=no
16690 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16691 ac_cpp='$CPP $CPPFLAGS'
16692 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16693 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16694 cross_compiling=$ac_cv_prog_cc_cross
16700 echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
16702 if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
16703 for ac_func in isinfl
16705 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16706 echo "configure
:16707: checking
for $ac_func" >&5
16707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16708 echo $ac_n "(cached
) $ac_c" 1>&6
16710 cat > conftest.$ac_ext <<EOF
16711 #line 16712 "configure
"
16712 #include "confdefs.h
"
16713 /* System header to define __stub macros and hopefully few prototypes,
16714 which can conflict with char $ac_func(); below. */
16715 #include <assert.h>
16716 /* Override any gcc2 internal prototype to avoid an error. */
16717 /* We use char because int might match the return type of a gcc2
16718 builtin and then its argument prototype would still apply. */
16723 /* The GNU C library defines this for functions which it implements
16724 to always fail with ENOSYS. Some functions are actually named
16725 something starting with __ and the normal name is an alias. */
16726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16734 if { (eval echo configure:16735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16736 eval "ac_cv_func_
$ac_func=yes"
16738 echo "configure
: failed program was
:" >&5
16739 cat conftest.$ac_ext >&5
16741 eval "ac_cv_func_
$ac_func=no
"
16746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16747 echo "$ac_t""yes" 1>&6
16748 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16749 cat >> confdefs.h <<EOF
16750 #define $ac_tr_func 1
16754 echo "$ac_t""no
" 1>&6
16760 echo $ac_n "checking
for _isinfl declaration
""...
$ac_c" 1>&6
16761 echo "configure
:16762: checking
for _isinfl declaration
" >&5
16762 if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
16763 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
16764 echo $ac_n "(cached
) $ac_c" 1>&6
16769 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16770 ac_cpp='$CXXCPP $CPPFLAGS'
16771 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16772 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16773 cross_compiling=$ac_cv_prog_cxx_cross
16775 cat > conftest.$ac_ext <<EOF
16776 #line 16777 "configure
"
16777 #include "confdefs.h
"
16779 #ifdef HAVE_IEEEFP_H
16780 #include <ieeefp.h>
16787 if { (eval echo configure:16788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16789 glibcpp_cv_func__isinfl_use=yes
16791 echo "configure
: failed program was
:" >&5
16792 cat conftest.$ac_ext >&5
16794 glibcpp_cv_func__isinfl_use=no
16798 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16799 ac_cpp='$CPP $CPPFLAGS'
16800 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16801 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16802 cross_compiling=$ac_cv_prog_cc_cross
16808 echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
16810 if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
16811 for ac_func in _isinfl
16813 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16814 echo "configure
:16815: checking
for $ac_func" >&5
16815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16816 echo $ac_n "(cached
) $ac_c" 1>&6
16818 cat > conftest.$ac_ext <<EOF
16819 #line 16820 "configure
"
16820 #include "confdefs.h
"
16821 /* System header to define __stub macros and hopefully few prototypes,
16822 which can conflict with char $ac_func(); below. */
16823 #include <assert.h>
16824 /* Override any gcc2 internal prototype to avoid an error. */
16825 /* We use char because int might match the return type of a gcc2
16826 builtin and then its argument prototype would still apply. */
16831 /* The GNU C library defines this for functions which it implements
16832 to always fail with ENOSYS. Some functions are actually named
16833 something starting with __ and the normal name is an alias. */
16834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16842 if { (eval echo configure:16843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16844 eval "ac_cv_func_
$ac_func=yes"
16846 echo "configure
: failed program was
:" >&5
16847 cat conftest.$ac_ext >&5
16849 eval "ac_cv_func_
$ac_func=no
"
16854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16855 echo "$ac_t""yes" 1>&6
16856 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16857 cat >> confdefs.h <<EOF
16858 #define $ac_tr_func 1
16862 echo "$ac_t""no
" 1>&6
16871 echo $ac_n "checking
for copysignl declaration
""...
$ac_c" 1>&6
16872 echo "configure
:16873: checking
for copysignl declaration
" >&5
16873 if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
16874 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
16875 echo $ac_n "(cached
) $ac_c" 1>&6
16880 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16881 ac_cpp='$CXXCPP $CPPFLAGS'
16882 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16883 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16884 cross_compiling=$ac_cv_prog_cxx_cross
16886 cat > conftest.$ac_ext <<EOF
16887 #line 16888 "configure
"
16888 #include "confdefs.h
"
16894 if { (eval echo configure:16895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16896 glibcpp_cv_func_copysignl_use=yes
16898 echo "configure
: failed program was
:" >&5
16899 cat conftest.$ac_ext >&5
16901 glibcpp_cv_func_copysignl_use=no
16905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16906 ac_cpp='$CPP $CPPFLAGS'
16907 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16908 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16909 cross_compiling=$ac_cv_prog_cc_cross
16915 echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
16917 if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
16918 for ac_func in copysignl
16920 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
16921 echo "configure
:16922: checking
for $ac_func" >&5
16922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16923 echo $ac_n "(cached
) $ac_c" 1>&6
16925 cat > conftest.$ac_ext <<EOF
16926 #line 16927 "configure
"
16927 #include "confdefs.h
"
16928 /* System header to define __stub macros and hopefully few prototypes,
16929 which can conflict with char $ac_func(); below. */
16930 #include <assert.h>
16931 /* Override any gcc2 internal prototype to avoid an error. */
16932 /* We use char because int might match the return type of a gcc2
16933 builtin and then its argument prototype would still apply. */
16938 /* The GNU C library defines this for functions which it implements
16939 to always fail with ENOSYS. Some functions are actually named
16940 something starting with __ and the normal name is an alias. */
16941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16949 if { (eval echo configure:16950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
16951 eval "ac_cv_func_
$ac_func=yes"
16953 echo "configure
: failed program was
:" >&5
16954 cat conftest.$ac_ext >&5
16956 eval "ac_cv_func_
$ac_func=no
"
16961 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16962 echo "$ac_t""yes" 1>&6
16963 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16964 cat >> confdefs.h <<EOF
16965 #define $ac_tr_func 1
16969 echo "$ac_t""no
" 1>&6
16975 echo $ac_n "checking
for _copysignl declaration
""...
$ac_c" 1>&6
16976 echo "configure
:16977: checking
for _copysignl declaration
" >&5
16977 if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
16978 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
16979 echo $ac_n "(cached
) $ac_c" 1>&6
16984 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16985 ac_cpp='$CXXCPP $CPPFLAGS'
16986 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16987 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16988 cross_compiling=$ac_cv_prog_cxx_cross
16990 cat > conftest.$ac_ext <<EOF
16991 #line 16992 "configure
"
16992 #include "confdefs.h
"
16998 if { (eval echo configure:16999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17000 glibcpp_cv_func__copysignl_use=yes
17002 echo "configure
: failed program was
:" >&5
17003 cat conftest.$ac_ext >&5
17005 glibcpp_cv_func__copysignl_use=no
17009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17010 ac_cpp='$CPP $CPPFLAGS'
17011 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17012 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17013 cross_compiling=$ac_cv_prog_cc_cross
17019 echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
17021 if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
17022 for ac_func in _copysignl
17024 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17025 echo "configure
:17026: checking
for $ac_func" >&5
17026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17027 echo $ac_n "(cached
) $ac_c" 1>&6
17029 cat > conftest.$ac_ext <<EOF
17030 #line 17031 "configure
"
17031 #include "confdefs.h
"
17032 /* System header to define __stub macros and hopefully few prototypes,
17033 which can conflict with char $ac_func(); below. */
17034 #include <assert.h>
17035 /* Override any gcc2 internal prototype to avoid an error. */
17036 /* We use char because int might match the return type of a gcc2
17037 builtin and then its argument prototype would still apply. */
17042 /* The GNU C library defines this for functions which it implements
17043 to always fail with ENOSYS. Some functions are actually named
17044 something starting with __ and the normal name is an alias. */
17045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17053 if { (eval echo configure:17054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17055 eval "ac_cv_func_
$ac_func=yes"
17057 echo "configure
: failed program was
:" >&5
17058 cat conftest.$ac_ext >&5
17060 eval "ac_cv_func_
$ac_func=no
"
17065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17066 echo "$ac_t""yes" 1>&6
17067 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17068 cat >> confdefs.h <<EOF
17069 #define $ac_tr_func 1
17073 echo "$ac_t""no
" 1>&6
17082 echo $ac_n "checking
for atan2l declaration
""...
$ac_c" 1>&6
17083 echo "configure
:17084: checking
for atan2l declaration
" >&5
17084 if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
17085 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
17086 echo $ac_n "(cached
) $ac_c" 1>&6
17091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17092 ac_cpp='$CXXCPP $CPPFLAGS'
17093 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17094 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17095 cross_compiling=$ac_cv_prog_cxx_cross
17097 cat > conftest.$ac_ext <<EOF
17098 #line 17099 "configure
"
17099 #include "confdefs.h
"
17105 if { (eval echo configure:17106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17107 glibcpp_cv_func_atan2l_use=yes
17109 echo "configure
: failed program was
:" >&5
17110 cat conftest.$ac_ext >&5
17112 glibcpp_cv_func_atan2l_use=no
17116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17117 ac_cpp='$CPP $CPPFLAGS'
17118 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17119 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17120 cross_compiling=$ac_cv_prog_cc_cross
17126 echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
17128 if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
17129 for ac_func in atan2l
17131 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17132 echo "configure
:17133: checking
for $ac_func" >&5
17133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17134 echo $ac_n "(cached
) $ac_c" 1>&6
17136 cat > conftest.$ac_ext <<EOF
17137 #line 17138 "configure
"
17138 #include "confdefs.h
"
17139 /* System header to define __stub macros and hopefully few prototypes,
17140 which can conflict with char $ac_func(); below. */
17141 #include <assert.h>
17142 /* Override any gcc2 internal prototype to avoid an error. */
17143 /* We use char because int might match the return type of a gcc2
17144 builtin and then its argument prototype would still apply. */
17149 /* The GNU C library defines this for functions which it implements
17150 to always fail with ENOSYS. Some functions are actually named
17151 something starting with __ and the normal name is an alias. */
17152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17160 if { (eval echo configure:17161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17162 eval "ac_cv_func_
$ac_func=yes"
17164 echo "configure
: failed program was
:" >&5
17165 cat conftest.$ac_ext >&5
17167 eval "ac_cv_func_
$ac_func=no
"
17172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17173 echo "$ac_t""yes" 1>&6
17174 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17175 cat >> confdefs.h <<EOF
17176 #define $ac_tr_func 1
17180 echo "$ac_t""no
" 1>&6
17186 echo $ac_n "checking
for _atan2l declaration
""...
$ac_c" 1>&6
17187 echo "configure
:17188: checking
for _atan2l declaration
" >&5
17188 if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
17189 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
17190 echo $ac_n "(cached
) $ac_c" 1>&6
17195 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17196 ac_cpp='$CXXCPP $CPPFLAGS'
17197 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17198 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17199 cross_compiling=$ac_cv_prog_cxx_cross
17201 cat > conftest.$ac_ext <<EOF
17202 #line 17203 "configure
"
17203 #include "confdefs.h
"
17209 if { (eval echo configure:17210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17211 glibcpp_cv_func__atan2l_use=yes
17213 echo "configure
: failed program was
:" >&5
17214 cat conftest.$ac_ext >&5
17216 glibcpp_cv_func__atan2l_use=no
17220 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17221 ac_cpp='$CPP $CPPFLAGS'
17222 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17223 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17224 cross_compiling=$ac_cv_prog_cc_cross
17230 echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
17232 if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
17233 for ac_func in _atan2l
17235 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17236 echo "configure
:17237: checking
for $ac_func" >&5
17237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17238 echo $ac_n "(cached
) $ac_c" 1>&6
17240 cat > conftest.$ac_ext <<EOF
17241 #line 17242 "configure
"
17242 #include "confdefs.h
"
17243 /* System header to define __stub macros and hopefully few prototypes,
17244 which can conflict with char $ac_func(); below. */
17245 #include <assert.h>
17246 /* Override any gcc2 internal prototype to avoid an error. */
17247 /* We use char because int might match the return type of a gcc2
17248 builtin and then its argument prototype would still apply. */
17253 /* The GNU C library defines this for functions which it implements
17254 to always fail with ENOSYS. Some functions are actually named
17255 something starting with __ and the normal name is an alias. */
17256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17264 if { (eval echo configure:17265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17266 eval "ac_cv_func_
$ac_func=yes"
17268 echo "configure
: failed program was
:" >&5
17269 cat conftest.$ac_ext >&5
17271 eval "ac_cv_func_
$ac_func=no
"
17276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17277 echo "$ac_t""yes" 1>&6
17278 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17279 cat >> confdefs.h <<EOF
17280 #define $ac_tr_func 1
17284 echo "$ac_t""no
" 1>&6
17293 echo $ac_n "checking
for expl declaration
""...
$ac_c" 1>&6
17294 echo "configure
:17295: checking
for expl declaration
" >&5
17295 if test x${glibcpp_cv_func_expl_use+set} != xset; then
17296 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
17297 echo $ac_n "(cached
) $ac_c" 1>&6
17302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17303 ac_cpp='$CXXCPP $CPPFLAGS'
17304 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17305 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17306 cross_compiling=$ac_cv_prog_cxx_cross
17308 cat > conftest.$ac_ext <<EOF
17309 #line 17310 "configure
"
17310 #include "confdefs.h
"
17312 #ifdef HAVE_IEEEFP_H
17313 #include <ieeefp.h>
17320 if { (eval echo configure:17321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17322 glibcpp_cv_func_expl_use=yes
17324 echo "configure
: failed program was
:" >&5
17325 cat conftest.$ac_ext >&5
17327 glibcpp_cv_func_expl_use=no
17331 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17332 ac_cpp='$CPP $CPPFLAGS'
17333 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17334 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17335 cross_compiling=$ac_cv_prog_cc_cross
17341 echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
17343 if test x$glibcpp_cv_func_expl_use = x"yes"; then
17344 for ac_func in expl
17346 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17347 echo "configure
:17348: checking
for $ac_func" >&5
17348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17349 echo $ac_n "(cached
) $ac_c" 1>&6
17351 cat > conftest.$ac_ext <<EOF
17352 #line 17353 "configure
"
17353 #include "confdefs.h
"
17354 /* System header to define __stub macros and hopefully few prototypes,
17355 which can conflict with char $ac_func(); below. */
17356 #include <assert.h>
17357 /* Override any gcc2 internal prototype to avoid an error. */
17358 /* We use char because int might match the return type of a gcc2
17359 builtin and then its argument prototype would still apply. */
17364 /* The GNU C library defines this for functions which it implements
17365 to always fail with ENOSYS. Some functions are actually named
17366 something starting with __ and the normal name is an alias. */
17367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17375 if { (eval echo configure:17376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17377 eval "ac_cv_func_
$ac_func=yes"
17379 echo "configure
: failed program was
:" >&5
17380 cat conftest.$ac_ext >&5
17382 eval "ac_cv_func_
$ac_func=no
"
17387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17388 echo "$ac_t""yes" 1>&6
17389 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17390 cat >> confdefs.h <<EOF
17391 #define $ac_tr_func 1
17395 echo "$ac_t""no
" 1>&6
17401 echo $ac_n "checking
for _expl declaration
""...
$ac_c" 1>&6
17402 echo "configure
:17403: checking
for _expl declaration
" >&5
17403 if test x${glibcpp_cv_func__expl_use+set} != xset; then
17404 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
17405 echo $ac_n "(cached
) $ac_c" 1>&6
17410 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17411 ac_cpp='$CXXCPP $CPPFLAGS'
17412 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17413 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17414 cross_compiling=$ac_cv_prog_cxx_cross
17416 cat > conftest.$ac_ext <<EOF
17417 #line 17418 "configure
"
17418 #include "confdefs.h
"
17420 #ifdef HAVE_IEEEFP_H
17421 #include <ieeefp.h>
17428 if { (eval echo configure:17429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17430 glibcpp_cv_func__expl_use=yes
17432 echo "configure
: failed program was
:" >&5
17433 cat conftest.$ac_ext >&5
17435 glibcpp_cv_func__expl_use=no
17439 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17440 ac_cpp='$CPP $CPPFLAGS'
17441 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17442 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17443 cross_compiling=$ac_cv_prog_cc_cross
17449 echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
17451 if test x$glibcpp_cv_func__expl_use = x"yes"; then
17452 for ac_func in _expl
17454 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17455 echo "configure
:17456: checking
for $ac_func" >&5
17456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17457 echo $ac_n "(cached
) $ac_c" 1>&6
17459 cat > conftest.$ac_ext <<EOF
17460 #line 17461 "configure
"
17461 #include "confdefs.h
"
17462 /* System header to define __stub macros and hopefully few prototypes,
17463 which can conflict with char $ac_func(); below. */
17464 #include <assert.h>
17465 /* Override any gcc2 internal prototype to avoid an error. */
17466 /* We use char because int might match the return type of a gcc2
17467 builtin and then its argument prototype would still apply. */
17472 /* The GNU C library defines this for functions which it implements
17473 to always fail with ENOSYS. Some functions are actually named
17474 something starting with __ and the normal name is an alias. */
17475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17483 if { (eval echo configure:17484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17485 eval "ac_cv_func_
$ac_func=yes"
17487 echo "configure
: failed program was
:" >&5
17488 cat conftest.$ac_ext >&5
17490 eval "ac_cv_func_
$ac_func=no
"
17495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17496 echo "$ac_t""yes" 1>&6
17497 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17498 cat >> confdefs.h <<EOF
17499 #define $ac_tr_func 1
17503 echo "$ac_t""no
" 1>&6
17512 echo $ac_n "checking
for fabsl declaration
""...
$ac_c" 1>&6
17513 echo "configure
:17514: checking
for fabsl declaration
" >&5
17514 if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
17515 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
17516 echo $ac_n "(cached
) $ac_c" 1>&6
17521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17522 ac_cpp='$CXXCPP $CPPFLAGS'
17523 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17524 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17525 cross_compiling=$ac_cv_prog_cxx_cross
17527 cat > conftest.$ac_ext <<EOF
17528 #line 17529 "configure
"
17529 #include "confdefs.h
"
17531 #ifdef HAVE_IEEEFP_H
17532 #include <ieeefp.h>
17539 if { (eval echo configure:17540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17541 glibcpp_cv_func_fabsl_use=yes
17543 echo "configure
: failed program was
:" >&5
17544 cat conftest.$ac_ext >&5
17546 glibcpp_cv_func_fabsl_use=no
17550 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17551 ac_cpp='$CPP $CPPFLAGS'
17552 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17553 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17554 cross_compiling=$ac_cv_prog_cc_cross
17560 echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
17562 if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
17563 for ac_func in fabsl
17565 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17566 echo "configure
:17567: checking
for $ac_func" >&5
17567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17568 echo $ac_n "(cached
) $ac_c" 1>&6
17570 cat > conftest.$ac_ext <<EOF
17571 #line 17572 "configure
"
17572 #include "confdefs.h
"
17573 /* System header to define __stub macros and hopefully few prototypes,
17574 which can conflict with char $ac_func(); below. */
17575 #include <assert.h>
17576 /* Override any gcc2 internal prototype to avoid an error. */
17577 /* We use char because int might match the return type of a gcc2
17578 builtin and then its argument prototype would still apply. */
17583 /* The GNU C library defines this for functions which it implements
17584 to always fail with ENOSYS. Some functions are actually named
17585 something starting with __ and the normal name is an alias. */
17586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17594 if { (eval echo configure:17595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17596 eval "ac_cv_func_
$ac_func=yes"
17598 echo "configure
: failed program was
:" >&5
17599 cat conftest.$ac_ext >&5
17601 eval "ac_cv_func_
$ac_func=no
"
17606 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17607 echo "$ac_t""yes" 1>&6
17608 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17609 cat >> confdefs.h <<EOF
17610 #define $ac_tr_func 1
17614 echo "$ac_t""no
" 1>&6
17620 echo $ac_n "checking
for _fabsl declaration
""...
$ac_c" 1>&6
17621 echo "configure
:17622: checking
for _fabsl declaration
" >&5
17622 if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
17623 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
17624 echo $ac_n "(cached
) $ac_c" 1>&6
17629 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17630 ac_cpp='$CXXCPP $CPPFLAGS'
17631 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17632 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17633 cross_compiling=$ac_cv_prog_cxx_cross
17635 cat > conftest.$ac_ext <<EOF
17636 #line 17637 "configure
"
17637 #include "confdefs.h
"
17639 #ifdef HAVE_IEEEFP_H
17640 #include <ieeefp.h>
17647 if { (eval echo configure:17648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17649 glibcpp_cv_func__fabsl_use=yes
17651 echo "configure
: failed program was
:" >&5
17652 cat conftest.$ac_ext >&5
17654 glibcpp_cv_func__fabsl_use=no
17658 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17659 ac_cpp='$CPP $CPPFLAGS'
17660 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17661 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17662 cross_compiling=$ac_cv_prog_cc_cross
17668 echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
17670 if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
17671 for ac_func in _fabsl
17673 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17674 echo "configure
:17675: checking
for $ac_func" >&5
17675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17676 echo $ac_n "(cached
) $ac_c" 1>&6
17678 cat > conftest.$ac_ext <<EOF
17679 #line 17680 "configure
"
17680 #include "confdefs.h
"
17681 /* System header to define __stub macros and hopefully few prototypes,
17682 which can conflict with char $ac_func(); below. */
17683 #include <assert.h>
17684 /* Override any gcc2 internal prototype to avoid an error. */
17685 /* We use char because int might match the return type of a gcc2
17686 builtin and then its argument prototype would still apply. */
17691 /* The GNU C library defines this for functions which it implements
17692 to always fail with ENOSYS. Some functions are actually named
17693 something starting with __ and the normal name is an alias. */
17694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17702 if { (eval echo configure:17703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17704 eval "ac_cv_func_
$ac_func=yes"
17706 echo "configure
: failed program was
:" >&5
17707 cat conftest.$ac_ext >&5
17709 eval "ac_cv_func_
$ac_func=no
"
17714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17715 echo "$ac_t""yes" 1>&6
17716 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17717 cat >> confdefs.h <<EOF
17718 #define $ac_tr_func 1
17722 echo "$ac_t""no
" 1>&6
17731 echo $ac_n "checking
for fmodl declaration
""...
$ac_c" 1>&6
17732 echo "configure
:17733: checking
for fmodl declaration
" >&5
17733 if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
17734 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
17735 echo $ac_n "(cached
) $ac_c" 1>&6
17740 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17741 ac_cpp='$CXXCPP $CPPFLAGS'
17742 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17743 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17744 cross_compiling=$ac_cv_prog_cxx_cross
17746 cat > conftest.$ac_ext <<EOF
17747 #line 17748 "configure
"
17748 #include "confdefs.h
"
17754 if { (eval echo configure:17755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17756 glibcpp_cv_func_fmodl_use=yes
17758 echo "configure
: failed program was
:" >&5
17759 cat conftest.$ac_ext >&5
17761 glibcpp_cv_func_fmodl_use=no
17765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17766 ac_cpp='$CPP $CPPFLAGS'
17767 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17768 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17769 cross_compiling=$ac_cv_prog_cc_cross
17775 echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
17777 if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
17778 for ac_func in fmodl
17780 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17781 echo "configure
:17782: checking
for $ac_func" >&5
17782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17783 echo $ac_n "(cached
) $ac_c" 1>&6
17785 cat > conftest.$ac_ext <<EOF
17786 #line 17787 "configure
"
17787 #include "confdefs.h
"
17788 /* System header to define __stub macros and hopefully few prototypes,
17789 which can conflict with char $ac_func(); below. */
17790 #include <assert.h>
17791 /* Override any gcc2 internal prototype to avoid an error. */
17792 /* We use char because int might match the return type of a gcc2
17793 builtin and then its argument prototype would still apply. */
17798 /* The GNU C library defines this for functions which it implements
17799 to always fail with ENOSYS. Some functions are actually named
17800 something starting with __ and the normal name is an alias. */
17801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17809 if { (eval echo configure:17810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17811 eval "ac_cv_func_
$ac_func=yes"
17813 echo "configure
: failed program was
:" >&5
17814 cat conftest.$ac_ext >&5
17816 eval "ac_cv_func_
$ac_func=no
"
17821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17822 echo "$ac_t""yes" 1>&6
17823 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17824 cat >> confdefs.h <<EOF
17825 #define $ac_tr_func 1
17829 echo "$ac_t""no
" 1>&6
17835 echo $ac_n "checking
for _fmodl declaration
""...
$ac_c" 1>&6
17836 echo "configure
:17837: checking
for _fmodl declaration
" >&5
17837 if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
17838 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
17839 echo $ac_n "(cached
) $ac_c" 1>&6
17844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17845 ac_cpp='$CXXCPP $CPPFLAGS'
17846 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17847 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17848 cross_compiling=$ac_cv_prog_cxx_cross
17850 cat > conftest.$ac_ext <<EOF
17851 #line 17852 "configure
"
17852 #include "confdefs.h
"
17858 if { (eval echo configure:17859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17860 glibcpp_cv_func__fmodl_use=yes
17862 echo "configure
: failed program was
:" >&5
17863 cat conftest.$ac_ext >&5
17865 glibcpp_cv_func__fmodl_use=no
17869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17870 ac_cpp='$CPP $CPPFLAGS'
17871 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17872 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17873 cross_compiling=$ac_cv_prog_cc_cross
17879 echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
17881 if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
17882 for ac_func in _fmodl
17884 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17885 echo "configure
:17886: checking
for $ac_func" >&5
17886 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17887 echo $ac_n "(cached
) $ac_c" 1>&6
17889 cat > conftest.$ac_ext <<EOF
17890 #line 17891 "configure
"
17891 #include "confdefs.h
"
17892 /* System header to define __stub macros and hopefully few prototypes,
17893 which can conflict with char $ac_func(); below. */
17894 #include <assert.h>
17895 /* Override any gcc2 internal prototype to avoid an error. */
17896 /* We use char because int might match the return type of a gcc2
17897 builtin and then its argument prototype would still apply. */
17902 /* The GNU C library defines this for functions which it implements
17903 to always fail with ENOSYS. Some functions are actually named
17904 something starting with __ and the normal name is an alias. */
17905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17913 if { (eval echo configure:17914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
17915 eval "ac_cv_func_
$ac_func=yes"
17917 echo "configure
: failed program was
:" >&5
17918 cat conftest.$ac_ext >&5
17920 eval "ac_cv_func_
$ac_func=no
"
17925 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17926 echo "$ac_t""yes" 1>&6
17927 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17928 cat >> confdefs.h <<EOF
17929 #define $ac_tr_func 1
17933 echo "$ac_t""no
" 1>&6
17942 echo $ac_n "checking
for frexpl declaration
""...
$ac_c" 1>&6
17943 echo "configure
:17944: checking
for frexpl declaration
" >&5
17944 if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
17945 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
17946 echo $ac_n "(cached
) $ac_c" 1>&6
17951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17952 ac_cpp='$CXXCPP $CPPFLAGS'
17953 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17954 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17955 cross_compiling=$ac_cv_prog_cxx_cross
17957 cat > conftest.$ac_ext <<EOF
17958 #line 17959 "configure
"
17959 #include "confdefs.h
"
17965 if { (eval echo configure:17966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17967 glibcpp_cv_func_frexpl_use=yes
17969 echo "configure
: failed program was
:" >&5
17970 cat conftest.$ac_ext >&5
17972 glibcpp_cv_func_frexpl_use=no
17976 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17977 ac_cpp='$CPP $CPPFLAGS'
17978 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17979 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17980 cross_compiling=$ac_cv_prog_cc_cross
17986 echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
17988 if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
17989 for ac_func in frexpl
17991 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
17992 echo "configure
:17993: checking
for $ac_func" >&5
17993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17994 echo $ac_n "(cached
) $ac_c" 1>&6
17996 cat > conftest.$ac_ext <<EOF
17997 #line 17998 "configure
"
17998 #include "confdefs.h
"
17999 /* System header to define __stub macros and hopefully few prototypes,
18000 which can conflict with char $ac_func(); below. */
18001 #include <assert.h>
18002 /* Override any gcc2 internal prototype to avoid an error. */
18003 /* We use char because int might match the return type of a gcc2
18004 builtin and then its argument prototype would still apply. */
18009 /* The GNU C library defines this for functions which it implements
18010 to always fail with ENOSYS. Some functions are actually named
18011 something starting with __ and the normal name is an alias. */
18012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18020 if { (eval echo configure:18021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18022 eval "ac_cv_func_
$ac_func=yes"
18024 echo "configure
: failed program was
:" >&5
18025 cat conftest.$ac_ext >&5
18027 eval "ac_cv_func_
$ac_func=no
"
18032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18033 echo "$ac_t""yes" 1>&6
18034 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18035 cat >> confdefs.h <<EOF
18036 #define $ac_tr_func 1
18040 echo "$ac_t""no
" 1>&6
18046 echo $ac_n "checking
for _frexpl declaration
""...
$ac_c" 1>&6
18047 echo "configure
:18048: checking
for _frexpl declaration
" >&5
18048 if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
18049 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
18050 echo $ac_n "(cached
) $ac_c" 1>&6
18055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18056 ac_cpp='$CXXCPP $CPPFLAGS'
18057 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18058 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18059 cross_compiling=$ac_cv_prog_cxx_cross
18061 cat > conftest.$ac_ext <<EOF
18062 #line 18063 "configure
"
18063 #include "confdefs.h
"
18069 if { (eval echo configure:18070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18071 glibcpp_cv_func__frexpl_use=yes
18073 echo "configure
: failed program was
:" >&5
18074 cat conftest.$ac_ext >&5
18076 glibcpp_cv_func__frexpl_use=no
18080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18081 ac_cpp='$CPP $CPPFLAGS'
18082 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18083 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18084 cross_compiling=$ac_cv_prog_cc_cross
18090 echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
18092 if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
18093 for ac_func in _frexpl
18095 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18096 echo "configure
:18097: checking
for $ac_func" >&5
18097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18098 echo $ac_n "(cached
) $ac_c" 1>&6
18100 cat > conftest.$ac_ext <<EOF
18101 #line 18102 "configure
"
18102 #include "confdefs.h
"
18103 /* System header to define __stub macros and hopefully few prototypes,
18104 which can conflict with char $ac_func(); below. */
18105 #include <assert.h>
18106 /* Override any gcc2 internal prototype to avoid an error. */
18107 /* We use char because int might match the return type of a gcc2
18108 builtin and then its argument prototype would still apply. */
18113 /* The GNU C library defines this for functions which it implements
18114 to always fail with ENOSYS. Some functions are actually named
18115 something starting with __ and the normal name is an alias. */
18116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18124 if { (eval echo configure:18125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18126 eval "ac_cv_func_
$ac_func=yes"
18128 echo "configure
: failed program was
:" >&5
18129 cat conftest.$ac_ext >&5
18131 eval "ac_cv_func_
$ac_func=no
"
18136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18137 echo "$ac_t""yes" 1>&6
18138 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18139 cat >> confdefs.h <<EOF
18140 #define $ac_tr_func 1
18144 echo "$ac_t""no
" 1>&6
18153 echo $ac_n "checking
for hypotl declaration
""...
$ac_c" 1>&6
18154 echo "configure
:18155: checking
for hypotl declaration
" >&5
18155 if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
18156 if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
18157 echo $ac_n "(cached
) $ac_c" 1>&6
18162 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18163 ac_cpp='$CXXCPP $CPPFLAGS'
18164 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18165 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18166 cross_compiling=$ac_cv_prog_cxx_cross
18168 cat > conftest.$ac_ext <<EOF
18169 #line 18170 "configure
"
18170 #include "confdefs.h
"
18176 if { (eval echo configure:18177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18178 glibcpp_cv_func_hypotl_use=yes
18180 echo "configure
: failed program was
:" >&5
18181 cat conftest.$ac_ext >&5
18183 glibcpp_cv_func_hypotl_use=no
18187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18190 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18191 cross_compiling=$ac_cv_prog_cc_cross
18197 echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
18199 if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
18200 for ac_func in hypotl
18202 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18203 echo "configure
:18204: checking
for $ac_func" >&5
18204 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18205 echo $ac_n "(cached
) $ac_c" 1>&6
18207 cat > conftest.$ac_ext <<EOF
18208 #line 18209 "configure
"
18209 #include "confdefs.h
"
18210 /* System header to define __stub macros and hopefully few prototypes,
18211 which can conflict with char $ac_func(); below. */
18212 #include <assert.h>
18213 /* Override any gcc2 internal prototype to avoid an error. */
18214 /* We use char because int might match the return type of a gcc2
18215 builtin and then its argument prototype would still apply. */
18220 /* The GNU C library defines this for functions which it implements
18221 to always fail with ENOSYS. Some functions are actually named
18222 something starting with __ and the normal name is an alias. */
18223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18231 if { (eval echo configure:18232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18233 eval "ac_cv_func_
$ac_func=yes"
18235 echo "configure
: failed program was
:" >&5
18236 cat conftest.$ac_ext >&5
18238 eval "ac_cv_func_
$ac_func=no
"
18243 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18244 echo "$ac_t""yes" 1>&6
18245 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18246 cat >> confdefs.h <<EOF
18247 #define $ac_tr_func 1
18251 echo "$ac_t""no
" 1>&6
18257 echo $ac_n "checking
for _hypotl declaration
""...
$ac_c" 1>&6
18258 echo "configure
:18259: checking
for _hypotl declaration
" >&5
18259 if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
18260 if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
18261 echo $ac_n "(cached
) $ac_c" 1>&6
18266 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18267 ac_cpp='$CXXCPP $CPPFLAGS'
18268 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18269 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18270 cross_compiling=$ac_cv_prog_cxx_cross
18272 cat > conftest.$ac_ext <<EOF
18273 #line 18274 "configure
"
18274 #include "confdefs.h
"
18280 if { (eval echo configure:18281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18282 glibcpp_cv_func__hypotl_use=yes
18284 echo "configure
: failed program was
:" >&5
18285 cat conftest.$ac_ext >&5
18287 glibcpp_cv_func__hypotl_use=no
18291 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18292 ac_cpp='$CPP $CPPFLAGS'
18293 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18294 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18295 cross_compiling=$ac_cv_prog_cc_cross
18301 echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
18303 if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
18304 for ac_func in _hypotl
18306 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18307 echo "configure
:18308: checking
for $ac_func" >&5
18308 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18309 echo $ac_n "(cached
) $ac_c" 1>&6
18311 cat > conftest.$ac_ext <<EOF
18312 #line 18313 "configure
"
18313 #include "confdefs.h
"
18314 /* System header to define __stub macros and hopefully few prototypes,
18315 which can conflict with char $ac_func(); below. */
18316 #include <assert.h>
18317 /* Override any gcc2 internal prototype to avoid an error. */
18318 /* We use char because int might match the return type of a gcc2
18319 builtin and then its argument prototype would still apply. */
18324 /* The GNU C library defines this for functions which it implements
18325 to always fail with ENOSYS. Some functions are actually named
18326 something starting with __ and the normal name is an alias. */
18327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18335 if { (eval echo configure:18336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18337 eval "ac_cv_func_
$ac_func=yes"
18339 echo "configure
: failed program was
:" >&5
18340 cat conftest.$ac_ext >&5
18342 eval "ac_cv_func_
$ac_func=no
"
18347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18348 echo "$ac_t""yes" 1>&6
18349 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18350 cat >> confdefs.h <<EOF
18351 #define $ac_tr_func 1
18355 echo "$ac_t""no
" 1>&6
18364 echo $ac_n "checking
for ldexpl declaration
""...
$ac_c" 1>&6
18365 echo "configure
:18366: checking
for ldexpl declaration
" >&5
18366 if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
18367 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
18368 echo $ac_n "(cached
) $ac_c" 1>&6
18373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18374 ac_cpp='$CXXCPP $CPPFLAGS'
18375 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18376 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18377 cross_compiling=$ac_cv_prog_cxx_cross
18379 cat > conftest.$ac_ext <<EOF
18380 #line 18381 "configure
"
18381 #include "confdefs.h
"
18387 if { (eval echo configure:18388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18389 glibcpp_cv_func_ldexpl_use=yes
18391 echo "configure
: failed program was
:" >&5
18392 cat conftest.$ac_ext >&5
18394 glibcpp_cv_func_ldexpl_use=no
18398 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18399 ac_cpp='$CPP $CPPFLAGS'
18400 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18401 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18402 cross_compiling=$ac_cv_prog_cc_cross
18408 echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
18410 if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
18411 for ac_func in ldexpl
18413 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18414 echo "configure
:18415: checking
for $ac_func" >&5
18415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18416 echo $ac_n "(cached
) $ac_c" 1>&6
18418 cat > conftest.$ac_ext <<EOF
18419 #line 18420 "configure
"
18420 #include "confdefs.h
"
18421 /* System header to define __stub macros and hopefully few prototypes,
18422 which can conflict with char $ac_func(); below. */
18423 #include <assert.h>
18424 /* Override any gcc2 internal prototype to avoid an error. */
18425 /* We use char because int might match the return type of a gcc2
18426 builtin and then its argument prototype would still apply. */
18431 /* The GNU C library defines this for functions which it implements
18432 to always fail with ENOSYS. Some functions are actually named
18433 something starting with __ and the normal name is an alias. */
18434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18442 if { (eval echo configure:18443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18444 eval "ac_cv_func_
$ac_func=yes"
18446 echo "configure
: failed program was
:" >&5
18447 cat conftest.$ac_ext >&5
18449 eval "ac_cv_func_
$ac_func=no
"
18454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18455 echo "$ac_t""yes" 1>&6
18456 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18457 cat >> confdefs.h <<EOF
18458 #define $ac_tr_func 1
18462 echo "$ac_t""no
" 1>&6
18468 echo $ac_n "checking
for _ldexpl declaration
""...
$ac_c" 1>&6
18469 echo "configure
:18470: checking
for _ldexpl declaration
" >&5
18470 if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
18471 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
18472 echo $ac_n "(cached
) $ac_c" 1>&6
18477 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18478 ac_cpp='$CXXCPP $CPPFLAGS'
18479 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18480 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18481 cross_compiling=$ac_cv_prog_cxx_cross
18483 cat > conftest.$ac_ext <<EOF
18484 #line 18485 "configure
"
18485 #include "confdefs.h
"
18491 if { (eval echo configure:18492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18493 glibcpp_cv_func__ldexpl_use=yes
18495 echo "configure
: failed program was
:" >&5
18496 cat conftest.$ac_ext >&5
18498 glibcpp_cv_func__ldexpl_use=no
18502 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18503 ac_cpp='$CPP $CPPFLAGS'
18504 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18505 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18506 cross_compiling=$ac_cv_prog_cc_cross
18512 echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
18514 if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
18515 for ac_func in _ldexpl
18517 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18518 echo "configure
:18519: checking
for $ac_func" >&5
18519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18520 echo $ac_n "(cached
) $ac_c" 1>&6
18522 cat > conftest.$ac_ext <<EOF
18523 #line 18524 "configure
"
18524 #include "confdefs.h
"
18525 /* System header to define __stub macros and hopefully few prototypes,
18526 which can conflict with char $ac_func(); below. */
18527 #include <assert.h>
18528 /* Override any gcc2 internal prototype to avoid an error. */
18529 /* We use char because int might match the return type of a gcc2
18530 builtin and then its argument prototype would still apply. */
18535 /* The GNU C library defines this for functions which it implements
18536 to always fail with ENOSYS. Some functions are actually named
18537 something starting with __ and the normal name is an alias. */
18538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18546 if { (eval echo configure:18547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18548 eval "ac_cv_func_
$ac_func=yes"
18550 echo "configure
: failed program was
:" >&5
18551 cat conftest.$ac_ext >&5
18553 eval "ac_cv_func_
$ac_func=no
"
18558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18559 echo "$ac_t""yes" 1>&6
18560 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18561 cat >> confdefs.h <<EOF
18562 #define $ac_tr_func 1
18566 echo "$ac_t""no
" 1>&6
18575 echo $ac_n "checking
for logl declaration
""...
$ac_c" 1>&6
18576 echo "configure
:18577: checking
for logl declaration
" >&5
18577 if test x${glibcpp_cv_func_logl_use+set} != xset; then
18578 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
18579 echo $ac_n "(cached
) $ac_c" 1>&6
18584 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18585 ac_cpp='$CXXCPP $CPPFLAGS'
18586 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18587 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18588 cross_compiling=$ac_cv_prog_cxx_cross
18590 cat > conftest.$ac_ext <<EOF
18591 #line 18592 "configure
"
18592 #include "confdefs.h
"
18594 #ifdef HAVE_IEEEFP_H
18595 #include <ieeefp.h>
18602 if { (eval echo configure:18603: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18604 glibcpp_cv_func_logl_use=yes
18606 echo "configure
: failed program was
:" >&5
18607 cat conftest.$ac_ext >&5
18609 glibcpp_cv_func_logl_use=no
18613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18614 ac_cpp='$CPP $CPPFLAGS'
18615 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18616 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18617 cross_compiling=$ac_cv_prog_cc_cross
18623 echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
18625 if test x$glibcpp_cv_func_logl_use = x"yes"; then
18626 for ac_func in logl
18628 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18629 echo "configure
:18630: checking
for $ac_func" >&5
18630 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18631 echo $ac_n "(cached
) $ac_c" 1>&6
18633 cat > conftest.$ac_ext <<EOF
18634 #line 18635 "configure
"
18635 #include "confdefs.h
"
18636 /* System header to define __stub macros and hopefully few prototypes,
18637 which can conflict with char $ac_func(); below. */
18638 #include <assert.h>
18639 /* Override any gcc2 internal prototype to avoid an error. */
18640 /* We use char because int might match the return type of a gcc2
18641 builtin and then its argument prototype would still apply. */
18646 /* The GNU C library defines this for functions which it implements
18647 to always fail with ENOSYS. Some functions are actually named
18648 something starting with __ and the normal name is an alias. */
18649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18657 if { (eval echo configure:18658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18659 eval "ac_cv_func_
$ac_func=yes"
18661 echo "configure
: failed program was
:" >&5
18662 cat conftest.$ac_ext >&5
18664 eval "ac_cv_func_
$ac_func=no
"
18669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18670 echo "$ac_t""yes" 1>&6
18671 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18672 cat >> confdefs.h <<EOF
18673 #define $ac_tr_func 1
18677 echo "$ac_t""no
" 1>&6
18683 echo $ac_n "checking
for _logl declaration
""...
$ac_c" 1>&6
18684 echo "configure
:18685: checking
for _logl declaration
" >&5
18685 if test x${glibcpp_cv_func__logl_use+set} != xset; then
18686 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
18687 echo $ac_n "(cached
) $ac_c" 1>&6
18692 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18693 ac_cpp='$CXXCPP $CPPFLAGS'
18694 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18695 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18696 cross_compiling=$ac_cv_prog_cxx_cross
18698 cat > conftest.$ac_ext <<EOF
18699 #line 18700 "configure
"
18700 #include "confdefs.h
"
18702 #ifdef HAVE_IEEEFP_H
18703 #include <ieeefp.h>
18710 if { (eval echo configure:18711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18712 glibcpp_cv_func__logl_use=yes
18714 echo "configure
: failed program was
:" >&5
18715 cat conftest.$ac_ext >&5
18717 glibcpp_cv_func__logl_use=no
18721 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18722 ac_cpp='$CPP $CPPFLAGS'
18723 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18724 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18725 cross_compiling=$ac_cv_prog_cc_cross
18731 echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
18733 if test x$glibcpp_cv_func__logl_use = x"yes"; then
18734 for ac_func in _logl
18736 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18737 echo "configure
:18738: checking
for $ac_func" >&5
18738 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18739 echo $ac_n "(cached
) $ac_c" 1>&6
18741 cat > conftest.$ac_ext <<EOF
18742 #line 18743 "configure
"
18743 #include "confdefs.h
"
18744 /* System header to define __stub macros and hopefully few prototypes,
18745 which can conflict with char $ac_func(); below. */
18746 #include <assert.h>
18747 /* Override any gcc2 internal prototype to avoid an error. */
18748 /* We use char because int might match the return type of a gcc2
18749 builtin and then its argument prototype would still apply. */
18754 /* The GNU C library defines this for functions which it implements
18755 to always fail with ENOSYS. Some functions are actually named
18756 something starting with __ and the normal name is an alias. */
18757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18765 if { (eval echo configure:18766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18767 eval "ac_cv_func_
$ac_func=yes"
18769 echo "configure
: failed program was
:" >&5
18770 cat conftest.$ac_ext >&5
18772 eval "ac_cv_func_
$ac_func=no
"
18777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18778 echo "$ac_t""yes" 1>&6
18779 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18780 cat >> confdefs.h <<EOF
18781 #define $ac_tr_func 1
18785 echo "$ac_t""no
" 1>&6
18794 echo $ac_n "checking
for log10l declaration
""...
$ac_c" 1>&6
18795 echo "configure
:18796: checking
for log10l declaration
" >&5
18796 if test x${glibcpp_cv_func_log10l_use+set} != xset; then
18797 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
18798 echo $ac_n "(cached
) $ac_c" 1>&6
18803 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18804 ac_cpp='$CXXCPP $CPPFLAGS'
18805 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18806 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18807 cross_compiling=$ac_cv_prog_cxx_cross
18809 cat > conftest.$ac_ext <<EOF
18810 #line 18811 "configure
"
18811 #include "confdefs.h
"
18813 #ifdef HAVE_IEEEFP_H
18814 #include <ieeefp.h>
18821 if { (eval echo configure:18822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18823 glibcpp_cv_func_log10l_use=yes
18825 echo "configure
: failed program was
:" >&5
18826 cat conftest.$ac_ext >&5
18828 glibcpp_cv_func_log10l_use=no
18832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18833 ac_cpp='$CPP $CPPFLAGS'
18834 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18835 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18836 cross_compiling=$ac_cv_prog_cc_cross
18842 echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
18844 if test x$glibcpp_cv_func_log10l_use = x"yes"; then
18845 for ac_func in log10l
18847 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18848 echo "configure
:18849: checking
for $ac_func" >&5
18849 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18850 echo $ac_n "(cached
) $ac_c" 1>&6
18852 cat > conftest.$ac_ext <<EOF
18853 #line 18854 "configure
"
18854 #include "confdefs.h
"
18855 /* System header to define __stub macros and hopefully few prototypes,
18856 which can conflict with char $ac_func(); below. */
18857 #include <assert.h>
18858 /* Override any gcc2 internal prototype to avoid an error. */
18859 /* We use char because int might match the return type of a gcc2
18860 builtin and then its argument prototype would still apply. */
18865 /* The GNU C library defines this for functions which it implements
18866 to always fail with ENOSYS. Some functions are actually named
18867 something starting with __ and the normal name is an alias. */
18868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18876 if { (eval echo configure:18877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18878 eval "ac_cv_func_
$ac_func=yes"
18880 echo "configure
: failed program was
:" >&5
18881 cat conftest.$ac_ext >&5
18883 eval "ac_cv_func_
$ac_func=no
"
18888 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18889 echo "$ac_t""yes" 1>&6
18890 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18891 cat >> confdefs.h <<EOF
18892 #define $ac_tr_func 1
18896 echo "$ac_t""no
" 1>&6
18902 echo $ac_n "checking
for _log10l declaration
""...
$ac_c" 1>&6
18903 echo "configure
:18904: checking
for _log10l declaration
" >&5
18904 if test x${glibcpp_cv_func__log10l_use+set} != xset; then
18905 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
18906 echo $ac_n "(cached
) $ac_c" 1>&6
18911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18912 ac_cpp='$CXXCPP $CPPFLAGS'
18913 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18914 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18915 cross_compiling=$ac_cv_prog_cxx_cross
18917 cat > conftest.$ac_ext <<EOF
18918 #line 18919 "configure
"
18919 #include "confdefs.h
"
18921 #ifdef HAVE_IEEEFP_H
18922 #include <ieeefp.h>
18929 if { (eval echo configure:18930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18931 glibcpp_cv_func__log10l_use=yes
18933 echo "configure
: failed program was
:" >&5
18934 cat conftest.$ac_ext >&5
18936 glibcpp_cv_func__log10l_use=no
18940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18941 ac_cpp='$CPP $CPPFLAGS'
18942 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18943 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18944 cross_compiling=$ac_cv_prog_cc_cross
18950 echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
18952 if test x$glibcpp_cv_func__log10l_use = x"yes"; then
18953 for ac_func in _log10l
18955 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
18956 echo "configure
:18957: checking
for $ac_func" >&5
18957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18958 echo $ac_n "(cached
) $ac_c" 1>&6
18960 cat > conftest.$ac_ext <<EOF
18961 #line 18962 "configure
"
18962 #include "confdefs.h
"
18963 /* System header to define __stub macros and hopefully few prototypes,
18964 which can conflict with char $ac_func(); below. */
18965 #include <assert.h>
18966 /* Override any gcc2 internal prototype to avoid an error. */
18967 /* We use char because int might match the return type of a gcc2
18968 builtin and then its argument prototype would still apply. */
18973 /* The GNU C library defines this for functions which it implements
18974 to always fail with ENOSYS. Some functions are actually named
18975 something starting with __ and the normal name is an alias. */
18976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18984 if { (eval echo configure:18985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
18986 eval "ac_cv_func_
$ac_func=yes"
18988 echo "configure
: failed program was
:" >&5
18989 cat conftest.$ac_ext >&5
18991 eval "ac_cv_func_
$ac_func=no
"
18996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18997 echo "$ac_t""yes" 1>&6
18998 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18999 cat >> confdefs.h <<EOF
19000 #define $ac_tr_func 1
19004 echo "$ac_t""no
" 1>&6
19013 echo $ac_n "checking
for modfl declaration
""...
$ac_c" 1>&6
19014 echo "configure
:19015: checking
for modfl declaration
" >&5
19015 if test x${glibcpp_cv_func_modfl_use+set} != xset; then
19016 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
19017 echo $ac_n "(cached
) $ac_c" 1>&6
19022 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19023 ac_cpp='$CXXCPP $CPPFLAGS'
19024 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19025 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19026 cross_compiling=$ac_cv_prog_cxx_cross
19028 cat > conftest.$ac_ext <<EOF
19029 #line 19030 "configure
"
19030 #include "confdefs.h
"
19036 if { (eval echo configure:19037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19038 glibcpp_cv_func_modfl_use=yes
19040 echo "configure
: failed program was
:" >&5
19041 cat conftest.$ac_ext >&5
19043 glibcpp_cv_func_modfl_use=no
19047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19048 ac_cpp='$CPP $CPPFLAGS'
19049 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19050 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19051 cross_compiling=$ac_cv_prog_cc_cross
19057 echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
19059 if test x$glibcpp_cv_func_modfl_use = x"yes"; then
19060 for ac_func in modfl
19062 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19063 echo "configure
:19064: checking
for $ac_func" >&5
19064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19065 echo $ac_n "(cached
) $ac_c" 1>&6
19067 cat > conftest.$ac_ext <<EOF
19068 #line 19069 "configure
"
19069 #include "confdefs.h
"
19070 /* System header to define __stub macros and hopefully few prototypes,
19071 which can conflict with char $ac_func(); below. */
19072 #include <assert.h>
19073 /* Override any gcc2 internal prototype to avoid an error. */
19074 /* We use char because int might match the return type of a gcc2
19075 builtin and then its argument prototype would still apply. */
19080 /* The GNU C library defines this for functions which it implements
19081 to always fail with ENOSYS. Some functions are actually named
19082 something starting with __ and the normal name is an alias. */
19083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19091 if { (eval echo configure:19092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19093 eval "ac_cv_func_
$ac_func=yes"
19095 echo "configure
: failed program was
:" >&5
19096 cat conftest.$ac_ext >&5
19098 eval "ac_cv_func_
$ac_func=no
"
19103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19104 echo "$ac_t""yes" 1>&6
19105 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19106 cat >> confdefs.h <<EOF
19107 #define $ac_tr_func 1
19111 echo "$ac_t""no
" 1>&6
19117 echo $ac_n "checking
for _modfl declaration
""...
$ac_c" 1>&6
19118 echo "configure
:19119: checking
for _modfl declaration
" >&5
19119 if test x${glibcpp_cv_func__modfl_use+set} != xset; then
19120 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
19121 echo $ac_n "(cached
) $ac_c" 1>&6
19126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19127 ac_cpp='$CXXCPP $CPPFLAGS'
19128 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19129 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19130 cross_compiling=$ac_cv_prog_cxx_cross
19132 cat > conftest.$ac_ext <<EOF
19133 #line 19134 "configure
"
19134 #include "confdefs.h
"
19140 if { (eval echo configure:19141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19142 glibcpp_cv_func__modfl_use=yes
19144 echo "configure
: failed program was
:" >&5
19145 cat conftest.$ac_ext >&5
19147 glibcpp_cv_func__modfl_use=no
19151 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19152 ac_cpp='$CPP $CPPFLAGS'
19153 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19154 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19155 cross_compiling=$ac_cv_prog_cc_cross
19161 echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
19163 if test x$glibcpp_cv_func__modfl_use = x"yes"; then
19164 for ac_func in _modfl
19166 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19167 echo "configure
:19168: checking
for $ac_func" >&5
19168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19169 echo $ac_n "(cached
) $ac_c" 1>&6
19171 cat > conftest.$ac_ext <<EOF
19172 #line 19173 "configure
"
19173 #include "confdefs.h
"
19174 /* System header to define __stub macros and hopefully few prototypes,
19175 which can conflict with char $ac_func(); below. */
19176 #include <assert.h>
19177 /* Override any gcc2 internal prototype to avoid an error. */
19178 /* We use char because int might match the return type of a gcc2
19179 builtin and then its argument prototype would still apply. */
19184 /* The GNU C library defines this for functions which it implements
19185 to always fail with ENOSYS. Some functions are actually named
19186 something starting with __ and the normal name is an alias. */
19187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19195 if { (eval echo configure:19196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19197 eval "ac_cv_func_
$ac_func=yes"
19199 echo "configure
: failed program was
:" >&5
19200 cat conftest.$ac_ext >&5
19202 eval "ac_cv_func_
$ac_func=no
"
19207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19208 echo "$ac_t""yes" 1>&6
19209 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19210 cat >> confdefs.h <<EOF
19211 #define $ac_tr_func 1
19215 echo "$ac_t""no
" 1>&6
19224 echo $ac_n "checking
for powl declaration
""...
$ac_c" 1>&6
19225 echo "configure
:19226: checking
for powl declaration
" >&5
19226 if test x${glibcpp_cv_func_powl_use+set} != xset; then
19227 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
19228 echo $ac_n "(cached
) $ac_c" 1>&6
19233 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19234 ac_cpp='$CXXCPP $CPPFLAGS'
19235 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19236 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19237 cross_compiling=$ac_cv_prog_cxx_cross
19239 cat > conftest.$ac_ext <<EOF
19240 #line 19241 "configure
"
19241 #include "confdefs.h
"
19247 if { (eval echo configure:19248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19249 glibcpp_cv_func_powl_use=yes
19251 echo "configure
: failed program was
:" >&5
19252 cat conftest.$ac_ext >&5
19254 glibcpp_cv_func_powl_use=no
19258 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19259 ac_cpp='$CPP $CPPFLAGS'
19260 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19261 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19262 cross_compiling=$ac_cv_prog_cc_cross
19268 echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
19270 if test x$glibcpp_cv_func_powl_use = x"yes"; then
19271 for ac_func in powl
19273 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19274 echo "configure
:19275: checking
for $ac_func" >&5
19275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19276 echo $ac_n "(cached
) $ac_c" 1>&6
19278 cat > conftest.$ac_ext <<EOF
19279 #line 19280 "configure
"
19280 #include "confdefs.h
"
19281 /* System header to define __stub macros and hopefully few prototypes,
19282 which can conflict with char $ac_func(); below. */
19283 #include <assert.h>
19284 /* Override any gcc2 internal prototype to avoid an error. */
19285 /* We use char because int might match the return type of a gcc2
19286 builtin and then its argument prototype would still apply. */
19291 /* The GNU C library defines this for functions which it implements
19292 to always fail with ENOSYS. Some functions are actually named
19293 something starting with __ and the normal name is an alias. */
19294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19302 if { (eval echo configure:19303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19304 eval "ac_cv_func_
$ac_func=yes"
19306 echo "configure
: failed program was
:" >&5
19307 cat conftest.$ac_ext >&5
19309 eval "ac_cv_func_
$ac_func=no
"
19314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19315 echo "$ac_t""yes" 1>&6
19316 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19317 cat >> confdefs.h <<EOF
19318 #define $ac_tr_func 1
19322 echo "$ac_t""no
" 1>&6
19328 echo $ac_n "checking
for _powl declaration
""...
$ac_c" 1>&6
19329 echo "configure
:19330: checking
for _powl declaration
" >&5
19330 if test x${glibcpp_cv_func__powl_use+set} != xset; then
19331 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
19332 echo $ac_n "(cached
) $ac_c" 1>&6
19337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19338 ac_cpp='$CXXCPP $CPPFLAGS'
19339 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19340 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19341 cross_compiling=$ac_cv_prog_cxx_cross
19343 cat > conftest.$ac_ext <<EOF
19344 #line 19345 "configure
"
19345 #include "confdefs.h
"
19351 if { (eval echo configure:19352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19353 glibcpp_cv_func__powl_use=yes
19355 echo "configure
: failed program was
:" >&5
19356 cat conftest.$ac_ext >&5
19358 glibcpp_cv_func__powl_use=no
19362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19363 ac_cpp='$CPP $CPPFLAGS'
19364 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19365 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19366 cross_compiling=$ac_cv_prog_cc_cross
19372 echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
19374 if test x$glibcpp_cv_func__powl_use = x"yes"; then
19375 for ac_func in _powl
19377 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19378 echo "configure
:19379: checking
for $ac_func" >&5
19379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19380 echo $ac_n "(cached
) $ac_c" 1>&6
19382 cat > conftest.$ac_ext <<EOF
19383 #line 19384 "configure
"
19384 #include "confdefs.h
"
19385 /* System header to define __stub macros and hopefully few prototypes,
19386 which can conflict with char $ac_func(); below. */
19387 #include <assert.h>
19388 /* Override any gcc2 internal prototype to avoid an error. */
19389 /* We use char because int might match the return type of a gcc2
19390 builtin and then its argument prototype would still apply. */
19395 /* The GNU C library defines this for functions which it implements
19396 to always fail with ENOSYS. Some functions are actually named
19397 something starting with __ and the normal name is an alias. */
19398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19406 if { (eval echo configure:19407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19408 eval "ac_cv_func_
$ac_func=yes"
19410 echo "configure
: failed program was
:" >&5
19411 cat conftest.$ac_ext >&5
19413 eval "ac_cv_func_
$ac_func=no
"
19418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19419 echo "$ac_t""yes" 1>&6
19420 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19421 cat >> confdefs.h <<EOF
19422 #define $ac_tr_func 1
19426 echo "$ac_t""no
" 1>&6
19435 echo $ac_n "checking
for sqrtl declaration
""...
$ac_c" 1>&6
19436 echo "configure
:19437: checking
for sqrtl declaration
" >&5
19437 if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
19438 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
19439 echo $ac_n "(cached
) $ac_c" 1>&6
19444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19445 ac_cpp='$CXXCPP $CPPFLAGS'
19446 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19447 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19448 cross_compiling=$ac_cv_prog_cxx_cross
19450 cat > conftest.$ac_ext <<EOF
19451 #line 19452 "configure
"
19452 #include "confdefs.h
"
19454 #ifdef HAVE_IEEEFP_H
19455 #include <ieeefp.h>
19462 if { (eval echo configure:19463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19464 glibcpp_cv_func_sqrtl_use=yes
19466 echo "configure
: failed program was
:" >&5
19467 cat conftest.$ac_ext >&5
19469 glibcpp_cv_func_sqrtl_use=no
19473 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19474 ac_cpp='$CPP $CPPFLAGS'
19475 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19476 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19477 cross_compiling=$ac_cv_prog_cc_cross
19483 echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
19485 if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
19486 for ac_func in sqrtl
19488 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19489 echo "configure
:19490: checking
for $ac_func" >&5
19490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19491 echo $ac_n "(cached
) $ac_c" 1>&6
19493 cat > conftest.$ac_ext <<EOF
19494 #line 19495 "configure
"
19495 #include "confdefs.h
"
19496 /* System header to define __stub macros and hopefully few prototypes,
19497 which can conflict with char $ac_func(); below. */
19498 #include <assert.h>
19499 /* Override any gcc2 internal prototype to avoid an error. */
19500 /* We use char because int might match the return type of a gcc2
19501 builtin and then its argument prototype would still apply. */
19506 /* The GNU C library defines this for functions which it implements
19507 to always fail with ENOSYS. Some functions are actually named
19508 something starting with __ and the normal name is an alias. */
19509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19517 if { (eval echo configure:19518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19519 eval "ac_cv_func_
$ac_func=yes"
19521 echo "configure
: failed program was
:" >&5
19522 cat conftest.$ac_ext >&5
19524 eval "ac_cv_func_
$ac_func=no
"
19529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19530 echo "$ac_t""yes" 1>&6
19531 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19532 cat >> confdefs.h <<EOF
19533 #define $ac_tr_func 1
19537 echo "$ac_t""no
" 1>&6
19543 echo $ac_n "checking
for _sqrtl declaration
""...
$ac_c" 1>&6
19544 echo "configure
:19545: checking
for _sqrtl declaration
" >&5
19545 if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
19546 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
19547 echo $ac_n "(cached
) $ac_c" 1>&6
19552 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19553 ac_cpp='$CXXCPP $CPPFLAGS'
19554 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19555 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19556 cross_compiling=$ac_cv_prog_cxx_cross
19558 cat > conftest.$ac_ext <<EOF
19559 #line 19560 "configure
"
19560 #include "confdefs.h
"
19562 #ifdef HAVE_IEEEFP_H
19563 #include <ieeefp.h>
19570 if { (eval echo configure:19571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19572 glibcpp_cv_func__sqrtl_use=yes
19574 echo "configure
: failed program was
:" >&5
19575 cat conftest.$ac_ext >&5
19577 glibcpp_cv_func__sqrtl_use=no
19581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19582 ac_cpp='$CPP $CPPFLAGS'
19583 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19584 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19585 cross_compiling=$ac_cv_prog_cc_cross
19591 echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
19593 if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
19594 for ac_func in _sqrtl
19596 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19597 echo "configure
:19598: checking
for $ac_func" >&5
19598 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19599 echo $ac_n "(cached
) $ac_c" 1>&6
19601 cat > conftest.$ac_ext <<EOF
19602 #line 19603 "configure
"
19603 #include "confdefs.h
"
19604 /* System header to define __stub macros and hopefully few prototypes,
19605 which can conflict with char $ac_func(); below. */
19606 #include <assert.h>
19607 /* Override any gcc2 internal prototype to avoid an error. */
19608 /* We use char because int might match the return type of a gcc2
19609 builtin and then its argument prototype would still apply. */
19614 /* The GNU C library defines this for functions which it implements
19615 to always fail with ENOSYS. Some functions are actually named
19616 something starting with __ and the normal name is an alias. */
19617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19625 if { (eval echo configure:19626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19627 eval "ac_cv_func_
$ac_func=yes"
19629 echo "configure
: failed program was
:" >&5
19630 cat conftest.$ac_ext >&5
19632 eval "ac_cv_func_
$ac_func=no
"
19637 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19638 echo "$ac_t""yes" 1>&6
19639 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19640 cat >> confdefs.h <<EOF
19641 #define $ac_tr_func 1
19645 echo "$ac_t""no
" 1>&6
19654 echo $ac_n "checking
for sincosl declaration
""...
$ac_c" 1>&6
19655 echo "configure
:19656: checking
for sincosl declaration
" >&5
19656 if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
19657 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
19658 echo $ac_n "(cached
) $ac_c" 1>&6
19663 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19664 ac_cpp='$CXXCPP $CPPFLAGS'
19665 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19666 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19667 cross_compiling=$ac_cv_prog_cxx_cross
19669 cat > conftest.$ac_ext <<EOF
19670 #line 19671 "configure
"
19671 #include "confdefs.h
"
19677 if { (eval echo configure:19678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19679 glibcpp_cv_func_sincosl_use=yes
19681 echo "configure
: failed program was
:" >&5
19682 cat conftest.$ac_ext >&5
19684 glibcpp_cv_func_sincosl_use=no
19688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19689 ac_cpp='$CPP $CPPFLAGS'
19690 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19691 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19692 cross_compiling=$ac_cv_prog_cc_cross
19698 echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
19700 if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
19701 for ac_func in sincosl
19703 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19704 echo "configure
:19705: checking
for $ac_func" >&5
19705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19706 echo $ac_n "(cached
) $ac_c" 1>&6
19708 cat > conftest.$ac_ext <<EOF
19709 #line 19710 "configure
"
19710 #include "confdefs.h
"
19711 /* System header to define __stub macros and hopefully few prototypes,
19712 which can conflict with char $ac_func(); below. */
19713 #include <assert.h>
19714 /* Override any gcc2 internal prototype to avoid an error. */
19715 /* We use char because int might match the return type of a gcc2
19716 builtin and then its argument prototype would still apply. */
19721 /* The GNU C library defines this for functions which it implements
19722 to always fail with ENOSYS. Some functions are actually named
19723 something starting with __ and the normal name is an alias. */
19724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19732 if { (eval echo configure:19733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19734 eval "ac_cv_func_
$ac_func=yes"
19736 echo "configure
: failed program was
:" >&5
19737 cat conftest.$ac_ext >&5
19739 eval "ac_cv_func_
$ac_func=no
"
19744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19745 echo "$ac_t""yes" 1>&6
19746 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19747 cat >> confdefs.h <<EOF
19748 #define $ac_tr_func 1
19752 echo "$ac_t""no
" 1>&6
19758 echo $ac_n "checking
for _sincosl declaration
""...
$ac_c" 1>&6
19759 echo "configure
:19760: checking
for _sincosl declaration
" >&5
19760 if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
19761 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
19762 echo $ac_n "(cached
) $ac_c" 1>&6
19767 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19768 ac_cpp='$CXXCPP $CPPFLAGS'
19769 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19770 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19771 cross_compiling=$ac_cv_prog_cxx_cross
19773 cat > conftest.$ac_ext <<EOF
19774 #line 19775 "configure
"
19775 #include "confdefs.h
"
19781 if { (eval echo configure:19782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19783 glibcpp_cv_func__sincosl_use=yes
19785 echo "configure
: failed program was
:" >&5
19786 cat conftest.$ac_ext >&5
19788 glibcpp_cv_func__sincosl_use=no
19792 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19793 ac_cpp='$CPP $CPPFLAGS'
19794 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19795 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19796 cross_compiling=$ac_cv_prog_cc_cross
19802 echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
19804 if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
19805 for ac_func in _sincosl
19807 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19808 echo "configure
:19809: checking
for $ac_func" >&5
19809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19810 echo $ac_n "(cached
) $ac_c" 1>&6
19812 cat > conftest.$ac_ext <<EOF
19813 #line 19814 "configure
"
19814 #include "confdefs.h
"
19815 /* System header to define __stub macros and hopefully few prototypes,
19816 which can conflict with char $ac_func(); below. */
19817 #include <assert.h>
19818 /* Override any gcc2 internal prototype to avoid an error. */
19819 /* We use char because int might match the return type of a gcc2
19820 builtin and then its argument prototype would still apply. */
19825 /* The GNU C library defines this for functions which it implements
19826 to always fail with ENOSYS. Some functions are actually named
19827 something starting with __ and the normal name is an alias. */
19828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19836 if { (eval echo configure:19837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19838 eval "ac_cv_func_
$ac_func=yes"
19840 echo "configure
: failed program was
:" >&5
19841 cat conftest.$ac_ext >&5
19843 eval "ac_cv_func_
$ac_func=no
"
19848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19849 echo "$ac_t""yes" 1>&6
19850 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19851 cat >> confdefs.h <<EOF
19852 #define $ac_tr_func 1
19856 echo "$ac_t""no
" 1>&6
19865 echo $ac_n "checking
for finitel declaration
""...
$ac_c" 1>&6
19866 echo "configure
:19867: checking
for finitel declaration
" >&5
19867 if test x${glibcpp_cv_func_finitel_use+set} != xset; then
19868 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
19869 echo $ac_n "(cached
) $ac_c" 1>&6
19874 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19875 ac_cpp='$CXXCPP $CPPFLAGS'
19876 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19877 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19878 cross_compiling=$ac_cv_prog_cxx_cross
19880 cat > conftest.$ac_ext <<EOF
19881 #line 19882 "configure
"
19882 #include "confdefs.h
"
19884 #ifdef HAVE_IEEEFP_H
19885 #include <ieeefp.h>
19892 if { (eval echo configure:19893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19894 glibcpp_cv_func_finitel_use=yes
19896 echo "configure
: failed program was
:" >&5
19897 cat conftest.$ac_ext >&5
19899 glibcpp_cv_func_finitel_use=no
19903 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19904 ac_cpp='$CPP $CPPFLAGS'
19905 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19906 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19907 cross_compiling=$ac_cv_prog_cc_cross
19913 echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
19915 if test x$glibcpp_cv_func_finitel_use = x"yes"; then
19916 for ac_func in finitel
19918 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
19919 echo "configure
:19920: checking
for $ac_func" >&5
19920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19921 echo $ac_n "(cached
) $ac_c" 1>&6
19923 cat > conftest.$ac_ext <<EOF
19924 #line 19925 "configure
"
19925 #include "confdefs.h
"
19926 /* System header to define __stub macros and hopefully few prototypes,
19927 which can conflict with char $ac_func(); below. */
19928 #include <assert.h>
19929 /* Override any gcc2 internal prototype to avoid an error. */
19930 /* We use char because int might match the return type of a gcc2
19931 builtin and then its argument prototype would still apply. */
19936 /* The GNU C library defines this for functions which it implements
19937 to always fail with ENOSYS. Some functions are actually named
19938 something starting with __ and the normal name is an alias. */
19939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19947 if { (eval echo configure:19948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
19949 eval "ac_cv_func_
$ac_func=yes"
19951 echo "configure
: failed program was
:" >&5
19952 cat conftest.$ac_ext >&5
19954 eval "ac_cv_func_
$ac_func=no
"
19959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19960 echo "$ac_t""yes" 1>&6
19961 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19962 cat >> confdefs.h <<EOF
19963 #define $ac_tr_func 1
19967 echo "$ac_t""no
" 1>&6
19973 echo $ac_n "checking
for _finitel declaration
""...
$ac_c" 1>&6
19974 echo "configure
:19975: checking
for _finitel declaration
" >&5
19975 if test x${glibcpp_cv_func__finitel_use+set} != xset; then
19976 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
19977 echo $ac_n "(cached
) $ac_c" 1>&6
19982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19983 ac_cpp='$CXXCPP $CPPFLAGS'
19984 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19985 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19986 cross_compiling=$ac_cv_prog_cxx_cross
19988 cat > conftest.$ac_ext <<EOF
19989 #line 19990 "configure
"
19990 #include "confdefs.h
"
19992 #ifdef HAVE_IEEEFP_H
19993 #include <ieeefp.h>
20000 if { (eval echo configure:20001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20002 glibcpp_cv_func__finitel_use=yes
20004 echo "configure
: failed program was
:" >&5
20005 cat conftest.$ac_ext >&5
20007 glibcpp_cv_func__finitel_use=no
20011 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20012 ac_cpp='$CPP $CPPFLAGS'
20013 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20014 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20015 cross_compiling=$ac_cv_prog_cc_cross
20021 echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
20023 if test x$glibcpp_cv_func__finitel_use = x"yes"; then
20024 for ac_func in _finitel
20026 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20027 echo "configure
:20028: checking
for $ac_func" >&5
20028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20029 echo $ac_n "(cached
) $ac_c" 1>&6
20031 cat > conftest.$ac_ext <<EOF
20032 #line 20033 "configure
"
20033 #include "confdefs.h
"
20034 /* System header to define __stub macros and hopefully few prototypes,
20035 which can conflict with char $ac_func(); below. */
20036 #include <assert.h>
20037 /* Override any gcc2 internal prototype to avoid an error. */
20038 /* We use char because int might match the return type of a gcc2
20039 builtin and then its argument prototype would still apply. */
20044 /* The GNU C library defines this for functions which it implements
20045 to always fail with ENOSYS. Some functions are actually named
20046 something starting with __ and the normal name is an alias. */
20047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20055 if { (eval echo configure:20056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20057 eval "ac_cv_func_
$ac_func=yes"
20059 echo "configure
: failed program was
:" >&5
20060 cat conftest.$ac_ext >&5
20062 eval "ac_cv_func_
$ac_func=no
"
20067 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20068 echo "$ac_t""yes" 1>&6
20069 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20070 cat >> confdefs.h <<EOF
20071 #define $ac_tr_func 1
20075 echo "$ac_t""no
" 1>&6
20085 echo $ac_n "checking
for _float trig functions
""...
$ac_c" 1>&6
20086 echo "configure
:20087: checking
for _float trig functions
" >&5
20087 if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
20088 echo $ac_n "(cached
) $ac_c" 1>&6
20093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20094 ac_cpp='$CXXCPP $CPPFLAGS'
20095 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20096 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20097 cross_compiling=$ac_cv_prog_cxx_cross
20099 cat > conftest.$ac_ext <<EOF
20100 #line 20101 "configure
"
20101 #include "confdefs.h
"
20104 `for x in _acosf _asinf _atanf \
20105 _cosf _sinf _tanf \
20106 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
20109 if { (eval echo configure:20110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20111 glibcpp_cv_func__float_trig_use=yes
20113 echo "configure
: failed program was
:" >&5
20114 cat conftest.$ac_ext >&5
20116 glibcpp_cv_func__float_trig_use=no
20120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20121 ac_cpp='$CPP $CPPFLAGS'
20122 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20123 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20124 cross_compiling=$ac_cv_prog_cc_cross
20128 echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
20129 if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
20130 for ac_func in _acosf _asinf _atanf \
20131 _cosf _sinf _tanf \
20132 _coshf _sinhf _tanhf
20134 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20135 echo "configure
:20136: checking
for $ac_func" >&5
20136 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20137 echo $ac_n "(cached
) $ac_c" 1>&6
20139 cat > conftest.$ac_ext <<EOF
20140 #line 20141 "configure
"
20141 #include "confdefs.h
"
20142 /* System header to define __stub macros and hopefully few prototypes,
20143 which can conflict with char $ac_func(); below. */
20144 #include <assert.h>
20145 /* Override any gcc2 internal prototype to avoid an error. */
20146 /* We use char because int might match the return type of a gcc2
20147 builtin and then its argument prototype would still apply. */
20152 /* The GNU C library defines this for functions which it implements
20153 to always fail with ENOSYS. Some functions are actually named
20154 something starting with __ and the normal name is an alias. */
20155 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20163 if { (eval echo configure:20164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20165 eval "ac_cv_func_
$ac_func=yes"
20167 echo "configure
: failed program was
:" >&5
20168 cat conftest.$ac_ext >&5
20170 eval "ac_cv_func_
$ac_func=no
"
20175 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20176 echo "$ac_t""yes" 1>&6
20177 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20178 cat >> confdefs.h <<EOF
20179 #define $ac_tr_func 1
20183 echo "$ac_t""no
" 1>&6
20190 echo $ac_n "checking
for _float round functions
""...
$ac_c" 1>&6
20191 echo "configure
:20192: checking
for _float round functions
" >&5
20192 if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
20193 echo $ac_n "(cached
) $ac_c" 1>&6
20198 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20199 ac_cpp='$CXXCPP $CPPFLAGS'
20200 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20201 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20202 cross_compiling=$ac_cv_prog_cxx_cross
20204 cat > conftest.$ac_ext <<EOF
20205 #line 20206 "configure
"
20206 #include "confdefs.h
"
20209 `for x in _ceilf _floorf; do echo "$x (0);"; done`
20212 if { (eval echo configure:20213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20214 glibcpp_cv_func__float_round_use=yes
20216 echo "configure
: failed program was
:" >&5
20217 cat conftest.$ac_ext >&5
20219 glibcpp_cv_func__float_round_use=no
20223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20224 ac_cpp='$CPP $CPPFLAGS'
20225 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20226 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20227 cross_compiling=$ac_cv_prog_cc_cross
20231 echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
20232 if test x$glibcpp_cv_func__float_round_use = x"yes"; then
20233 for ac_func in _ceilf _floorf
20235 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20236 echo "configure
:20237: checking
for $ac_func" >&5
20237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20238 echo $ac_n "(cached
) $ac_c" 1>&6
20240 cat > conftest.$ac_ext <<EOF
20241 #line 20242 "configure
"
20242 #include "confdefs.h
"
20243 /* System header to define __stub macros and hopefully few prototypes,
20244 which can conflict with char $ac_func(); below. */
20245 #include <assert.h>
20246 /* Override any gcc2 internal prototype to avoid an error. */
20247 /* We use char because int might match the return type of a gcc2
20248 builtin and then its argument prototype would still apply. */
20253 /* The GNU C library defines this for functions which it implements
20254 to always fail with ENOSYS. Some functions are actually named
20255 something starting with __ and the normal name is an alias. */
20256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20264 if { (eval echo configure:20265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20266 eval "ac_cv_func_
$ac_func=yes"
20268 echo "configure
: failed program was
:" >&5
20269 cat conftest.$ac_ext >&5
20271 eval "ac_cv_func_
$ac_func=no
"
20276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20277 echo "$ac_t""yes" 1>&6
20278 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20279 cat >> confdefs.h <<EOF
20280 #define $ac_tr_func 1
20284 echo "$ac_t""no
" 1>&6
20292 echo $ac_n "checking
for _long double trig functions
""...
$ac_c" 1>&6
20293 echo "configure
:20294: checking
for _long double trig functions
" >&5
20294 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
20295 echo $ac_n "(cached
) $ac_c" 1>&6
20300 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20301 ac_cpp='$CXXCPP $CPPFLAGS'
20302 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20303 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20304 cross_compiling=$ac_cv_prog_cxx_cross
20306 cat > conftest.$ac_ext <<EOF
20307 #line 20308 "configure
"
20308 #include "confdefs.h
"
20311 `for x in _acosl _asinl _atanl \
20312 _cosl _sinl _tanl \
20313 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
20316 if { (eval echo configure:20317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20318 glibcpp_cv_func__long_double_trig_use=yes
20320 echo "configure
: failed program was
:" >&5
20321 cat conftest.$ac_ext >&5
20323 glibcpp_cv_func__long_double_trig_use=no
20327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20328 ac_cpp='$CPP $CPPFLAGS'
20329 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20330 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20331 cross_compiling=$ac_cv_prog_cc_cross
20335 echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
20336 if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
20337 for ac_func in _acosl _asinl _atanl \
20338 _cosl _sinl _tanl \
20339 _coshl _sinhl _tanhl
20341 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20342 echo "configure
:20343: checking
for $ac_func" >&5
20343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20344 echo $ac_n "(cached
) $ac_c" 1>&6
20346 cat > conftest.$ac_ext <<EOF
20347 #line 20348 "configure
"
20348 #include "confdefs.h
"
20349 /* System header to define __stub macros and hopefully few prototypes,
20350 which can conflict with char $ac_func(); below. */
20351 #include <assert.h>
20352 /* Override any gcc2 internal prototype to avoid an error. */
20353 /* We use char because int might match the return type of a gcc2
20354 builtin and then its argument prototype would still apply. */
20359 /* The GNU C library defines this for functions which it implements
20360 to always fail with ENOSYS. Some functions are actually named
20361 something starting with __ and the normal name is an alias. */
20362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20370 if { (eval echo configure:20371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20372 eval "ac_cv_func_
$ac_func=yes"
20374 echo "configure
: failed program was
:" >&5
20375 cat conftest.$ac_ext >&5
20377 eval "ac_cv_func_
$ac_func=no
"
20382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20383 echo "$ac_t""yes" 1>&6
20384 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20385 cat >> confdefs.h <<EOF
20386 #define $ac_tr_func 1
20390 echo "$ac_t""no
" 1>&6
20397 echo $ac_n "checking
for _long double round functions
""...
$ac_c" 1>&6
20398 echo "configure
:20399: checking
for _long double round functions
" >&5
20399 if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
20400 echo $ac_n "(cached
) $ac_c" 1>&6
20405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20406 ac_cpp='$CXXCPP $CPPFLAGS'
20407 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20408 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20409 cross_compiling=$ac_cv_prog_cxx_cross
20411 cat > conftest.$ac_ext <<EOF
20412 #line 20413 "configure
"
20413 #include "confdefs.h
"
20416 `for x in _ceill _floorl; do echo "$x (0);"; done`
20419 if { (eval echo configure:20420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20421 glibcpp_cv_func__long_double_round_use=yes
20423 echo "configure
: failed program was
:" >&5
20424 cat conftest.$ac_ext >&5
20426 glibcpp_cv_func__long_double_round_use=no
20430 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20431 ac_cpp='$CPP $CPPFLAGS'
20432 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20433 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20434 cross_compiling=$ac_cv_prog_cc_cross
20438 echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
20439 if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
20440 for ac_func in _ceill _floorl
20442 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
20443 echo "configure
:20444: checking
for $ac_func" >&5
20444 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20445 echo $ac_n "(cached
) $ac_c" 1>&6
20447 cat > conftest.$ac_ext <<EOF
20448 #line 20449 "configure
"
20449 #include "confdefs.h
"
20450 /* System header to define __stub macros and hopefully few prototypes,
20451 which can conflict with char $ac_func(); below. */
20452 #include <assert.h>
20453 /* Override any gcc2 internal prototype to avoid an error. */
20454 /* We use char because int might match the return type of a gcc2
20455 builtin and then its argument prototype would still apply. */
20460 /* The GNU C library defines this for functions which it implements
20461 to always fail with ENOSYS. Some functions are actually named
20462 something starting with __ and the normal name is an alias. */
20463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20471 if { (eval echo configure:20472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20473 eval "ac_cv_func_
$ac_func=yes"
20475 echo "configure
: failed program was
:" >&5
20476 cat conftest.$ac_ext >&5
20478 eval "ac_cv_func_
$ac_func=no
"
20483 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20484 echo "$ac_t""yes" 1>&6
20485 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20486 cat >> confdefs.h <<EOF
20487 #define $ac_tr_func 1
20491 echo "$ac_t""no
" 1>&6
20498 LIBS="$ac_save_LIBS"
20499 CXXFLAGS="$ac_save_CXXFLAGS"
20503 echo $ac_n "checking
for __builtin_abs declaration
""...
$ac_c" 1>&6
20504 echo "configure
:20505: checking
for __builtin_abs declaration
" >&5
20505 if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
20506 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
20507 echo $ac_n "(cached
) $ac_c" 1>&6
20512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20513 ac_cpp='$CXXCPP $CPPFLAGS'
20514 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20515 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20516 cross_compiling=$ac_cv_prog_cxx_cross
20518 cat > conftest.$ac_ext <<EOF
20519 #line 20520 "configure
"
20520 #include "confdefs.h
"
20526 if { (eval echo configure:20527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20528 glibcpp_cv_func___builtin_abs_use=yes
20530 echo "configure
: failed program was
:" >&5
20531 cat conftest.$ac_ext >&5
20533 glibcpp_cv_func___builtin_abs_use=no
20537 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20538 ac_cpp='$CPP $CPPFLAGS'
20539 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20540 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20541 cross_compiling=$ac_cv_prog_cc_cross
20547 echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
20548 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
20549 echo $ac_n "checking
for __builtin_abs linkage
""...
$ac_c" 1>&6
20550 echo "configure
:20551: checking
for __builtin_abs linkage
" >&5
20551 if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
20552 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
20553 echo $ac_n "(cached
) $ac_c" 1>&6
20556 cat > conftest.$ac_ext <<EOF
20557 #line 20558 "configure
"
20558 #include "confdefs.h
"
20564 if { (eval echo configure:20565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20566 glibcpp_cv_func___builtin_abs_link=yes
20568 echo "configure
: failed program was
:" >&5
20569 cat conftest.$ac_ext >&5
20571 glibcpp_cv_func___builtin_abs_link=no
20578 echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
20579 if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
20580 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20581 cat >> confdefs.h <<EOF
20582 #define ${ac_tr_func} 1
20589 echo $ac_n "checking
for __builtin_fabsf declaration
""...
$ac_c" 1>&6
20590 echo "configure
:20591: checking
for __builtin_fabsf declaration
" >&5
20591 if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
20592 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
20593 echo $ac_n "(cached
) $ac_c" 1>&6
20598 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20599 ac_cpp='$CXXCPP $CPPFLAGS'
20600 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20601 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20602 cross_compiling=$ac_cv_prog_cxx_cross
20604 cat > conftest.$ac_ext <<EOF
20605 #line 20606 "configure
"
20606 #include "confdefs.h
"
20609 __builtin_fabsf(0);
20612 if { (eval echo configure:20613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20614 glibcpp_cv_func___builtin_fabsf_use=yes
20616 echo "configure
: failed program was
:" >&5
20617 cat conftest.$ac_ext >&5
20619 glibcpp_cv_func___builtin_fabsf_use=no
20623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20624 ac_cpp='$CPP $CPPFLAGS'
20625 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20626 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20627 cross_compiling=$ac_cv_prog_cc_cross
20633 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
20634 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
20635 echo $ac_n "checking
for __builtin_fabsf linkage
""...
$ac_c" 1>&6
20636 echo "configure
:20637: checking
for __builtin_fabsf linkage
" >&5
20637 if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
20638 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
20639 echo $ac_n "(cached
) $ac_c" 1>&6
20642 cat > conftest.$ac_ext <<EOF
20643 #line 20644 "configure
"
20644 #include "confdefs.h
"
20647 __builtin_fabsf(0);
20650 if { (eval echo configure:20651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20652 glibcpp_cv_func___builtin_fabsf_link=yes
20654 echo "configure
: failed program was
:" >&5
20655 cat conftest.$ac_ext >&5
20657 glibcpp_cv_func___builtin_fabsf_link=no
20664 echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
20665 if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
20666 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20667 cat >> confdefs.h <<EOF
20668 #define ${ac_tr_func} 1
20675 echo $ac_n "checking
for __builtin_fabs declaration
""...
$ac_c" 1>&6
20676 echo "configure
:20677: checking
for __builtin_fabs declaration
" >&5
20677 if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
20678 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
20679 echo $ac_n "(cached
) $ac_c" 1>&6
20684 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20685 ac_cpp='$CXXCPP $CPPFLAGS'
20686 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20687 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20688 cross_compiling=$ac_cv_prog_cxx_cross
20690 cat > conftest.$ac_ext <<EOF
20691 #line 20692 "configure
"
20692 #include "confdefs.h
"
20698 if { (eval echo configure:20699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20700 glibcpp_cv_func___builtin_fabs_use=yes
20702 echo "configure
: failed program was
:" >&5
20703 cat conftest.$ac_ext >&5
20705 glibcpp_cv_func___builtin_fabs_use=no
20709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20710 ac_cpp='$CPP $CPPFLAGS'
20711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20713 cross_compiling=$ac_cv_prog_cc_cross
20719 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
20720 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
20721 echo $ac_n "checking
for __builtin_fabs linkage
""...
$ac_c" 1>&6
20722 echo "configure
:20723: checking
for __builtin_fabs linkage
" >&5
20723 if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
20724 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
20725 echo $ac_n "(cached
) $ac_c" 1>&6
20728 cat > conftest.$ac_ext <<EOF
20729 #line 20730 "configure
"
20730 #include "confdefs.h
"
20736 if { (eval echo configure:20737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20738 glibcpp_cv_func___builtin_fabs_link=yes
20740 echo "configure
: failed program was
:" >&5
20741 cat conftest.$ac_ext >&5
20743 glibcpp_cv_func___builtin_fabs_link=no
20750 echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
20751 if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
20752 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20753 cat >> confdefs.h <<EOF
20754 #define ${ac_tr_func} 1
20761 echo $ac_n "checking
for __builtin_fabsl declaration
""...
$ac_c" 1>&6
20762 echo "configure
:20763: checking
for __builtin_fabsl declaration
" >&5
20763 if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
20764 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
20765 echo $ac_n "(cached
) $ac_c" 1>&6
20770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20771 ac_cpp='$CXXCPP $CPPFLAGS'
20772 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20773 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20774 cross_compiling=$ac_cv_prog_cxx_cross
20776 cat > conftest.$ac_ext <<EOF
20777 #line 20778 "configure
"
20778 #include "confdefs.h
"
20781 __builtin_fabsl(0);
20784 if { (eval echo configure:20785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20786 glibcpp_cv_func___builtin_fabsl_use=yes
20788 echo "configure
: failed program was
:" >&5
20789 cat conftest.$ac_ext >&5
20791 glibcpp_cv_func___builtin_fabsl_use=no
20795 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20796 ac_cpp='$CPP $CPPFLAGS'
20797 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20798 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20799 cross_compiling=$ac_cv_prog_cc_cross
20805 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
20806 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
20807 echo $ac_n "checking
for __builtin_fabsl linkage
""...
$ac_c" 1>&6
20808 echo "configure
:20809: checking
for __builtin_fabsl linkage
" >&5
20809 if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
20810 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
20811 echo $ac_n "(cached
) $ac_c" 1>&6
20814 cat > conftest.$ac_ext <<EOF
20815 #line 20816 "configure
"
20816 #include "confdefs.h
"
20819 __builtin_fabsl(0);
20822 if { (eval echo configure:20823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20824 glibcpp_cv_func___builtin_fabsl_link=yes
20826 echo "configure
: failed program was
:" >&5
20827 cat conftest.$ac_ext >&5
20829 glibcpp_cv_func___builtin_fabsl_link=no
20836 echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
20837 if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
20838 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20839 cat >> confdefs.h <<EOF
20840 #define ${ac_tr_func} 1
20847 echo $ac_n "checking
for __builtin_labs declaration
""...
$ac_c" 1>&6
20848 echo "configure
:20849: checking
for __builtin_labs declaration
" >&5
20849 if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
20850 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
20851 echo $ac_n "(cached
) $ac_c" 1>&6
20856 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20857 ac_cpp='$CXXCPP $CPPFLAGS'
20858 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20859 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20860 cross_compiling=$ac_cv_prog_cxx_cross
20862 cat > conftest.$ac_ext <<EOF
20863 #line 20864 "configure
"
20864 #include "confdefs.h
"
20870 if { (eval echo configure:20871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20872 glibcpp_cv_func___builtin_labs_use=yes
20874 echo "configure
: failed program was
:" >&5
20875 cat conftest.$ac_ext >&5
20877 glibcpp_cv_func___builtin_labs_use=no
20881 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20884 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20885 cross_compiling=$ac_cv_prog_cc_cross
20891 echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
20892 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
20893 echo $ac_n "checking
for __builtin_labs linkage
""...
$ac_c" 1>&6
20894 echo "configure
:20895: checking
for __builtin_labs linkage
" >&5
20895 if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
20896 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
20897 echo $ac_n "(cached
) $ac_c" 1>&6
20900 cat > conftest.$ac_ext <<EOF
20901 #line 20902 "configure
"
20902 #include "confdefs.h
"
20908 if { (eval echo configure:20909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20910 glibcpp_cv_func___builtin_labs_link=yes
20912 echo "configure
: failed program was
:" >&5
20913 cat conftest.$ac_ext >&5
20915 glibcpp_cv_func___builtin_labs_link=no
20922 echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
20923 if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
20924 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20925 cat >> confdefs.h <<EOF
20926 #define ${ac_tr_func} 1
20934 echo $ac_n "checking
for __builtin_sqrtf declaration
""...
$ac_c" 1>&6
20935 echo "configure
:20936: checking
for __builtin_sqrtf declaration
" >&5
20936 if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
20937 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
20938 echo $ac_n "(cached
) $ac_c" 1>&6
20943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20946 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20947 cross_compiling=$ac_cv_prog_cxx_cross
20949 cat > conftest.$ac_ext <<EOF
20950 #line 20951 "configure
"
20951 #include "confdefs.h
"
20954 __builtin_sqrtf(0);
20957 if { (eval echo configure:20958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20959 glibcpp_cv_func___builtin_sqrtf_use=yes
20961 echo "configure
: failed program was
:" >&5
20962 cat conftest.$ac_ext >&5
20964 glibcpp_cv_func___builtin_sqrtf_use=no
20968 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20969 ac_cpp='$CPP $CPPFLAGS'
20970 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20971 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20972 cross_compiling=$ac_cv_prog_cc_cross
20978 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
20979 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
20980 echo $ac_n "checking
for __builtin_sqrtf linkage
""...
$ac_c" 1>&6
20981 echo "configure
:20982: checking
for __builtin_sqrtf linkage
" >&5
20982 if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
20983 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
20984 echo $ac_n "(cached
) $ac_c" 1>&6
20987 cat > conftest.$ac_ext <<EOF
20988 #line 20989 "configure
"
20989 #include "confdefs.h
"
20992 __builtin_sqrtf(0);
20995 if { (eval echo configure:20996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20997 glibcpp_cv_func___builtin_sqrtf_link=yes
20999 echo "configure
: failed program was
:" >&5
21000 cat conftest.$ac_ext >&5
21002 glibcpp_cv_func___builtin_sqrtf_link=no
21009 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
21010 if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
21011 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21012 cat >> confdefs.h <<EOF
21013 #define ${ac_tr_func} 1
21020 echo $ac_n "checking
for __builtin_sqrt declaration
""...
$ac_c" 1>&6
21021 echo "configure
:21022: checking
for __builtin_sqrt declaration
" >&5
21022 if test x${glibcpp_cv_func___builtin_sqrt_use+set} != xset; then
21023 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_use'+set}'`\" = set"; then
21024 echo $ac_n "(cached
) $ac_c" 1>&6
21029 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21030 ac_cpp='$CXXCPP $CPPFLAGS'
21031 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21032 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21033 cross_compiling=$ac_cv_prog_cxx_cross
21035 cat > conftest.$ac_ext <<EOF
21036 #line 21037 "configure
"
21037 #include "confdefs.h
"
21043 if { (eval echo configure:21044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21045 glibcpp_cv_func___builtin_sqrt_use=yes
21047 echo "configure
: failed program was
:" >&5
21048 cat conftest.$ac_ext >&5
21050 glibcpp_cv_func___builtin_sqrt_use=no
21054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21055 ac_cpp='$CPP $CPPFLAGS'
21056 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21057 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21058 cross_compiling=$ac_cv_prog_cc_cross
21064 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_use" 1>&6
21065 if test x$glibcpp_cv_func___builtin_sqrt_use = x"yes"; then
21066 echo $ac_n "checking
for __builtin_sqrt linkage
""...
$ac_c" 1>&6
21067 echo "configure
:21068: checking
for __builtin_sqrt linkage
" >&5
21068 if test x${glibcpp_cv_func___builtin_sqrt_link+set} != xset; then
21069 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrt_link'+set}'`\" = set"; then
21070 echo $ac_n "(cached
) $ac_c" 1>&6
21073 cat > conftest.$ac_ext <<EOF
21074 #line 21075 "configure
"
21075 #include "confdefs.h
"
21081 if { (eval echo configure:21082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21083 glibcpp_cv_func___builtin_sqrt_link=yes
21085 echo "configure
: failed program was
:" >&5
21086 cat conftest.$ac_ext >&5
21088 glibcpp_cv_func___builtin_sqrt_link=no
21095 echo "$ac_t""$glibcpp_cv_func___builtin_sqrt_link" 1>&6
21096 if test x$glibcpp_cv_func___builtin_sqrt_link = x"yes"; then
21097 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21098 cat >> confdefs.h <<EOF
21099 #define ${ac_tr_func} 1
21106 echo $ac_n "checking
for __builtin_sqrtl declaration
""...
$ac_c" 1>&6
21107 echo "configure
:21108: checking
for __builtin_sqrtl declaration
" >&5
21108 if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
21109 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
21110 echo $ac_n "(cached
) $ac_c" 1>&6
21115 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21116 ac_cpp='$CXXCPP $CPPFLAGS'
21117 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21118 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21119 cross_compiling=$ac_cv_prog_cxx_cross
21121 cat > conftest.$ac_ext <<EOF
21122 #line 21123 "configure
"
21123 #include "confdefs.h
"
21126 __builtin_sqrtl(0);
21129 if { (eval echo configure:21130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21131 glibcpp_cv_func___builtin_sqrtl_use=yes
21133 echo "configure
: failed program was
:" >&5
21134 cat conftest.$ac_ext >&5
21136 glibcpp_cv_func___builtin_sqrtl_use=no
21140 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21141 ac_cpp='$CPP $CPPFLAGS'
21142 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21143 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21144 cross_compiling=$ac_cv_prog_cc_cross
21150 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
21151 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
21152 echo $ac_n "checking
for __builtin_sqrtl linkage
""...
$ac_c" 1>&6
21153 echo "configure
:21154: checking
for __builtin_sqrtl linkage
" >&5
21154 if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
21155 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
21156 echo $ac_n "(cached
) $ac_c" 1>&6
21159 cat > conftest.$ac_ext <<EOF
21160 #line 21161 "configure
"
21161 #include "confdefs.h
"
21164 __builtin_sqrtl(0);
21167 if { (eval echo configure:21168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21169 glibcpp_cv_func___builtin_sqrtl_link=yes
21171 echo "configure
: failed program was
:" >&5
21172 cat conftest.$ac_ext >&5
21174 glibcpp_cv_func___builtin_sqrtl_link=no
21181 echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
21182 if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
21183 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21184 cat >> confdefs.h <<EOF
21185 #define ${ac_tr_func} 1
21193 echo $ac_n "checking
for __builtin_sinf declaration
""...
$ac_c" 1>&6
21194 echo "configure
:21195: checking
for __builtin_sinf declaration
" >&5
21195 if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
21196 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
21197 echo $ac_n "(cached
) $ac_c" 1>&6
21202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21203 ac_cpp='$CXXCPP $CPPFLAGS'
21204 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21205 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21206 cross_compiling=$ac_cv_prog_cxx_cross
21208 cat > conftest.$ac_ext <<EOF
21209 #line 21210 "configure
"
21210 #include "confdefs.h
"
21216 if { (eval echo configure:21217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21218 glibcpp_cv_func___builtin_sinf_use=yes
21220 echo "configure
: failed program was
:" >&5
21221 cat conftest.$ac_ext >&5
21223 glibcpp_cv_func___builtin_sinf_use=no
21227 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21228 ac_cpp='$CPP $CPPFLAGS'
21229 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21230 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21231 cross_compiling=$ac_cv_prog_cc_cross
21237 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
21238 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
21239 echo $ac_n "checking
for __builtin_sinf linkage
""...
$ac_c" 1>&6
21240 echo "configure
:21241: checking
for __builtin_sinf linkage
" >&5
21241 if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
21242 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
21243 echo $ac_n "(cached
) $ac_c" 1>&6
21246 cat > conftest.$ac_ext <<EOF
21247 #line 21248 "configure
"
21248 #include "confdefs.h
"
21254 if { (eval echo configure:21255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21256 glibcpp_cv_func___builtin_sinf_link=yes
21258 echo "configure
: failed program was
:" >&5
21259 cat conftest.$ac_ext >&5
21261 glibcpp_cv_func___builtin_sinf_link=no
21268 echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
21269 if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
21270 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21271 cat >> confdefs.h <<EOF
21272 #define ${ac_tr_func} 1
21279 echo $ac_n "checking
for __builtin_sin declaration
""...
$ac_c" 1>&6
21280 echo "configure
:21281: checking
for __builtin_sin declaration
" >&5
21281 if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
21282 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
21283 echo $ac_n "(cached
) $ac_c" 1>&6
21288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21289 ac_cpp='$CXXCPP $CPPFLAGS'
21290 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21291 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21292 cross_compiling=$ac_cv_prog_cxx_cross
21294 cat > conftest.$ac_ext <<EOF
21295 #line 21296 "configure
"
21296 #include "confdefs.h
"
21302 if { (eval echo configure:21303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21304 glibcpp_cv_func___builtin_sin_use=yes
21306 echo "configure
: failed program was
:" >&5
21307 cat conftest.$ac_ext >&5
21309 glibcpp_cv_func___builtin_sin_use=no
21313 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21314 ac_cpp='$CPP $CPPFLAGS'
21315 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21316 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21317 cross_compiling=$ac_cv_prog_cc_cross
21323 echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
21324 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
21325 echo $ac_n "checking
for __builtin_sin linkage
""...
$ac_c" 1>&6
21326 echo "configure
:21327: checking
for __builtin_sin linkage
" >&5
21327 if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
21328 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
21329 echo $ac_n "(cached
) $ac_c" 1>&6
21332 cat > conftest.$ac_ext <<EOF
21333 #line 21334 "configure
"
21334 #include "confdefs.h
"
21340 if { (eval echo configure:21341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21342 glibcpp_cv_func___builtin_sin_link=yes
21344 echo "configure
: failed program was
:" >&5
21345 cat conftest.$ac_ext >&5
21347 glibcpp_cv_func___builtin_sin_link=no
21354 echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
21355 if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
21356 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21357 cat >> confdefs.h <<EOF
21358 #define ${ac_tr_func} 1
21365 echo $ac_n "checking
for __builtin_sinl declaration
""...
$ac_c" 1>&6
21366 echo "configure
:21367: checking
for __builtin_sinl declaration
" >&5
21367 if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
21368 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
21369 echo $ac_n "(cached
) $ac_c" 1>&6
21374 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21375 ac_cpp='$CXXCPP $CPPFLAGS'
21376 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21377 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21378 cross_compiling=$ac_cv_prog_cxx_cross
21380 cat > conftest.$ac_ext <<EOF
21381 #line 21382 "configure
"
21382 #include "confdefs.h
"
21388 if { (eval echo configure:21389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21390 glibcpp_cv_func___builtin_sinl_use=yes
21392 echo "configure
: failed program was
:" >&5
21393 cat conftest.$ac_ext >&5
21395 glibcpp_cv_func___builtin_sinl_use=no
21399 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21400 ac_cpp='$CPP $CPPFLAGS'
21401 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21402 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21403 cross_compiling=$ac_cv_prog_cc_cross
21409 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
21410 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
21411 echo $ac_n "checking
for __builtin_sinl linkage
""...
$ac_c" 1>&6
21412 echo "configure
:21413: checking
for __builtin_sinl linkage
" >&5
21413 if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
21414 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
21415 echo $ac_n "(cached
) $ac_c" 1>&6
21418 cat > conftest.$ac_ext <<EOF
21419 #line 21420 "configure
"
21420 #include "confdefs.h
"
21426 if { (eval echo configure:21427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21428 glibcpp_cv_func___builtin_sinl_link=yes
21430 echo "configure
: failed program was
:" >&5
21431 cat conftest.$ac_ext >&5
21433 glibcpp_cv_func___builtin_sinl_link=no
21440 echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
21441 if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
21442 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21443 cat >> confdefs.h <<EOF
21444 #define ${ac_tr_func} 1
21452 echo $ac_n "checking
for __builtin_cosf declaration
""...
$ac_c" 1>&6
21453 echo "configure
:21454: checking
for __builtin_cosf declaration
" >&5
21454 if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
21455 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
21456 echo $ac_n "(cached
) $ac_c" 1>&6
21461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21462 ac_cpp='$CXXCPP $CPPFLAGS'
21463 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21464 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21465 cross_compiling=$ac_cv_prog_cxx_cross
21467 cat > conftest.$ac_ext <<EOF
21468 #line 21469 "configure
"
21469 #include "confdefs.h
"
21475 if { (eval echo configure:21476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21477 glibcpp_cv_func___builtin_cosf_use=yes
21479 echo "configure
: failed program was
:" >&5
21480 cat conftest.$ac_ext >&5
21482 glibcpp_cv_func___builtin_cosf_use=no
21486 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21487 ac_cpp='$CPP $CPPFLAGS'
21488 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21489 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21490 cross_compiling=$ac_cv_prog_cc_cross
21496 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
21497 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
21498 echo $ac_n "checking
for __builtin_cosf linkage
""...
$ac_c" 1>&6
21499 echo "configure
:21500: checking
for __builtin_cosf linkage
" >&5
21500 if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
21501 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
21502 echo $ac_n "(cached
) $ac_c" 1>&6
21505 cat > conftest.$ac_ext <<EOF
21506 #line 21507 "configure
"
21507 #include "confdefs.h
"
21513 if { (eval echo configure:21514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21515 glibcpp_cv_func___builtin_cosf_link=yes
21517 echo "configure
: failed program was
:" >&5
21518 cat conftest.$ac_ext >&5
21520 glibcpp_cv_func___builtin_cosf_link=no
21527 echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
21528 if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
21529 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21530 cat >> confdefs.h <<EOF
21531 #define ${ac_tr_func} 1
21538 echo $ac_n "checking
for __builtin_cos declaration
""...
$ac_c" 1>&6
21539 echo "configure
:21540: checking
for __builtin_cos declaration
" >&5
21540 if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
21541 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
21542 echo $ac_n "(cached
) $ac_c" 1>&6
21547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21548 ac_cpp='$CXXCPP $CPPFLAGS'
21549 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21550 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21551 cross_compiling=$ac_cv_prog_cxx_cross
21553 cat > conftest.$ac_ext <<EOF
21554 #line 21555 "configure
"
21555 #include "confdefs.h
"
21561 if { (eval echo configure:21562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21563 glibcpp_cv_func___builtin_cos_use=yes
21565 echo "configure
: failed program was
:" >&5
21566 cat conftest.$ac_ext >&5
21568 glibcpp_cv_func___builtin_cos_use=no
21572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21573 ac_cpp='$CPP $CPPFLAGS'
21574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21576 cross_compiling=$ac_cv_prog_cc_cross
21582 echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
21583 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
21584 echo $ac_n "checking
for __builtin_cos linkage
""...
$ac_c" 1>&6
21585 echo "configure
:21586: checking
for __builtin_cos linkage
" >&5
21586 if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
21587 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
21588 echo $ac_n "(cached
) $ac_c" 1>&6
21591 cat > conftest.$ac_ext <<EOF
21592 #line 21593 "configure
"
21593 #include "confdefs.h
"
21599 if { (eval echo configure:21600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21601 glibcpp_cv_func___builtin_cos_link=yes
21603 echo "configure
: failed program was
:" >&5
21604 cat conftest.$ac_ext >&5
21606 glibcpp_cv_func___builtin_cos_link=no
21613 echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
21614 if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
21615 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21616 cat >> confdefs.h <<EOF
21617 #define ${ac_tr_func} 1
21624 echo $ac_n "checking
for __builtin_cosl declaration
""...
$ac_c" 1>&6
21625 echo "configure
:21626: checking
for __builtin_cosl declaration
" >&5
21626 if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
21627 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
21628 echo $ac_n "(cached
) $ac_c" 1>&6
21633 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21634 ac_cpp='$CXXCPP $CPPFLAGS'
21635 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21636 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21637 cross_compiling=$ac_cv_prog_cxx_cross
21639 cat > conftest.$ac_ext <<EOF
21640 #line 21641 "configure
"
21641 #include "confdefs.h
"
21647 if { (eval echo configure:21648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21649 glibcpp_cv_func___builtin_cosl_use=yes
21651 echo "configure
: failed program was
:" >&5
21652 cat conftest.$ac_ext >&5
21654 glibcpp_cv_func___builtin_cosl_use=no
21658 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21659 ac_cpp='$CPP $CPPFLAGS'
21660 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21661 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21662 cross_compiling=$ac_cv_prog_cc_cross
21668 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
21669 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
21670 echo $ac_n "checking
for __builtin_cosl linkage
""...
$ac_c" 1>&6
21671 echo "configure
:21672: checking
for __builtin_cosl linkage
" >&5
21672 if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
21673 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
21674 echo $ac_n "(cached
) $ac_c" 1>&6
21677 cat > conftest.$ac_ext <<EOF
21678 #line 21679 "configure
"
21679 #include "confdefs.h
"
21685 if { (eval echo configure:21686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21687 glibcpp_cv_func___builtin_cosl_link=yes
21689 echo "configure
: failed program was
:" >&5
21690 cat conftest.$ac_ext >&5
21692 glibcpp_cv_func___builtin_cosl_link=no
21699 echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
21700 if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
21701 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21702 cat >> confdefs.h <<EOF
21703 #define ${ac_tr_func} 1
21711 if test x$dummyvar = x"yes"; then
21712 cat >> confdefs.h <<\EOF
21713 #define HAVE___BUILTIN_ABS 1
21716 cat >> confdefs.h <<\EOF
21717 #define HAVE___BUILTIN_LABS 1
21720 cat >> confdefs.h <<\EOF
21721 #define HAVE___BUILTIN_COS 1
21724 cat >> confdefs.h <<\EOF
21725 #define HAVE___BUILTIN_COSF 1
21728 cat >> confdefs.h <<\EOF
21729 #define HAVE___BUILTIN_COSL 1
21732 cat >> confdefs.h <<\EOF
21733 #define HAVE___BUILTIN_FABS 1
21736 cat >> confdefs.h <<\EOF
21737 #define HAVE___BUILTIN_FABSF 1
21740 cat >> confdefs.h <<\EOF
21741 #define HAVE___BUILTIN_FABSL 1
21744 cat >> confdefs.h <<\EOF
21745 #define HAVE___BUILTIN_SIN 1
21748 cat >> confdefs.h <<\EOF
21749 #define HAVE___BUILTIN_SINF 1
21752 cat >> confdefs.h <<\EOF
21753 #define HAVE___BUILTIN_SINL 1
21756 cat >> confdefs.h <<\EOF
21757 #define HAVE___BUILTIN_SQRT 1
21760 cat >> confdefs.h <<\EOF
21761 #define HAVE___BUILTIN_SQRTF 1
21764 cat >> confdefs.h <<\EOF
21765 #define HAVE___BUILTIN_SQRTL 1
21771 echo $ac_n "checking
for main
in -lm""...
$ac_c" 1>&6
21772 echo "configure
:21773: checking
for main
in -lm" >&5
21773 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
21774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21775 echo $ac_n "(cached
) $ac_c" 1>&6
21777 ac_save_LIBS="$LIBS"
21779 cat > conftest.$ac_ext <<EOF
21780 #line 21781 "configure
"
21781 #include "confdefs.h
"
21787 if { (eval echo configure:21788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21789 eval "ac_cv_lib_
$ac_lib_var=yes"
21791 echo "configure
: failed program was
:" >&5
21792 cat conftest.$ac_ext >&5
21794 eval "ac_cv_lib_
$ac_lib_var=no
"
21797 LIBS="$ac_save_LIBS"
21800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21801 echo "$ac_t""yes" 1>&6
21802 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
21803 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21804 cat >> confdefs.h <<EOF
21805 #define $ac_tr_lib 1
21811 echo "$ac_t""no
" 1>&6
21814 for ac_func in nan copysignf
21816 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21817 echo "configure
:21818: checking
for $ac_func" >&5
21818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21819 echo $ac_n "(cached
) $ac_c" 1>&6
21821 cat > conftest.$ac_ext <<EOF
21822 #line 21823 "configure
"
21823 #include "confdefs.h
"
21824 /* System header to define __stub macros and hopefully few prototypes,
21825 which can conflict with char $ac_func(); below. */
21826 #include <assert.h>
21827 /* Override any gcc2 internal prototype to avoid an error. */
21828 /* We use char because int might match the return type of a gcc2
21829 builtin and then its argument prototype would still apply. */
21834 /* The GNU C library defines this for functions which it implements
21835 to always fail with ENOSYS. Some functions are actually named
21836 something starting with __ and the normal name is an alias. */
21837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21845 if { (eval echo configure:21846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21847 eval "ac_cv_func_
$ac_func=yes"
21849 echo "configure
: failed program was
:" >&5
21850 cat conftest.$ac_ext >&5
21852 eval "ac_cv_func_
$ac_func=no
"
21857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21858 echo "$ac_t""yes" 1>&6
21859 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21860 cat >> confdefs.h <<EOF
21861 #define $ac_tr_func 1
21865 echo "$ac_t""no
" 1>&6
21866 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo
"
21871 for ac_func in __signbit
21873 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21874 echo "configure
:21875: checking
for $ac_func" >&5
21875 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21876 echo $ac_n "(cached
) $ac_c" 1>&6
21878 cat > conftest.$ac_ext <<EOF
21879 #line 21880 "configure
"
21880 #include "confdefs.h
"
21881 /* System header to define __stub macros and hopefully few prototypes,
21882 which can conflict with char $ac_func(); below. */
21883 #include <assert.h>
21884 /* Override any gcc2 internal prototype to avoid an error. */
21885 /* We use char because int might match the return type of a gcc2
21886 builtin and then its argument prototype would still apply. */
21891 /* The GNU C library defines this for functions which it implements
21892 to always fail with ENOSYS. Some functions are actually named
21893 something starting with __ and the normal name is an alias. */
21894 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21902 if { (eval echo configure:21903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21904 eval "ac_cv_func_
$ac_func=yes"
21906 echo "configure
: failed program was
:" >&5
21907 cat conftest.$ac_ext >&5
21909 eval "ac_cv_func_
$ac_func=no
"
21914 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21915 echo "$ac_t""yes" 1>&6
21916 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21917 cat >> confdefs.h <<EOF
21918 #define $ac_tr_func 1
21922 echo "$ac_t""no
" 1>&6
21923 LIBMATHOBJS="$LIBMATHOBJS signbit.lo
"
21927 for ac_func in __signbitf
21929 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21930 echo "configure
:21931: checking
for $ac_func" >&5
21931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21932 echo $ac_n "(cached
) $ac_c" 1>&6
21934 cat > conftest.$ac_ext <<EOF
21935 #line 21936 "configure
"
21936 #include "confdefs.h
"
21937 /* System header to define __stub macros and hopefully few prototypes,
21938 which can conflict with char $ac_func(); below. */
21939 #include <assert.h>
21940 /* Override any gcc2 internal prototype to avoid an error. */
21941 /* We use char because int might match the return type of a gcc2
21942 builtin and then its argument prototype would still apply. */
21947 /* The GNU C library defines this for functions which it implements
21948 to always fail with ENOSYS. Some functions are actually named
21949 something starting with __ and the normal name is an alias. */
21950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21958 if { (eval echo configure:21959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21960 eval "ac_cv_func_
$ac_func=yes"
21962 echo "configure
: failed program was
:" >&5
21963 cat conftest.$ac_ext >&5
21965 eval "ac_cv_func_
$ac_func=no
"
21970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21971 echo "$ac_t""yes" 1>&6
21972 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21973 cat >> confdefs.h <<EOF
21974 #define $ac_tr_func 1
21978 echo "$ac_t""no
" 1>&6
21979 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo
"
21984 if test x$ac_cv_func_copysignl = x"yes"; then
21985 for ac_func in __signbitl
21987 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
21988 echo "configure
:21989: checking
for $ac_func" >&5
21989 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21990 echo $ac_n "(cached
) $ac_c" 1>&6
21992 cat > conftest.$ac_ext <<EOF
21993 #line 21994 "configure
"
21994 #include "confdefs.h
"
21995 /* System header to define __stub macros and hopefully few prototypes,
21996 which can conflict with char $ac_func(); below. */
21997 #include <assert.h>
21998 /* Override any gcc2 internal prototype to avoid an error. */
21999 /* We use char because int might match the return type of a gcc2
22000 builtin and then its argument prototype would still apply. */
22005 /* The GNU C library defines this for functions which it implements
22006 to always fail with ENOSYS. Some functions are actually named
22007 something starting with __ and the normal name is an alias. */
22008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22016 if { (eval echo configure:22017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22018 eval "ac_cv_func_
$ac_func=yes"
22020 echo "configure
: failed program was
:" >&5
22021 cat conftest.$ac_ext >&5
22023 eval "ac_cv_func_
$ac_func=no
"
22028 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22029 echo "$ac_t""yes" 1>&6
22030 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22031 cat >> confdefs.h <<EOF
22032 #define $ac_tr_func 1
22036 echo "$ac_t""no
" 1>&6
22037 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo
"
22043 if test -n "$LIBMATHOBJS"; then
22049 if test "$need_libmath" = yes; then
22050 GLIBCPP_BUILD_LIBMATH_TRUE=
22051 GLIBCPP_BUILD_LIBMATH_FALSE='#'
22053 GLIBCPP_BUILD_LIBMATH_TRUE='#'
22054 GLIBCPP_BUILD_LIBMATH_FALSE=
22060 echo $ac_n "checking
for mbstate_t
""...
$ac_c" 1>&6
22061 echo "configure
:22062: checking
for mbstate_t
" >&5
22062 cat > conftest.$ac_ext <<EOF
22063 #line 22064 "configure
"
22064 #include "confdefs.h
"
22067 mbstate_t teststate;
22070 if { (eval echo configure:22071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22074 echo "configure
: failed program was
:" >&5
22075 cat conftest.$ac_ext >&5
22080 echo "$ac_t""$have_mbstate_t" 1>&6
22081 if test x"$have_mbstate_t" = xyes; then
22082 cat >> confdefs.h <<\EOF
22083 #define HAVE_MBSTATE_T 1
22088 for ac_hdr in wchar.h
22090 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22091 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22092 echo "configure
:22093: checking
for $ac_hdr" >&5
22093 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22094 echo $ac_n "(cached
) $ac_c" 1>&6
22096 cat > conftest.$ac_ext <<EOF
22097 #line 22098 "configure
"
22098 #include "confdefs.h
"
22101 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22102 { (eval echo configure:22103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22103 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22104 if test -z "$ac_err"; then
22106 eval "ac_cv_header_
$ac_safe=yes"
22109 echo "configure
: failed program was
:" >&5
22110 cat conftest.$ac_ext >&5
22112 eval "ac_cv_header_
$ac_safe=no
"
22116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22117 echo "$ac_t""yes" 1>&6
22118 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22119 cat >> confdefs.h <<EOF
22120 #define $ac_tr_hdr 1
22124 echo "$ac_t""no
" 1>&6
22129 for ac_hdr in wctype.h
22131 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22132 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22133 echo "configure
:22134: checking
for $ac_hdr" >&5
22134 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22135 echo $ac_n "(cached
) $ac_c" 1>&6
22137 cat > conftest.$ac_ext <<EOF
22138 #line 22139 "configure
"
22139 #include "confdefs.h
"
22142 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22143 { (eval echo configure:22144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22144 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22145 if test -z "$ac_err"; then
22147 eval "ac_cv_header_
$ac_safe=yes"
22150 echo "configure
: failed program was
:" >&5
22151 cat conftest.$ac_ext >&5
22153 eval "ac_cv_header_
$ac_safe=no
"
22157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22158 echo "$ac_t""yes" 1>&6
22159 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22160 cat >> confdefs.h <<EOF
22161 #define $ac_tr_hdr 1
22163 ac_has_wctype_h=yes
22165 echo "$ac_t""no
" 1>&6
22171 if test x"$ac_has_wchar_h" = xyes &&
22172 test x"$ac_has_wctype_h" = xyes &&
22173 test x"$enable_c_mbchar" != xno; then
22175 echo $ac_n "checking
for WCHAR_MIN and WCHAR_MAX
""...
$ac_c" 1>&6
22176 echo "configure
:22177: checking
for WCHAR_MIN and WCHAR_MAX
" >&5
22177 cat > conftest.$ac_ext <<EOF
22178 #line 22179 "configure
"
22179 #include "confdefs.h
"
22182 int i = WCHAR_MIN; int j = WCHAR_MAX;
22185 if { (eval echo configure:22186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22187 has_wchar_minmax=yes
22189 echo "configure
: failed program was
:" >&5
22190 cat conftest.$ac_ext >&5
22192 has_wchar_minmax=no
22195 echo "$ac_t""$has_wchar_minmax" 1>&6
22197 echo $ac_n "checking
for WEOF
""...
$ac_c" 1>&6
22198 echo "configure
:22199: checking
for WEOF
" >&5
22199 cat > conftest.$ac_ext <<EOF
22200 #line 22201 "configure
"
22201 #include "confdefs.h
"
22204 #include <stddef.h>
22209 if { (eval echo configure:22210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22213 echo "configure
: failed program was
:" >&5
22214 cat conftest.$ac_ext >&5
22219 echo "$ac_t""$has_weof" 1>&6
22222 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
22224 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22225 echo "configure
:22226: checking
for $ac_func" >&5
22226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22227 echo $ac_n "(cached
) $ac_c" 1>&6
22229 cat > conftest.$ac_ext <<EOF
22230 #line 22231 "configure
"
22231 #include "confdefs.h
"
22232 /* System header to define __stub macros and hopefully few prototypes,
22233 which can conflict with char $ac_func(); below. */
22234 #include <assert.h>
22235 /* Override any gcc2 internal prototype to avoid an error. */
22236 /* We use char because int might match the return type of a gcc2
22237 builtin and then its argument prototype would still apply. */
22242 /* The GNU C library defines this for functions which it implements
22243 to always fail with ENOSYS. Some functions are actually named
22244 something starting with __ and the normal name is an alias. */
22245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22253 if { (eval echo configure:22254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22255 eval "ac_cv_func_
$ac_func=yes"
22257 echo "configure
: failed program was
:" >&5
22258 cat conftest.$ac_ext >&5
22260 eval "ac_cv_func_
$ac_func=no
"
22265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22266 echo "$ac_t""yes" 1>&6
22267 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22268 cat >> confdefs.h <<EOF
22269 #define $ac_tr_func 1
22273 echo "$ac_t""no
" 1>&6
22280 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
22281 fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
22282 vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
22283 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
22284 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
22285 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
22287 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22288 echo "configure
:22289: checking
for $ac_func" >&5
22289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22290 echo $ac_n "(cached
) $ac_c" 1>&6
22292 cat > conftest.$ac_ext <<EOF
22293 #line 22294 "configure
"
22294 #include "confdefs.h
"
22295 /* System header to define __stub macros and hopefully few prototypes,
22296 which can conflict with char $ac_func(); below. */
22297 #include <assert.h>
22298 /* Override any gcc2 internal prototype to avoid an error. */
22299 /* We use char because int might match the return type of a gcc2
22300 builtin and then its argument prototype would still apply. */
22305 /* The GNU C library defines this for functions which it implements
22306 to always fail with ENOSYS. Some functions are actually named
22307 something starting with __ and the normal name is an alias. */
22308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22316 if { (eval echo configure:22317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22318 eval "ac_cv_func_
$ac_func=yes"
22320 echo "configure
: failed program was
:" >&5
22321 cat conftest.$ac_ext >&5
22323 eval "ac_cv_func_
$ac_func=no
"
22328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22329 echo "$ac_t""yes" 1>&6
22330 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22331 cat >> confdefs.h <<EOF
22332 #define $ac_tr_func 1
22336 echo "$ac_t""no
" 1>&6
22343 echo $ac_n "checking
for ISO C99 wchar_t support
""...
$ac_c" 1>&6
22344 echo "configure
:22345: checking
for ISO C99 wchar_t support
" >&5
22345 if test x"$has_weof" = xyes &&
22346 test x"$has_wchar_minmax" = xyes &&
22347 test x"$ac_wfuncs" = xyes; then
22348 ac_isoC99_wchar_t=yes
22350 ac_isoC99_wchar_t=no
22352 echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
22354 ac_safe=`echo "iconv.h
" | sed 'y%./+-%__p_%'`
22355 echo $ac_n "checking
for iconv.h
""...
$ac_c" 1>&6
22356 echo "configure
:22357: checking
for iconv.h
" >&5
22357 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22358 echo $ac_n "(cached
) $ac_c" 1>&6
22360 cat > conftest.$ac_ext <<EOF
22361 #line 22362 "configure
"
22362 #include "confdefs.h
"
22365 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22366 { (eval echo configure:22367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22367 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22368 if test -z "$ac_err"; then
22370 eval "ac_cv_header_
$ac_safe=yes"
22373 echo "configure
: failed program was
:" >&5
22374 cat conftest.$ac_ext >&5
22376 eval "ac_cv_header_
$ac_safe=no
"
22380 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22381 echo "$ac_t""yes" 1>&6
22384 echo "$ac_t""no
" 1>&6
22388 ac_safe=`echo "langinfo.h
" | sed 'y%./+-%__p_%'`
22389 echo $ac_n "checking
for langinfo.h
""...
$ac_c" 1>&6
22390 echo "configure
:22391: checking
for langinfo.h
" >&5
22391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22392 echo $ac_n "(cached
) $ac_c" 1>&6
22394 cat > conftest.$ac_ext <<EOF
22395 #line 22396 "configure
"
22396 #include "confdefs.h
"
22397 #include <langinfo.h>
22399 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22400 { (eval echo configure:22401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22401 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22402 if test -z "$ac_err"; then
22404 eval "ac_cv_header_
$ac_safe=yes"
22407 echo "configure
: failed program was
:" >&5
22408 cat conftest.$ac_ext >&5
22410 eval "ac_cv_header_
$ac_safe=no
"
22414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22415 echo "$ac_t""yes" 1>&6
22416 ac_has_langinfo_h=yes
22418 echo "$ac_t""no
" 1>&6
22419 ac_has_langinfo_h=no
22423 echo $ac_n "checking
for iconv in -liconv""...
$ac_c" 1>&6
22424 echo "configure
:22425: checking
for iconv in -liconv" >&5
22425 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
22426 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22427 echo $ac_n "(cached
) $ac_c" 1>&6
22429 ac_save_LIBS="$LIBS"
22430 LIBS="-liconv $LIBS"
22431 cat > conftest.$ac_ext <<EOF
22432 #line 22433 "configure
"
22433 #include "confdefs.h
"
22434 /* Override any gcc2 internal prototype to avoid an error. */
22435 /* We use char because int might match the return type of a gcc2
22436 builtin and then its argument prototype would still apply. */
22443 if { (eval echo configure:22444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22445 eval "ac_cv_lib_
$ac_lib_var=yes"
22447 echo "configure
: failed program was
:" >&5
22448 cat conftest.$ac_ext >&5
22450 eval "ac_cv_lib_
$ac_lib_var=no
"
22453 LIBS="$ac_save_LIBS"
22456 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22457 echo "$ac_t""yes" 1>&6
22460 echo "$ac_t""no
" 1>&6
22463 ac_save_LIBS="$LIBS"
22464 LIBS="$LIBS $libiconv"
22466 for ac_func in iconv_open iconv_close iconv nl_langinfo
22468 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22469 echo "configure
:22470: checking
for $ac_func" >&5
22470 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22471 echo $ac_n "(cached
) $ac_c" 1>&6
22473 cat > conftest.$ac_ext <<EOF
22474 #line 22475 "configure
"
22475 #include "confdefs.h
"
22476 /* System header to define __stub macros and hopefully few prototypes,
22477 which can conflict with char $ac_func(); below. */
22478 #include <assert.h>
22479 /* Override any gcc2 internal prototype to avoid an error. */
22480 /* We use char because int might match the return type of a gcc2
22481 builtin and then its argument prototype would still apply. */
22486 /* The GNU C library defines this for functions which it implements
22487 to always fail with ENOSYS. Some functions are actually named
22488 something starting with __ and the normal name is an alias. */
22489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22497 if { (eval echo configure:22498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22499 eval "ac_cv_func_
$ac_func=yes"
22501 echo "configure
: failed program was
:" >&5
22502 cat conftest.$ac_ext >&5
22504 eval "ac_cv_func_
$ac_func=no
"
22509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22510 echo "$ac_t""yes" 1>&6
22511 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22512 cat >> confdefs.h <<EOF
22513 #define $ac_tr_func 1
22518 echo "$ac_t""no
" 1>&6
22524 LIBS="$ac_save_LIBS"
22526 echo $ac_n "checking
for XPG2 wchar_t support
""...
$ac_c" 1>&6
22527 echo "configure
:22528: checking
for XPG2 wchar_t support
" >&5
22528 if test x"$ac_has_iconv_h" = xyes &&
22529 test x"$ac_has_langinfo_h" = xyes &&
22530 test x"$ac_XPG2funcs" = xyes; then
22531 ac_XPG2_wchar_t=yes
22535 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
22537 if test x"$ac_isoC99_wchar_t" = xyes &&
22538 test x"$ac_XPG2_wchar_t" = xyes; then
22539 cat >> confdefs.h <<\EOF
22540 #define _GLIBCPP_USE_WCHAR_T 1
22546 echo $ac_n "checking
for enabled wchar_t specializations
""...
$ac_c" 1>&6
22547 echo "configure
:22548: checking
for enabled wchar_t specializations
" >&5
22548 echo "$ac_t""$enable_wchar_t" 1>&6
22551 if test "$enable_wchar_t" = yes; then
22552 GLIBCPP_TEST_WCHAR_T_TRUE=
22553 GLIBCPP_TEST_WCHAR_T_FALSE='#'
22555 GLIBCPP_TEST_WCHAR_T_TRUE='#'
22556 GLIBCPP_TEST_WCHAR_T_FALSE=
22560 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22561 ac_save_CXXFLAGS="$CXXFLAGS"
22562 CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
22565 echo $ac_n "checking
for strtold declaration
""...
$ac_c" 1>&6
22566 echo "configure
:22567: checking
for strtold declaration
" >&5
22567 if test x${glibcpp_cv_func_strtold_use+set} != xset; then
22568 if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
22569 echo $ac_n "(cached
) $ac_c" 1>&6
22574 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22575 ac_cpp='$CXXCPP $CPPFLAGS'
22576 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22577 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22578 cross_compiling=$ac_cv_prog_cxx_cross
22580 cat > conftest.$ac_ext <<EOF
22581 #line 22582 "configure
"
22582 #include "confdefs.h
"
22583 #include <stdlib.h>
22588 if { (eval echo configure:22589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22590 glibcpp_cv_func_strtold_use=yes
22592 echo "configure
: failed program was
:" >&5
22593 cat conftest.$ac_ext >&5
22595 glibcpp_cv_func_strtold_use=no
22599 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22600 ac_cpp='$CPP $CPPFLAGS'
22601 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22602 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22603 cross_compiling=$ac_cv_prog_cc_cross
22609 echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
22610 if test x$glibcpp_cv_func_strtold_use = x"yes"; then
22611 for ac_func in strtold
22613 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22614 echo "configure
:22615: checking
for $ac_func" >&5
22615 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22616 echo $ac_n "(cached
) $ac_c" 1>&6
22618 cat > conftest.$ac_ext <<EOF
22619 #line 22620 "configure
"
22620 #include "confdefs.h
"
22621 /* System header to define __stub macros and hopefully few prototypes,
22622 which can conflict with char $ac_func(); below. */
22623 #include <assert.h>
22624 /* Override any gcc2 internal prototype to avoid an error. */
22625 /* We use char because int might match the return type of a gcc2
22626 builtin and then its argument prototype would still apply. */
22631 /* The GNU C library defines this for functions which it implements
22632 to always fail with ENOSYS. Some functions are actually named
22633 something starting with __ and the normal name is an alias. */
22634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22642 if { (eval echo configure:22643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22644 eval "ac_cv_func_
$ac_func=yes"
22646 echo "configure
: failed program was
:" >&5
22647 cat conftest.$ac_ext >&5
22649 eval "ac_cv_func_
$ac_func=no
"
22654 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22655 echo "$ac_t""yes" 1>&6
22656 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22657 cat >> confdefs.h <<EOF
22658 #define $ac_tr_func 1
22662 echo "$ac_t""no
" 1>&6
22669 echo $ac_n "checking
for strtof declaration
""...
$ac_c" 1>&6
22670 echo "configure
:22671: checking
for strtof declaration
" >&5
22671 if test x${glibcpp_cv_func_strtof_use+set} != xset; then
22672 if eval "test \"`echo '$''{'glibcpp_cv_func_strtof_use'+set}'`\" = set"; then
22673 echo $ac_n "(cached
) $ac_c" 1>&6
22678 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22679 ac_cpp='$CXXCPP $CPPFLAGS'
22680 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22681 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22682 cross_compiling=$ac_cv_prog_cxx_cross
22684 cat > conftest.$ac_ext <<EOF
22685 #line 22686 "configure
"
22686 #include "confdefs.h
"
22687 #include <stdlib.h>
22692 if { (eval echo configure:22693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22694 glibcpp_cv_func_strtof_use=yes
22696 echo "configure
: failed program was
:" >&5
22697 cat conftest.$ac_ext >&5
22699 glibcpp_cv_func_strtof_use=no
22703 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
22704 ac_cpp='$CPP $CPPFLAGS'
22705 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
22706 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
22707 cross_compiling=$ac_cv_prog_cc_cross
22713 echo "$ac_t""$glibcpp_cv_func_strtof_use" 1>&6
22714 if test x$glibcpp_cv_func_strtof_use = x"yes"; then
22715 for ac_func in strtof
22717 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22718 echo "configure
:22719: checking
for $ac_func" >&5
22719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22720 echo $ac_n "(cached
) $ac_c" 1>&6
22722 cat > conftest.$ac_ext <<EOF
22723 #line 22724 "configure
"
22724 #include "confdefs.h
"
22725 /* System header to define __stub macros and hopefully few prototypes,
22726 which can conflict with char $ac_func(); below. */
22727 #include <assert.h>
22728 /* Override any gcc2 internal prototype to avoid an error. */
22729 /* We use char because int might match the return type of a gcc2
22730 builtin and then its argument prototype would still apply. */
22735 /* The GNU C library defines this for functions which it implements
22736 to always fail with ENOSYS. Some functions are actually named
22737 something starting with __ and the normal name is an alias. */
22738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22746 if { (eval echo configure:22747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22748 eval "ac_cv_func_
$ac_func=yes"
22750 echo "configure
: failed program was
:" >&5
22751 cat conftest.$ac_ext >&5
22753 eval "ac_cv_func_
$ac_func=no
"
22758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22759 echo "$ac_t""yes" 1>&6
22760 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22761 cat >> confdefs.h <<EOF
22762 #define $ac_tr_func 1
22766 echo "$ac_t""no
" 1>&6
22772 for ac_func in drand48
22774 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
22775 echo "configure
:22776: checking
for $ac_func" >&5
22776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22777 echo $ac_n "(cached
) $ac_c" 1>&6
22779 cat > conftest.$ac_ext <<EOF
22780 #line 22781 "configure
"
22781 #include "confdefs.h
"
22782 /* System header to define __stub macros and hopefully few prototypes,
22783 which can conflict with char $ac_func(); below. */
22784 #include <assert.h>
22785 /* Override any gcc2 internal prototype to avoid an error. */
22786 /* We use char because int might match the return type of a gcc2
22787 builtin and then its argument prototype would still apply. */
22792 /* The GNU C library defines this for functions which it implements
22793 to always fail with ENOSYS. Some functions are actually named
22794 something starting with __ and the normal name is an alias. */
22795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22803 if { (eval echo configure:22804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22805 eval "ac_cv_func_
$ac_func=yes"
22807 echo "configure
: failed program was
:" >&5
22808 cat conftest.$ac_ext >&5
22810 eval "ac_cv_func_
$ac_func=no
"
22815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22816 echo "$ac_t""yes" 1>&6
22817 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22818 cat >> confdefs.h <<EOF
22819 #define $ac_tr_func 1
22823 echo "$ac_t""no
" 1>&6
22828 CXXFLAGS="$ac_save_CXXFLAGS"
22831 # For showmanyc_helper().
22832 for ac_hdr in sys/ioctl.h sys/filio.h
22834 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22835 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
22836 echo "configure
:22837: checking
for $ac_hdr" >&5
22837 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22838 echo $ac_n "(cached
) $ac_c" 1>&6
22840 cat > conftest.$ac_ext <<EOF
22841 #line 22842 "configure
"
22842 #include "confdefs.h
"
22845 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22846 { (eval echo configure:22847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22847 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22848 if test -z "$ac_err"; then
22850 eval "ac_cv_header_
$ac_safe=yes"
22853 echo "configure
: failed program was
:" >&5
22854 cat conftest.$ac_ext >&5
22856 eval "ac_cv_header_
$ac_safe=no
"
22860 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22861 echo "$ac_t""yes" 1>&6
22862 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22863 cat >> confdefs.h <<EOF
22864 #define $ac_tr_hdr 1
22868 echo "$ac_t""no
" 1>&6
22873 if eval "test \"`echo '$''{'glibcpp_cv_POLL'+set}'`\" = set"; then
22874 echo $ac_n "(cached
) $ac_c" 1>&6
22877 cat > conftest.$ac_ext <<EOF
22878 #line 22879 "configure
"
22879 #include "confdefs.h
"
22882 struct pollfd pfd[1]; pfd[0].events = POLLIN; poll(pfd, 1, 0);
22885 if { (eval echo configure:22886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22887 glibcpp_cv_POLL=yes
22889 echo "configure
: failed program was
:" >&5
22890 cat conftest.$ac_ext >&5
22898 if test x$glibcpp_cv_POLL = xyes; then
22899 cat >> confdefs.h <<\EOF
22900 #define HAVE_POLL 1
22906 if eval "test \"`echo '$''{'glibcpp_cv_S_ISREG'+set}'`\" = set"; then
22907 echo $ac_n "(cached
) $ac_c" 1>&6
22910 cat > conftest.$ac_ext <<EOF
22911 #line 22912 "configure
"
22912 #include "confdefs.h
"
22913 #include <sys/stat.h>
22915 struct stat buffer; fstat(0, &buffer); S_ISREG(buffer.st_mode);
22918 if { (eval echo configure:22919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22920 glibcpp_cv_S_ISREG=yes
22922 echo "configure
: failed program was
:" >&5
22923 cat conftest.$ac_ext >&5
22925 glibcpp_cv_S_ISREG=no
22931 if eval "test \"`echo '$''{'glibcpp_cv_S_IFREG'+set}'`\" = set"; then
22932 echo $ac_n "(cached
) $ac_c" 1>&6
22935 cat > conftest.$ac_ext <<EOF
22936 #line 22937 "configure
"
22937 #include "confdefs.h
"
22938 #include <sys/stat.h>
22940 struct stat buffer; fstat(0, &buffer); S_IFREG & buffer.st_mode;
22943 if { (eval echo configure:22944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22945 glibcpp_cv_S_IFREG=yes
22947 echo "configure
: failed program was
:" >&5
22948 cat conftest.$ac_ext >&5
22950 glibcpp_cv_S_IFREG=no
22956 if test x$glibcpp_cv_S_ISREG = xyes; then
22957 cat >> confdefs.h <<\EOF
22958 #define HAVE_S_ISREG 1
22961 elif test x$glibcpp_cv_S_IFREG = xyes; then
22962 cat >> confdefs.h <<\EOF
22963 #define HAVE_S_IFREG 1
22970 ac_safe=`echo "locale.h
" | sed 'y%./+-%__p_%'`
22971 echo $ac_n "checking
for locale.h
""...
$ac_c" 1>&6
22972 echo "configure
:22973: checking
for locale.h
" >&5
22973 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
22974 echo $ac_n "(cached
) $ac_c" 1>&6
22976 cat > conftest.$ac_ext <<EOF
22977 #line 22978 "configure
"
22978 #include "confdefs.h
"
22979 #include <locale.h>
22981 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
22982 { (eval echo configure:22983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
22983 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
22984 if test -z "$ac_err"; then
22986 eval "ac_cv_header_
$ac_safe=yes"
22989 echo "configure
: failed program was
:" >&5
22990 cat conftest.$ac_ext >&5
22992 eval "ac_cv_header_
$ac_safe=no
"
22996 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
22997 echo "$ac_t""yes" 1>&6
22999 echo $ac_n "checking
for LC_MESSAGES
""...
$ac_c" 1>&6
23000 echo "configure
:23001: checking
for LC_MESSAGES
" >&5
23001 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
23002 echo $ac_n "(cached
) $ac_c" 1>&6
23004 cat > conftest.$ac_ext <<EOF
23005 #line 23006 "configure
"
23006 #include "confdefs.h
"
23007 #include <locale.h>
23012 if { (eval echo configure:23013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23014 ac_cv_val_LC_MESSAGES=yes
23016 echo "configure
: failed program was
:" >&5
23017 cat conftest.$ac_ext >&5
23019 ac_cv_val_LC_MESSAGES=no
23024 echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
23025 if test $ac_cv_val_LC_MESSAGES = yes; then
23026 cat >> confdefs.h <<\EOF
23027 #define HAVE_LC_MESSAGES 1
23033 echo "$ac_t""no
" 1>&6
23038 cat > conftest.$ac_ext <<EOF
23039 #line 23040 "configure
"
23040 #include "confdefs.h
"
23042 #include <setjmp.h>
23045 sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
23048 if { (eval echo configure:23049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23050 cat >> confdefs.h <<\EOF
23051 #define HAVE_SIGSETJMP 1
23056 echo "configure
: failed program was
:" >&5
23057 cat conftest.$ac_ext >&5
23061 for ac_hdr in unistd.h
23063 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23064 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23065 echo "configure
:23066: checking
for $ac_hdr" >&5
23066 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23067 echo $ac_n "(cached
) $ac_c" 1>&6
23069 cat > conftest.$ac_ext <<EOF
23070 #line 23071 "configure
"
23071 #include "confdefs.h
"
23074 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23075 { (eval echo configure:23076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23077 if test -z "$ac_err"; then
23079 eval "ac_cv_header_
$ac_safe=yes"
23082 echo "configure
: failed program was
:" >&5
23083 cat conftest.$ac_ext >&5
23085 eval "ac_cv_header_
$ac_safe=no
"
23089 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23090 echo "$ac_t""yes" 1>&6
23091 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23092 cat >> confdefs.h <<EOF
23093 #define $ac_tr_hdr 1
23097 echo "$ac_t""no
" 1>&6
23101 for ac_func in getpagesize
23103 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23104 echo "configure
:23105: checking
for $ac_func" >&5
23105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23106 echo $ac_n "(cached
) $ac_c" 1>&6
23108 cat > conftest.$ac_ext <<EOF
23109 #line 23110 "configure
"
23110 #include "confdefs.h
"
23111 /* System header to define __stub macros and hopefully few prototypes,
23112 which can conflict with char $ac_func(); below. */
23113 #include <assert.h>
23114 /* Override any gcc2 internal prototype to avoid an error. */
23115 /* We use char because int might match the return type of a gcc2
23116 builtin and then its argument prototype would still apply. */
23121 /* The GNU C library defines this for functions which it implements
23122 to always fail with ENOSYS. Some functions are actually named
23123 something starting with __ and the normal name is an alias. */
23124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23132 if { (eval echo configure:23133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23134 eval "ac_cv_func_
$ac_func=yes"
23136 echo "configure
: failed program was
:" >&5
23137 cat conftest.$ac_ext >&5
23139 eval "ac_cv_func_
$ac_func=no
"
23144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23145 echo "$ac_t""yes" 1>&6
23146 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23147 cat >> confdefs.h <<EOF
23148 #define $ac_tr_func 1
23152 echo "$ac_t""no
" 1>&6
23156 echo $ac_n "checking
for working mmap
""...
$ac_c" 1>&6
23157 echo "configure
:23158: checking
for working mmap
" >&5
23158 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
23159 echo $ac_n "(cached
) $ac_c" 1>&6
23161 if test "$cross_compiling" = yes; then
23162 ac_cv_func_mmap_fixed_mapped=no
23164 cat > conftest.$ac_ext <<EOF
23165 #line 23166 "configure
"
23166 #include "confdefs.h
"
23168 /* Thanks to Mike Haertel and Jim Avera for this test.
23169 Here is a matrix of mmap possibilities:
23170 mmap private not fixed
23171 mmap private fixed at somewhere currently unmapped
23172 mmap private fixed at somewhere already mapped
23173 mmap shared not fixed
23174 mmap shared fixed at somewhere currently unmapped
23175 mmap shared fixed at somewhere already mapped
23176 For private mappings, we should verify that changes cannot be read()
23177 back from the file, nor mmap's back from the file at a different
23178 address. (There have been systems where private was not correctly
23179 implemented like the infamous i386 svr4.0, and systems where the
23180 VM page cache was not coherent with the filesystem buffer cache
23181 like early versions of FreeBSD and possibly contemporary NetBSD.)
23182 For shared mappings, we should conversely verify that changes get
23183 propogated back to all the places they're supposed to be.
23185 Grep wants private fixed already mapped.
23186 The main things grep needs to know about mmap are:
23187 * does it exist and is it safe to write into the mmap'd area
23188 * how to use it (BSD variants) */
23189 #include <sys/types.h>
23191 #include <sys/mman.h>
23193 /* This mess was copied from the GNU getpagesize.h. */
23194 #ifndef HAVE_GETPAGESIZE
23195 # ifdef HAVE_UNISTD_H
23196 # include <unistd.h>
23199 /* Assume that all systems that can run configure have sys/param.h. */
23200 # ifndef HAVE_SYS_PARAM_H
23201 # define HAVE_SYS_PARAM_H 1
23204 # ifdef _SC_PAGESIZE
23205 # define getpagesize() sysconf(_SC_PAGESIZE)
23206 # else /* no _SC_PAGESIZE */
23207 # ifdef HAVE_SYS_PARAM_H
23208 # include <sys/param.h>
23209 # ifdef EXEC_PAGESIZE
23210 # define getpagesize() EXEC_PAGESIZE
23211 # else /* no EXEC_PAGESIZE */
23213 # define getpagesize() NBPG * CLSIZE
23216 # endif /* no CLSIZE */
23217 # else /* no NBPG */
23219 # define getpagesize() NBPC
23220 # else /* no NBPC */
23222 # define getpagesize() PAGESIZE
23223 # endif /* PAGESIZE */
23224 # endif /* no NBPC */
23225 # endif /* no NBPG */
23226 # endif /* no EXEC_PAGESIZE */
23227 # else /* no HAVE_SYS_PARAM_H */
23228 # define getpagesize() 8192 /* punt totally */
23229 # endif /* no HAVE_SYS_PARAM_H */
23230 # endif /* no _SC_PAGESIZE */
23232 #endif /* no HAVE_GETPAGESIZE */
23235 extern "C
" { void *malloc(unsigned); }
23243 char *data, *data2, *data3;
23247 pagesize = getpagesize();
23250 * First, make a file with some known garbage in it.
23252 data = malloc(pagesize);
23255 for (i = 0; i < pagesize; ++i)
23256 *(data + i) = rand();
23258 fd = creat("conftestmmap
", 0600);
23261 if (write(fd, data, pagesize) != pagesize)
23266 * Next, try to mmap the file at a fixed address which
23267 * already has something else allocated at it. If we can,
23268 * also make sure that we see the same garbage.
23270 fd = open("conftestmmap
", O_RDWR);
23273 data2 = malloc(2 * pagesize);
23276 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
23277 if (data2 != mmap(data2, pagesize, PROT_READ | PROT_WRITE,
23278 MAP_PRIVATE | MAP_FIXED, fd, 0L))
23280 for (i = 0; i < pagesize; ++i)
23281 if (*(data + i) != *(data2 + i))
23285 * Finally, make sure that changes to the mapped area
23286 * do not percolate back to the file as seen by read().
23287 * (This is a bug on some variants of i386 svr4.0.)
23289 for (i = 0; i < pagesize; ++i)
23290 *(data2 + i) = *(data2 + i) + 1;
23291 data3 = malloc(pagesize);
23294 if (read(fd, data3, pagesize) != pagesize)
23296 for (i = 0; i < pagesize; ++i)
23297 if (*(data + i) != *(data3 + i))
23300 unlink("conftestmmap
");
23305 if { (eval echo configure:23306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
23307 ac_cv_func_mmap_fixed_mapped=yes
23309 echo "configure
: failed program was
:" >&5
23310 cat conftest.$ac_ext >&5
23312 ac_cv_func_mmap_fixed_mapped=no
23319 echo "$ac_t""$ac_cv_func_mmap_fixed_mapped" 1>&6
23320 if test $ac_cv_func_mmap_fixed_mapped = yes; then
23321 cat >> confdefs.h <<\EOF
23322 #define HAVE_MMAP 1
23328 # Establish limits on memory usage during 'make check'
23331 setrlimit_have_headers=yes
23332 for ac_hdr in unistd.h sys/time.h sys/resource.h
23334 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23335 echo $ac_n "checking
for $ac_hdr""...
$ac_c" 1>&6
23336 echo "configure
:23337: checking
for $ac_hdr" >&5
23337 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23338 echo $ac_n "(cached
) $ac_c" 1>&6
23340 cat > conftest.$ac_ext <<EOF
23341 #line 23342 "configure
"
23342 #include "confdefs.h
"
23345 ac_try="$ac_cpp conftest.
$ac_ext >/dev
/null
2>conftest.out
"
23346 { (eval echo configure:23347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23347 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.
${ac_ext}\$
"`
23348 if test -z "$ac_err"; then
23350 eval "ac_cv_header_
$ac_safe=yes"
23353 echo "configure
: failed program was
:" >&5
23354 cat conftest.$ac_ext >&5
23356 eval "ac_cv_header_
$ac_safe=no
"
23360 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23361 echo "$ac_t""yes" 1>&6
23362 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23363 cat >> confdefs.h <<EOF
23364 #define $ac_tr_hdr 1
23368 echo "$ac_t""no
" 1>&6
23369 setrlimit_have_headers=no
23373 # If don't have the headers, then we can't run the tests now, and we
23374 # won't be seeing any of these during testsuite compilation.
23375 if test $setrlimit_have_headers = yes; then
23376 # Can't do these in a loop, else the resulting syntax is wrong.
23378 cat > conftest.$ac_ext <<EOF
23379 #line 23380 "configure
"
23380 #include "confdefs.h
"
23381 #include <unistd.h>
23382 #include <sys/time.h>
23383 #include <sys/resource.h>
23386 int f = RLIMIT_DATA ;
23389 if { (eval echo configure:23390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23393 echo "configure
: failed program was
:" >&5
23394 cat conftest.$ac_ext >&5
23399 cat >> confdefs.h <<EOF
23400 #define HAVE_MEMLIMIT_DATA $glibcpp_mresult
23405 cat > conftest.$ac_ext <<EOF
23406 #line 23407 "configure
"
23407 #include "confdefs.h
"
23408 #include <unistd.h>
23409 #include <sys/time.h>
23410 #include <sys/resource.h>
23413 int f = RLIMIT_RSS ;
23416 if { (eval echo configure:23417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23420 echo "configure
: failed program was
:" >&5
23421 cat conftest.$ac_ext >&5
23426 cat >> confdefs.h <<EOF
23427 #define HAVE_MEMLIMIT_RSS $glibcpp_mresult
23432 cat > conftest.$ac_ext <<EOF
23433 #line 23434 "configure
"
23434 #include "confdefs.h
"
23435 #include <unistd.h>
23436 #include <sys/time.h>
23437 #include <sys/resource.h>
23440 int f = RLIMIT_VMEM ;
23443 if { (eval echo configure:23444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23447 echo "configure
: failed program was
:" >&5
23448 cat conftest.$ac_ext >&5
23453 cat >> confdefs.h <<EOF
23454 #define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
23459 cat > conftest.$ac_ext <<EOF
23460 #line 23461 "configure
"
23461 #include "confdefs.h
"
23462 #include <unistd.h>
23463 #include <sys/time.h>
23464 #include <sys/resource.h>
23467 int f = RLIMIT_AS ;
23470 if { (eval echo configure:23471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23474 echo "configure
: failed program was
:" >&5
23475 cat conftest.$ac_ext >&5
23480 cat >> confdefs.h <<EOF
23481 #define HAVE_MEMLIMIT_AS $glibcpp_mresult
23486 # Check for rlimit, setrlimit.
23487 if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
23488 echo $ac_n "(cached
) $ac_c" 1>&6
23491 cat > conftest.$ac_ext <<EOF
23492 #line 23493 "configure
"
23493 #include "confdefs.h
"
23494 #include <unistd.h>
23495 #include <sys/time.h>
23496 #include <sys/resource.h>
23499 struct rlimit r; setrlimit(0, &r);
23502 if { (eval echo configure:23503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23506 echo "configure
: failed program was
:" >&5
23507 cat conftest.$ac_ext >&5
23517 echo $ac_n "checking
for testsuite memory limit support
""...
$ac_c" 1>&6
23518 echo "configure
:23519: checking
for testsuite memory limit support
" >&5
23519 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
23521 cat >> confdefs.h <<\EOF
23522 #define _GLIBCPP_MEM_LIMITS 1
23528 echo "$ac_t""$ac_mem_limits" 1>&6
23531 # Look for setenv, so that extended locale tests can be performed.
23533 echo $ac_n "checking
for setenv declaration
""...
$ac_c" 1>&6
23534 echo "configure
:23535: checking
for setenv declaration
" >&5
23535 if test x${glibcpp_cv_func_setenv_use+set} != xset; then
23536 if eval "test \"`echo '$''{'glibcpp_cv_func_setenv_use'+set}'`\" = set"; then
23537 echo $ac_n "(cached
) $ac_c" 1>&6
23542 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23543 ac_cpp='$CXXCPP $CPPFLAGS'
23544 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23545 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23546 cross_compiling=$ac_cv_prog_cxx_cross
23548 cat > conftest.$ac_ext <<EOF
23549 #line 23550 "configure
"
23550 #include "confdefs.h
"
23551 #include <stdlib.h>
23556 if { (eval echo configure:23557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23558 glibcpp_cv_func_setenv_use=yes
23560 echo "configure
: failed program was
:" >&5
23561 cat conftest.$ac_ext >&5
23563 glibcpp_cv_func_setenv_use=no
23567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
23568 ac_cpp='$CPP $CPPFLAGS'
23569 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
23570 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
23571 cross_compiling=$ac_cv_prog_cc_cross
23577 echo "$ac_t""$glibcpp_cv_func_setenv_use" 1>&6
23578 if test x$glibcpp_cv_func_setenv_use = x"yes"; then
23579 for ac_func in setenv
23581 echo $ac_n "checking
for $ac_func""...
$ac_c" 1>&6
23582 echo "configure
:23583: checking
for $ac_func" >&5
23583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
23584 echo $ac_n "(cached
) $ac_c" 1>&6
23586 cat > conftest.$ac_ext <<EOF
23587 #line 23588 "configure
"
23588 #include "confdefs.h
"
23589 /* System header to define __stub macros and hopefully few prototypes,
23590 which can conflict with char $ac_func(); below. */
23591 #include <assert.h>
23592 /* Override any gcc2 internal prototype to avoid an error. */
23593 /* We use char because int might match the return type of a gcc2
23594 builtin and then its argument prototype would still apply. */
23599 /* The GNU C library defines this for functions which it implements
23600 to always fail with ENOSYS. Some functions are actually named
23601 something starting with __ and the normal name is an alias. */
23602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23610 if { (eval echo configure:23611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23612 eval "ac_cv_func_
$ac_func=yes"
23614 echo "configure
: failed program was
:" >&5
23615 cat conftest.$ac_ext >&5
23617 eval "ac_cv_func_
$ac_func=no
"
23622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
23623 echo "$ac_t""yes" 1>&6
23624 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
23625 cat >> confdefs.h <<EOF
23626 #define $ac_tr_func 1
23630 echo "$ac_t""no
" 1>&6
23637 # Export file names for ABI checking.
23638 baseline_file="${glibcpp_srcdir}/config
/abi
/${abi_baseline_triplet}/baseline_symbols.txt
"
23642 *-*-cygwin* ) enable_abi_check=no ;;
23643 * ) enable_abi_check=yes ;;
23646 # Don't do ABI checking unless native.
23649 if test x"$build" = x"$host" && test -z "$with_cross_host" \
23650 && test "$enable_abi_check" = yes ; then
23651 GLIBCPP_BUILD_ABI_CHECK_TRUE=
23652 GLIBCPP_BUILD_ABI_CHECK_FALSE='#'
23654 GLIBCPP_BUILD_ABI_CHECK_TRUE='#'
23655 GLIBCPP_BUILD_ABI_CHECK_FALSE=
23660 # This depends on the possibly-skipped linker test above.
23661 # Check whether --enable-symvers or --disable-symvers was given.
23662 if test "${enable_symvers+set}" = set; then
23663 enableval="$enable_symvers"
23664 case "$enableval" in
23665 yes) enable_symvers=yes ;;
23666 no) enable_symvers=no ;;
23667 # other names here, just as sanity checks
23668 #gnu|sun|etcetera) enable_symvers=$enableval ;;
23669 gnu) enable_symvers=$enableval ;;
23670 *) { echo "configure
: error
: Unknown argument to enable
/disable symvers
" 1>&2; exit 1; } ;;
23676 # If we never went through the GLIBCPP_CHECK_LINKER_FEATURES macro, then we
23677 # don't know enough about $LD to do tricks...
23678 if test x$enable_shared = xno ||
23680 test x$glibcpp_gnu_ld_version = x; then
23684 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
23685 if test $enable_symvers != no; then
23686 echo $ac_n "checking
for shared libgcc
""...
$ac_c" 1>&6
23687 echo "configure
:23688: checking
for shared libgcc
" >&5
23688 ac_save_CFLAGS="$CFLAGS"
23690 cat > conftest.$ac_ext <<EOF
23691 #line 23692 "configure
"
23692 #include "confdefs.h
"
23698 if { (eval echo configure:23699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23700 glibcpp_shared_libgcc=yes
23702 echo "configure
: failed program was
:" >&5
23703 cat conftest.$ac_ext >&5
23705 glibcpp_shared_libgcc=no
23708 CFLAGS="$ac_save_CFLAGS"
23709 echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
23712 # For GNU ld, we need at least this version. It's 2.12 in the same format
23713 # as the tested-for version. See GLIBCPP_CHECK_LINKER_FEATURES for more.
23714 glibcpp_min_gnu_ld_version=21200
23716 # Check to see if unspecified "yes" value can win, given results
23718 if test $enable_symvers = yes ; then
23719 if test $with_gnu_ld = yes &&
23720 test $glibcpp_shared_libgcc = yes ;
23722 if test $glibcpp_gnu_ld_version -ge $glibcpp_min_gnu_ld_version ; then
23725 ac_test_CFLAGS="${CFLAGS+set}"
23726 ac_save_CFLAGS="$CFLAGS"
23727 CFLAGS='-shared -Wl,--version-script,conftest.map'
23730 echo 'FOO { global: f[a-z]o; local: *; };' > conftest.map
23732 cat > conftest.$ac_ext <<EOF
23733 #line 23734 "configure
"
23734 #include "confdefs.h
"
23740 if { (eval echo configure:23741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23744 echo "configure
: failed program was
:" >&5
23745 cat conftest.$ac_ext >&5
23748 if test "$ac_test_CFLAGS" = set; then
23749 CFLAGS="$ac_save_CFLAGS"
23751 # this is the suspicious part
23757 # just fail for now
23762 case $enable_symvers in
23764 SYMVER_MAP=config/linker-map.dummy
23767 SYMVER_MAP=config/linker-map.gnu
23768 cat >> confdefs.h <<\EOF
23769 #define _GLIBCPP_SYMVER 1
23778 if test $enable_symvers != no; then
23779 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE=
23780 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE='#'
23782 GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE='#'
23783 GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE=
23785 echo $ac_n "checking versioning on shared library symbols
""...
$ac_c" 1>&6
23786 echo "configure
:23787: checking versioning on shared library symbols
" >&5
23787 echo "$ac_t""$enable_symvers" 1>&6
23790 # Propagate the target-specific source directories through the build chain.
23791 # (Nothing currently uses cpu_include_dir directly; only ATOMICITYH
23792 # uses it, and it only gets used in this file.)
23793 OS_INC_SRCDIR=config/${os_include_dir}
23794 ATOMICITY_INC_SRCDIR=config/${ATOMICITYH}
23798 # Set up cross-compile flags
23801 if test "$CANADIAN" = yes; then
23809 cat > confcache <<\EOF
23810 # This file is a shell script that caches the results of configure
23811 # tests run on this system so they can be shared between configure
23812 # scripts and configure runs. It is not useful on other systems.
23813 # If it contains results you don't want to keep, you may remove or edit it.
23815 # By default, configure uses ./config.cache as the cache file,
23816 # creating it if it does not exist already. You can give configure
23817 # the --cache-file=FILE option to use a different cache file; that is
23818 # what configure does when it calls configure scripts in
23819 # subdirectories, so they share the cache.
23820 # Giving --cache-file=/dev/null disables caching, for debugging configure.
23821 # config.status only pays attention to the cache file if you give it the
23822 # --recheck option to rerun configure.
23825 # The following way of writing the cache mishandles newlines in values,
23826 # but we know of no workaround that is simple, portable, and efficient.
23827 # So, don't put newlines in cache variables' values.
23828 # Ultrix sh set writes to stderr and can't be redirected directly,
23829 # and sets the high bit in the cache file unless we assign to the vars.
23831 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23833 # `set' does not quote correctly, so add quotes (double-quote substitution
23834 # turns \\\\ into \\, and sed turns \\ into \).
23836 -e "s
/'/'\\\\''/g
" \
23837 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
23840 # `set' quotes correctly as required by POSIX, so do not add quotes.
23841 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
23844 if cmp -s $cache_file confcache; then
23847 if test -w $cache_file; then
23848 echo "updating cache
$cache_file"
23849 cat confcache > $cache_file
23851 echo "not updating unwritable cache
$cache_file"
23857 if test "${multilib}" = "yes"; then
23858 multilib_arg="--enable-multilib"
23863 # Export all the install information
23865 # Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
23866 # exported correctly in GLIBCPP_CONFIGURE.
23867 glibcpp_toolexecdir=no
23868 glibcpp_toolexeclibdir=no
23869 glibcpp_prefixdir=${prefix}
23871 # Process the option --with-gxx-include-dir=<path to include-files directory>
23872 echo $ac_n "checking
for --with-gxx-include-dir""...
$ac_c" 1>&6
23873 echo "configure
:23874: checking
for --with-gxx-include-dir" >&5
23874 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
23875 if test "${with_gxx_include_dir+set}" = set; then
23876 withval="$with_gxx_include_dir"
23877 case "${withval}" in
23879 { echo "configure
: error
: Missing directory
for --with-gxx-include-dir" 1>&2; exit 1; }
23886 gxx_include_dir=${withval}
23893 echo "$ac_t""$gxx_include_dir" 1>&6
23895 # Process the option "--enable-version-specific-runtime-libs"
23896 echo $ac_n "checking
for --enable-version-specific-runtime-libs""...
$ac_c" 1>&6
23897 echo "configure
:23898: checking
for --enable-version-specific-runtime-libs" >&5
23898 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
23899 if test "${enable_version_specific_runtime_libs+set}" = set; then
23900 enableval="$enable_version_specific_runtime_libs"
23901 case "$enableval" in
23902 yes) version_specific_libs=yes ;;
23903 no) version_specific_libs=no ;;
23904 *) { echo "configure
: error
: Unknown argument to enable
/disable version-specific libs
" 1>&2; exit 1; };;
23907 version_specific_libs=no
23909 # Option set, now we can test it.
23910 echo "$ac_t""$version_specific_libs" 1>&6
23912 # Default case for install directory for include files.
23913 if test $version_specific_libs = no && test $gxx_include_dir = no; then
23914 gxx_include_dir='$(prefix)'/include/c++/${gcc_version}
23917 # Version-specific runtime libs processing.
23918 if test $version_specific_libs = yes; then
23919 # Need the gcc compiler version to know where to install libraries
23920 # and header files if --enable-version-specific-runtime-libs option
23922 if test x"$gxx_include_dir" = x"no
"; then
23923 gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/c++
23925 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23926 glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
23929 # Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
23930 # Install a library built with a cross compiler in tooldir, not libdir.
23931 if test x"$glibcpp_toolexecdir" = x"no
"; then
23932 if test -n "$with_cross_host" &&
23933 test x"$with_cross_host" != x"no
"; then
23934 glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
23935 glibcpp_toolexeclibdir='$(toolexecdir)/lib'
23937 glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
23938 glibcpp_toolexeclibdir='$(libdir)'
23940 multi_os_directory=`$CC -print-multi-os-directory`
23941 case $multi_os_directory in
23942 .) ;; # Avoid trailing /.
23943 *) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;;
23947 echo $ac_n "checking
for install location
""...
$ac_c" 1>&6
23948 echo "configure
:23949: checking
for install location
" >&5
23949 echo "$ac_t""$gxx_include_dir" 1>&6
23957 # Export all the include and flag information to Makefiles.
23959 # Root level of the build directory include sources.
23960 GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include
"
23962 # Passed down for canadian crosses.
23963 if test x"$CANADIAN" = xyes; then
23964 TOPLEVEL_INCLUDES='-I$(includedir)'
23967 LIBMATH_INCLUDES='-I$(top_srcdir)/libmath'
23969 LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
23971 if test x"$need_libio" = xyes; then
23972 LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
23976 # Now, export this to all the little Makefiles....
23983 # Optimization flags that are probably a good idea for thrill-seekers. Just
23984 # uncomment the lines below and make, everything else is ready to go...
23985 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
23989 WARN_FLAGS='-Wall -Wno-format -W -Wwrite-strings -Winline'
23993 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
23994 grep "enable shared
" > /dev/null; then
23995 LIBSUPCXX_PICFLAGS=-prefer-pic
23997 LIBSUPCXX_PICFLAGS=
24001 # Generate the various Makefiles, include files, and scripts.
24002 # NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
24003 # and libsupc++/Makefile.am so that multilib installs will end up
24004 # installed in the correct place. To work around this not being passed
24005 # down from config-ml.in -> top_srcdir/Makefile.am ->
24006 # top_srcdir/{src,libsupc++}/Makefile.am, manually append it here.
24008 cat > confcache <<\EOF
24009 # This file is a shell script that caches the results of configure
24010 # tests run on this system so they can be shared between configure
24011 # scripts and configure runs. It is not useful on other systems.
24012 # If it contains results you don't want to keep, you may remove or edit it.
24014 # By default, configure uses ./config.cache as the cache file,
24015 # creating it if it does not exist already. You can give configure
24016 # the --cache-file=FILE option to use a different cache file; that is
24017 # what configure does when it calls configure scripts in
24018 # subdirectories, so they share the cache.
24019 # Giving --cache-file=/dev/null disables caching, for debugging configure.
24020 # config.status only pays attention to the cache file if you give it the
24021 # --recheck option to rerun configure.
24024 # The following way of writing the cache mishandles newlines in values,
24025 # but we know of no workaround that is simple, portable, and efficient.
24026 # So, don't put newlines in cache variables' values.
24027 # Ultrix sh set writes to stderr and can't be redirected directly,
24028 # and sets the high bit in the cache file unless we assign to the vars.
24030 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24032 # `set' does not quote correctly, so add quotes (double-quote substitution
24033 # turns \\\\ into \\, and sed turns \\ into \).
24035 -e "s
/'/'\\\\''/g
" \
24036 -e "s
/^
\\([a-zA-Z0-9_
]*_cv_
[a-zA-Z0-9_
]*\\)=\\(.
*\\)/\\1=\
${\\1='\\2'}/p
"
24039 # `set' quotes correctly as required by POSIX, so do not add quotes.
24040 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
24043 if cmp -s $cache_file confcache; then
24046 if test -w $cache_file; then
24047 echo "updating cache
$cache_file"
24048 cat confcache > $cache_file
24050 echo "not updating unwritable cache
$cache_file"
24055 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
24057 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
24058 # Let make expand exec_prefix.
24059 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
24061 # Any assignment to VPATH causes Sun make to only execute
24062 # the first set of double-colon rules, so remove it if not needed.
24063 # If there is a colon in the path, we need to keep it.
24064 if test "x
$srcdir" = x.; then
24065 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
24068 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
24070 DEFS=-DHAVE_CONFIG_H
24072 # Without the ".
/", some shells look in PATH for config.status.
24073 : ${CONFIG_STATUS=./config.status}
24075 echo creating $CONFIG_STATUS
24076 rm -f $CONFIG_STATUS
24077 cat > $CONFIG_STATUS <<EOF
24079 # Generated automatically by configure.
24080 # Run this file to recreate the current configuration.
24081 # This directory was configured as follows,
24082 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
24084 # $0 $ac_configure_args
24086 # Compiler output produced by configure, useful for debugging
24087 # configure, is in ./config.log if it exists.
24089 ac_cs_usage="Usage
: $CONFIG_STATUS [--recheck] [--version] [--help]"
24092 case "\
$ac_option" in
24093 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24094 echo "running \
${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
24095 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
24096 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
24097 echo "$CONFIG_STATUS generated by autoconf version
2.13"
24099 -help | --help | --hel | --he | --h)
24100 echo "\
$ac_cs_usage"; exit 0 ;;
24101 *) echo "\
$ac_cs_usage"; exit 1 ;;
24105 ac_given_srcdir=$srcdir
24106 ac_given_INSTALL="$INSTALL"
24108 trap 'rm -fr `echo "Makefile \
24109 include
/Makefile src
/Makefile \
24110 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24111 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags config.h
" | sed "s
/:[^
]*//g
"` conftest*; exit 1' 1 2 15
24113 cat >> $CONFIG_STATUS <<EOF
24115 # Protect against being on the right side of a sed subst in config.status.
24116 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
24117 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
24121 s%@CFLAGS@%$CFLAGS%g
24122 s%@CPPFLAGS@%$CPPFLAGS%g
24123 s%@CXXFLAGS@%$CXXFLAGS%g
24124 s%@FFLAGS@%$FFLAGS%g
24126 s%@LDFLAGS@%$LDFLAGS%g
24128 s%@exec_prefix@%$exec_prefix%g
24129 s%@prefix@%$prefix%g
24130 s%@program_transform_name@%$program_transform_name%g
24131 s%@bindir@%$bindir%g
24132 s%@sbindir@%$sbindir%g
24133 s%@libexecdir@%$libexecdir%g
24134 s%@datadir@%$datadir%g
24135 s%@sysconfdir@%$sysconfdir%g
24136 s%@sharedstatedir@%$sharedstatedir%g
24137 s%@localstatedir@%$localstatedir%g
24138 s%@libdir@%$libdir%g
24139 s%@includedir@%$includedir%g
24140 s%@oldincludedir@%$oldincludedir%g
24141 s%@infodir@%$infodir%g
24142 s%@mandir@%$mandir%g
24143 s%@PACKAGE@%$PACKAGE%g
24144 s%@libtool_VERSION@%$libtool_VERSION%g
24145 s%@toplevel_srcdir@%$toplevel_srcdir%g
24147 s%@host_alias@%$host_alias%g
24148 s%@host_cpu@%$host_cpu%g
24149 s%@host_vendor@%$host_vendor%g
24150 s%@host_os@%$host_os%g
24151 s%@target@%$target%g
24152 s%@target_alias@%$target_alias%g
24153 s%@target_cpu@%$target_cpu%g
24154 s%@target_vendor@%$target_vendor%g
24155 s%@target_os@%$target_os%g
24157 s%@build_alias@%$build_alias%g
24158 s%@build_cpu@%$build_cpu%g
24159 s%@build_vendor@%$build_vendor%g
24160 s%@build_os@%$build_os%g
24161 s%@glibcpp_builddir@%$glibcpp_builddir%g
24162 s%@glibcpp_srcdir@%$glibcpp_srcdir%g
24165 s%@glibcpp_basedir@%$glibcpp_basedir%g
24167 s%@glibcpp_CXX@%$glibcpp_CXX%g
24170 s%@RANLIB@%$RANLIB%g
24171 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
24172 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
24173 s%@INSTALL_DATA@%$INSTALL_DATA%g
24174 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
24175 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
24177 s%@EXEEXT@%$EXEEXT%g
24178 s%@VERSION@%$VERSION%g
24179 s%@ACLOCAL@%$ACLOCAL%g
24180 s%@AUTOCONF@%$AUTOCONF%g
24181 s%@AUTOMAKE@%$AUTOMAKE%g
24182 s%@AUTOHEADER@%$AUTOHEADER%g
24183 s%@MAKEINFO@%$MAKEINFO%g
24184 s%@SET_MAKE@%$SET_MAKE%g
24185 s%@OBJEXT@%$OBJEXT%g
24187 s%@LIBTOOL@%$LIBTOOL%g
24188 s%@CXXCPP@%$CXXCPP%g
24189 s%@enable_shared@%$enable_shared%g
24190 s%@enable_static@%$enable_static%g
24191 s%@ifGNUmake@%$ifGNUmake%g
24192 s%@GLIBCPP_BUILD_PCH_TRUE@%$GLIBCPP_BUILD_PCH_TRUE%g
24193 s%@GLIBCPP_BUILD_PCH_FALSE@%$GLIBCPP_BUILD_PCH_FALSE%g
24195 s%@CSTDIO_H@%$CSTDIO_H%g
24196 s%@BASIC_FILE_H@%$BASIC_FILE_H%g
24197 s%@BASIC_FILE_CC@%$BASIC_FILE_CC%g
24198 s%@CCODECVT_C@%$CCODECVT_C%g
24199 s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
24200 s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
24201 s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
24202 s%@GLIBCPP_NEED_LIBIO_FALSE@%$GLIBCPP_NEED_LIBIO_FALSE%g
24203 s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
24204 s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
24205 s%@libio_la@%$libio_la%g
24206 s%@check_msgfmt@%$check_msgfmt%g
24207 s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
24208 s%@glibcpp_POFILES@%$glibcpp_POFILES%g
24209 s%@glibcpp_localedir@%$glibcpp_localedir%g
24210 s%@USE_NLS@%$USE_NLS%g
24211 s%@CLOCALE_H@%$CLOCALE_H%g
24212 s%@CCODECVT_H@%$CCODECVT_H%g
24213 s%@CMESSAGES_H@%$CMESSAGES_H%g
24214 s%@CCODECVT_CC@%$CCODECVT_CC%g
24215 s%@CCOLLATE_CC@%$CCOLLATE_CC%g
24216 s%@CCTYPE_CC@%$CCTYPE_CC%g
24217 s%@CMESSAGES_CC@%$CMESSAGES_CC%g
24218 s%@CMONEY_CC@%$CMONEY_CC%g
24219 s%@CNUMERIC_CC@%$CNUMERIC_CC%g
24220 s%@CTIME_H@%$CTIME_H%g
24221 s%@CTIME_CC@%$CTIME_CC%g
24222 s%@CLOCALE_CC@%$CLOCALE_CC%g
24223 s%@CLOCALE_INTERNAL_H@%$CLOCALE_INTERNAL_H%g
24224 s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
24225 s%@GLIBCPP_C_HEADERS_C_TRUE@%$GLIBCPP_C_HEADERS_C_TRUE%g
24226 s%@GLIBCPP_C_HEADERS_C_FALSE@%$GLIBCPP_C_HEADERS_C_FALSE%g
24227 s%@GLIBCPP_C_HEADERS_C_STD_TRUE@%$GLIBCPP_C_HEADERS_C_STD_TRUE%g
24228 s%@GLIBCPP_C_HEADERS_C_STD_FALSE@%$GLIBCPP_C_HEADERS_C_STD_FALSE%g
24229 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_TRUE%g
24230 s%@GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE@%$GLIBCPP_C_HEADERS_COMPATIBILITY_FALSE%g
24231 s%@glibcpp_thread_h@%$glibcpp_thread_h%g
24232 s%@LIBUNWIND_FLAG@%$LIBUNWIND_FLAG%g
24233 s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
24234 s%@GLIBCPP_BUILD_DEBUG_TRUE@%$GLIBCPP_BUILD_DEBUG_TRUE%g
24235 s%@GLIBCPP_BUILD_DEBUG_FALSE@%$GLIBCPP_BUILD_DEBUG_FALSE%g
24236 s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
24237 s%@SECTION_FLAGS@%$SECTION_FLAGS%g
24238 s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
24239 s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
24240 s%@LIBMATHOBJS@%$LIBMATHOBJS%g
24241 s%@GLIBCPP_BUILD_LIBMATH_TRUE@%$GLIBCPP_BUILD_LIBMATH_TRUE%g
24242 s%@GLIBCPP_BUILD_LIBMATH_FALSE@%$GLIBCPP_BUILD_LIBMATH_FALSE%g
24243 s%@GLIBCPP_TEST_WCHAR_T_TRUE@%$GLIBCPP_TEST_WCHAR_T_TRUE%g
24244 s%@GLIBCPP_TEST_WCHAR_T_FALSE@%$GLIBCPP_TEST_WCHAR_T_FALSE%g
24245 s%@WERROR@%$WERROR%g
24246 s%@baseline_file@%$baseline_file%g
24247 s%@GLIBCPP_BUILD_ABI_CHECK_TRUE@%$GLIBCPP_BUILD_ABI_CHECK_TRUE%g
24248 s%@GLIBCPP_BUILD_ABI_CHECK_FALSE@%$GLIBCPP_BUILD_ABI_CHECK_FALSE%g
24249 s%@SYMVER_MAP@%$SYMVER_MAP%g
24250 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE%g
24251 s%@GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@%$GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE%g
24252 s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
24253 s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
24254 s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
24255 s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
24256 s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
24257 s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
24258 s%@gxx_include_dir@%$gxx_include_dir%g
24259 s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
24260 s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
24261 s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
24262 s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
24263 s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
24264 s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
24265 s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
24266 s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
24267 s%@WARN_FLAGS@%$WARN_FLAGS%g
24268 s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
24273 cat >> $CONFIG_STATUS <<\EOF
24275 # Split the substitutions into bite-sized pieces for seds with
24276 # small command number limits, like on Digital OSF/1 and HP-UX.
24277 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
24278 ac_file=1 # Number of current file.
24279 ac_beg=1 # First line for current file.
24280 ac_end=$ac_max_sed_cmds # Line after last line for current file.
24283 while $ac_more_lines; do
24284 if test $ac_beg -gt 1; then
24285 sed "1,${ac_beg}d
; ${ac_end}q
" conftest.subs > conftest.s$ac_file
24287 sed "${ac_end}q
" conftest.subs > conftest.s$ac_file
24289 if test ! -s conftest.s$ac_file; then
24290 ac_more_lines=false
24291 rm -f conftest.s$ac_file
24293 if test -z "$ac_sed_cmds"; then
24294 ac_sed_cmds="sed -f conftest.s
$ac_file"
24296 ac_sed_cmds="$ac_sed_cmds |
sed -f conftest.s
$ac_file"
24298 ac_file=`expr $ac_file + 1`
24300 ac_end=`expr $ac_end + $ac_max_sed_cmds`
24303 if test -z "$ac_sed_cmds"; then
24308 cat >> $CONFIG_STATUS <<EOF
24310 CONFIG_FILES=\${CONFIG_FILES-"Makefile \
24311 include
/Makefile src
/Makefile \
24312 libmath
/Makefile libio
/Makefile libsupc
++/Makefile \
24313 po
/Makefile testsuite
/Makefile mkcheck testsuite_flags
"}
24315 cat >> $CONFIG_STATUS <<\EOF
24316 for ac_file in .. $CONFIG_FILES; do if test "x
$ac_file" != x..; then
24317 # Support "outfile
[:infile
[:infile...
]]", defaulting infile="outfile.
in".
24319 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
24320 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24321 *) ac_file_in="${ac_file}.
in" ;;
24324 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
24326 # Remove last slash and all that follows it. Not all systems have dirname.
24327 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
24328 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24329 # The file is in a subdirectory.
24330 test ! -d "$ac_dir" && mkdir "$ac_dir"
24331 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
24332 # A "..
/" for each directory in $ac_dir_suffix.
24333 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
24335 ac_dir_suffix= ac_dots=
24338 case "$ac_given_srcdir" in
24340 if test -z "$ac_dots"; then top_srcdir=.
24341 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
24342 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
24343 *) # Relative path.
24344 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
24345 top_srcdir="$ac_dots$ac_given_srcdir" ;;
24348 case "$ac_given_INSTALL" in
24349 [/$]*) INSTALL="$ac_given_INSTALL" ;;
24350 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
24353 echo creating "$ac_file"
24355 configure_input="Generated automatically from
`echo $ac_file_in|sed 's%.*/%%'` by configure.
"
24357 *Makefile*) ac_comsub="1i
\\
24358 # $configure_input" ;;
24362 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24364 s%@configure_input@%$configure_input%g
24365 s%@srcdir@%$srcdir%g
24366 s%@top_srcdir@%$top_srcdir%g
24367 s%@INSTALL@%$INSTALL%g
24368 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
24372 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24373 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24375 # ac_d sets the value in "#define NAME VALUE" lines.
24376 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24377 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
24380 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
24381 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24382 ac_uB
='\([ ]\)%\1#\2define\3'
24385 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24386 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24387 ac_eB
='$%\1#\2define\3'
24391 if test "${CONFIG_HEADERS+set}" != set; then
24393 cat >> $CONFIG_STATUS <<EOF
24394 CONFIG_HEADERS="config.h"
24396 cat >> $CONFIG_STATUS <<\EOF
24398 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
24399 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24401 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
24402 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24403 *) ac_file_in
="${ac_file}.in" ;;
24406 echo creating
$ac_file
24408 rm -f conftest.frag conftest.
in conftest.out
24409 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
24410 cat $ac_file_inputs > conftest.
in
24414 # Transform confdefs.h into a sed script conftest.vals that substitutes
24415 # the proper values into config.h.in to produce config.h. And first:
24416 # Protect against being on the right side of a sed subst in config.status.
24417 # Protect against being in an unquoted here document in config.status.
24418 rm -f conftest.vals
24419 cat > conftest.hdr
<<\EOF
24422 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
24426 sed -n -f conftest.hdr confdefs.h > conftest.vals
24429 # This sed command replaces #undef with comments. This is necessary, for
24430 # example, in the case of _POSIX_SOURCE, which is predefined and required
24431 # on some systems where configure will not decide to define it.
24432 cat >> conftest.vals <<\EOF
24433 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
24436 # Break up conftest.vals because some shells have a limit on
24437 # the size of here documents, and old seds have small limits too.
24439 rm -f conftest.tail
24442 ac_lines=`grep -c . conftest.vals
`
24443 # grep -c gives empty output for an empty file on some AIX systems.
24444 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
24445 # Write a limited-size here document to conftest.frag.
24446 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
24447 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
24449 sed -f conftest.frag conftest.in > conftest.out
24451 mv conftest.out conftest.in
24452 ' >> $CONFIG_STATUS
24453 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
24454 rm -f conftest.vals
24455 mv conftest.tail conftest.vals
24457 rm -f conftest.vals
24459 cat >> $CONFIG_STATUS <<\EOF
24460 rm -f conftest.frag conftest.h
24461 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
24462 cat conftest.in >> conftest.h
24464 if cmp -s $ac_file conftest.h 2>/dev/null; then
24465 echo "$ac_file is unchanged"
24468 # Remove last slash and all that follows it. Not all systems have dirname.
24469 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
24470 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
24471 # The file is in a subdirectory.
24472 test ! -d "$ac_dir" && mkdir "$ac_dir"
24475 mv conftest.h $ac_file
24480 cat >> $CONFIG_STATUS <<EOF
24485 with_target_subdir=${with_target_subdir}
24486 with_build_subdir=${with_build_subdir}
24487 with_multisubdir=${with_multisubdir}
24488 ac_configure_args="${multilib_arg} ${ac_configure_args}"
24489 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
24490 glibcpp_basedir=${glibcpp_basedir}
24493 ORIGINAL_LD_FOR_MULTILIBS="${ORIGINAL_LD_FOR_MULTILIBS}"
24496 cat >> $CONFIG_STATUS <<\EOF
24497 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24498 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
24499 if test -n "$CONFIG_FILES"; then
24500 if test -n "${with_build_subdir}" || test -n "${with_target_subdir}"; then
24501 LD="${ORIGINAL_LD_FOR_MULTILIBS}"
24502 # Ony modify Makefiles that are just being created.
24503 case " $CONFIG_FILES" in
24505 ac_file=Makefile . ${glibcpp_basedir}/../config-ml.in
24508 case $CONFIG_FILES in
24510 grep '^MULTISUBDIR =' Makefile >> src/Makefile
24513 case $CONFIG_FILES in
24514 *libsupc++/Makefile*)
24515 grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
24521 chmod +x testsuite_flags
24524 chmod +x $CONFIG_STATUS
24525 rm -fr confdefs* $ac_clean_files
24526 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
24530 # Sanity checking & User-visible messages.
24531 # Checks down here, otherwise they get scrolled off before
24532 # the user will notice.
24534 # Trying to get more people to read documentation. Possibly remove
24535 # check and warn all the time. There is no "informational" AC_MSG_
24536 # macro, so these are going to be printed even when --quiet/--silent
24538 if test ! -f stamp-sanity-warned; then
24539 touch stamp-sanity-warned
24541 echo "Please make certain that you read the installation information here:"
24542 echo " faster => ${srcdir}/docs/html/install.html"
24543 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/install.html>"
24545 echo "and the configuration information here:"
24546 echo " faster => ${srcdir}/docs/html/configopts.html"
24547 echo " slower => <URL:http://gcc.gnu.org/onlinedocs/libstdc++/configopts.html>"
24549 echo "before proceeding with ${_cv_gnu_make_command}."