diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-04 05:06:32 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-10-04 05:06:32 +0000 |
commit | 8e34227a1abb75cdfb148bf2b1bcc1bd418842aa (patch) | |
tree | cb166d845d61908cdc869fcd7da7ed653a187423 | |
parent | 5482a0c978c5bfecc1d32e0a3301e68cc94d4017 (diff) | |
download | ppe42-gcc-8e34227a1abb75cdfb148bf2b1bcc1bd418842aa.tar.gz ppe42-gcc-8e34227a1abb75cdfb148bf2b1bcc1bd418842aa.zip |
2000-10-02 Steven King <sxking@uswest.net>
* mkcshadow: Fixed script to output proper include guard.
* bits/char_traits.h: Cleaned up types in char_traits<char> functions.
* libio/_G_config.h: Hacked to make work with shadow heraders.
* shadow/*: Hacked to make shadow headers work.
2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
Self-compile with shadow headers.
* acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
it becomes the default way the library is built.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
* config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
* config/gnu-linux/ctype.cc (ctype): Use it.
* src/localename.cc (locale::_Impl::_M_replace_categories): Remove
call to assert.
* src/locale.cc: Explicitly cast mbstate_t to void* in calls to
memset. This should not be necessary, but an ambiguous overload
with it in.
* shadow/bits/std_cwchar.h: Fix.
* shadow/wchar.h: Fix.
* config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
enums into namespace std:: for ctype_base enum. Other OS types
will have to do this as well.
* config/gnu-linux/ctype.cc (ctype): Inject ctype data into
namespace std, in particular __ctype_toupper, __ctype_tolower,
__ctype_b.
* shadow/iolibio.h: New file.
* shadow/bits/wrap_iolibio.h: New file.
* shadow/libioP.h: New file.
* shadow/bits/wrap_libioP.h: New file.
* shadow/bits/wrap_fcntl.h: New file.
* shadow/fcntl.h: New file.
* shadow/iconv.h: New file. Inject iconv names into the global
namespace, unmangled for the moment.
* shadow/bits/wrap_iconv.h: New file.
* shadow/unistd.h: Remove. Useless.
* shadow/bits/wrap_unistd.h: Remove.
* src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
* src/Makefile.in: Regenerate.
* config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
* shadow/libio.h: Fix.
* shadow/bits/wrap_libio.h: Fix.
* shadow/bits/std_clocale.h: Remove typedef struct construct,
which will not compile.
* shadow/bits/std_ctime.h: Same.
* shadow/pthread.h: New file. Put pthreads types and functions
into global scope, which is probably not the correct long-term
solution but has to be done at the moment before libio wrappers
can even be started.
* shadow/bits/wrap_pthread.h: New file.
* bits/std_ios.h: Formatting tweak.
* shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
tests for compiler features.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
redefined.
* libio/libioP.h: Comment out fcntl.h include.
* shadow/math.h: Add in float and long declarations, as per ISO C9X.
* bits/c++config: Define _ISOC99_SOURCE.
* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
CSHADOWFLAGS, as well as _ISOC99_SOURCE.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
(CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
(CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
std or shadow directories.
(LTCXXCOMPILE): Same.
(INCLUDES): Add $(top_builddir) before $(top_srcdir).
(AC_CXXFLAGS): Add CSHADOWFLAGS.
* src/Makefile.in: Regenerate.
* src/complex.cc (FCT): Change ::name to name.
* src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
* src/complexf.cc (FCT): Same.
* src/complexf.cc: Remove FCT define, as things are properly
overloaded in the std namespace with the shadow headers.
* src/complexl.cc: Same.
* src/complex.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36707 138bc75d-0d04-0410-961f-82ee72b054a4
62 files changed, 3505 insertions, 3531 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e9543b74f51..84d18d06c48 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,104 @@ +2000-10-02 Steven King <sxking@uswest.net> + + * mkcshadow: Fixed script to output proper include guard. + * bits/char_traits.h: Cleaned up types in char_traits<char> functions. + * libio/_G_config.h: Hacked to make work with shadow heraders. + * shadow/*: Hacked to make shadow headers work. + +2000-10-02 Benjamin Kosnik <bkoz@purist.soma.redhat.com> + + Self-compile with shadow headers. + * acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually, + like _GLIBCPP_USE_NAMESPACES before it, this macro will die when + it becomes the default way the library is built. + * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro. + * config/gnu-linux/bits/ctype_base.h (ctype_base): Use it. + * config/gnu-linux/ctype.cc (ctype): Use it. + + * src/localename.cc (locale::_Impl::_M_replace_categories): Remove + call to assert. + * src/locale.cc: Explicitly cast mbstate_t to void* in calls to + memset. This should not be necessary, but an ambiguous overload + with it in. + + * shadow/bits/std_cwchar.h: Fix. + * shadow/wchar.h: Fix. + + * config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype + enums into namespace std:: for ctype_base enum. Other OS types + will have to do this as well. + * config/gnu-linux/ctype.cc (ctype): Inject ctype data into + namespace std, in particular __ctype_toupper, __ctype_tolower, + __ctype_b. + + * shadow/iolibio.h: New file. + * shadow/bits/wrap_iolibio.h: New file. + * shadow/libioP.h: New file. + * shadow/bits/wrap_libioP.h: New file. + * shadow/bits/wrap_fcntl.h: New file. + * shadow/fcntl.h: New file. + * shadow/iconv.h: New file. Inject iconv names into the global + namespace, unmangled for the moment. + * shadow/bits/wrap_iconv.h: New file. + * shadow/unistd.h: Remove. Useless. + * shadow/bits/wrap_unistd.h: Remove. + + * src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h. + * src/Makefile.in: Regenerate. + + * config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl. + + * shadow/libio.h: Fix. + * shadow/bits/wrap_libio.h: Fix. + + * shadow/bits/std_clocale.h: Remove typedef struct construct, + which will not compile. + * shadow/bits/std_ctime.h: Same. + + * shadow/pthread.h: New file. Put pthreads types and functions + into global scope, which is probably not the correct long-term + solution but has to be done at the moment before libio wrappers + can even be started. + * shadow/bits/wrap_pthread.h: New file. + + * bits/std_ios.h: Formatting tweak. + * shadow/bits/std_cstdio.h: Format. Remove extraneous bits. + + * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to + tests for compiler features. + * aclocal.m4: Regenerate. + * configure: Regenerate. + + * config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET + redefined. + * libio/libioP.h: Comment out fcntl.h include. + + * shadow/math.h: Add in float and long declarations, as per ISO C9X. + + * bits/c++config: Define _ISOC99_SOURCE. + + * acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to + CSHADOWFLAGS, as well as _ISOC99_SOURCE. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * src/Makefile.am (CSHADOW_INCLUDES): Enable, again. + (CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir. + (CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before + std or shadow directories. + (LTCXXCOMPILE): Same. + (INCLUDES): Add $(top_builddir) before $(top_srcdir). + (AC_CXXFLAGS): Add CSHADOWFLAGS. + * src/Makefile.in: Regenerate. + + * src/complex.cc (FCT): Change ::name to name. + * src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here. + * src/complexf.cc (FCT): Same. + + * src/complexf.cc: Remove FCT define, as things are properly + overloaded in the std namespace with the shadow headers. + * src/complexl.cc: Same. + * src/complex.cc: Same. + 2000-09-25 Phil Edwards <pme@sources.redhat.com> * docs/documentation.html: Add link to... diff --git a/libstdc++-v3/acconfig.h b/libstdc++-v3/acconfig.h index 01aca88544b..30badd911d1 100644 --- a/libstdc++-v3/acconfig.h +++ b/libstdc++-v3/acconfig.h @@ -3,6 +3,9 @@ // Include support for 'long long' and 'unsigned long long'. #undef _GLIBCPP_USE_LONG_LONG +// Include support for shadow headers, ie --enable-cshadow-headers. +#undef _GLIBCPP_USE_SHADOW_HEADERS + // Define if the host has a type mbstate_t defined in // wchar.h, as required by 21.1.3.1. Some systems, namely // hppa-hp-hpux10.20 do not meet this requirement, and must be worked diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 29e9d7e682d..860490c9c55 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -205,7 +205,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES, [ # Check for more sophisticated diagnostic control. AC_MSG_CHECKING([for g++ that supports -fdiagnostics-show-location=once]) - CXXFLAGS='-fdiagnostics-show-location=once' + CXXFLAGS='-Werror -fdiagnostics-show-location=once' AC_TRY_COMPILE(, [int foo; ], [ac_gabydiags=yes], [ac_gabydiags=no]) if test "$ac_test_CXXFLAGS" = set; then @@ -221,7 +221,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES, [ # Check for -ffunction-sections -fdata-sections AC_MSG_CHECKING([for g++ that supports -ffunction-sections -fdata-sections]) - CXXFLAGS='-ffunction-sections -fdata-sections' + CXXFLAGS='-Werror -ffunction-sections -fdata-sections' AC_TRY_COMPILE(, [int foo; ], [ac_fdsections=yes], [ac_fdsections=no]) if test "$ac_test_CXXFLAGS" = set; then @@ -1446,10 +1446,11 @@ changequote([, ]) AC_MSG_RESULT($enable_cshadow_headers) dnl Option parsed, now set things appropriately - dnl CSHADOWFLAGS is currently unused, but may be useful in the future. + dnl NB: these things may be duplicated in c++config.h as well. case "$enable_cshadow_headers" in yes) - CSHADOWFLAGS="" + CSHADOWFLAGS="-fno-builtin" + AC_DEFINE(_GLIBCPP_USE_SHADOW_HEADERS) ;; no) CSHADOWFLAGS="" diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index 43bfaa2f171..e827cce9431 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -217,7 +217,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES, [ # Check for more sophisticated diagnostic control. AC_MSG_CHECKING([for g++ that supports -fdiagnostics-show-location=once]) - CXXFLAGS='-fdiagnostics-show-location=once' + CXXFLAGS='-Werror -fdiagnostics-show-location=once' AC_TRY_COMPILE(, [int foo; ], [ac_gabydiags=yes], [ac_gabydiags=no]) if test "$ac_test_CXXFLAGS" = set; then @@ -233,7 +233,7 @@ AC_DEFUN(GLIBCPP_CHECK_COMPILER_FEATURES, [ # Check for -ffunction-sections -fdata-sections AC_MSG_CHECKING([for g++ that supports -ffunction-sections -fdata-sections]) - CXXFLAGS='-ffunction-sections -fdata-sections' + CXXFLAGS='-Werror -ffunction-sections -fdata-sections' AC_TRY_COMPILE(, [int foo; ], [ac_fdsections=yes], [ac_fdsections=no]) if test "$ac_test_CXXFLAGS" = set; then @@ -1458,10 +1458,11 @@ changequote([, ]) AC_MSG_RESULT($enable_cshadow_headers) dnl Option parsed, now set things appropriately - dnl CSHADOWFLAGS is currently unused, but may be useful in the future. + dnl NB: these things may be duplicated in c++config.h as well. case "$enable_cshadow_headers" in yes) - CSHADOWFLAGS="" + CSHADOWFLAGS="-fno-builtin" + AC_DEFINE(_GLIBCPP_USE_SHADOW_HEADERS) ;; no) CSHADOWFLAGS="" diff --git a/libstdc++-v3/bits/c++config b/libstdc++-v3/bits/c++config index 6b1430f8fc6..07667353a04 100644 --- a/libstdc++-v3/bits/c++config +++ b/libstdc++-v3/bits/c++config @@ -33,10 +33,12 @@ // The current version of the C++ library in compressed ISO date format. #define __GLIBCPP__ 20000911 -// By enabling this, __USE_ISOC99 is also enabled, along with other -// bits like POSIX, SVID, X/Open and GNU extensions. +// By enabling this, all GNU extensions are enabled. #define _GNU_SOURCE 1 +// By enabling this, all ISO C99, ISO C9X functionality is enabled. +#define _ISOC99_SOURCE 1 + // This flag controls the error handling in string, and perhaps other // bits as time goes on: check out bits/basic_string.h for more // info. It also helps alleviate the circular dependency between diff --git a/libstdc++-v3/bits/char_traits.h b/libstdc++-v3/bits/char_traits.h index 4b141f9de3b..baab72293c3 100644 --- a/libstdc++-v3/bits/char_traits.h +++ b/libstdc++-v3/bits/char_traits.h @@ -176,23 +176,23 @@ namespace std { static const char_type* find(const char_type* __s, size_t __n, const char_type& __a) - { return static_cast<char*>(memchr(__s, __a, __n)); } + { return static_cast<const char_type*>(memchr(__s, __a, __n)); } static char_type* move(char_type* __s1, const char_type* __s2, size_t __n) - { return static_cast<char*>(memmove(__s1, __s2, __n)); } + { return static_cast<char_type*>(memmove(__s1, __s2, __n)); } static char_type* copy(char_type* __s1, const char_type* __s2, size_t __n) - { return static_cast<char*>(memcpy(__s1, __s2, __n)); } + { return static_cast<char_type*>(memcpy(__s1, __s2, __n)); } static char_type* assign(char_type* __s, size_t __n, char_type __a) - { return static_cast<char*>(memset(__s, __a, __n)); } + { return static_cast<char_type*>(memset(__s, __a, __n)); } static char_type to_char_type(const int_type& __c) - { return static_cast<char>(__c); } + { return static_cast<char_type>(__c); } // To keep both the byte 0xff and the eof symbol 0xffffffff // from ending up as 0xffffffff. diff --git a/libstdc++-v3/bits/std_ios.h b/libstdc++-v3/bits/std_ios.h index 7c54547c2ab..5c61547bff9 100644 --- a/libstdc++-v3/bits/std_ios.h +++ b/libstdc++-v3/bits/std_ios.h @@ -39,7 +39,7 @@ #include <bits/char_traits.h> // For char_traits, streamoff, streamsize, fpos #include <bits/stl_string_fwd.h>// For string. #include <bits/std_cstdio.h> // For SEEK_SET, SEEK_CUR, SEEK_END -# include <bits/localefwd.h> // For class locale +#include <bits/localefwd.h> // For class locale #include <bits/ios_base.h> // For ios_base declarations. #include <bits/std_streambuf.h> #include <bits/basic_ios.h> diff --git a/libstdc++-v3/bits/std_iosfwd.h b/libstdc++-v3/bits/std_iosfwd.h index 3a8eb056ddc..8f198800a01 100644 --- a/libstdc++-v3/bits/std_iosfwd.h +++ b/libstdc++-v3/bits/std_iosfwd.h @@ -35,7 +35,7 @@ #define _CPP_IOSFWD 1 #include <bits/c++config.h> -#include <bits/std_cwchar.h> //For mbstate_t +#include <bits/std_cwchar.h> // For mbstate_t namespace std { diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 7c35a039e45..0da0713e727 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -6,6 +6,9 @@ // Include support for 'long long' and 'unsigned long long'. #undef _GLIBCPP_USE_LONG_LONG +// Include support for shadow headers, ie --enable-cshadow-headers. +#undef _GLIBCPP_USE_SHADOW_HEADERS + // Define if the host has a type mbstate_t defined in // wchar.h, as required by 21.1.3.1. Some systems, namely // hppa-hp-hpux10.20 do not meet this requirement, and must be worked diff --git a/libstdc++-v3/config/c_io_libio.cc b/libstdc++-v3/config/c_io_libio.cc index 6f001b29300..9712d264ed9 100644 --- a/libstdc++-v3/config/c_io_libio.cc +++ b/libstdc++-v3/config/c_io_libio.cc @@ -33,7 +33,6 @@ #include <bits/basic_file.h> #include <libioP.h> -#include <fcntl.h> // Solaris needs for O_* macros namespace std { diff --git a/libstdc++-v3/config/c_io_libio.h b/libstdc++-v3/config/c_io_libio.h index db8b6c7a97f..7a91e848889 100644 --- a/libstdc++-v3/config/c_io_libio.h +++ b/libstdc++-v3/config/c_io_libio.h @@ -57,46 +57,45 @@ namespace std { typedef _IO_FILE __c_file_type; typedef _IO_wide_data __c_wfile_type; - extern "C" struct _IO_codecvt __c_libio_codecvt; + extern "C" _IO_codecvt __c_libio_codecvt; // from ios_base.h struct __ios_flags - { - typedef short __int_type; - - static const __int_type _S_boolalpha = _IO_BAD_SEEN; - static const __int_type _S_dec = _IO_DEC; - static const __int_type _S_fixed = _IO_FIXED; - static const __int_type _S_hex = _IO_HEX; - static const __int_type _S_internal = _IO_INTERNAL; - static const __int_type _S_left = _IO_LEFT; - static const __int_type _S_oct = _IO_OCT; - static const __int_type _S_right = _IO_RIGHT; - static const __int_type _S_scientific = _IO_SCIENTIFIC; - static const __int_type _S_showbase = _IO_SHOWBASE; - static const __int_type _S_showpoint = _IO_SHOWPOINT; - static const __int_type _S_showpos = _IO_SHOWPOS; - static const __int_type _S_skipws = _IO_SKIPWS; - static const __int_type _S_unitbuf = _IO_UNITBUF; - static const __int_type _S_uppercase = _IO_UPPERCASE; - static const __int_type _S_adjustfield = _IO_LEFT - | _IO_RIGHT - | _IO_INTERNAL; - static const __int_type _S_basefield = _IO_DEC | _IO_OCT | _IO_HEX; - static const __int_type _S_floatfield = _IO_SCIENTIFIC | _IO_FIXED; + { + typedef short __int_type; + + static const __int_type _S_boolalpha = _IO_BAD_SEEN; + static const __int_type _S_dec = _IO_DEC; + static const __int_type _S_fixed = _IO_FIXED; + static const __int_type _S_hex = _IO_HEX; + static const __int_type _S_internal = _IO_INTERNAL; + static const __int_type _S_left = _IO_LEFT; + static const __int_type _S_oct = _IO_OCT; + static const __int_type _S_right = _IO_RIGHT; + static const __int_type _S_scientific = _IO_SCIENTIFIC; + static const __int_type _S_showbase = _IO_SHOWBASE; + static const __int_type _S_showpoint = _IO_SHOWPOINT; + static const __int_type _S_showpos = _IO_SHOWPOS; + static const __int_type _S_skipws = _IO_SKIPWS; + static const __int_type _S_unitbuf = _IO_UNITBUF; + static const __int_type _S_uppercase = _IO_UPPERCASE; + static const __int_type _S_adjustfield = _IO_LEFT | _IO_RIGHT + | _IO_INTERNAL; + static const __int_type _S_basefield = _IO_DEC | _IO_OCT | _IO_HEX; + static const __int_type _S_floatfield = _IO_SCIENTIFIC | _IO_FIXED; // 27.4.2.1.3 Type ios_base::iostate - static const __int_type _S_badbit = _IO_BAD_SEEN; - static const __int_type _S_eofbit = _IO_EOF_SEEN; - static const __int_type _S_failbit = _IO_ERR_SEEN; + static const __int_type _S_badbit = _IO_BAD_SEEN; + static const __int_type _S_eofbit = _IO_EOF_SEEN; + static const __int_type _S_failbit = _IO_ERR_SEEN; // 27.4.2.1.4 Type openmode - static const __int_type _S_app = _IOS_APPEND; - static const __int_type _S_ate = _IOS_ATEND; - static const __int_type _S_bin = _IOS_BIN; - static const __int_type _S_in = _IOS_INPUT; - static const __int_type _S_out = _IOS_OUTPUT; - static const __int_type _S_trunc = _IOS_TRUNC; + static const __int_type _S_app = _IOS_APPEND; + static const __int_type _S_ate = _IOS_ATEND; + static const __int_type _S_bin = _IOS_BIN; + static const __int_type _S_in = _IOS_INPUT; + static const __int_type _S_out = _IOS_OUTPUT; + static const __int_type _S_trunc = _IOS_TRUNC; }; } diff --git a/libstdc++-v3/config/gnu-linux/bits/ctype_base.h b/libstdc++-v3/config/gnu-linux/bits/ctype_base.h index fbbf376608f..dfd29fbc4da 100644 --- a/libstdc++-v3/config/gnu-linux/bits/ctype_base.h +++ b/libstdc++-v3/config/gnu-linux/bits/ctype_base.h @@ -1,6 +1,6 @@ // Locale support -*- C++ -*- -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -33,6 +33,20 @@ // Information as gleaned from /usr/include/ctype.h +#if _GLIBCPP_USE_SHADOW_HEADERS + using _C_legacy::_ISspace; + using _C_legacy::_ISprint; + using _C_legacy::_IScntrl; + using _C_legacy::_ISupper; + using _C_legacy::_ISlower; + using _C_legacy::_ISalpha; + using _C_legacy::_ISdigit; + using _C_legacy::_ISpunct; + using _C_legacy::_ISxdigit; + using _C_legacy::_ISalnum; + using _C_legacy::_ISgraph; +#endif + struct ctype_base { // Non-standard typedefs. diff --git a/libstdc++-v3/config/gnu-linux/ctype.cc b/libstdc++-v3/config/gnu-linux/ctype.cc index d6a819d68bc..63032425c70 100644 --- a/libstdc++-v3/config/gnu-linux/ctype.cc +++ b/libstdc++-v3/config/gnu-linux/ctype.cc @@ -33,6 +33,12 @@ // Information as gleaned from /usr/include/ctype.h +#if _GLIBCPP_USE_SHADOW_HEADERS + using _C_legacy::__ctype_toupper; + using _C_legacy::__ctype_tolower; + using _C_legacy::__ctype_b; +#endif + ctype<char>::ctype(const mask* __table, bool __del, size_t __refs) : _Ctype_nois<char>(__refs), _M_del(__table != 0 && __del), _M_toupper(__ctype_toupper), _M_tolower(__ctype_tolower), @@ -71,3 +77,12 @@ + + + + + + + + + diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 5d776bcc93e..f24d63e7394 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -3035,7 +3035,11 @@ fi case "$enable_cshadow_headers" in yes) - CSHADOWFLAGS="" + CSHADOWFLAGS="-fno-builtin" + cat >> confdefs.h <<\EOF +#define _GLIBCPP_USE_SHADOW_HEADERS 1 +EOF + ;; no) CSHADOWFLAGS="" @@ -3055,7 +3059,7 @@ fi echo $ac_n "checking for threads package to use""... $ac_c" 1>&6 -echo "configure:3059: checking for threads package to use" >&5 +echo "configure:3063: checking for threads package to use" >&5 # Check whether --enable-threads or --disable-threads was given. if test "${enable_threads+set}" = set; then enableval="$enable_threads" @@ -3118,17 +3122,17 @@ fi posix) ac_safe=`echo "pthread.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for pthread.h""... $ac_c" 1>&6 -echo "configure:3122: checking for pthread.h" >&5 +echo "configure:3126: checking for pthread.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3127 "configure" +#line 3131 "configure" #include "confdefs.h" #include <pthread.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3326,17 +3330,17 @@ else do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:3330: checking for $ac_hdr" >&5 +echo "configure:3334: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3335 "configure" +#line 3339 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:3340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:3344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3387,10 +3391,10 @@ cross_compiling=$ac_cv_prog_cxx_cross # Check for more sophisticated diagnostic control. echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6 -echo "configure:3391: checking for g++ that supports -fdiagnostics-show-location=once" >&5 - CXXFLAGS='-fdiagnostics-show-location=once' +echo "configure:3395: checking for g++ that supports -fdiagnostics-show-location=once" >&5 + CXXFLAGS='-Werror -fdiagnostics-show-location=once' cat > conftest.$ac_ext <<EOF -#line 3394 "configure" +#line 3398 "configure" #include "confdefs.h" int main() { @@ -3398,7 +3402,7 @@ int foo; ; return 0; } EOF -if { (eval echo configure:3402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_gabydiags=yes else @@ -3421,10 +3425,10 @@ rm -f conftest* # Check for -ffunction-sections -fdata-sections echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6 -echo "configure:3425: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 - CXXFLAGS='-ffunction-sections -fdata-sections' +echo "configure:3429: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 + CXXFLAGS='-Werror -ffunction-sections -fdata-sections' cat > conftest.$ac_ext <<EOF -#line 3428 "configure" +#line 3432 "configure" #include "confdefs.h" int main() { @@ -3432,7 +3436,7 @@ int foo; ; return 0; } EOF -if { (eval echo configure:3436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_fdsections=yes else @@ -3483,12 +3487,12 @@ cross_compiling=$ac_cv_prog_cc_cross # Check for -Wl,--gc-sections echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6 -echo "configure:3487: checking for ld that supports -Wl,--gc-sections" >&5 +echo "configure:3491: checking for ld that supports -Wl,--gc-sections" >&5 if test "$cross_compiling" = yes; then ac_sectionLDflags=yes else cat > conftest.$ac_ext <<EOF -#line 3492 "configure" +#line 3496 "configure" #include "confdefs.h" int main(void) @@ -3499,7 +3503,7 @@ else } EOF -if { (eval echo configure:3503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_sectionLDflags=yes else @@ -3530,7 +3534,7 @@ fi echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6 -echo "configure:3534: checking for __builtin_abs declaration" >&5 +echo "configure:3538: checking for __builtin_abs declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3544,14 +3548,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 3548 "configure" +#line 3552 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_abs(0); ; return 0; } EOF -if { (eval echo configure:3555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3559: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_abs_use=yes else @@ -3574,20 +3578,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6 if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6 -echo "configure:3578: checking for __builtin_abs linkage" >&5 +echo "configure:3582: checking for __builtin_abs linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3584 "configure" +#line 3588 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_abs(0); ; return 0; } EOF -if { (eval echo configure:3591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_abs_link=yes else @@ -3612,7 +3616,7 @@ EOF echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6 -echo "configure:3616: checking for __builtin_fabsf declaration" >&5 +echo "configure:3620: checking for __builtin_fabsf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3626,14 +3630,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 3630 "configure" +#line 3634 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_fabsf(0); ; return 0; } EOF -if { (eval echo configure:3637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_fabsf_use=yes else @@ -3656,20 +3660,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6 if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6 -echo "configure:3660: checking for __builtin_fabsf linkage" >&5 +echo "configure:3664: checking for __builtin_fabsf linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3666 "configure" +#line 3670 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_fabsf(0); ; return 0; } EOF -if { (eval echo configure:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_fabsf_link=yes else @@ -3694,7 +3698,7 @@ EOF echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6 -echo "configure:3698: checking for __builtin_fabs declaration" >&5 +echo "configure:3702: checking for __builtin_fabs declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3708,14 +3712,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 3712 "configure" +#line 3716 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_fabs(0); ; return 0; } EOF -if { (eval echo configure:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_fabs_use=yes else @@ -3738,20 +3742,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6 if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6 -echo "configure:3742: checking for __builtin_fabs linkage" >&5 +echo "configure:3746: checking for __builtin_fabs linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3748 "configure" +#line 3752 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_fabs(0); ; return 0; } EOF -if { (eval echo configure:3755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_fabs_link=yes else @@ -3776,7 +3780,7 @@ EOF echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6 -echo "configure:3780: checking for __builtin_fabsl declaration" >&5 +echo "configure:3784: checking for __builtin_fabsl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3790,14 +3794,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 3794 "configure" +#line 3798 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_fabsl(0); ; return 0; } EOF -if { (eval echo configure:3801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_fabsl_use=yes else @@ -3820,20 +3824,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6 if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6 -echo "configure:3824: checking for __builtin_fabsl linkage" >&5 +echo "configure:3828: checking for __builtin_fabsl linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3830 "configure" +#line 3834 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_fabsl(0); ; return 0; } EOF -if { (eval echo configure:3837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_fabsl_link=yes else @@ -3858,7 +3862,7 @@ EOF echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6 -echo "configure:3862: checking for __builtin_labs declaration" >&5 +echo "configure:3866: checking for __builtin_labs declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3872,14 +3876,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 3876 "configure" +#line 3880 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_labs(0); ; return 0; } EOF -if { (eval echo configure:3883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_labs_use=yes else @@ -3902,20 +3906,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6 if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6 -echo "configure:3906: checking for __builtin_labs linkage" >&5 +echo "configure:3910: checking for __builtin_labs linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3912 "configure" +#line 3916 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_labs(0); ; return 0; } EOF -if { (eval echo configure:3919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_labs_link=yes else @@ -3941,7 +3945,7 @@ EOF echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6 -echo "configure:3945: checking for __builtin_sqrtf declaration" >&5 +echo "configure:3949: checking for __builtin_sqrtf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -3955,14 +3959,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 3959 "configure" +#line 3963 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sqrtf(0); ; return 0; } EOF -if { (eval echo configure:3966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_sqrtf_use=yes else @@ -3985,20 +3989,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6 if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6 -echo "configure:3989: checking for __builtin_sqrtf linkage" >&5 +echo "configure:3993: checking for __builtin_sqrtf linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 3995 "configure" +#line 3999 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sqrtf(0); ; return 0; } EOF -if { (eval echo configure:4002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_sqrtf_link=yes else @@ -4023,7 +4027,7 @@ EOF echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6 -echo "configure:4027: checking for __builtin_fsqrt declaration" >&5 +echo "configure:4031: checking for __builtin_fsqrt declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4037,14 +4041,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4041 "configure" +#line 4045 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_fsqrt(0); ; return 0; } EOF -if { (eval echo configure:4048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4052: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_fsqrt_use=yes else @@ -4067,20 +4071,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6 if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6 -echo "configure:4071: checking for __builtin_fsqrt linkage" >&5 +echo "configure:4075: checking for __builtin_fsqrt linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4077 "configure" +#line 4081 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_fsqrt(0); ; return 0; } EOF -if { (eval echo configure:4084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_fsqrt_link=yes else @@ -4105,7 +4109,7 @@ EOF echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6 -echo "configure:4109: checking for __builtin_sqrtl declaration" >&5 +echo "configure:4113: checking for __builtin_sqrtl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4119,14 +4123,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4123 "configure" +#line 4127 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sqrtl(0); ; return 0; } EOF -if { (eval echo configure:4130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_sqrtl_use=yes else @@ -4149,20 +4153,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6 if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6 -echo "configure:4153: checking for __builtin_sqrtl linkage" >&5 +echo "configure:4157: checking for __builtin_sqrtl linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4159 "configure" +#line 4163 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sqrtl(0); ; return 0; } EOF -if { (eval echo configure:4166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_sqrtl_link=yes else @@ -4188,7 +4192,7 @@ EOF echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6 -echo "configure:4192: checking for __builtin_sinf declaration" >&5 +echo "configure:4196: checking for __builtin_sinf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4202,14 +4206,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4206 "configure" +#line 4210 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sinf(0); ; return 0; } EOF -if { (eval echo configure:4213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_sinf_use=yes else @@ -4232,20 +4236,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6 if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6 -echo "configure:4236: checking for __builtin_sinf linkage" >&5 +echo "configure:4240: checking for __builtin_sinf linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4242 "configure" +#line 4246 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sinf(0); ; return 0; } EOF -if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_sinf_link=yes else @@ -4270,7 +4274,7 @@ EOF echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6 -echo "configure:4274: checking for __builtin_sin declaration" >&5 +echo "configure:4278: checking for __builtin_sin declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4284,14 +4288,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4288 "configure" +#line 4292 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sin(0); ; return 0; } EOF -if { (eval echo configure:4295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_sin_use=yes else @@ -4314,20 +4318,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6 if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6 -echo "configure:4318: checking for __builtin_sin linkage" >&5 +echo "configure:4322: checking for __builtin_sin linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4324 "configure" +#line 4328 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sin(0); ; return 0; } EOF -if { (eval echo configure:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_sin_link=yes else @@ -4352,7 +4356,7 @@ EOF echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6 -echo "configure:4356: checking for __builtin_sinl declaration" >&5 +echo "configure:4360: checking for __builtin_sinl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4366,14 +4370,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4370 "configure" +#line 4374 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sinl(0); ; return 0; } EOF -if { (eval echo configure:4377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_sinl_use=yes else @@ -4396,20 +4400,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6 if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6 -echo "configure:4400: checking for __builtin_sinl linkage" >&5 +echo "configure:4404: checking for __builtin_sinl linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4406 "configure" +#line 4410 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_sinl(0); ; return 0; } EOF -if { (eval echo configure:4413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_sinl_link=yes else @@ -4435,7 +4439,7 @@ EOF echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6 -echo "configure:4439: checking for __builtin_cosf declaration" >&5 +echo "configure:4443: checking for __builtin_cosf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4449,14 +4453,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4453 "configure" +#line 4457 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_cosf(0); ; return 0; } EOF -if { (eval echo configure:4460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_cosf_use=yes else @@ -4479,20 +4483,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6 if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6 -echo "configure:4483: checking for __builtin_cosf linkage" >&5 +echo "configure:4487: checking for __builtin_cosf linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4489 "configure" +#line 4493 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_cosf(0); ; return 0; } EOF -if { (eval echo configure:4496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_cosf_link=yes else @@ -4517,7 +4521,7 @@ EOF echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6 -echo "configure:4521: checking for __builtin_cos declaration" >&5 +echo "configure:4525: checking for __builtin_cos declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4531,14 +4535,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4535 "configure" +#line 4539 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_cos(0); ; return 0; } EOF -if { (eval echo configure:4542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_cos_use=yes else @@ -4561,20 +4565,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6 if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6 -echo "configure:4565: checking for __builtin_cos linkage" >&5 +echo "configure:4569: checking for __builtin_cos linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4571 "configure" +#line 4575 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_cos(0); ; return 0; } EOF -if { (eval echo configure:4578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_cos_link=yes else @@ -4599,7 +4603,7 @@ EOF echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6 -echo "configure:4603: checking for __builtin_cosl declaration" >&5 +echo "configure:4607: checking for __builtin_cosl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4613,14 +4617,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4617 "configure" +#line 4621 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_cosl(0); ; return 0; } EOF -if { (eval echo configure:4624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func___builtin_cosl_use=yes else @@ -4643,20 +4647,20 @@ fi echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6 if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6 -echo "configure:4647: checking for __builtin_cosl linkage" >&5 +echo "configure:4651: checking for __builtin_cosl linkage" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4653 "configure" +#line 4657 "configure" #include "confdefs.h" #include <math.h> int main() { __builtin_cosl(0); ; return 0; } EOF -if { (eval echo configure:4660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* glibcpp_cv_func___builtin_cosl_link=yes else @@ -4746,7 +4750,7 @@ EOF CXXFLAGS='-fno-builtins -D_GNU_SOURCE' echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 -echo "configure:4750: checking for sin in -lm" >&5 +echo "configure:4754: checking for sin in -lm" >&5 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4754,7 +4758,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <<EOF -#line 4758 "configure" +#line 4762 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 @@ -4765,7 +4769,7 @@ int main() { sin() ; return 0; } EOF -if { (eval echo configure:4769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4791,12 +4795,12 @@ fi for ac_func in strtof strtold do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4795: checking for $ac_func" >&5 +echo "configure:4799: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4800 "configure" +#line 4804 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4819,7 +4823,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4846,7 +4850,7 @@ done echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6 -echo "configure:4850: checking for isinf declaration" >&5 +echo "configure:4854: checking for isinf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4860,14 +4864,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4864 "configure" +#line 4868 "configure" #include "confdefs.h" #include <math.h> int main() { isinf(0); ; return 0; } EOF -if { (eval echo configure:4871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_isinf_use=yes else @@ -4892,12 +4896,12 @@ fi for ac_func in isinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4896: checking for $ac_func" >&5 +echo "configure:4900: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4901 "configure" +#line 4905 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4920,7 +4924,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4948,7 +4952,7 @@ done echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6 -echo "configure:4952: checking for isnan declaration" >&5 +echo "configure:4956: checking for isnan declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4962,14 +4966,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 4966 "configure" +#line 4970 "configure" #include "confdefs.h" #include <math.h> int main() { isnan(0); ; return 0; } EOF -if { (eval echo configure:4973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_isnan_use=yes else @@ -4994,12 +4998,12 @@ fi for ac_func in isnan do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4998: checking for $ac_func" >&5 +echo "configure:5002: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5003 "configure" +#line 5007 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5022,7 +5026,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5050,7 +5054,7 @@ done echo $ac_n "checking for finite declaration""... $ac_c" 1>&6 -echo "configure:5054: checking for finite declaration" >&5 +echo "configure:5058: checking for finite declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5064,14 +5068,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5068 "configure" +#line 5072 "configure" #include "confdefs.h" #include <math.h> int main() { finite(0); ; return 0; } EOF -if { (eval echo configure:5075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_finite_use=yes else @@ -5096,12 +5100,12 @@ fi for ac_func in finite do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5100: checking for $ac_func" >&5 +echo "configure:5104: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5105 "configure" +#line 5109 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5124,7 +5128,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5152,7 +5156,7 @@ done echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6 -echo "configure:5156: checking for copysign declaration" >&5 +echo "configure:5160: checking for copysign declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5166,14 +5170,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5170 "configure" +#line 5174 "configure" #include "confdefs.h" #include <math.h> int main() { copysign(0, 0); ; return 0; } EOF -if { (eval echo configure:5177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_copysign_use=yes else @@ -5198,12 +5202,12 @@ fi for ac_func in copysign do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5202: checking for $ac_func" >&5 +echo "configure:5206: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5207 "configure" +#line 5211 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5226,7 +5230,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5254,7 +5258,7 @@ done echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6 -echo "configure:5258: checking for sincos declaration" >&5 +echo "configure:5262: checking for sincos declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5268,14 +5272,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5272 "configure" +#line 5276 "configure" #include "confdefs.h" #include <math.h> int main() { sincos(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:5279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sincos_use=yes else @@ -5300,12 +5304,12 @@ fi for ac_func in sincos do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5304: checking for $ac_func" >&5 +echo "configure:5308: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5309 "configure" +#line 5313 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5328,7 +5332,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5356,7 +5360,7 @@ done echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6 -echo "configure:5360: checking for fpclass declaration" >&5 +echo "configure:5364: checking for fpclass declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5370,14 +5374,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5374 "configure" +#line 5378 "configure" #include "confdefs.h" #include <math.h> int main() { fpclass(0); ; return 0; } EOF -if { (eval echo configure:5381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_fpclass_use=yes else @@ -5402,12 +5406,12 @@ fi for ac_func in fpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5406: checking for $ac_func" >&5 +echo "configure:5410: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5411 "configure" +#line 5415 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5430,7 +5434,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5458,7 +5462,7 @@ done echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6 -echo "configure:5462: checking for qfpclass declaration" >&5 +echo "configure:5466: checking for qfpclass declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5472,14 +5476,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5476 "configure" +#line 5480 "configure" #include "confdefs.h" #include <math.h> int main() { qfpclass(0); ; return 0; } EOF -if { (eval echo configure:5483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_qfpclass_use=yes else @@ -5504,12 +5508,12 @@ fi for ac_func in qfpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5508: checking for $ac_func" >&5 +echo "configure:5512: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5513 "configure" +#line 5517 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5532,7 +5536,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5561,7 +5565,7 @@ done echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6 -echo "configure:5565: checking for isnanf declaration" >&5 +echo "configure:5569: checking for isnanf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5575,14 +5579,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5579 "configure" +#line 5583 "configure" #include "confdefs.h" #include <math.h> int main() { isnanf(0); ; return 0; } EOF -if { (eval echo configure:5586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_isnanf_use=yes else @@ -5607,12 +5611,12 @@ fi for ac_func in isnanf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5611: checking for $ac_func" >&5 +echo "configure:5615: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5616 "configure" +#line 5620 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5635,7 +5639,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5663,7 +5667,7 @@ done echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6 -echo "configure:5667: checking for isinff declaration" >&5 +echo "configure:5671: checking for isinff declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5677,14 +5681,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5681 "configure" +#line 5685 "configure" #include "confdefs.h" #include <math.h> int main() { isinff(0); ; return 0; } EOF -if { (eval echo configure:5688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_isinff_use=yes else @@ -5709,12 +5713,12 @@ fi for ac_func in isinff do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5713: checking for $ac_func" >&5 +echo "configure:5717: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5718 "configure" +#line 5722 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5737,7 +5741,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5765,7 +5769,7 @@ done echo $ac_n "checking for acosf declaration""... $ac_c" 1>&6 -echo "configure:5769: checking for acosf declaration" >&5 +echo "configure:5773: checking for acosf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_acosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5779,14 +5783,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5783 "configure" +#line 5787 "configure" #include "confdefs.h" #include <math.h> int main() { acosf(0); ; return 0; } EOF -if { (eval echo configure:5790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_acosf_use=yes else @@ -5811,12 +5815,12 @@ fi for ac_func in acosf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5815: checking for $ac_func" >&5 +echo "configure:5819: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5820 "configure" +#line 5824 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5839,7 +5843,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5867,7 +5871,7 @@ done echo $ac_n "checking for asinf declaration""... $ac_c" 1>&6 -echo "configure:5871: checking for asinf declaration" >&5 +echo "configure:5875: checking for asinf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_asinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5881,14 +5885,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5885 "configure" +#line 5889 "configure" #include "confdefs.h" #include <math.h> int main() { asinf(0); ; return 0; } EOF -if { (eval echo configure:5892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_asinf_use=yes else @@ -5913,12 +5917,12 @@ fi for ac_func in asinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5917: checking for $ac_func" >&5 +echo "configure:5921: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 5922 "configure" +#line 5926 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -5941,7 +5945,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:5945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5969,7 +5973,7 @@ done echo $ac_n "checking for atanf declaration""... $ac_c" 1>&6 -echo "configure:5973: checking for atanf declaration" >&5 +echo "configure:5977: checking for atanf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_atanf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5983,14 +5987,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 5987 "configure" +#line 5991 "configure" #include "confdefs.h" #include <math.h> int main() { atanf(0); ; return 0; } EOF -if { (eval echo configure:5994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_atanf_use=yes else @@ -6015,12 +6019,12 @@ fi for ac_func in atanf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6019: checking for $ac_func" >&5 +echo "configure:6023: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6024 "configure" +#line 6028 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6043,7 +6047,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6071,7 +6075,7 @@ done echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6 -echo "configure:6075: checking for atan2f declaration" >&5 +echo "configure:6079: checking for atan2f declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6085,14 +6089,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6089 "configure" +#line 6093 "configure" #include "confdefs.h" #include <math.h> int main() { atan2f(0, 0); ; return 0; } EOF -if { (eval echo configure:6096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_atan2f_use=yes else @@ -6117,12 +6121,12 @@ fi for ac_func in atan2f do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6121: checking for $ac_func" >&5 +echo "configure:6125: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6126 "configure" +#line 6130 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6145,7 +6149,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6173,7 +6177,7 @@ done echo $ac_n "checking for ceilf declaration""... $ac_c" 1>&6 -echo "configure:6177: checking for ceilf declaration" >&5 +echo "configure:6181: checking for ceilf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_ceilf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6187,14 +6191,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6191 "configure" +#line 6195 "configure" #include "confdefs.h" #include <math.h> int main() { ceilf(0); ; return 0; } EOF -if { (eval echo configure:6198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_ceilf_use=yes else @@ -6219,12 +6223,12 @@ fi for ac_func in ceilf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6223: checking for $ac_func" >&5 +echo "configure:6227: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6228 "configure" +#line 6232 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6247,7 +6251,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6275,7 +6279,7 @@ done echo $ac_n "checking for cosf declaration""... $ac_c" 1>&6 -echo "configure:6279: checking for cosf declaration" >&5 +echo "configure:6283: checking for cosf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_cosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6289,14 +6293,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6293 "configure" +#line 6297 "configure" #include "confdefs.h" #include <math.h> int main() { cosf(0); ; return 0; } EOF -if { (eval echo configure:6300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_cosf_use=yes else @@ -6321,12 +6325,12 @@ fi for ac_func in cosf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6325: checking for $ac_func" >&5 +echo "configure:6329: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6330 "configure" +#line 6334 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6349,7 +6353,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6377,7 +6381,7 @@ done echo $ac_n "checking for coshf declaration""... $ac_c" 1>&6 -echo "configure:6381: checking for coshf declaration" >&5 +echo "configure:6385: checking for coshf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_coshf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6391,14 +6395,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6395 "configure" +#line 6399 "configure" #include "confdefs.h" #include <math.h> int main() { coshf(0); ; return 0; } EOF -if { (eval echo configure:6402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_coshf_use=yes else @@ -6423,12 +6427,12 @@ fi for ac_func in coshf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6427: checking for $ac_func" >&5 +echo "configure:6431: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6432 "configure" +#line 6436 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6451,7 +6455,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6479,7 +6483,7 @@ done echo $ac_n "checking for expf declaration""... $ac_c" 1>&6 -echo "configure:6483: checking for expf declaration" >&5 +echo "configure:6487: checking for expf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_expf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6493,14 +6497,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6497 "configure" +#line 6501 "configure" #include "confdefs.h" #include <math.h> int main() { expf(0); ; return 0; } EOF -if { (eval echo configure:6504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_expf_use=yes else @@ -6525,12 +6529,12 @@ fi for ac_func in expf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6529: checking for $ac_func" >&5 +echo "configure:6533: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6534 "configure" +#line 6538 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6553,7 +6557,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6581,7 +6585,7 @@ done echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6 -echo "configure:6585: checking for fabsf declaration" >&5 +echo "configure:6589: checking for fabsf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6595,14 +6599,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6599 "configure" +#line 6603 "configure" #include "confdefs.h" #include <math.h> int main() { fabsf(0); ; return 0; } EOF -if { (eval echo configure:6606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_fabsf_use=yes else @@ -6627,12 +6631,12 @@ fi for ac_func in fabsf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6631: checking for $ac_func" >&5 +echo "configure:6635: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6636 "configure" +#line 6640 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6655,7 +6659,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6683,7 +6687,7 @@ done echo $ac_n "checking for floorf declaration""... $ac_c" 1>&6 -echo "configure:6687: checking for floorf declaration" >&5 +echo "configure:6691: checking for floorf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_floorf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6697,14 +6701,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6701 "configure" +#line 6705 "configure" #include "confdefs.h" #include <math.h> int main() { floorf(0); ; return 0; } EOF -if { (eval echo configure:6708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_floorf_use=yes else @@ -6729,12 +6733,12 @@ fi for ac_func in floorf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6733: checking for $ac_func" >&5 +echo "configure:6737: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6738 "configure" +#line 6742 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6757,7 +6761,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6785,7 +6789,7 @@ done echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6 -echo "configure:6789: checking for fmodf declaration" >&5 +echo "configure:6793: checking for fmodf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6799,14 +6803,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6803 "configure" +#line 6807 "configure" #include "confdefs.h" #include <math.h> int main() { fmodf(0, 0); ; return 0; } EOF -if { (eval echo configure:6810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_fmodf_use=yes else @@ -6831,12 +6835,12 @@ fi for ac_func in fmodf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6835: checking for $ac_func" >&5 +echo "configure:6839: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6840 "configure" +#line 6844 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6859,7 +6863,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6887,7 +6891,7 @@ done echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6 -echo "configure:6891: checking for frexpf declaration" >&5 +echo "configure:6895: checking for frexpf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6901,14 +6905,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 6905 "configure" +#line 6909 "configure" #include "confdefs.h" #include <math.h> int main() { frexpf(0, 0); ; return 0; } EOF -if { (eval echo configure:6912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_frexpf_use=yes else @@ -6933,12 +6937,12 @@ fi for ac_func in frexpf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6937: checking for $ac_func" >&5 +echo "configure:6941: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 6942 "configure" +#line 6946 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6961,7 +6965,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -6989,7 +6993,7 @@ done echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6 -echo "configure:6993: checking for ldexpf declaration" >&5 +echo "configure:6997: checking for ldexpf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7003,14 +7007,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7007 "configure" +#line 7011 "configure" #include "confdefs.h" #include <math.h> int main() { ldexpf(0, 0); ; return 0; } EOF -if { (eval echo configure:7014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_ldexpf_use=yes else @@ -7035,12 +7039,12 @@ fi for ac_func in ldexpf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7039: checking for $ac_func" >&5 +echo "configure:7043: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7044 "configure" +#line 7048 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7063,7 +7067,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7091,7 +7095,7 @@ done echo $ac_n "checking for logf declaration""... $ac_c" 1>&6 -echo "configure:7095: checking for logf declaration" >&5 +echo "configure:7099: checking for logf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7105,14 +7109,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7109 "configure" +#line 7113 "configure" #include "confdefs.h" #include <math.h> int main() { logf(0); ; return 0; } EOF -if { (eval echo configure:7116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_logf_use=yes else @@ -7137,12 +7141,12 @@ fi for ac_func in logf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7141: checking for $ac_func" >&5 +echo "configure:7145: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7146 "configure" +#line 7150 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7165,7 +7169,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7193,7 +7197,7 @@ done echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6 -echo "configure:7197: checking for log10f declaration" >&5 +echo "configure:7201: checking for log10f declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7207,14 +7211,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7211 "configure" +#line 7215 "configure" #include "confdefs.h" #include <math.h> int main() { log10f(0); ; return 0; } EOF -if { (eval echo configure:7218: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_log10f_use=yes else @@ -7239,12 +7243,12 @@ fi for ac_func in log10f do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7243: checking for $ac_func" >&5 +echo "configure:7247: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7248 "configure" +#line 7252 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7267,7 +7271,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7295,7 +7299,7 @@ done echo $ac_n "checking for modff declaration""... $ac_c" 1>&6 -echo "configure:7299: checking for modff declaration" >&5 +echo "configure:7303: checking for modff declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7309,14 +7313,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7313 "configure" +#line 7317 "configure" #include "confdefs.h" #include <math.h> int main() { modff(0, 0); ; return 0; } EOF -if { (eval echo configure:7320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_modff_use=yes else @@ -7341,12 +7345,12 @@ fi for ac_func in modff do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7345: checking for $ac_func" >&5 +echo "configure:7349: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7350 "configure" +#line 7354 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7369,7 +7373,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7397,7 +7401,7 @@ done echo $ac_n "checking for powf declaration""... $ac_c" 1>&6 -echo "configure:7401: checking for powf declaration" >&5 +echo "configure:7405: checking for powf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7411,14 +7415,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7415 "configure" +#line 7419 "configure" #include "confdefs.h" #include <math.h> int main() { powf(0, 0); ; return 0; } EOF -if { (eval echo configure:7422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_powf_use=yes else @@ -7443,12 +7447,12 @@ fi for ac_func in powf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7447: checking for $ac_func" >&5 +echo "configure:7451: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7452 "configure" +#line 7456 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7471,7 +7475,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7499,7 +7503,7 @@ done echo $ac_n "checking for sinf declaration""... $ac_c" 1>&6 -echo "configure:7503: checking for sinf declaration" >&5 +echo "configure:7507: checking for sinf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7513,14 +7517,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7517 "configure" +#line 7521 "configure" #include "confdefs.h" #include <math.h> int main() { sinf(0); ; return 0; } EOF -if { (eval echo configure:7524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sinf_use=yes else @@ -7545,12 +7549,12 @@ fi for ac_func in sinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7549: checking for $ac_func" >&5 +echo "configure:7553: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7554 "configure" +#line 7558 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7573,7 +7577,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7601,7 +7605,7 @@ done echo $ac_n "checking for sinhf declaration""... $ac_c" 1>&6 -echo "configure:7605: checking for sinhf declaration" >&5 +echo "configure:7609: checking for sinhf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7615,14 +7619,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7619 "configure" +#line 7623 "configure" #include "confdefs.h" #include <math.h> int main() { sinhf(0); ; return 0; } EOF -if { (eval echo configure:7626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sinhf_use=yes else @@ -7647,12 +7651,12 @@ fi for ac_func in sinhf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7651: checking for $ac_func" >&5 +echo "configure:7655: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7656 "configure" +#line 7660 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7675,7 +7679,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7703,7 +7707,7 @@ done echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6 -echo "configure:7707: checking for sqrtf declaration" >&5 +echo "configure:7711: checking for sqrtf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7717,14 +7721,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7721 "configure" +#line 7725 "configure" #include "confdefs.h" #include <math.h> int main() { sqrtf(0); ; return 0; } EOF -if { (eval echo configure:7728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7732: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sqrtf_use=yes else @@ -7749,12 +7753,12 @@ fi for ac_func in sqrtf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7753: checking for $ac_func" >&5 +echo "configure:7757: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7758 "configure" +#line 7762 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7777,7 +7781,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7805,7 +7809,7 @@ done echo $ac_n "checking for tanf declaration""... $ac_c" 1>&6 -echo "configure:7809: checking for tanf declaration" >&5 +echo "configure:7813: checking for tanf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_tanf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7819,14 +7823,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7823 "configure" +#line 7827 "configure" #include "confdefs.h" #include <math.h> int main() { tanf(0); ; return 0; } EOF -if { (eval echo configure:7830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_tanf_use=yes else @@ -7851,12 +7855,12 @@ fi for ac_func in tanf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7855: checking for $ac_func" >&5 +echo "configure:7859: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7860 "configure" +#line 7864 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7879,7 +7883,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -7907,7 +7911,7 @@ done echo $ac_n "checking for tanhf declaration""... $ac_c" 1>&6 -echo "configure:7911: checking for tanhf declaration" >&5 +echo "configure:7915: checking for tanhf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7921,14 +7925,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 7925 "configure" +#line 7929 "configure" #include "confdefs.h" #include <math.h> int main() { tanhf(0); ; return 0; } EOF -if { (eval echo configure:7932: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_tanhf_use=yes else @@ -7953,12 +7957,12 @@ fi for ac_func in tanhf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7957: checking for $ac_func" >&5 +echo "configure:7961: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 7962 "configure" +#line 7966 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7981,7 +7985,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8009,7 +8013,7 @@ done echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6 -echo "configure:8013: checking for sincosf declaration" >&5 +echo "configure:8017: checking for sincosf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8023,14 +8027,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8027 "configure" +#line 8031 "configure" #include "confdefs.h" #include <math.h> int main() { sincosf(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:8034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sincosf_use=yes else @@ -8055,12 +8059,12 @@ fi for ac_func in sincosf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8059: checking for $ac_func" >&5 +echo "configure:8063: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8064 "configure" +#line 8068 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8083,7 +8087,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8111,7 +8115,7 @@ done echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6 -echo "configure:8115: checking for finitef declaration" >&5 +echo "configure:8119: checking for finitef declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8125,14 +8129,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8129 "configure" +#line 8133 "configure" #include "confdefs.h" #include <math.h> int main() { finitef(0); ; return 0; } EOF -if { (eval echo configure:8136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_finitef_use=yes else @@ -8157,12 +8161,12 @@ fi for ac_func in finitef do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8161: checking for $ac_func" >&5 +echo "configure:8165: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8166 "configure" +#line 8170 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8185,7 +8189,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8214,7 +8218,7 @@ done echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6 -echo "configure:8218: checking for isnanl declaration" >&5 +echo "configure:8222: checking for isnanl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8228,14 +8232,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8232 "configure" +#line 8236 "configure" #include "confdefs.h" #include <math.h> int main() { isnanl(0); ; return 0; } EOF -if { (eval echo configure:8239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_isnanl_use=yes else @@ -8260,12 +8264,12 @@ fi for ac_func in isnanl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8264: checking for $ac_func" >&5 +echo "configure:8268: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8269 "configure" +#line 8273 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8288,7 +8292,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8316,7 +8320,7 @@ done echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6 -echo "configure:8320: checking for isinfl declaration" >&5 +echo "configure:8324: checking for isinfl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8330,14 +8334,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8334 "configure" +#line 8338 "configure" #include "confdefs.h" #include <math.h> int main() { isinfl(0); ; return 0; } EOF -if { (eval echo configure:8341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_isinfl_use=yes else @@ -8362,12 +8366,12 @@ fi for ac_func in isinfl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8366: checking for $ac_func" >&5 +echo "configure:8370: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8371 "configure" +#line 8375 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8390,7 +8394,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8418,7 +8422,7 @@ done echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6 -echo "configure:8422: checking for copysignl declaration" >&5 +echo "configure:8426: checking for copysignl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8432,14 +8436,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8436 "configure" +#line 8440 "configure" #include "confdefs.h" #include <math.h> int main() { copysignl(0, 0); ; return 0; } EOF -if { (eval echo configure:8443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_copysignl_use=yes else @@ -8464,12 +8468,12 @@ fi for ac_func in copysignl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8468: checking for $ac_func" >&5 +echo "configure:8472: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8473 "configure" +#line 8477 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8492,7 +8496,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8520,7 +8524,7 @@ done echo $ac_n "checking for acosl declaration""... $ac_c" 1>&6 -echo "configure:8524: checking for acosl declaration" >&5 +echo "configure:8528: checking for acosl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_acosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8534,14 +8538,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8538 "configure" +#line 8542 "configure" #include "confdefs.h" #include <math.h> int main() { acosl(0); ; return 0; } EOF -if { (eval echo configure:8545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_acosl_use=yes else @@ -8566,12 +8570,12 @@ fi for ac_func in acosl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8570: checking for $ac_func" >&5 +echo "configure:8574: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8575 "configure" +#line 8579 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8594,7 +8598,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8622,7 +8626,7 @@ done echo $ac_n "checking for asinl declaration""... $ac_c" 1>&6 -echo "configure:8626: checking for asinl declaration" >&5 +echo "configure:8630: checking for asinl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_asinl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8636,14 +8640,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8640 "configure" +#line 8644 "configure" #include "confdefs.h" #include <math.h> int main() { asinl(0); ; return 0; } EOF -if { (eval echo configure:8647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_asinl_use=yes else @@ -8668,12 +8672,12 @@ fi for ac_func in asinl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8672: checking for $ac_func" >&5 +echo "configure:8676: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8677 "configure" +#line 8681 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8696,7 +8700,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8724,7 +8728,7 @@ done echo $ac_n "checking for atanl declaration""... $ac_c" 1>&6 -echo "configure:8728: checking for atanl declaration" >&5 +echo "configure:8732: checking for atanl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_atanl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8738,14 +8742,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8742 "configure" +#line 8746 "configure" #include "confdefs.h" #include <math.h> int main() { atanl(0); ; return 0; } EOF -if { (eval echo configure:8749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_atanl_use=yes else @@ -8770,12 +8774,12 @@ fi for ac_func in atanl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8774: checking for $ac_func" >&5 +echo "configure:8778: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8779 "configure" +#line 8783 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8798,7 +8802,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8826,7 +8830,7 @@ done echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6 -echo "configure:8830: checking for atan2l declaration" >&5 +echo "configure:8834: checking for atan2l declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8840,14 +8844,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8844 "configure" +#line 8848 "configure" #include "confdefs.h" #include <math.h> int main() { atan2l(0, 0); ; return 0; } EOF -if { (eval echo configure:8851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_atan2l_use=yes else @@ -8872,12 +8876,12 @@ fi for ac_func in atan2l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8876: checking for $ac_func" >&5 +echo "configure:8880: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8881 "configure" +#line 8885 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8900,7 +8904,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -8928,7 +8932,7 @@ done echo $ac_n "checking for ceill declaration""... $ac_c" 1>&6 -echo "configure:8932: checking for ceill declaration" >&5 +echo "configure:8936: checking for ceill declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_ceill_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8942,14 +8946,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 8946 "configure" +#line 8950 "configure" #include "confdefs.h" #include <math.h> int main() { ceill(0); ; return 0; } EOF -if { (eval echo configure:8953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_ceill_use=yes else @@ -8974,12 +8978,12 @@ fi for ac_func in ceill do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8978: checking for $ac_func" >&5 +echo "configure:8982: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 8983 "configure" +#line 8987 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9002,7 +9006,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9030,7 +9034,7 @@ done echo $ac_n "checking for cosl declaration""... $ac_c" 1>&6 -echo "configure:9034: checking for cosl declaration" >&5 +echo "configure:9038: checking for cosl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_cosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9044,14 +9048,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9048 "configure" +#line 9052 "configure" #include "confdefs.h" #include <math.h> int main() { cosl(0); ; return 0; } EOF -if { (eval echo configure:9055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_cosl_use=yes else @@ -9076,12 +9080,12 @@ fi for ac_func in cosl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9080: checking for $ac_func" >&5 +echo "configure:9084: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9085 "configure" +#line 9089 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9104,7 +9108,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9132,7 +9136,7 @@ done echo $ac_n "checking for coshl declaration""... $ac_c" 1>&6 -echo "configure:9136: checking for coshl declaration" >&5 +echo "configure:9140: checking for coshl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_coshl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9146,14 +9150,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9150 "configure" +#line 9154 "configure" #include "confdefs.h" #include <math.h> int main() { coshl(0); ; return 0; } EOF -if { (eval echo configure:9157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_coshl_use=yes else @@ -9178,12 +9182,12 @@ fi for ac_func in coshl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9182: checking for $ac_func" >&5 +echo "configure:9186: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9187 "configure" +#line 9191 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9206,7 +9210,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9234,7 +9238,7 @@ done echo $ac_n "checking for expl declaration""... $ac_c" 1>&6 -echo "configure:9238: checking for expl declaration" >&5 +echo "configure:9242: checking for expl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9248,14 +9252,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9252 "configure" +#line 9256 "configure" #include "confdefs.h" #include <math.h> int main() { expl(0); ; return 0; } EOF -if { (eval echo configure:9259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_expl_use=yes else @@ -9280,12 +9284,12 @@ fi for ac_func in expl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9284: checking for $ac_func" >&5 +echo "configure:9288: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9289 "configure" +#line 9293 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9308,7 +9312,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9336,7 +9340,7 @@ done echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6 -echo "configure:9340: checking for fabsl declaration" >&5 +echo "configure:9344: checking for fabsl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9350,14 +9354,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9354 "configure" +#line 9358 "configure" #include "confdefs.h" #include <math.h> int main() { fabsl(0); ; return 0; } EOF -if { (eval echo configure:9361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_fabsl_use=yes else @@ -9382,12 +9386,12 @@ fi for ac_func in fabsl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9386: checking for $ac_func" >&5 +echo "configure:9390: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9391 "configure" +#line 9395 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9410,7 +9414,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9438,7 +9442,7 @@ done echo $ac_n "checking for floorl declaration""... $ac_c" 1>&6 -echo "configure:9442: checking for floorl declaration" >&5 +echo "configure:9446: checking for floorl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_floorl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9452,14 +9456,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9456 "configure" +#line 9460 "configure" #include "confdefs.h" #include <math.h> int main() { floorl(0); ; return 0; } EOF -if { (eval echo configure:9463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_floorl_use=yes else @@ -9484,12 +9488,12 @@ fi for ac_func in floorl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9488: checking for $ac_func" >&5 +echo "configure:9492: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9493 "configure" +#line 9497 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9512,7 +9516,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9540,7 +9544,7 @@ done echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6 -echo "configure:9544: checking for fmodl declaration" >&5 +echo "configure:9548: checking for fmodl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9554,14 +9558,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9558 "configure" +#line 9562 "configure" #include "confdefs.h" #include <math.h> int main() { fmodl(0, 0); ; return 0; } EOF -if { (eval echo configure:9565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_fmodl_use=yes else @@ -9586,12 +9590,12 @@ fi for ac_func in fmodl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9590: checking for $ac_func" >&5 +echo "configure:9594: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9595 "configure" +#line 9599 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9614,7 +9618,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9642,7 +9646,7 @@ done echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6 -echo "configure:9646: checking for frexpl declaration" >&5 +echo "configure:9650: checking for frexpl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9656,14 +9660,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9660 "configure" +#line 9664 "configure" #include "confdefs.h" #include <math.h> int main() { frexpl(0, 0); ; return 0; } EOF -if { (eval echo configure:9667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_frexpl_use=yes else @@ -9688,12 +9692,12 @@ fi for ac_func in frexpl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9692: checking for $ac_func" >&5 +echo "configure:9696: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9697 "configure" +#line 9701 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9716,7 +9720,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9744,7 +9748,7 @@ done echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6 -echo "configure:9748: checking for ldexpl declaration" >&5 +echo "configure:9752: checking for ldexpl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9758,14 +9762,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9762 "configure" +#line 9766 "configure" #include "confdefs.h" #include <math.h> int main() { ldexpl(0, 0); ; return 0; } EOF -if { (eval echo configure:9769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_ldexpl_use=yes else @@ -9790,12 +9794,12 @@ fi for ac_func in ldexpl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9794: checking for $ac_func" >&5 +echo "configure:9798: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9799 "configure" +#line 9803 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9818,7 +9822,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9846,7 +9850,7 @@ done echo $ac_n "checking for logl declaration""... $ac_c" 1>&6 -echo "configure:9850: checking for logl declaration" >&5 +echo "configure:9854: checking for logl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9860,14 +9864,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9864 "configure" +#line 9868 "configure" #include "confdefs.h" #include <math.h> int main() { logl(0); ; return 0; } EOF -if { (eval echo configure:9871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_logl_use=yes else @@ -9892,12 +9896,12 @@ fi for ac_func in logl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9896: checking for $ac_func" >&5 +echo "configure:9900: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 9901 "configure" +#line 9905 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9920,7 +9924,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -9948,7 +9952,7 @@ done echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6 -echo "configure:9952: checking for log10l declaration" >&5 +echo "configure:9956: checking for log10l declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9962,14 +9966,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 9966 "configure" +#line 9970 "configure" #include "confdefs.h" #include <math.h> int main() { log10l(0); ; return 0; } EOF -if { (eval echo configure:9973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_log10l_use=yes else @@ -9994,12 +9998,12 @@ fi for ac_func in log10l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9998: checking for $ac_func" >&5 +echo "configure:10002: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10003 "configure" +#line 10007 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10022,7 +10026,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10050,7 +10054,7 @@ done echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6 -echo "configure:10054: checking for modfl declaration" >&5 +echo "configure:10058: checking for modfl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10064,14 +10068,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10068 "configure" +#line 10072 "configure" #include "confdefs.h" #include <math.h> int main() { modfl(0, 0); ; return 0; } EOF -if { (eval echo configure:10075: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_modfl_use=yes else @@ -10096,12 +10100,12 @@ fi for ac_func in modfl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10100: checking for $ac_func" >&5 +echo "configure:10104: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10105 "configure" +#line 10109 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10124,7 +10128,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10152,7 +10156,7 @@ done echo $ac_n "checking for powl declaration""... $ac_c" 1>&6 -echo "configure:10156: checking for powl declaration" >&5 +echo "configure:10160: checking for powl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10166,14 +10170,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10170 "configure" +#line 10174 "configure" #include "confdefs.h" #include <math.h> int main() { powl(0, 0); ; return 0; } EOF -if { (eval echo configure:10177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_powl_use=yes else @@ -10198,12 +10202,12 @@ fi for ac_func in powl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10202: checking for $ac_func" >&5 +echo "configure:10206: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10207 "configure" +#line 10211 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10226,7 +10230,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10254,7 +10258,7 @@ done echo $ac_n "checking for sinl declaration""... $ac_c" 1>&6 -echo "configure:10258: checking for sinl declaration" >&5 +echo "configure:10262: checking for sinl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sinl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10268,14 +10272,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10272 "configure" +#line 10276 "configure" #include "confdefs.h" #include <math.h> int main() { sinl(0); ; return 0; } EOF -if { (eval echo configure:10279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sinl_use=yes else @@ -10300,12 +10304,12 @@ fi for ac_func in sinl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10304: checking for $ac_func" >&5 +echo "configure:10308: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10309 "configure" +#line 10313 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10328,7 +10332,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10356,7 +10360,7 @@ done echo $ac_n "checking for sinhl declaration""... $ac_c" 1>&6 -echo "configure:10360: checking for sinhl declaration" >&5 +echo "configure:10364: checking for sinhl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sinhl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10370,14 +10374,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10374 "configure" +#line 10378 "configure" #include "confdefs.h" #include <math.h> int main() { sinhl(0); ; return 0; } EOF -if { (eval echo configure:10381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sinhl_use=yes else @@ -10402,12 +10406,12 @@ fi for ac_func in sinhl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10406: checking for $ac_func" >&5 +echo "configure:10410: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10411 "configure" +#line 10415 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10430,7 +10434,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10458,7 +10462,7 @@ done echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6 -echo "configure:10462: checking for sqrtl declaration" >&5 +echo "configure:10466: checking for sqrtl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10472,14 +10476,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10476 "configure" +#line 10480 "configure" #include "confdefs.h" #include <math.h> int main() { sqrtl(0); ; return 0; } EOF -if { (eval echo configure:10483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sqrtl_use=yes else @@ -10504,12 +10508,12 @@ fi for ac_func in sqrtl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10508: checking for $ac_func" >&5 +echo "configure:10512: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10513 "configure" +#line 10517 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10532,7 +10536,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10560,7 +10564,7 @@ done echo $ac_n "checking for tanl declaration""... $ac_c" 1>&6 -echo "configure:10564: checking for tanl declaration" >&5 +echo "configure:10568: checking for tanl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_tanl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10574,14 +10578,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10578 "configure" +#line 10582 "configure" #include "confdefs.h" #include <math.h> int main() { tanl(0); ; return 0; } EOF -if { (eval echo configure:10585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_tanl_use=yes else @@ -10606,12 +10610,12 @@ fi for ac_func in tanl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10610: checking for $ac_func" >&5 +echo "configure:10614: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10615 "configure" +#line 10619 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10634,7 +10638,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10662,7 +10666,7 @@ done echo $ac_n "checking for tanhl declaration""... $ac_c" 1>&6 -echo "configure:10666: checking for tanhl declaration" >&5 +echo "configure:10670: checking for tanhl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_tanhl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10676,14 +10680,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10680 "configure" +#line 10684 "configure" #include "confdefs.h" #include <math.h> int main() { tanhl(0); ; return 0; } EOF -if { (eval echo configure:10687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_tanhl_use=yes else @@ -10708,12 +10712,12 @@ fi for ac_func in tanhl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10712: checking for $ac_func" >&5 +echo "configure:10716: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10717 "configure" +#line 10721 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10736,7 +10740,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10764,7 +10768,7 @@ done echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6 -echo "configure:10768: checking for sincosl declaration" >&5 +echo "configure:10772: checking for sincosl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10778,14 +10782,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10782 "configure" +#line 10786 "configure" #include "confdefs.h" #include <math.h> int main() { sincosl(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:10789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_sincosl_use=yes else @@ -10810,12 +10814,12 @@ fi for ac_func in sincosl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10814: checking for $ac_func" >&5 +echo "configure:10818: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10819 "configure" +#line 10823 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10838,7 +10842,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10866,7 +10870,7 @@ done echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6 -echo "configure:10870: checking for finitel declaration" >&5 +echo "configure:10874: checking for finitel declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10880,14 +10884,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10884 "configure" +#line 10888 "configure" #include "confdefs.h" #include <math.h> int main() { finitel(0); ; return 0; } EOF -if { (eval echo configure:10891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_finitel_use=yes else @@ -10912,12 +10916,12 @@ fi for ac_func in finitel do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10916: checking for $ac_func" >&5 +echo "configure:10920: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 10921 "configure" +#line 10925 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10940,7 +10944,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -10969,7 +10973,7 @@ done echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6 -echo "configure:10973: checking for _isinf declaration" >&5 +echo "configure:10977: checking for _isinf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10983,14 +10987,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 10987 "configure" +#line 10991 "configure" #include "confdefs.h" #include <math.h> int main() { _isinf(0); ; return 0; } EOF -if { (eval echo configure:10994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__isinf_use=yes else @@ -11015,12 +11019,12 @@ fi for ac_func in _isinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11019: checking for $ac_func" >&5 +echo "configure:11023: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11024 "configure" +#line 11028 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11043,7 +11047,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11071,7 +11075,7 @@ done echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6 -echo "configure:11075: checking for _isnan declaration" >&5 +echo "configure:11079: checking for _isnan declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11085,14 +11089,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11089 "configure" +#line 11093 "configure" #include "confdefs.h" #include <math.h> int main() { _isnan(0); ; return 0; } EOF -if { (eval echo configure:11096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__isnan_use=yes else @@ -11117,12 +11121,12 @@ fi for ac_func in _isnan do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11121: checking for $ac_func" >&5 +echo "configure:11125: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11126 "configure" +#line 11130 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11145,7 +11149,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11173,7 +11177,7 @@ done echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6 -echo "configure:11177: checking for _finite declaration" >&5 +echo "configure:11181: checking for _finite declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11187,14 +11191,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11191 "configure" +#line 11195 "configure" #include "confdefs.h" #include <math.h> int main() { _finite(0); ; return 0; } EOF -if { (eval echo configure:11198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__finite_use=yes else @@ -11219,12 +11223,12 @@ fi for ac_func in _finite do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11223: checking for $ac_func" >&5 +echo "configure:11227: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11228 "configure" +#line 11232 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11247,7 +11251,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11275,7 +11279,7 @@ done echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6 -echo "configure:11279: checking for _copysign declaration" >&5 +echo "configure:11283: checking for _copysign declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11289,14 +11293,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11293 "configure" +#line 11297 "configure" #include "confdefs.h" #include <math.h> int main() { _copysign(0, 0); ; return 0; } EOF -if { (eval echo configure:11300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__copysign_use=yes else @@ -11321,12 +11325,12 @@ fi for ac_func in _copysign do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11325: checking for $ac_func" >&5 +echo "configure:11329: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11330 "configure" +#line 11334 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11349,7 +11353,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11377,7 +11381,7 @@ done echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6 -echo "configure:11381: checking for _sincos declaration" >&5 +echo "configure:11385: checking for _sincos declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11391,14 +11395,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11395 "configure" +#line 11399 "configure" #include "confdefs.h" #include <math.h> int main() { _sincos(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:11402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sincos_use=yes else @@ -11423,12 +11427,12 @@ fi for ac_func in _sincos do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11427: checking for $ac_func" >&5 +echo "configure:11431: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11432 "configure" +#line 11436 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11451,7 +11455,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11479,7 +11483,7 @@ done echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6 -echo "configure:11483: checking for _fpclass declaration" >&5 +echo "configure:11487: checking for _fpclass declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11493,14 +11497,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11497 "configure" +#line 11501 "configure" #include "confdefs.h" #include <math.h> int main() { _fpclass(0); ; return 0; } EOF -if { (eval echo configure:11504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__fpclass_use=yes else @@ -11525,12 +11529,12 @@ fi for ac_func in _fpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11529: checking for $ac_func" >&5 +echo "configure:11533: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11534 "configure" +#line 11538 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11553,7 +11557,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11581,7 +11585,7 @@ done echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6 -echo "configure:11585: checking for _qfpclass declaration" >&5 +echo "configure:11589: checking for _qfpclass declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11595,14 +11599,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11599 "configure" +#line 11603 "configure" #include "confdefs.h" #include <math.h> int main() { _qfpclass(0); ; return 0; } EOF -if { (eval echo configure:11606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__qfpclass_use=yes else @@ -11627,12 +11631,12 @@ fi for ac_func in _qfpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11631: checking for $ac_func" >&5 +echo "configure:11635: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11636 "configure" +#line 11640 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11655,7 +11659,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11684,7 +11688,7 @@ done echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6 -echo "configure:11688: checking for _isnanf declaration" >&5 +echo "configure:11692: checking for _isnanf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11698,14 +11702,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11702 "configure" +#line 11706 "configure" #include "confdefs.h" #include <math.h> int main() { _isnanf(0); ; return 0; } EOF -if { (eval echo configure:11709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__isnanf_use=yes else @@ -11730,12 +11734,12 @@ fi for ac_func in _isnanf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11734: checking for $ac_func" >&5 +echo "configure:11738: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11739 "configure" +#line 11743 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11758,7 +11762,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11786,7 +11790,7 @@ done echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6 -echo "configure:11790: checking for _isinff declaration" >&5 +echo "configure:11794: checking for _isinff declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11800,14 +11804,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11804 "configure" +#line 11808 "configure" #include "confdefs.h" #include <math.h> int main() { _isinff(0); ; return 0; } EOF -if { (eval echo configure:11811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11815: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__isinff_use=yes else @@ -11832,12 +11836,12 @@ fi for ac_func in _isinff do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11836: checking for $ac_func" >&5 +echo "configure:11840: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11841 "configure" +#line 11845 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11860,7 +11864,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11888,7 +11892,7 @@ done echo $ac_n "checking for _acosf declaration""... $ac_c" 1>&6 -echo "configure:11892: checking for _acosf declaration" >&5 +echo "configure:11896: checking for _acosf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__acosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11902,14 +11906,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 11906 "configure" +#line 11910 "configure" #include "confdefs.h" #include <math.h> int main() { _acosf(0); ; return 0; } EOF -if { (eval echo configure:11913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__acosf_use=yes else @@ -11934,12 +11938,12 @@ fi for ac_func in _acosf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11938: checking for $ac_func" >&5 +echo "configure:11942: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 11943 "configure" +#line 11947 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11962,7 +11966,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -11990,7 +11994,7 @@ done echo $ac_n "checking for _asinf declaration""... $ac_c" 1>&6 -echo "configure:11994: checking for _asinf declaration" >&5 +echo "configure:11998: checking for _asinf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__asinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12004,14 +12008,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12008 "configure" +#line 12012 "configure" #include "confdefs.h" #include <math.h> int main() { _asinf(0); ; return 0; } EOF -if { (eval echo configure:12015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__asinf_use=yes else @@ -12036,12 +12040,12 @@ fi for ac_func in _asinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12040: checking for $ac_func" >&5 +echo "configure:12044: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12045 "configure" +#line 12049 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12064,7 +12068,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12092,7 +12096,7 @@ done echo $ac_n "checking for _atanf declaration""... $ac_c" 1>&6 -echo "configure:12096: checking for _atanf declaration" >&5 +echo "configure:12100: checking for _atanf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__atanf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12106,14 +12110,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12110 "configure" +#line 12114 "configure" #include "confdefs.h" #include <math.h> int main() { _atanf(0); ; return 0; } EOF -if { (eval echo configure:12117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__atanf_use=yes else @@ -12138,12 +12142,12 @@ fi for ac_func in _atanf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12142: checking for $ac_func" >&5 +echo "configure:12146: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12147 "configure" +#line 12151 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12166,7 +12170,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12194,7 +12198,7 @@ done echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6 -echo "configure:12198: checking for _atan2f declaration" >&5 +echo "configure:12202: checking for _atan2f declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12208,14 +12212,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12212 "configure" +#line 12216 "configure" #include "confdefs.h" #include <math.h> int main() { _atan2f(0, 0); ; return 0; } EOF -if { (eval echo configure:12219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__atan2f_use=yes else @@ -12240,12 +12244,12 @@ fi for ac_func in _atan2f do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12244: checking for $ac_func" >&5 +echo "configure:12248: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12249 "configure" +#line 12253 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12268,7 +12272,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12296,7 +12300,7 @@ done echo $ac_n "checking for _ceilf declaration""... $ac_c" 1>&6 -echo "configure:12300: checking for _ceilf declaration" >&5 +echo "configure:12304: checking for _ceilf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__ceilf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12310,14 +12314,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12314 "configure" +#line 12318 "configure" #include "confdefs.h" #include <math.h> int main() { _ceilf(0); ; return 0; } EOF -if { (eval echo configure:12321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__ceilf_use=yes else @@ -12342,12 +12346,12 @@ fi for ac_func in _ceilf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12346: checking for $ac_func" >&5 +echo "configure:12350: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12351 "configure" +#line 12355 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12370,7 +12374,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12398,7 +12402,7 @@ done echo $ac_n "checking for _cosf declaration""... $ac_c" 1>&6 -echo "configure:12402: checking for _cosf declaration" >&5 +echo "configure:12406: checking for _cosf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__cosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12412,14 +12416,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12416 "configure" +#line 12420 "configure" #include "confdefs.h" #include <math.h> int main() { _cosf(0); ; return 0; } EOF -if { (eval echo configure:12423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__cosf_use=yes else @@ -12444,12 +12448,12 @@ fi for ac_func in _cosf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12448: checking for $ac_func" >&5 +echo "configure:12452: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12453 "configure" +#line 12457 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12472,7 +12476,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12500,7 +12504,7 @@ done echo $ac_n "checking for _coshf declaration""... $ac_c" 1>&6 -echo "configure:12504: checking for _coshf declaration" >&5 +echo "configure:12508: checking for _coshf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__coshf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12514,14 +12518,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12518 "configure" +#line 12522 "configure" #include "confdefs.h" #include <math.h> int main() { _coshf(0); ; return 0; } EOF -if { (eval echo configure:12525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__coshf_use=yes else @@ -12546,12 +12550,12 @@ fi for ac_func in _coshf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12550: checking for $ac_func" >&5 +echo "configure:12554: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12555 "configure" +#line 12559 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12574,7 +12578,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12602,7 +12606,7 @@ done echo $ac_n "checking for _expf declaration""... $ac_c" 1>&6 -echo "configure:12606: checking for _expf declaration" >&5 +echo "configure:12610: checking for _expf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__expf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12616,14 +12620,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12620 "configure" +#line 12624 "configure" #include "confdefs.h" #include <math.h> int main() { _expf(0); ; return 0; } EOF -if { (eval echo configure:12627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__expf_use=yes else @@ -12648,12 +12652,12 @@ fi for ac_func in _expf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12652: checking for $ac_func" >&5 +echo "configure:12656: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12657 "configure" +#line 12661 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12676,7 +12680,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12704,7 +12708,7 @@ done echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6 -echo "configure:12708: checking for _fabsf declaration" >&5 +echo "configure:12712: checking for _fabsf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12718,14 +12722,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12722 "configure" +#line 12726 "configure" #include "confdefs.h" #include <math.h> int main() { _fabsf(0); ; return 0; } EOF -if { (eval echo configure:12729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__fabsf_use=yes else @@ -12750,12 +12754,12 @@ fi for ac_func in _fabsf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12754: checking for $ac_func" >&5 +echo "configure:12758: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12759 "configure" +#line 12763 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12778,7 +12782,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12806,7 +12810,7 @@ done echo $ac_n "checking for _floorf declaration""... $ac_c" 1>&6 -echo "configure:12810: checking for _floorf declaration" >&5 +echo "configure:12814: checking for _floorf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__floorf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12820,14 +12824,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12824 "configure" +#line 12828 "configure" #include "confdefs.h" #include <math.h> int main() { _floorf(0); ; return 0; } EOF -if { (eval echo configure:12831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12835: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__floorf_use=yes else @@ -12852,12 +12856,12 @@ fi for ac_func in _floorf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12856: checking for $ac_func" >&5 +echo "configure:12860: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12861 "configure" +#line 12865 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12880,7 +12884,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -12908,7 +12912,7 @@ done echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6 -echo "configure:12912: checking for _fmodf declaration" >&5 +echo "configure:12916: checking for _fmodf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12922,14 +12926,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 12926 "configure" +#line 12930 "configure" #include "confdefs.h" #include <math.h> int main() { _fmodf(0, 0); ; return 0; } EOF -if { (eval echo configure:12933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__fmodf_use=yes else @@ -12954,12 +12958,12 @@ fi for ac_func in _fmodf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12958: checking for $ac_func" >&5 +echo "configure:12962: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 12963 "configure" +#line 12967 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12982,7 +12986,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13010,7 +13014,7 @@ done echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6 -echo "configure:13014: checking for _frexpf declaration" >&5 +echo "configure:13018: checking for _frexpf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13024,14 +13028,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13028 "configure" +#line 13032 "configure" #include "confdefs.h" #include <math.h> int main() { _frexpf(0, 0); ; return 0; } EOF -if { (eval echo configure:13035: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__frexpf_use=yes else @@ -13056,12 +13060,12 @@ fi for ac_func in _frexpf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13060: checking for $ac_func" >&5 +echo "configure:13064: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13065 "configure" +#line 13069 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13084,7 +13088,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13112,7 +13116,7 @@ done echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6 -echo "configure:13116: checking for _ldexpf declaration" >&5 +echo "configure:13120: checking for _ldexpf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13126,14 +13130,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13130 "configure" +#line 13134 "configure" #include "confdefs.h" #include <math.h> int main() { _ldexpf(0, 0); ; return 0; } EOF -if { (eval echo configure:13137: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__ldexpf_use=yes else @@ -13158,12 +13162,12 @@ fi for ac_func in _ldexpf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13162: checking for $ac_func" >&5 +echo "configure:13166: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13167 "configure" +#line 13171 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13186,7 +13190,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13214,7 +13218,7 @@ done echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6 -echo "configure:13218: checking for _logf declaration" >&5 +echo "configure:13222: checking for _logf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13228,14 +13232,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13232 "configure" +#line 13236 "configure" #include "confdefs.h" #include <math.h> int main() { _logf(0); ; return 0; } EOF -if { (eval echo configure:13239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__logf_use=yes else @@ -13260,12 +13264,12 @@ fi for ac_func in _logf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13264: checking for $ac_func" >&5 +echo "configure:13268: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13269 "configure" +#line 13273 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13288,7 +13292,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13316,7 +13320,7 @@ done echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6 -echo "configure:13320: checking for _log10f declaration" >&5 +echo "configure:13324: checking for _log10f declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13330,14 +13334,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13334 "configure" +#line 13338 "configure" #include "confdefs.h" #include <math.h> int main() { _log10f(0); ; return 0; } EOF -if { (eval echo configure:13341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__log10f_use=yes else @@ -13362,12 +13366,12 @@ fi for ac_func in _log10f do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13366: checking for $ac_func" >&5 +echo "configure:13370: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13371 "configure" +#line 13375 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13390,7 +13394,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13418,7 +13422,7 @@ done echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6 -echo "configure:13422: checking for _modff declaration" >&5 +echo "configure:13426: checking for _modff declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13432,14 +13436,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13436 "configure" +#line 13440 "configure" #include "confdefs.h" #include <math.h> int main() { _modff(0, 0); ; return 0; } EOF -if { (eval echo configure:13443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__modff_use=yes else @@ -13464,12 +13468,12 @@ fi for ac_func in _modff do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13468: checking for $ac_func" >&5 +echo "configure:13472: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13473 "configure" +#line 13477 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13492,7 +13496,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13520,7 +13524,7 @@ done echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6 -echo "configure:13524: checking for _powf declaration" >&5 +echo "configure:13528: checking for _powf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13534,14 +13538,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13538 "configure" +#line 13542 "configure" #include "confdefs.h" #include <math.h> int main() { _powf(0, 0); ; return 0; } EOF -if { (eval echo configure:13545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__powf_use=yes else @@ -13566,12 +13570,12 @@ fi for ac_func in _powf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13570: checking for $ac_func" >&5 +echo "configure:13574: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13575 "configure" +#line 13579 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13594,7 +13598,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13622,7 +13626,7 @@ done echo $ac_n "checking for _sinf declaration""... $ac_c" 1>&6 -echo "configure:13626: checking for _sinf declaration" >&5 +echo "configure:13630: checking for _sinf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13636,14 +13640,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13640 "configure" +#line 13644 "configure" #include "confdefs.h" #include <math.h> int main() { _sinf(0); ; return 0; } EOF -if { (eval echo configure:13647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sinf_use=yes else @@ -13668,12 +13672,12 @@ fi for ac_func in _sinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13672: checking for $ac_func" >&5 +echo "configure:13676: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13677 "configure" +#line 13681 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13696,7 +13700,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13724,7 +13728,7 @@ done echo $ac_n "checking for _sinhf declaration""... $ac_c" 1>&6 -echo "configure:13728: checking for _sinhf declaration" >&5 +echo "configure:13732: checking for _sinhf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13738,14 +13742,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13742 "configure" +#line 13746 "configure" #include "confdefs.h" #include <math.h> int main() { _sinhf(0); ; return 0; } EOF -if { (eval echo configure:13749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sinhf_use=yes else @@ -13770,12 +13774,12 @@ fi for ac_func in _sinhf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13774: checking for $ac_func" >&5 +echo "configure:13778: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13779 "configure" +#line 13783 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13798,7 +13802,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13826,7 +13830,7 @@ done echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6 -echo "configure:13830: checking for _sqrtf declaration" >&5 +echo "configure:13834: checking for _sqrtf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13840,14 +13844,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13844 "configure" +#line 13848 "configure" #include "confdefs.h" #include <math.h> int main() { _sqrtf(0); ; return 0; } EOF -if { (eval echo configure:13851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sqrtf_use=yes else @@ -13872,12 +13876,12 @@ fi for ac_func in _sqrtf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13876: checking for $ac_func" >&5 +echo "configure:13880: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13881 "configure" +#line 13885 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13900,7 +13904,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -13928,7 +13932,7 @@ done echo $ac_n "checking for _tanf declaration""... $ac_c" 1>&6 -echo "configure:13932: checking for _tanf declaration" >&5 +echo "configure:13936: checking for _tanf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__tanf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13942,14 +13946,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 13946 "configure" +#line 13950 "configure" #include "confdefs.h" #include <math.h> int main() { _tanf(0); ; return 0; } EOF -if { (eval echo configure:13953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__tanf_use=yes else @@ -13974,12 +13978,12 @@ fi for ac_func in _tanf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13978: checking for $ac_func" >&5 +echo "configure:13982: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 13983 "configure" +#line 13987 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14002,7 +14006,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14030,7 +14034,7 @@ done echo $ac_n "checking for _tanhf declaration""... $ac_c" 1>&6 -echo "configure:14034: checking for _tanhf declaration" >&5 +echo "configure:14038: checking for _tanhf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14044,14 +14048,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14048 "configure" +#line 14052 "configure" #include "confdefs.h" #include <math.h> int main() { _tanhf(0); ; return 0; } EOF -if { (eval echo configure:14055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__tanhf_use=yes else @@ -14076,12 +14080,12 @@ fi for ac_func in _tanhf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14080: checking for $ac_func" >&5 +echo "configure:14084: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14085 "configure" +#line 14089 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14104,7 +14108,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14132,7 +14136,7 @@ done echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6 -echo "configure:14136: checking for _sincosf declaration" >&5 +echo "configure:14140: checking for _sincosf declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14146,14 +14150,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14150 "configure" +#line 14154 "configure" #include "confdefs.h" #include <math.h> int main() { _sincosf(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:14157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sincosf_use=yes else @@ -14178,12 +14182,12 @@ fi for ac_func in _sincosf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14182: checking for $ac_func" >&5 +echo "configure:14186: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14187 "configure" +#line 14191 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14206,7 +14210,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14234,7 +14238,7 @@ done echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6 -echo "configure:14238: checking for _finitef declaration" >&5 +echo "configure:14242: checking for _finitef declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14248,14 +14252,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14252 "configure" +#line 14256 "configure" #include "confdefs.h" #include <math.h> int main() { _finitef(0); ; return 0; } EOF -if { (eval echo configure:14259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__finitef_use=yes else @@ -14280,12 +14284,12 @@ fi for ac_func in _finitef do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14284: checking for $ac_func" >&5 +echo "configure:14288: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14289 "configure" +#line 14293 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14308,7 +14312,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14337,7 +14341,7 @@ done echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6 -echo "configure:14341: checking for _isnanl declaration" >&5 +echo "configure:14345: checking for _isnanl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14351,14 +14355,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14355 "configure" +#line 14359 "configure" #include "confdefs.h" #include <math.h> int main() { _isnanl(0); ; return 0; } EOF -if { (eval echo configure:14362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__isnanl_use=yes else @@ -14383,12 +14387,12 @@ fi for ac_func in _isnanl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14387: checking for $ac_func" >&5 +echo "configure:14391: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14392 "configure" +#line 14396 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14411,7 +14415,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14439,7 +14443,7 @@ done echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6 -echo "configure:14443: checking for _isinfl declaration" >&5 +echo "configure:14447: checking for _isinfl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14453,14 +14457,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14457 "configure" +#line 14461 "configure" #include "confdefs.h" #include <math.h> int main() { _isinfl(0); ; return 0; } EOF -if { (eval echo configure:14464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__isinfl_use=yes else @@ -14485,12 +14489,12 @@ fi for ac_func in _isinfl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14489: checking for $ac_func" >&5 +echo "configure:14493: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14494 "configure" +#line 14498 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14513,7 +14517,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14541,7 +14545,7 @@ done echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6 -echo "configure:14545: checking for _copysignl declaration" >&5 +echo "configure:14549: checking for _copysignl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14555,14 +14559,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14559 "configure" +#line 14563 "configure" #include "confdefs.h" #include <math.h> int main() { _copysignl(0, 0); ; return 0; } EOF -if { (eval echo configure:14566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__copysignl_use=yes else @@ -14587,12 +14591,12 @@ fi for ac_func in _copysignl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14591: checking for $ac_func" >&5 +echo "configure:14595: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14596 "configure" +#line 14600 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14615,7 +14619,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14643,7 +14647,7 @@ done echo $ac_n "checking for _acosl declaration""... $ac_c" 1>&6 -echo "configure:14647: checking for _acosl declaration" >&5 +echo "configure:14651: checking for _acosl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__acosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14657,14 +14661,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14661 "configure" +#line 14665 "configure" #include "confdefs.h" #include <math.h> int main() { _acosl(0); ; return 0; } EOF -if { (eval echo configure:14668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__acosl_use=yes else @@ -14689,12 +14693,12 @@ fi for ac_func in _acosl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14693: checking for $ac_func" >&5 +echo "configure:14697: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14698 "configure" +#line 14702 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14717,7 +14721,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14745,7 +14749,7 @@ done echo $ac_n "checking for _asinl declaration""... $ac_c" 1>&6 -echo "configure:14749: checking for _asinl declaration" >&5 +echo "configure:14753: checking for _asinl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__asinl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14759,14 +14763,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14763 "configure" +#line 14767 "configure" #include "confdefs.h" #include <math.h> int main() { _asinl(0); ; return 0; } EOF -if { (eval echo configure:14770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__asinl_use=yes else @@ -14791,12 +14795,12 @@ fi for ac_func in _asinl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14795: checking for $ac_func" >&5 +echo "configure:14799: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14800 "configure" +#line 14804 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14819,7 +14823,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14847,7 +14851,7 @@ done echo $ac_n "checking for _atanl declaration""... $ac_c" 1>&6 -echo "configure:14851: checking for _atanl declaration" >&5 +echo "configure:14855: checking for _atanl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__atanl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14861,14 +14865,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14865 "configure" +#line 14869 "configure" #include "confdefs.h" #include <math.h> int main() { _atanl(0); ; return 0; } EOF -if { (eval echo configure:14872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__atanl_use=yes else @@ -14893,12 +14897,12 @@ fi for ac_func in _atanl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14897: checking for $ac_func" >&5 +echo "configure:14901: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 14902 "configure" +#line 14906 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14921,7 +14925,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -14949,7 +14953,7 @@ done echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6 -echo "configure:14953: checking for _atan2l declaration" >&5 +echo "configure:14957: checking for _atan2l declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -14963,14 +14967,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 14967 "configure" +#line 14971 "configure" #include "confdefs.h" #include <math.h> int main() { _atan2l(0, 0); ; return 0; } EOF -if { (eval echo configure:14974: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14978: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__atan2l_use=yes else @@ -14995,12 +14999,12 @@ fi for ac_func in _atan2l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14999: checking for $ac_func" >&5 +echo "configure:15003: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15004 "configure" +#line 15008 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15023,7 +15027,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15051,7 +15055,7 @@ done echo $ac_n "checking for _ceill declaration""... $ac_c" 1>&6 -echo "configure:15055: checking for _ceill declaration" >&5 +echo "configure:15059: checking for _ceill declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__ceill_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15065,14 +15069,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15069 "configure" +#line 15073 "configure" #include "confdefs.h" #include <math.h> int main() { _ceill(0); ; return 0; } EOF -if { (eval echo configure:15076: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__ceill_use=yes else @@ -15097,12 +15101,12 @@ fi for ac_func in _ceill do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15101: checking for $ac_func" >&5 +echo "configure:15105: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15106 "configure" +#line 15110 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15125,7 +15129,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15153,7 +15157,7 @@ done echo $ac_n "checking for _cosl declaration""... $ac_c" 1>&6 -echo "configure:15157: checking for _cosl declaration" >&5 +echo "configure:15161: checking for _cosl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__cosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15167,14 +15171,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15171 "configure" +#line 15175 "configure" #include "confdefs.h" #include <math.h> int main() { _cosl(0); ; return 0; } EOF -if { (eval echo configure:15178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__cosl_use=yes else @@ -15199,12 +15203,12 @@ fi for ac_func in _cosl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15203: checking for $ac_func" >&5 +echo "configure:15207: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15208 "configure" +#line 15212 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15227,7 +15231,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15255,7 +15259,7 @@ done echo $ac_n "checking for _coshl declaration""... $ac_c" 1>&6 -echo "configure:15259: checking for _coshl declaration" >&5 +echo "configure:15263: checking for _coshl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__coshl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15269,14 +15273,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15273 "configure" +#line 15277 "configure" #include "confdefs.h" #include <math.h> int main() { _coshl(0); ; return 0; } EOF -if { (eval echo configure:15280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15284: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__coshl_use=yes else @@ -15301,12 +15305,12 @@ fi for ac_func in _coshl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15305: checking for $ac_func" >&5 +echo "configure:15309: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15310 "configure" +#line 15314 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15329,7 +15333,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15357,7 +15361,7 @@ done echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6 -echo "configure:15361: checking for _expl declaration" >&5 +echo "configure:15365: checking for _expl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15371,14 +15375,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15375 "configure" +#line 15379 "configure" #include "confdefs.h" #include <math.h> int main() { _expl(0); ; return 0; } EOF -if { (eval echo configure:15382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__expl_use=yes else @@ -15403,12 +15407,12 @@ fi for ac_func in _expl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15407: checking for $ac_func" >&5 +echo "configure:15411: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15412 "configure" +#line 15416 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15431,7 +15435,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15459,7 +15463,7 @@ done echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6 -echo "configure:15463: checking for _fabsl declaration" >&5 +echo "configure:15467: checking for _fabsl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15473,14 +15477,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15477 "configure" +#line 15481 "configure" #include "confdefs.h" #include <math.h> int main() { _fabsl(0); ; return 0; } EOF -if { (eval echo configure:15484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__fabsl_use=yes else @@ -15505,12 +15509,12 @@ fi for ac_func in _fabsl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15509: checking for $ac_func" >&5 +echo "configure:15513: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15514 "configure" +#line 15518 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15533,7 +15537,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15561,7 +15565,7 @@ done echo $ac_n "checking for _floorl declaration""... $ac_c" 1>&6 -echo "configure:15565: checking for _floorl declaration" >&5 +echo "configure:15569: checking for _floorl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__floorl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15575,14 +15579,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15579 "configure" +#line 15583 "configure" #include "confdefs.h" #include <math.h> int main() { _floorl(0); ; return 0; } EOF -if { (eval echo configure:15586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__floorl_use=yes else @@ -15607,12 +15611,12 @@ fi for ac_func in _floorl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15611: checking for $ac_func" >&5 +echo "configure:15615: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15616 "configure" +#line 15620 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15635,7 +15639,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15663,7 +15667,7 @@ done echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6 -echo "configure:15667: checking for _fmodl declaration" >&5 +echo "configure:15671: checking for _fmodl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15677,14 +15681,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15681 "configure" +#line 15685 "configure" #include "confdefs.h" #include <math.h> int main() { _fmodl(0, 0); ; return 0; } EOF -if { (eval echo configure:15688: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__fmodl_use=yes else @@ -15709,12 +15713,12 @@ fi for ac_func in _fmodl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15713: checking for $ac_func" >&5 +echo "configure:15717: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15718 "configure" +#line 15722 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15737,7 +15741,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15765,7 +15769,7 @@ done echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6 -echo "configure:15769: checking for _frexpl declaration" >&5 +echo "configure:15773: checking for _frexpl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15779,14 +15783,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15783 "configure" +#line 15787 "configure" #include "confdefs.h" #include <math.h> int main() { _frexpl(0, 0); ; return 0; } EOF -if { (eval echo configure:15790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__frexpl_use=yes else @@ -15811,12 +15815,12 @@ fi for ac_func in _frexpl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15815: checking for $ac_func" >&5 +echo "configure:15819: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15820 "configure" +#line 15824 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15839,7 +15843,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15867,7 +15871,7 @@ done echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6 -echo "configure:15871: checking for _ldexpl declaration" >&5 +echo "configure:15875: checking for _ldexpl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15881,14 +15885,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15885 "configure" +#line 15889 "configure" #include "confdefs.h" #include <math.h> int main() { _ldexpl(0, 0); ; return 0; } EOF -if { (eval echo configure:15892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__ldexpl_use=yes else @@ -15913,12 +15917,12 @@ fi for ac_func in _ldexpl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15917: checking for $ac_func" >&5 +echo "configure:15921: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 15922 "configure" +#line 15926 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15941,7 +15945,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -15969,7 +15973,7 @@ done echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6 -echo "configure:15973: checking for _logl declaration" >&5 +echo "configure:15977: checking for _logl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -15983,14 +15987,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 15987 "configure" +#line 15991 "configure" #include "confdefs.h" #include <math.h> int main() { _logl(0); ; return 0; } EOF -if { (eval echo configure:15994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15998: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__logl_use=yes else @@ -16015,12 +16019,12 @@ fi for ac_func in _logl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16019: checking for $ac_func" >&5 +echo "configure:16023: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16024 "configure" +#line 16028 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16043,7 +16047,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16071,7 +16075,7 @@ done echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6 -echo "configure:16075: checking for _log10l declaration" >&5 +echo "configure:16079: checking for _log10l declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16085,14 +16089,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16089 "configure" +#line 16093 "configure" #include "confdefs.h" #include <math.h> int main() { _log10l(0); ; return 0; } EOF -if { (eval echo configure:16096: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__log10l_use=yes else @@ -16117,12 +16121,12 @@ fi for ac_func in _log10l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16121: checking for $ac_func" >&5 +echo "configure:16125: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16126 "configure" +#line 16130 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16145,7 +16149,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16173,7 +16177,7 @@ done echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6 -echo "configure:16177: checking for _modfl declaration" >&5 +echo "configure:16181: checking for _modfl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16187,14 +16191,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16191 "configure" +#line 16195 "configure" #include "confdefs.h" #include <math.h> int main() { _modfl(0, 0); ; return 0; } EOF -if { (eval echo configure:16198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__modfl_use=yes else @@ -16219,12 +16223,12 @@ fi for ac_func in _modfl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16223: checking for $ac_func" >&5 +echo "configure:16227: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16228 "configure" +#line 16232 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16247,7 +16251,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16275,7 +16279,7 @@ done echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6 -echo "configure:16279: checking for _powl declaration" >&5 +echo "configure:16283: checking for _powl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16289,14 +16293,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16293 "configure" +#line 16297 "configure" #include "confdefs.h" #include <math.h> int main() { _powl(0, 0); ; return 0; } EOF -if { (eval echo configure:16300: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__powl_use=yes else @@ -16321,12 +16325,12 @@ fi for ac_func in _powl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16325: checking for $ac_func" >&5 +echo "configure:16329: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16330 "configure" +#line 16334 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16349,7 +16353,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16377,7 +16381,7 @@ done echo $ac_n "checking for _sinl declaration""... $ac_c" 1>&6 -echo "configure:16381: checking for _sinl declaration" >&5 +echo "configure:16385: checking for _sinl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sinl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16391,14 +16395,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16395 "configure" +#line 16399 "configure" #include "confdefs.h" #include <math.h> int main() { _sinl(0); ; return 0; } EOF -if { (eval echo configure:16402: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sinl_use=yes else @@ -16423,12 +16427,12 @@ fi for ac_func in _sinl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16427: checking for $ac_func" >&5 +echo "configure:16431: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16432 "configure" +#line 16436 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16451,7 +16455,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16479,7 +16483,7 @@ done echo $ac_n "checking for _sinhl declaration""... $ac_c" 1>&6 -echo "configure:16483: checking for _sinhl declaration" >&5 +echo "configure:16487: checking for _sinhl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sinhl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16493,14 +16497,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16497 "configure" +#line 16501 "configure" #include "confdefs.h" #include <math.h> int main() { _sinhl(0); ; return 0; } EOF -if { (eval echo configure:16504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sinhl_use=yes else @@ -16525,12 +16529,12 @@ fi for ac_func in _sinhl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16529: checking for $ac_func" >&5 +echo "configure:16533: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16534 "configure" +#line 16538 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16553,7 +16557,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16581,7 +16585,7 @@ done echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6 -echo "configure:16585: checking for _sqrtl declaration" >&5 +echo "configure:16589: checking for _sqrtl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16595,14 +16599,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16599 "configure" +#line 16603 "configure" #include "confdefs.h" #include <math.h> int main() { _sqrtl(0); ; return 0; } EOF -if { (eval echo configure:16606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sqrtl_use=yes else @@ -16627,12 +16631,12 @@ fi for ac_func in _sqrtl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16631: checking for $ac_func" >&5 +echo "configure:16635: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16636 "configure" +#line 16640 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16655,7 +16659,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16683,7 +16687,7 @@ done echo $ac_n "checking for _tanl declaration""... $ac_c" 1>&6 -echo "configure:16687: checking for _tanl declaration" >&5 +echo "configure:16691: checking for _tanl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__tanl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16697,14 +16701,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16701 "configure" +#line 16705 "configure" #include "confdefs.h" #include <math.h> int main() { _tanl(0); ; return 0; } EOF -if { (eval echo configure:16708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__tanl_use=yes else @@ -16729,12 +16733,12 @@ fi for ac_func in _tanl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16733: checking for $ac_func" >&5 +echo "configure:16737: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16738 "configure" +#line 16742 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16757,7 +16761,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16785,7 +16789,7 @@ done echo $ac_n "checking for _tanhl declaration""... $ac_c" 1>&6 -echo "configure:16789: checking for _tanhl declaration" >&5 +echo "configure:16793: checking for _tanhl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__tanhl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16799,14 +16803,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16803 "configure" +#line 16807 "configure" #include "confdefs.h" #include <math.h> int main() { _tanhl(0); ; return 0; } EOF -if { (eval echo configure:16810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__tanhl_use=yes else @@ -16831,12 +16835,12 @@ fi for ac_func in _tanhl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16835: checking for $ac_func" >&5 +echo "configure:16839: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16840 "configure" +#line 16844 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16859,7 +16863,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16887,7 +16891,7 @@ done echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6 -echo "configure:16891: checking for _sincosl declaration" >&5 +echo "configure:16895: checking for _sincosl declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -16901,14 +16905,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 16905 "configure" +#line 16909 "configure" #include "confdefs.h" #include <math.h> int main() { _sincosl(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:16912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:16916: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__sincosl_use=yes else @@ -16933,12 +16937,12 @@ fi for ac_func in _sincosl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:16937: checking for $ac_func" >&5 +echo "configure:16941: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 16942 "configure" +#line 16946 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -16961,7 +16965,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:16965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:16969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -16989,7 +16993,7 @@ done echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6 -echo "configure:16993: checking for _finitel declaration" >&5 +echo "configure:16997: checking for _finitel declaration" >&5 if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -17003,14 +17007,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 17007 "configure" +#line 17011 "configure" #include "confdefs.h" #include <math.h> int main() { _finitel(0); ; return 0; } EOF -if { (eval echo configure:17014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func__finitel_use=yes else @@ -17035,12 +17039,12 @@ fi for ac_func in _finitel do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17039: checking for $ac_func" >&5 +echo "configure:17043: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17044 "configure" +#line 17048 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -17063,7 +17067,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:17067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17098,17 +17102,17 @@ done do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:17102: checking for $ac_hdr" >&5 +echo "configure:17106: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17107 "configure" +#line 17111 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:17112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:17116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -17139,12 +17143,12 @@ done ctan ctanf ctanh ctanhf carg cargf nan hypot hypotf atan2f expf copysignf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17143: checking for $ac_func" >&5 +echo "configure:17147: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17148 "configure" +#line 17152 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -17167,7 +17171,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:17171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17202,12 +17206,12 @@ done csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17206: checking for $ac_func" >&5 +echo "configure:17210: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17211 "configure" +#line 17215 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -17230,7 +17234,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:17234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17264,7 +17268,7 @@ done echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6 -echo "configure:17268: checking for GNU C++ __complex__ support" >&5 +echo "configure:17272: checking for GNU C++ __complex__ support" >&5 if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -17278,7 +17282,7 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 17282 "configure" +#line 17286 "configure" #include "confdefs.h" struct dcomplex { __complex__ double x; }; \ dcomplex f(const dcomplex& x) { return dcomplex(x); } @@ -17287,7 +17291,7 @@ int main() { dcomplex x; f(x); ; return 0; } EOF -if { (eval echo configure:17291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_complex=ok else @@ -17317,7 +17321,7 @@ EOF fi echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6 -echo "configure:17321: checking for GNU C++ __complex__ float support" >&5 +echo "configure:17325: checking for GNU C++ __complex__ float support" >&5 if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -17350,14 +17354,14 @@ cross_compiling=$ac_cv_prog_cxx_cross }; EOB cat > conftest.$ac_ext <<EOF -#line 17354 "configure" +#line 17358 "configure" #include "confdefs.h" #include "conftest.h" int main() { ; return 0; } EOF -if { (eval echo configure:17361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_float_complex=ok else @@ -17437,17 +17441,17 @@ rm -f confcache ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for wchar.h""... $ac_c" 1>&6 -echo "configure:17441: checking for wchar.h" >&5 +echo "configure:17445: checking for wchar.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17446 "configure" +#line 17450 "configure" #include "confdefs.h" #include <wchar.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:17451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:17455: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -17471,17 +17475,17 @@ fi ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for wctype.h""... $ac_c" 1>&6 -echo "configure:17475: checking for wctype.h" >&5 +echo "configure:17479: checking for wctype.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17480 "configure" +#line 17484 "configure" #include "confdefs.h" #include <wctype.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:17485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:17489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -17507,16 +17511,16 @@ fi if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6 -echo "configure:17511: checking for mbstate_t" >&5 +echo "configure:17515: checking for mbstate_t" >&5 cat > conftest.$ac_ext <<EOF -#line 17513 "configure" +#line 17517 "configure" #include "confdefs.h" #include <wchar.h> int main() { mbstate_t teststate; ; return 0; } EOF -if { (eval echo configure:17520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_native_mbstatet=yes else @@ -17535,16 +17539,16 @@ EOF fi echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6 -echo "configure:17539: checking for WCHAR_MIN and WCHAR_MAX" >&5 +echo "configure:17543: checking for WCHAR_MIN and WCHAR_MAX" >&5 cat > conftest.$ac_ext <<EOF -#line 17541 "configure" +#line 17545 "configure" #include "confdefs.h" #include <wchar.h> int main() { int i = WCHAR_MIN; int j = WCHAR_MAX; ; return 0; } EOF -if { (eval echo configure:17548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* has_wchar_minmax=yes else @@ -17557,9 +17561,9 @@ rm -f conftest* echo "$ac_t""$has_wchar_minmax" 1>&6 echo $ac_n "checking for WEOF""... $ac_c" 1>&6 -echo "configure:17561: checking for WEOF" >&5 +echo "configure:17565: checking for WEOF" >&5 cat > conftest.$ac_ext <<EOF -#line 17563 "configure" +#line 17567 "configure" #include "confdefs.h" #include <wchar.h> @@ -17568,7 +17572,7 @@ int main() { wint_t i = WEOF; ; return 0; } EOF -if { (eval echo configure:17572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* has_weof=yes else @@ -17584,12 +17588,12 @@ rm -f conftest* wcsrtombs mbsrtowcs do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17588: checking for $ac_func" >&5 +echo "configure:17592: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17593 "configure" +#line 17597 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -17612,7 +17616,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:17616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17639,7 +17643,7 @@ done echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6 -echo "configure:17643: checking for ISO C9X wchar_t support" >&5 +echo "configure:17647: checking for ISO C9X wchar_t support" >&5 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \ && test x"$ac_wfuncs" = xyes; then ac_isoC9X_wchar_t=yes @@ -17650,17 +17654,17 @@ echo "configure:17643: checking for ISO C9X wchar_t support" >&5 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for iconv.h""... $ac_c" 1>&6 -echo "configure:17654: checking for iconv.h" >&5 +echo "configure:17658: checking for iconv.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17659 "configure" +#line 17663 "configure" #include "confdefs.h" #include <iconv.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:17664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:17668: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -17684,17 +17688,17 @@ fi ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6 -echo "configure:17688: checking for langinfo.h" >&5 +echo "configure:17692: checking for langinfo.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17693 "configure" +#line 17697 "configure" #include "confdefs.h" #include <langinfo.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:17698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:17702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -17719,12 +17723,12 @@ fi for ac_func in iconv_open iconv_close iconv nl_langinfo do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:17723: checking for $ac_func" >&5 +echo "configure:17727: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17728 "configure" +#line 17732 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -17747,7 +17751,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:17751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:17755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -17775,7 +17779,7 @@ done echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6 -echo "configure:17779: checking for XPG2 wchar_t support" >&5 +echo "configure:17783: checking for XPG2 wchar_t support" >&5 if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \ && test x"$ac_XPG2funcs" = xyes; then ac_XPG2_wchar_t=yes @@ -17785,7 +17789,7 @@ echo "configure:17779: checking for XPG2 wchar_t support" >&5 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6 -echo "configure:17789: checking for enabled wchar_t specializations" >&5 +echo "configure:17793: checking for enabled wchar_t specializations" >&5 if test x"$ac_isoC9X_wchar_t" = xyes \ && test x"$ac_XPG2_wchar_t" = xyes; then libinst_wstring_la="libinst-wstring.la" @@ -17811,17 +17815,17 @@ EOF ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for ctype.h""... $ac_c" 1>&6 -echo "configure:17815: checking for ctype.h" >&5 +echo "configure:17819: checking for ctype.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 17820 "configure" +#line 17824 "configure" #include "confdefs.h" #include <ctype.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:17825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:17829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -17842,9 +17846,9 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then ctype_default=yes echo $ac_n "checking <ctype> for gnu-linux ""... $ac_c" 1>&6 -echo "configure:17846: checking <ctype> for gnu-linux " >&5 +echo "configure:17850: checking <ctype> for gnu-linux " >&5 cat > conftest.$ac_ext <<EOF -#line 17848 "configure" +#line 17852 "configure" #include "confdefs.h" #include <ctype.h> int main() { @@ -17855,7 +17859,7 @@ int + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];} ; return 0; } EOF -if { (eval echo configure:17859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_linux=yes @@ -17874,9 +17878,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking <ctype> for freebsd 4.0 ""... $ac_c" 1>&6 -echo "configure:17878: checking <ctype> for freebsd 4.0 " >&5 +echo "configure:17882: checking <ctype> for freebsd 4.0 " >&5 cat > conftest.$ac_ext <<EOF -#line 17880 "configure" +#line 17884 "configure" #include "confdefs.h" #include <ctype.h> int main() { @@ -17886,7 +17890,7 @@ int + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;} ; return 0; } EOF -if { (eval echo configure:17890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_bsd=yes @@ -17906,9 +17910,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking <ctype> for freebsd 3.4 ""... $ac_c" 1>&6 -echo "configure:17910: checking <ctype> for freebsd 3.4 " >&5 +echo "configure:17914: checking <ctype> for freebsd 3.4 " >&5 cat > conftest.$ac_ext <<EOF -#line 17912 "configure" +#line 17916 "configure" #include "confdefs.h" #include <ctype.h> int main() { @@ -17918,7 +17922,7 @@ int + _D + _P + _X + _G + __istype (a, 0);} ; return 0; } EOF -if { (eval echo configure:17922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_freebsd34=yes @@ -17938,9 +17942,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking <ctype> for solaris 2.6,7,8 ""... $ac_c" 1>&6 -echo "configure:17942: checking <ctype> for solaris 2.6,7,8 " >&5 +echo "configure:17946: checking <ctype> for solaris 2.6,7,8 " >&5 cat > conftest.$ac_ext <<EOF -#line 17944 "configure" +#line 17948 "configure" #include "confdefs.h" #include <ctype.h> int main() { @@ -17951,7 +17955,7 @@ int + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];} ; return 0; } EOF -if { (eval echo configure:17955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_solaris=yes @@ -17966,7 +17970,7 @@ rm -f conftest* if test $ctype_solaris = "yes"; then echo $ac_n "checking for version""... $ac_c" 1>&6 -echo "configure:17970: checking for version" >&5 +echo "configure:17974: checking for version" >&5 ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' @@ -17975,14 +17979,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext <<EOF -#line 17979 "configure" +#line 17983 "configure" #include "confdefs.h" #include <ctype.h> int main() { typedef long* __to_type; __to_type const& _M_toupper = __trans_upper; ; return 0; } EOF -if { (eval echo configure:17986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:17990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_solaris26=yes @@ -18014,9 +18018,9 @@ cross_compiling=$ac_cv_prog_cc_cross if test $ctype_default = "yes"; then echo $ac_n "checking <ctype> for solaris 2.5.1 ""... $ac_c" 1>&6 -echo "configure:18018: checking <ctype> for solaris 2.5.1 " >&5 +echo "configure:18022: checking <ctype> for solaris 2.5.1 " >&5 cat > conftest.$ac_ext <<EOF -#line 18020 "configure" +#line 18024 "configure" #include "confdefs.h" #include <ctype.h> int main() { @@ -18026,7 +18030,7 @@ int + __ctype[a];} ; return 0; } EOF -if { (eval echo configure:18030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:18034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_solaris25=yes @@ -18046,9 +18050,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking <ctype> for aix ""... $ac_c" 1>&6 -echo "configure:18050: checking <ctype> for aix " >&5 +echo "configure:18054: checking <ctype> for aix " >&5 cat > conftest.$ac_ext <<EOF -#line 18052 "configure" +#line 18056 "configure" #include "confdefs.h" #include <ctype.h> int main() { @@ -18059,7 +18063,7 @@ int + _VALC('a') + _IS('c', 0);} ; return 0; } EOF -if { (eval echo configure:18063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:18067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_aix=yes @@ -18079,9 +18083,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking <ctype> for newlib ""... $ac_c" 1>&6 -echo "configure:18083: checking <ctype> for newlib " >&5 +echo "configure:18087: checking <ctype> for newlib " >&5 cat > conftest.$ac_ext <<EOF -#line 18085 "configure" +#line 18089 "configure" #include "confdefs.h" #include <ctype.h> int main() { @@ -18091,7 +18095,7 @@ int + _ctype_[a];} ; return 0; } EOF -if { (eval echo configure:18095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:18099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_newlib=yes @@ -18125,17 +18129,17 @@ fi do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:18129: checking for $ac_hdr" >&5 +echo "configure:18133: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 18134 "configure" +#line 18138 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:18139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:18143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -18164,12 +18168,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:18168: checking for $ac_func" >&5 +echo "configure:18172: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 18173 "configure" +#line 18177 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -18192,7 +18196,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:18196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -18217,7 +18221,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:18221: checking for working mmap" >&5 +echo "configure:18225: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -18225,7 +18229,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <<EOF -#line 18229 "configure" +#line 18233 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. @@ -18365,7 +18369,7 @@ main() } EOF -if { (eval echo configure:18369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:18373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -18428,19 +18432,19 @@ fi if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:18432: checking for LC_MESSAGES" >&5 +echo "configure:18436: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 18437 "configure" +#line 18441 "configure" #include "confdefs.h" #include <locale.h> int main() { return LC_MESSAGES ; return 0; } EOF -if { (eval echo configure:18444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:18448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_val_LC_MESSAGES=yes else diff --git a/libstdc++-v3/libio/ChangeLog b/libstdc++-v3/libio/ChangeLog index 4f8d0e16a78..0efe9e044bf 100644 --- a/libstdc++-v3/libio/ChangeLog +++ b/libstdc++-v3/libio/ChangeLog @@ -1,3 +1,7 @@ +2000-09-27 benjamin kosnik <bkoz@haight.constant.com> + + * libioP.h: Remove fcntl.h include. + 2000-08-22 Benjamin Kosnik <bkoz@gnu.org> * iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed. diff --git a/libstdc++-v3/libio/Makefile.in b/libstdc++-v3/libio/Makefile.in index 537e68c9f4a..ba0df297193 100644 --- a/libstdc++-v3/libio/Makefile.in +++ b/libstdc++-v3/libio/Makefile.in @@ -170,62 +170,62 @@ CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ libio_la_LDFLAGS = -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@libio_la_OBJECTS = -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@libio_la_OBJECTS = \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@iofwide.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@iofclose.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@iofopen.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@stdio.lo -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@libio_la_OBJECTS = \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@filedoalloc.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@genops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@fileops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@stdfiles.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@c_codecvt.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@wfiledoalloc.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@wfileops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@wgenops.lo -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@libio_la_OBJECTS = \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@filedoalloc.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@genops.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@fileops.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@stdfiles.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@c_codecvt.lo -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@libio_la_OBJECTS = \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@filedoalloc.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@genops.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@fileops.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@stdfiles.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@c_codecvt.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@iofwide.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@iofclose.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@iofopen.lo \ -@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@stdio.lo -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@libio_la_OBJECTS = \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@wfiledoalloc.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@wfileops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@wgenops.lo -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@libio_la_OBJECTS = \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@wfiledoalloc.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@wfileops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@wgenops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@iofwide.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@iofclose.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@iofopen.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@stdio.lo -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@libio_la_OBJECTS = \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@filedoalloc.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@genops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@fileops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@stdfiles.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@c_codecvt.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@wfiledoalloc.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@wfileops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@wgenops.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@iofwide.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@iofclose.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@iofopen.lo \ -@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@stdio.lo +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@libio_la_OBJECTS = \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@filedoalloc.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@genops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@fileops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@stdfiles.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@c_codecvt.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@wfiledoalloc.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@wfileops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@wgenops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofwide.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofclose.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofopen.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@stdio.lo +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@libio_la_OBJECTS = +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@libio_la_OBJECTS = \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@wfiledoalloc.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@wfileops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@wgenops.lo +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@libio_la_OBJECTS = \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@filedoalloc.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@genops.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@fileops.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@stdfiles.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@c_codecvt.lo +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@libio_la_OBJECTS = \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofwide.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofclose.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofopen.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@stdio.lo +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@libio_la_OBJECTS = \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@filedoalloc.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@genops.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@fileops.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@stdfiles.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@c_codecvt.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofwide.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofclose.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofopen.lo \ +@GLIBCPP_NEED_WLIBIO_FALSE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@stdio.lo +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@libio_la_OBJECTS = \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@wfiledoalloc.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@wfileops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@wgenops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofwide.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofclose.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@iofopen.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_FALSE@@GLIBCPP_NEED_XTRA_LIBIO_TRUE@stdio.lo +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@libio_la_OBJECTS = \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@filedoalloc.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@genops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@fileops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@stdfiles.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@c_codecvt.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@wfiledoalloc.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@wfileops.lo \ +@GLIBCPP_NEED_WLIBIO_TRUE@@GLIBCPP_NEED_LIBIO_TRUE@@GLIBCPP_NEED_XTRA_LIBIO_FALSE@wgenops.lo CFLAGS = @CFLAGS@ CCLD = $(CC) DIST_COMMON = ChangeLog Makefile.am Makefile.in diff --git a/libstdc++-v3/libio/_G_config.h b/libstdc++-v3/libio/_G_config.h index 19ab4fc90a0..36e5feac8bc 100644 --- a/libstdc++-v3/libio/_G_config.h +++ b/libstdc++-v3/libio/_G_config.h @@ -19,15 +19,6 @@ #include <bits/std_cstddef.h> -/* For use as part of glibc (native) or as part of libstdc++ (maybe - not glibc) */ -#if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) -# ifdef _GLIBCPP_USE_WCHAR_T -# include <bits/std_cwchar.h> -typedef mbstate_t __mbstate_t; -# endif -#endif - #ifndef _WINT_T /* Integral type unchanged by default argument promotions that can hold any value corresponding to members of the extended character @@ -36,9 +27,22 @@ typedef mbstate_t __mbstate_t; # define _WINT_T typedef unsigned int wint_t; #endif -#define __need_mbstate_t -#include <bits/std_cwchar.h> -#define _G_size_t size_t + +/* For use as part of glibc (native) or as part of libstdc++ (maybe + not glibc) */ +#if __GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ <= 1) +# ifdef _GLIBCPP_USE_WCHAR_T +typedef struct +{ + int count; + wint_t value; +}__mbstate_t; +# endif +#endif + +typedef size_t _G_size_t; + + #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T typedef struct { diff --git a/libstdc++-v3/libio/iolibio.h b/libstdc++-v3/libio/iolibio.h index 92f25cf9f9d..61be4b73b94 100644 --- a/libstdc++-v3/libio/iolibio.h +++ b/libstdc++-v3/libio/iolibio.h @@ -78,3 +78,5 @@ _IO_FILE *__old_freopen __P ((const char *, const char *, _IO_FILE *)); #ifdef __cplusplus } #endif + + diff --git a/libstdc++-v3/mkcshadow b/libstdc++-v3/mkcshadow index b3cc40eee8b..4d4bd4f65f2 100755 --- a/libstdc++-v3/mkcshadow +++ b/libstdc++-v3/mkcshadow @@ -66,8 +66,10 @@ while read header; do // script. RTFM! #ifndef _INCLUDED_CPP_${UPNAME}_ +# define _INCLUDED_CPP_${UPNAME}_ # ifdef _IN_C_LEGACY_ /* sub-included by a C header */ +# pragma GCC system_header # include_next <${header}> # else @@ -76,9 +78,11 @@ while read header; do namespace _C_legacy { extern "C" { # define _IN_C_LEGACY_ +# pragma GCC system_header # include_next <${header}> } // close extern "C" } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ # endif /* _IN_C_LEGACY_ */ #endif /* _INCLUDED_CPP_${UPNAME}_ */ diff --git a/libstdc++-v3/shadow/assert.h b/libstdc++-v3/shadow/assert.h index f9f4d046595..3507bdf449a 100644 --- a/libstdc++-v3/shadow/assert.h +++ b/libstdc++-v3/shadow/assert.h @@ -29,7 +29,23 @@ // no include guard here. -# undef _SHADOW_NAME -# define _SHADOW_NAME <cassert> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME +#ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _ASSERT_NEED_C_LEGACY_ +#endif + +#include <cassert> + + // expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + +#ifdef _ASSERT_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _ASSERT_NEED_C_LEGACY_ +#endif /* _ASSERT_NEED_C_LEGACY_ */ diff --git a/libstdc++-v3/shadow/bits/std_cassert.h b/libstdc++-v3/shadow/bits/std_cassert.h index 2aa347e06af..7017de99b27 100644 --- a/libstdc++-v3/shadow/bits/std_cassert.h +++ b/libstdc++-v3/shadow/bits/std_cassert.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -31,13 +31,19 @@ // ISO C++ 14882: 19.2 Assertions // -// No include guards or wrappers on this header... -// -// If <assert.h> sub-includes anything else that -// defines a global used in other headers, we are sunk. +#ifndef _CPP_CASSERT +#define _CPP_CASSERT 1 + +namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# pragma GCC system_header +# include_next <assert.h> + } +} // namespace _C_legacy + +#undef _IN_C_LEGACY_ + +#endif -extern "C" { -# pragma GCC system_header -# include_next <assert.h> -} diff --git a/libstdc++-v3/shadow/bits/std_cctype.h b/libstdc++-v3/shadow/bits/std_cctype.h index c3ef572ca92..d164d9c198e 100644 --- a/libstdc++-v3/shadow/bits/std_cctype.h +++ b/libstdc++-v3/shadow/bits/std_cctype.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -33,30 +33,52 @@ #ifndef _CPP_CCTYPE #define _CPP_CCTYPE 1 - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <ctype.h> - } - - inline int _CPP_isalnum_capture(int c) { return isalnum (c); } - inline int _CPP_isalpha_capture(int c) { return isalpha (c); } - inline int _CPP_iscntrl_capture(int c) { return iscntrl (c); } - inline int _CPP_isdigit_capture(int c) { return isdigit (c); } - inline int _CPP_isgraph_capture(int c) { return isgraph (c); } - inline int _CPP_islower_capture(int c) { return islower (c); } - inline int _CPP_isprint_capture(int c) { return isprint (c); } - inline int _CPP_ispunct_capture(int c) { return ispunct (c); } - inline int _CPP_isspace_capture(int c) { return isspace (c); } - inline int _CPP_isupper_capture(int c) { return isupper (c); } - inline int _CPP_isxdigit_capture(int c) { return isxdigit (c); } - - inline int _CPP_tolower_capture(int c) { return tolower (c); } - inline int _CPP_toupper_capture(int c) { return toupper (c); } - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: + } + + inline int + _CPP_isalnum_capture(int c) { return isalnum(c); } + + inline int + _CPP_isalpha_capture(int c) { return isalpha(c); } + + inline int + _CPP_iscntrl_capture(int c) { return iscntrl(c); } + + inline int + _CPP_isdigit_capture(int c) { return isdigit(c); } + + inline int + _CPP_isgraph_capture(int c) { return isgraph(c); } + + inline int + _CPP_islower_capture(int c) { return islower(c); } + + inline int + _CPP_isprint_capture(int c) { return isprint(c); } + + inline int + _CPP_ispunct_capture(int c) { return ispunct(c); } + + inline int + _CPP_isspace_capture(int c) { return isspace(c); } + + inline int + _CPP_isupper_capture(int c) { return isupper(c); } + + inline int + _CPP_isxdigit_capture(int c) { return isxdigit(c); } + + inline int + _CPP_tolower_capture(int c) { return tolower(c); } + + inline int + _CPP_toupper_capture(int c) { return toupper(c); } +} // namespace _C_legacy # undef isalnum # undef isalpha @@ -73,71 +95,51 @@ # undef tolower # undef toupper -#if 0 /* these might not be necessary any more. 98-09-29 */ -# undef _U -# undef _L -# undef _N -# undef _S -# undef _P -# undef _C -# undef _B -# undef _X -#endif +namespace std { + inline int + isalnum(int __c) { return _C_legacy::_CPP_isalnum_capture(__c); } - namespace _C_legacy { - namespace _C_shadow { - } - } - namespace std { - - inline int isalnum(int __c) - { return ::_C_legacy::_CPP_isalnum_capture (__c); } - inline int isalpha (int __c) - { return ::_C_legacy::_CPP_isalpha_capture (__c); } - inline int iscntrl (int __c) - { return ::_C_legacy::_CPP_iscntrl_capture (__c); } - inline int isdigit (int __c) - { return ::_C_legacy::_CPP_isdigit_capture (__c); } - inline int isgraph (int __c) - { return ::_C_legacy::_CPP_isgraph_capture (__c); } - inline int islower (int __c) - { return ::_C_legacy::_CPP_islower_capture (__c); } - inline int isprint (int __c) - { return ::_C_legacy::_CPP_isprint_capture (__c); } - inline int ispunct (int __c) - { return ::_C_legacy::_CPP_ispunct_capture (__c); } - inline int isspace (int __c) - { return ::_C_legacy::_CPP_isspace_capture (__c); } - inline int isupper (int __c) - { return ::_C_legacy::_CPP_isupper_capture (__c); } - inline int isxdigit (int __c) - { return ::_C_legacy::_CPP_isxdigit_capture (__c); } - - inline int tolower (int __c) - { return ::_C_legacy::_CPP_tolower_capture (__c); } - inline int toupper (int __c) - { return ::_C_legacy::_CPP_toupper_capture (__c); } - - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - using ::std::isalnum; - using ::std::isalpha; - using ::std::iscntrl; - using ::std::isdigit; - using ::std::isgraph; - using ::std::islower; - using ::std::isprint; - using ::std::ispunct; - using ::std::isspace; - using ::std::isupper; - using ::std::isxdigit; - using ::std::tolower; - using ::std::toupper; - } - } + inline int + isalpha(int __c) { return _C_legacy::_CPP_isalpha_capture(__c); } + + inline int + iscntrl(int __c) { return _C_legacy::_CPP_iscntrl_capture(__c); } + + inline int + isdigit(int __c) { return _C_legacy::_CPP_isdigit_capture(__c); } + + inline int + isgraph(int __c) { return _C_legacy::_CPP_isgraph_capture(__c); } + + inline int + islower(int __c) { return _C_legacy::_CPP_islower_capture(__c); } + + inline int + isprint(int __c) { return _C_legacy::_CPP_isprint_capture(__c); } + + inline int + ispunct(int __c) { return _C_legacy::_CPP_ispunct_capture(__c); } + + inline int + isspace(int __c) { return _C_legacy::_CPP_isspace_capture(__c); } + inline int + isupper(int __c) { return _C_legacy::_CPP_isupper_capture(__c); } + + inline int + isxdigit(int __c) { return _C_legacy::_CPP_isxdigit_capture(__c); } + + inline int + tolower(int __c) { return _C_legacy::_CPP_tolower_capture(__c); } + + inline int + toupper(int __c) { return _C_legacy::_CPP_toupper_capture(__c); } +} // namespace std + # undef _IN_C_LEGACY_ #endif + + + + diff --git a/libstdc++-v3/shadow/bits/std_cerrno.h b/libstdc++-v3/shadow/bits/std_cerrno.h index 36a6833f993..fb7a73fe64d 100644 --- a/libstdc++-v3/shadow/bits/std_cerrno.h +++ b/libstdc++-v3/shadow/bits/std_cerrno.h @@ -1,7 +1,6 @@ // -*- C++ -*- header wrapper. - -//// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,33 +33,24 @@ #ifndef _CPP_CERRNO #define _CPP_CERRNO 1 - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <errno.h> - } + } - int& _CPP_errno_capture() { return errno; } + // inline int& + // _CPP_errno_capture() { return errno; } - namespace _C_shadow { } - } // close namespace ::_C_legacy:: +} // namespace _C_legacy:: # undef errno -# define errno ::_C_legacy::_CPP_errno_capture() -// # undef EDOM -// # undef ERANGE +//# define errno _C_legacy::_CPP_errno_capture() - namespace _C_legacy { - namespace _C_shadow { - } - } - namespace std { - } // close namespace std:: - namespace _C_legacy { - namespace _C_shadow { - } - } +namespace std { + using _C_legacy::errno; +} # undef _IN_C_LEGACY_ diff --git a/libstdc++-v3/shadow/bits/std_cfloat.h b/libstdc++-v3/shadow/bits/std_cfloat.h index 7e6b74f74d8..d8885e69c44 100644 --- a/libstdc++-v3/shadow/bits/std_cfloat.h +++ b/libstdc++-v3/shadow/bits/std_cfloat.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,152 +34,21 @@ #ifndef _CPP_CFLOAT #define _CPP_CFLOAT 1 -#if 0 /* 1998-09-29 */ -# ifdef __GLIBC__ -// For GNU libc we must also include this one: -# include <fenv.h> -# endif -#endif - - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <float.h> - } - - inline int _CPP_FLT_ROUNDS_capture() { return FLT_ROUNDS; } - - // FLT_RADIX is OK as-is. - // const int _CPP_FLT_RADIX_capture() { return FLT_RADIX; } - - inline int _CPP_FLT_MANT_DIG_capture() { return FLT_MANT_DIG; } - inline int _CPP_DBL_MANT_DIG_capture() { return DBL_MANT_DIG; } - inline int _CPP_LDBL_MANT_DIG_capture() { return LDBL_MANT_DIG; } - - inline int _CPP_FLT_DIG_capture() { return FLT_DIG; } - inline int _CPP_DBL_DIG_capture() { return DBL_DIG; } - inline int _CPP_LDBL_DIG_capture() { return LDBL_DIG; } - - inline int _CPP_FLT_MIN_EXP_capture() { return FLT_MIN_EXP; } - inline int _CPP_DBL_MIN_EXP_capture() { return DBL_MIN_EXP; } - inline int _CPP_LDBL_MIN_EXP_capture() { return LDBL_MIN_EXP; } - - inline int _CPP_FLT_MIN_10_EXP_capture() { return FLT_MIN_10_EXP; } - inline int _CPP_DBL_MIN_10_EXP_capture() { return DBL_MIN_10_EXP; } - inline int _CPP_LDBL_MIN_10_EXP_capture() { return LDBL_MIN_10_EXP; } - - inline int _CPP_FLT_MAX_EXP_capture() { return FLT_MAX_EXP; } - inline int _CPP_DBL_MAX_EXP_capture() { return DBL_MAX_EXP; } - inline int _CPP_LDBL_MAX_EXP_capture() { return LDBL_MAX_EXP; } - - inline int _CPP_FLT_MAX_10_EXP_capture() { return FLT_MAX_10_EXP; } - inline int _CPP_DBL_MAX_10_EXP_capture() { return DBL_MAX_10_EXP; } - inline int _CPP_LDBL_MAX_10_EXP_capture() { return LDBL_MAX_10_EXP; } - - inline float _CPP_FLT_MAX_capture() { return FLT_MAX; } - inline double _CPP_DBL_MAX_capture() { return DBL_MAX; } - inline long double _CPP_LDBL_MAX_capture() { return LDBL_MAX; } - - inline float _CPP_FLT_EPSILON_capture() { return FLT_EPSILON; } - inline double _CPP_DBL_EPSILON_capture() { return DBL_EPSILON; } - inline long double _CPP_LDBL_EPSILON_capture() { return LDBL_EPSILON; } - - inline float _CPP_FLT_MIN_capture() { return FLT_MIN; } - inline double _CPP_DBL_MIN_capture() { return DBL_MIN; } - inline long double _CPP_LDBL_MIN_capture() { return LDBL_MIN; } - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: - -# undef FLT_ROUNDS -# define FLT_ROUNDS ::_C_legacy::_CPP_FLT_ROUNDS_capture() - -// # undef FLT_RADIX // OK as-is. - -# undef FLT_MANT_DIG -# define FLT_MANT_DIG ::_C_legacy::_CPP_FLT_MANT_DIG_capture() -# undef DBL_MANT_DIG -# define DBL_MANT_DIG ::_C_legacy::_CPP_DBL_MANT_DIG_capture() -# undef LDBL_MANT_DIG -# define LDBL_MANT_DIG ::_C_legacy::_CPP_LDBL_MANT_DIG_capture() - -# undef FLT_DIG -# define FLT_DIG ::_C_legacy::_CPP_FLT_DIG_capture() -# undef DBL_DIG -# define DBL_DIG ::_C_legacy::_CPP_DBL_DIG_capture() -# undef LDBL_DIG -# define LDBL_DIG ::_C_legacy::_CPP_LDBL_DIG_capture() - -# undef FLT_MIN_MIN_DIG -# define FLT_MIN_MIN_DIG ::_C_legacy::_CPP_FLT_MIN_MIN_DIG_capture() -# undef DBL_MIN_MIN_DIG -# define DBL_MIN_MIN_DIG ::_C_legacy::_CPP_DBL_MIN_MIN_DIG_capture() -# undef LDBL_MIN_MIN_DIG -# define LDBL_MIN_MIN_DIG ::_C_legacy::_CPP_LDBL_MIN_MIN_DIG_capture() - -# undef FLT_MIN_EXP -# define FLT_MIN_EXP ::_C_legacy::_CPP_FLT_MIN_EXP_capture() -# undef DBL_MIN_EXP -# define DBL_MIN_EXP ::_C_legacy::_CPP_DBL_MIN_EXP_capture() -# undef LDBL_MIN_EXP -# define LDBL_MIN_EXP ::_C_legacy::_CPP_LDBL_MIN_EXP_capture() - -# undef FLT_MIN_10_EXP -# define FLT_MIN_10_EXP ::_C_legacy::_CPP_FLT_MIN_10_EXP_capture() -# undef DBL_MIN_10_EXP -# define DBL_MIN_10_EXP _::_C_legacy::CPP_DBL_MIN_10_EXP_capture() -# undef LDBL_MIN_10_EXP -# define LDBL_MIN_10_EXP ::_C_legacy::_CPP_LDBL_MIN_10_EXP_capture() - -# undef FLT_MAX_EXP -# define FLT_MAX_EXP ::_C_legacy::_CPP_FLT_MAX_EXP_capture() -# undef DBL_MAX_EXP -# define DBL_MAX_EXP ::_C_legacy::_CPP_DBL_MAX_EXP_capture() -# undef LDBL_MAX_EXP -# define LDBL_MAX_EXP ::_C_legacy::_CPP_LDBL_MAX_EXP_capture() - -# undef FLT_MAX_10_EXP -# define FLT_MAX_10_EXP ::_C_legacy::_CPP_FLT_MAX_10_EXP_capture() -# undef DBL_MAX_10_EXP -# define DBL_MAX_10_EXP ::_C_legacy::_CPP_DBL_MAX_10_EXP_capture() -# undef LDBL_MAX_10_EXP -# define LDBL_MAX_10_EXP ::_C_legacy::_CPP_LDBL_MAX_10_EXP_capture() - -# undef FLT_MAX -# define FLT_MAX ::_C_legacy::_CPP_FLT_MAX_capture() -# undef DBL_MAX -# define DBL_MAX ::_C_legacy::_CPP_DBL_MAX_capture() -# undef LDBL_MAX -# define LDBL_MAX ::_C_legacy::_CPP_LDBL_MAX_capture() - -# undef FLT_EPSILON -# define FLT_EPSILON ::_C_legacy::_CPP_FLT_EPSILON_capture() -# undef DBL_EPSILON -# define DBL_EPSILON ::_C_legacy::_CPP_DBL_EPSILON_capture() -# undef LDBL_EPSILON -# define LDBL_EPSILON ::_C_legacy::_CPP_LDBL_EPSILON_capture() - -# undef FLT_MIN -# define FLT_MIN ::_C_legacy::_CPP_FLT_MIN_capture() -# undef DBL_MIN -# define DBL_MIN ::_C_legacy::_CPP_DBL_MIN_capture() -# undef LDBL_MIN -# define LDBL_MIN ::_C_legacy::_CPP_LDBL_MIN_capture() - - namespace _C_legacy { - namespace _C_shadow { - } - } - namespace std { - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - } } +} // namespace _C_legacy # undef _IN_C_LEGACY_ #endif + + + + + + diff --git a/libstdc++-v3/shadow/bits/std_climits.h b/libstdc++-v3/shadow/bits/std_climits.h index 3989444e038..d0db90521b0 100644 --- a/libstdc++-v3/shadow/bits/std_climits.h +++ b/libstdc++-v3/shadow/bits/std_climits.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -32,33 +32,26 @@ // #ifndef _CPP_CLIMITS -#define _CPP_CLIMTIS 1 +#define _CPP_CLIMTIS 1 - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <limits.h> - } - namespace _C_shadow { } - } // close namespace ::_C_legacy:: - - // Note: there is not much for this wrapper to do besides hiding - // vendor-extension names and (perhaps) replacing one or other - // macro with a larger value. - -// #undef MB_LEN_MAX -// #define MB_LEN_MAX 16 /* or something */ - - namespace std { - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - } } +} // namespace _C_legacy # undef _IN_C_LEGACY_ #endif + + + + + + + + + diff --git a/libstdc++-v3/shadow/bits/std_clocale.h b/libstdc++-v3/shadow/bits/std_clocale.h index 33697ab1efa..86d600e262e 100644 --- a/libstdc++-v3/shadow/bits/std_clocale.h +++ b/libstdc++-v3/shadow/bits/std_clocale.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,76 +34,37 @@ #ifndef _CPP_CLOCALE #define _CPP_CLOCALE 1 -# include <bits/std_cstddef.h> /* pick up NULL */ +# include <bits/std_cstddef.h> - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <locale.h> - } - - typedef struct lconv _CPP_lconv_capture; - const int _CPP_LC_ALL_capture = LC_ALL; - const int _CPP_LC_COLLATE_capture = LC_COLLATE; - const int _CPP_LC_CTYPE_capture = LC_CTYPE; - const int _CPP_LC_MONETARY_capture = LC_MONETARY; - const int _CPP_LC_NUMERIC_capture = LC_NUMERIC; - const int _CPP_LC_TIME_capture = LC_TIME; -#if 0 /* XXX need proper macro guard for this common extension. */ - const int _CPP_LC_MESSAGES_capture = LC_MESSAGES; -#endif - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: - -// # undef NULL -// # define NULL 0 /* handled in <cstddef> */ -# undef LC_ALL -# define LC_ALL ::_C_legacy::_CPP_LC_ALL_capture -# undef LC_COLLATE -# define LC_COLLATE ::_C_legacy::_CPP_LC_COLLATE_capture -# undef LC_CTYPE -# define LC_CTYPE ::_C_legacy::_CPP_LC_CTYPE_capture -# undef LC_MONETARY -# define LC_MONETARY ::_C_legacy::_CPP_LC_MONETARY_capture -# undef LC_NUMERIC -# define LC_NUMERIC ::_C_legacy::_CPP_LC_NUMERIC_capture -# undef LC_TIME -# define LC_TIME ::_C_legacy::_CPP_LC_TIME_capture -#if 0 /* XXX need proper macro guard for this common extension. */ -# undef LC_MESSAGES -# define LC_MESSAGES ::_C_legacy::_CPP_LC_MESSAGES_capture -#endif + } + + typedef lconv _CPP_lconv_capture; +} // namespace _C_legacy # undef lconv # undef setlocale # undef localeconv - namespace _C_legacy { - namespace _C_shadow { - } - } - namespace std { +namespace std { + // Adopt C names into std:: + struct lconv : _C_legacy::_CPP_lconv_capture { }; - // Adopt C names into std:: - using ::_C_legacy::setlocale; + using _C_legacy::setlocale; + + inline lconv* + localeconv() { return reinterpret_cast<lconv*>(_C_legacy::localeconv()); } +} // namespace std + +# undef _IN_C_LEGACY_ + +#endif - // note: still a POD type: - struct lconv : ::_C_legacy::_CPP_lconv_capture { }; - inline lconv* localeconv() - { return reinterpret_cast<lconv*>(::_C_legacy::localeconv()); } - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - using ::std::lconv; - using ::std::localeconv; - } - } -# undef _IN_C_LEGACY_ -#endif /* _CPP_CLOCALE */ diff --git a/libstdc++-v3/shadow/bits/std_cmath.h b/libstdc++-v3/shadow/bits/std_cmath.h index 9ffcde5524e..6113417eae5 100644 --- a/libstdc++-v3/shadow/bits/std_cmath.h +++ b/libstdc++-v3/shadow/bits/std_cmath.h @@ -36,502 +36,510 @@ # include <bits/c++config.h> - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <math.h> - } - inline double _CPP_HUGE_VAL_capture() { return HUGE_VAL; } + } #if _GLIBCPP_HAVE_ACOSF - inline float _CPP_acos_capture(float __x) - { return acosf(__x); } + inline float + _CPP_acos_capture(float __x) { return acosf(__x); } #else - inline float _CPP_acos_capture(float __x) - { return acos(static_cast<double>(__x)); } + inline float + _CPP_acos_capture(float __x) { return acos(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_ASINF - inline float _CPP_asin_capture(float __x) - { return asinf(__x); } + inline float + _CPP_asin_capture(float __x) { return asinf(__x); } #else - inline float _CPP_asin_capture(float __x) - { return asin(static_cast<double>(__x)); } + inline float + _CPP_asin_capture(float __x) { return asin(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_ATANF - inline float _CPP_atan_capture(float __x) - { return atanf(__x); } + inline float + _CPP_atan_capture(float __x) { return atanf(__x); } #else - inline float _CPP_atan_capture(float __x) - { return atan(static_cast<double>(__x)); } + inline float + _CPP_atan_capture(float __x) { return atan(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_ATAN2F - inline float _CPP_atan2_capture(float __y, float __x) - { return atan2f(__y, __x); } + inline float + _CPP_atan2_capture(float __y, float __x) { return atan2f(__y, __x); } #else - inline float _CPP_atan2_capture(float __y, float __x) - { return atan2(static_cast<double>(__y), static_cast<double>(__x)); } + inline float + _CPP_atan2_capture(float __y, float __x) + { return atan2(static_cast<double>(__y), static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_CEILF - inline float _CPP_ceil_capture(float __x) - { return ceilf(__x); } + inline float + _CPP_ceil_capture(float __x) { return ceilf(__x); } #else - inline float _CPP_ceil_capture(float __x) - { return ceil(static_cast<double>(__x)); } + inline float + _CPP_ceil_capture(float __x) { return ceil(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE___BUILTIN_COSF - inline float _CPP_cos_capture(float __x) - { return __builtin_cosf(__x); } + inline float + _CPP_cos_capture(float __x) { return __builtin_cosf(__x); } #elif _GLIBCPP_HAVE_COSF - inline float _CPP_cos_capture(float __x) - { return cosf(__x); } + inline float + _CPP_cos_capture(float __x) { return cosf(__x); } #else - inline float _CPP_cos_capture(float __x) - { return cos(static_cast<double>(__x)); } + inline float + _CPP_cos_capture(float __x) { return cos(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_COSHF - inline float _CPP_cosh_capture(float __x) - { return coshf(__x); } + inline float + _CPP_cosh_capture(float __x) { return coshf(__x); } #else - inline float _CPP_cosh_capture(float __x) - { return cosh(static_cast<double>(__x)); } + inline float + _CPP_cosh_capture(float __x) { return cosh(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_EXPF - inline float _CPP_exp_capture(float __x) - { return expf(__x); } + inline float + _CPP_exp_capture(float __x) { return expf(__x); } #else - inline float _CPP_exp_capture(float __x) - { return exp(static_cast<double>(__x)); } + inline float + _CPP_exp_capture(float __x) { return exp(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE___BUILTIN_FABSF - inline float _CPP_fabs_capture(float __x) - { return __builtin_fabsf(__x); } + inline float + _CPP_fabs_capture(float __x) { return __builtin_fabsf(__x); } #elif _GLIBCPP_HAVE_FABSF - inline float _CPP_fabs_capture(float __x) - { return fabsf(__x); } + inline float + _CPP_fabs_capture(float __x) { return fabsf(__x); } #else - inline float _CPP_fabs_capture(float __x) - { return fabs(static_cast<double>(__x)); } + inline float + _CPP_fabs_capture(float __x) { return fabs(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_FLOORF - inline float _CPP_floor_capture(float __x) - { return floorf(__x); } + inline float + _CPP_floor_capture(float __x) { return floorf(__x); } #else - inline float _CPP_floor_capture(float __x) - { return floor(static_cast<double>(__x)); } + inline float + _CPP_floor_capture(float __x) { return floor(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_FMODFF - inline float _CPP_fmod_capture(float __x, float __y) - { return fmodf(__x, __y); } + inline float + _CPP_fmod_capture(float __x, float __y) { return fmodf(__x, __y); } #else - inline float _CPP_fmod_capture(float __x, float __y) - { return fmod(static_cast<double>(__x), static_cast<double>(__y)); } + inline float + _CPP_fmod_capture(float __x, float __y) + { return fmod(static_cast<double>(__x), static_cast<double>(__y)); } #endif #if _GLIBCPP_HAVE_FREXPF - inline float _CPP_frexp_capture(float __x, int* __exp) - { return frexpf(__x, __exp); } + inline float + _CPP_frexp_capture(float __x, int* __exp) { return frexpf(__x, __exp); } #else - inline float _CPP_frexp_capture(float __x, int* __exp) - { return frexp(__x, __exp); } + inline float + _CPP_frexp_capture(float __x, int* __exp) { return frexp(__x, __exp); } #endif #if _GLIBCPP_HAVE_LDEXPF - inline float _CPP_ldexp_capture(float __x, int __exp) - { return ldexpf(__x, __exp); } + inline float + _CPP_ldexp_capture(float __x, int __exp) { return ldexpf(__x, __exp); } #else - inline float _CPP_ldexp_capture(float __x, int __exp) - { return ldexp(static_cast<double>(__x), __exp); } + inline float + _CPP_ldexp_capture(float __x, int __exp) + { return ldexp(static_cast<double>(__x), __exp); } #endif #if _GLIBCPP_HAVE_LOGF - inline float _CPP_log_capture(float __x) - { return logf(__x); } + inline float + _CPP_log_capture(float __x) { return logf(__x); } #else - inline float _CPP_log_capture(float __x) - { return log(static_cast<double>(__x)); } + inline float + _CPP_log_capture(float __x) { return log(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_LOG10F - inline float _CPP_log10_capture(float __x) - { return log10f(__x); } + inline float + _CPP_log10_capture(float __x) { return log10f(__x); } #else - inline float _CPP_log10_capture(float __x) - { return log10(static_cast<double>(__x)); } + inline float + _CPP_log10_capture(float __x) { return log10(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_MODFF - inline float _CPP_modf_capture(float __x, float* __iptr) - { return modff(__x, __iptr); } -#else - inline float _CPP_modf_capture(float __x, float* __iptr) - { - double __tmp; - double __res = _C_legacy::modf(static_cast<double>(__x), &__tmp); - *__iptr = static_cast<float> (__tmp); - return __res; - } + inline float + _CPP_modf_capture(float __x, float* __iptr) { return modff(__x, __iptr); } +#else + inline float + _CPP_modf_capture(float __x, float* __iptr) + { + double __tmp; + double __res = _C_legacy::modf(static_cast<double>(__x), &__tmp); + *__iptr = static_cast<float> (__tmp); + return __res; + } #endif - + #if _GLIBCPP_HAVE_POWF - inline float _CPP_pow_capture(float __x, float __y) - { return powf(__x, __y); } + inline float + _CPP_pow_capture(float __x, float __y) { return powf(__x, __y); } #else - inline float _CPP_pow_capture(float __x, float __y) - { return pow(static_cast<double>(__x), static_cast<double>(__y)); } + inline float + _CPP_pow_capture(float __x, float __y) + { return pow(static_cast<double>(__x), static_cast<double>(__y)); } #endif - float pow(float, int); + float pow(float, int); #if _GLIBCPP_HAVE___BUILTIN_SINF - inline float _CPP_sin_capture(float __x) - { return __builtin_sinf(__x); } + inline float + _CPP_sin_capture(float __x) { return __builtin_sinf(__x); } #elif _GLIBCPP_HAVE_SINF - inline float _CPP_sin_capture(float __x) - { return sinf(__x); } + inline float + _CPP_sin_capture(float __x) { return sinf(__x); } #else - inline float _CPP_sin_capture(float __x) - { return sin(static_cast<double>(__x)); } + inline float + _CPP_sin_capture(float __x) { return sin(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_SINHF - inline float _CPP_sinh_capture(float __x) - { return sinhf(__x); } + inline float + _CPP_sinh_capture(float __x) { return sinhf(__x); } #else - inline float _CPP_sinh_capture(float __x) - { return sinh(static_cast<double>(__x)); } + inline float + _CPP_sinh_capture(float __x) { return sinh(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE___BUILTIN_SQRTF - inline float _CPP_sqrt_capture(float __x) - { return __builtin_sqrtf(__x); } + inline float + _CPP_sqrt_capture(float __x) { return __builtin_sqrtf(__x); } #elif _GLIBCPP_HAVE_SQRTF - inline float _CPP_sqrt_capture(float __x) - { return sqrtf(__x); } + inline float + _CPP_sqrt_capture(float __x) { return sqrtf(__x); } #else - inline float _CPP_sqrt_capture(float __x) - { return sqrt(static_cast<double>(__x)); } + inline float + _CPP_sqrt_capture(float __x) { return sqrt(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_TANF - inline float _CPP_tan_capture(float __x) - { return tanf(__x); } + inline float + _CPP_tan_capture(float __x) { return tanf(__x); } #else - inline float _CPP_tan_capture(float __x) - { return tan(static_cast<double>(__x)); } + inline float + _CPP_tan_capture(float __x) { return tan(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_TANHF - inline float _CPP_tanh_capture(float __x) - { return tanhf(__x); } + inline float + _CPP_tanh_capture(float __x) { return tanhf(__x); } #else - inline float _CPP_tanh_capture(float __x) - { return tanh(static_cast<double>(__x)); } + inline float + _CPP_tanh_capture(float __x) { return tanh(static_cast<double>(__x)); } #endif - // - // double - // - inline double _CPP_acos_capture(double __x) - { return acos(__x); } + inline double + _CPP_acos_capture(double __x) { return acos(__x); } - inline double _CPP_asin_capture(double __x) - { return asin(__x); } + inline double + _CPP_asin_capture(double __x) { return asin(__x); } - inline double _CPP_atan_capture(double __x) - { return atan(__x); } + inline double + _CPP_atan_capture(double __x) { return atan(__x); } - inline double _CPP_atan2_capture(double __y, double __x) - { return atan2(__y, __x); } + inline double + _CPP_atan2_capture(double __y, double __x) { return atan2(__y, __x); } - inline double _CPP_ceil_capture(double __x) - { return ceil(__x); } + inline double + _CPP_ceil_capture(double __x) { return ceil(__x); } #if _GLIBCPP_HAVE___BUILTIN_COS - inline double _CPP_cos_capture(double __x) - { return __builtin_cos(__x); } + inline double + _CPP_cos_capture(double __x) { return __builtin_cos(__x); } #else - inline double _CPP_cos_capture(double __x) - { return cos(__x); } + inline double + _CPP_cos_capture(double __x) { return cos(__x); } #endif - inline double _CPP_cosh_capture(double __x) - { return cosh(__x); } + inline double + _CPP_cosh_capture(double __x) { return cosh(__x); } - inline double _CPP_exp_capture(double __x) - { return exp(__x); } + inline double + _CPP_exp_capture(double __x) { return exp(__x); } #if _GLIBCPP_HAVE___BUILTIN_FABS - inline double _CPP_fabs_capture(double __x) - { return __builtin_fabs(__x); } + inline double + _CPP_fabs_capture(double __x) { return __builtin_fabs(__x); } #else - inline double _CPP_fabs_capture(double __x) - { return fabs(__x); } + inline double + _CPP_fabs_capture(double __x) { return fabs(__x); } #endif - inline double _CPP_floor_capture(double __x) - { return floor(__x); } + inline double + _CPP_floor_capture(double __x) { return floor(__x); } - inline double _CPP_fmod_capture(double __x, double __y) - { return fmod(__x, __y); } + inline double + _CPP_fmod_capture(double __x, double __y) { return fmod(__x, __y); } - inline double _CPP_frexp_capture(double __x, int* __exp) - { return frexp(__x, __exp); } + inline double + _CPP_frexp_capture(double __x, int* __exp) { return frexp(__x, __exp); } - inline double _CPP_ldexp_capture(double __x, int __exp) - { return ldexp(__x, __exp); } + inline double + _CPP_ldexp_capture(double __x, int __exp) { return ldexp(__x, __exp); } - inline double _CPP_log_capture(double __x) - { return log(__x); } + inline double + _CPP_log_capture(double __x) { return log(__x); } - inline double _CPP_log10_capture(double __x) - { return log10(__x); } + inline double + _CPP_log10_capture(double __x) { return log10(__x); } - inline double _CPP_modf_capture(double __x, double* __iptr) - { return modf(__x, __iptr); } + inline double + _CPP_modf_capture(double __x, double* __iptr) { return modf(__x, __iptr); } - inline double _CPP_pow_capture(double __x, double __y) - { return pow(__x, __y); } + inline double + _CPP_pow_capture(double __x, double __y) { return pow(__x, __y); } #if _GLIBCPP_HAVE___BUILTIN_SIN - inline double _CPP_sin_capture(double __x) - { return __builtin_sin(__x); } + inline double + _CPP_sin_capture(double __x) { return __builtin_sin(__x); } #else - inline double _CPP_sin_capture(double __x) - { return sin(__x); } + inline double + _CPP_sin_capture(double __x) { return sin(__x); } #endif - inline double _CPP_sinh_capture(double __x) - { return sinh(__x); } + inline double + _CPP_sinh_capture(double __x) { return sinh(__x); } #if _GLIBCPP_HAVE___BUILTIN_SQRT - inline double _CPP_sqrt_capture(double __x) - { return __builtin_fsqrt(__x); } + inline double + _CPP_sqrt_capture(double __x) { return __builtin_fsqrt(__x); } #else - inline double _CPP_sqrt_capture(double __x) - { return sqrt(__x); } + inline double + _CPP_sqrt_capture(double __x) { return sqrt(__x); } #endif - inline double _CPP_tan_capture(double __x) - { return tan(__x); } + inline double + _CPP_tan_capture(double __x) { return tan(__x); } - inline double _CPP_tanh_capture(double __x) - { return tanh(__x); } + inline double + _CPP_tanh_capture(double __x) { return tanh(__x); } - // - // long double - // #if _GLIBCPP_HAVE_ACOSL - inline long double _CPP_acos_capture(long double __x) - { return acosl(__x); } + inline long double + _CPP_acos_capture(long double __x) { return acosl(__x); } #else - inline long double _CPP_acos_capture(long double __x) - { return acos(static_cast<double>(__x)); } + inline long double + _CPP_acos_capture(long double __x) { return acos(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_ASINL - inline long double _CPP_asin_capture(long double __x) - { return asinl(__x); } + inline long double + _CPP_asin_capture(long double __x) { return asinl(__x); } #else - inline long double _CPP_asin_capture(long double __x) - { return asin(static_cast<double>(__x)); } + inline long double + _CPP_asin_capture(long double __x) { return asin(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_ATANL - inline long double _CPP_atan_capture(long double __x) - { return atanl(__x); } + inline long double + _CPP_atan_capture(long double __x) { return atanl(__x); } #else - inline long double _CPP_atan_capture(long double __x) - { return atan(static_cast<double>(__x)); } + inline long double + _CPP_atan_capture(long double __x) { return atan(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_ATAN2L - inline long double _CPP_atan2_capture(long double __y, long double __x) - { return atan2l(__y, __x); } + inline long double + _CPP_atan2_capture(long double __y, long double __x) + { return atan2l(__y, __x); } #else - inline long double _CPP_atan2_capture(long double __y, long double __x) - { return atan2(static_cast<double>(__y), static_cast<double>(__x)); } + inline long double + _CPP_atan2_capture(long double __y, long double __x) + { return atan2(static_cast<double>(__y), static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_CEILL - inline long double _CPP_ceil_capture(long double __x) - { return ceill(__x); } + inline long double + _CPP_ceil_capture(long double __x) { return ceill(__x); } #else - inline long double _CPP_ceil_capture(long double __x) - { return ceil(static_cast<double>(__x)); } + inline long double + _CPP_ceil_capture(long double __x) { return ceil(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE___BUILTIN_COSL - inline long double _CPP_cos_capture(long double __x) - { return __builtin_cosl(__x); } + inline long double + _CPP_cos_capture(long double __x) { return __builtin_cosl(__x); } #elif _GLIBCPP_HAVE_COSL - inline long double _CPP_cos_capture(long double __x) - { return cosl(__x); } + inline long double + _CPP_cos_capture(long double __x) { return cosl(__x); } #else - inline long double _CPP_cos_capture(long double __x) - { return cos(static_cast<double>(__x)); } + inline long double + _CPP_cos_capture(long double __x) { return cos(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_COSHL - inline long double _CPP_cosh_capture(long double __x) - { return coshl(__x); } + inline long double + _CPP_cosh_capture(long double __x) { return coshl(__x); } #else - inline long double _CPP_cosh_capture(long double __x) - { return cosh(static_cast<double>(__x)); } + inline long double + _CPP_cosh_capture(long double __x) { return cosh(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_EXPL - inline long double _CPP_exp_capture(long double __x) - { return expl(__x); } + inline long double + _CPP_exp_capture(long double __x) { return expl(__x); } #else - inline long double _CPP_exp_capture(long double __x) - { return exp(static_cast<double>(__x)); } + inline long double + _CPP_exp_capture(long double __x) { return exp(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE___BUILTIN_FABSL - inline long double _CPP_fabs_capture(long double __x) - { return __builtin_fabsl(__x); } + inline long double + _CPP_fabs_capture(long double __x) { return __builtin_fabsl(__x); } #elif _GLIBCPP_HAVE_FABSL - inline long double _CPP_fabs_capture(long double __x) - { return fabsl(__x); } + inline long double + _CPP_fabs_capture(long double __x) { return fabsl(__x); } #else - inline long double _CPP_fabs_capture(long double __x) - { return fabs(static_cast<double>(__x)); } + inline long double + _CPP_fabs_capture(long double __x) { return fabs(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_FLOORL - inline long double _CPP_floor_capture(long double __x) - { return floorl(__x); } + inline long double + _CPP_floor_capture(long double __x) { return floorl(__x); } #else - inline long double _CPP_floor_capture(long double __x) - { return floor(static_cast<double>(__x)); } + inline long double + _CPP_floor_capture(long double __x) + { return floor(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_FMODL - inline long double _CPP_fmod_capture(long double __x, long double __y) - { return fmodl(__x, __y); } + inline long double + _CPP_fmod_capture(long double __x, long double __y) + { return fmodl(__x, __y); } #else - inline long double _CPP_fmod_capture(long double __x, long double __y) - { return fmod(static_cast<double>(__x), static_cast<double>(__y)); } + inline long double + _CPP_fmod_capture(long double __x, long double __y) + { return fmod(static_cast<double>(__x), static_cast<double>(__y)); } #endif #if _GLIBCPP_HAVE_FREXPL - inline long double _CPP_frexp_capture(long double __x, int* __exp) - { return frexpl(__x, __exp); } + inline long double + _CPP_frexp_capture(long double __x, int* __exp) + { return frexpl(__x, __exp); } #else - inline long double _CPP_frexp_capture(long double __x, int* __exp) - { return frexp(static_cast<double>(__x), __exp); } + inline long double + _CPP_frexp_capture(long double __x, int* __exp) + { return frexp(static_cast<double>(__x), __exp); } #endif #if _GLIBCPP_HAVE_LDEXPL - inline long double _CPP_ldexp_capture(long double __x, int __exp) - { return ldexpl(__x, __exp); } + inline long double + _CPP_ldexp_capture(long double __x, int __exp) { return ldexpl(__x, __exp); } #else - inline long double _CPP_ldexp_capture(long double __x, int __exp) - { return ldexp(static_cast<double>(__x), __exp); } + inline long double + _CPP_ldexp_capture(long double __x, int __exp) + { return ldexp(static_cast<double>(__x), __exp); } #endif #if _GLIBCPP_HAVE_LOGL - inline long double _CPP_log_capture(long double __x) - { return logl(__x); } + inline long double + _CPP_log_capture(long double __x) { return logl(__x); } #else - inline long double _CPP_log_capture(long double __x) - { return log(static_cast<double>(__x)); } + inline long double + _CPP_log_capture(long double __x) { return log(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_LOG10L - inline long double _CPP_log10_capture(long double __x) - { return log10l(__x); } + inline long double + _CPP_log10_capture(long double __x) { return log10l(__x); } #else - inline long double _CPP_log10_capture(long double __x) - { return log10(static_cast<double>(__x)); } + inline long double + _CPP_log10_capture(long double __x) + { return log10(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_MODFL - inline long double _CPP_modf_capture(long double __x, long double* __iptr) - { return modfl(__x, __iptr); } -#else - inline long double _CPP_modf_capture(long double __x, long double* __iptr) - { - double __tmp; - double __res = _C_legacy::modf(static_cast<double>(__x), &__tmp); - *__iptr = static_cast<long double> (__tmp); - return __res; - } + inline long double + _CPP_modf_capture(long double __x, long double* __iptr) + { return modfl(__x, __iptr); } +#else + inline long double + _CPP_modf_capture(long double __x, long double* __iptr) + { + double __tmp; + double __res = _C_legacy::modf(static_cast<double>(__x), &__tmp); + *__iptr = static_cast<long double> (__tmp); + return __res; + } #endif #if _GLIBCPP_HAVE_POWL - inline long double _CPP_pow_capture(long double __x, long double __y) - { return powl(__x, __y); } + inline long double + _CPP_pow_capture(long double __x, long double __y) { return powl(__x, __y); } #else - inline long double _CPP_pow_capture(long double __x, long double __y) - { return pow(static_cast<double>(__x), static_cast<double>(__y)); } + inline long double + _CPP_pow_capture(long double __x, long double __y) + { return pow(static_cast<double>(__x), static_cast<double>(__y)); } #endif #if _GLIBCPP_HAVE___BUILTIN_SINL - inline long double _CPP_sin_capture(long double __x) - { return __builtin_sinl(__x); } + inline long double + _CPP_sin_capture(long double __x) { return __builtin_sinl(__x); } #elif _GLIBCPP_HAVE_SINL - inline long double _CPP_sin_capture(long double __x) - { return sinl(__x); } + inline long double + _CPP_sin_capture(long double __x) { return sinl(__x); } #else - inline long double _CPP_sin_capture(long double __x) - { return sin(static_cast<double>(__x)); } + inline long double + _CPP_sin_capture(long double __x) { return sin(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_SINHL - inline long double _CPP_sinh_capture(long double __x) - { return sinhl(__x); } + inline long double + _CPP_sinh_capture(long double __x) { return sinhl(__x); } #else - inline long double _CPP_sinh_capture(long double __x) - { return sinh(static_cast<double>(__x)); } + inline long double + _CPP_sinh_capture(long double __x) { return sinh(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE___BUILTIN_SQRTL - inline long double _CPP_sqrt_capture(long double __x) - { return __builtin_sqrtl(__x); } + inline long double + _CPP_sqrt_capture(long double __x) { return __builtin_sqrtl(__x); } #elif _GLIBCPP_HAVE_SQRTL - inline long double _CPP_sqrt_capture(long double __x) - { return sqrtl(__x); } + inline long double + _CPP_sqrt_capture(long double __x) { return sqrtl(__x); } #else - inline long double _CPP_sqrt_capture(long double __x) - { return sqrt(static_cast<double>(__x)); } + inline long double + _CPP_sqrt_capture(long double __x) { return sqrt(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_TANL - inline long double _CPP_tan_capture(long double __x) - { return tanl(__x); } + inline long double + _CPP_tan_capture(long double __x) { return tanl(__x); } #else - inline long double _CPP_tan_capture(long double __x) - { return tan(static_cast<double>(__x)); } + inline long double + _CPP_tan_capture(long double __x) { return tan(static_cast<double>(__x)); } #endif #if _GLIBCPP_HAVE_TANHL - inline long double _CPP_tanh_capture(long double __x) - { return tanhl(__x); } + inline long double + _CPP_tanh_capture(long double __x) { return tanhl(__x); } #else - inline long double _CPP_tanh_capture(long double __x) - { return tanh(static_cast<double>(__x)); } + inline long double + _CPP_tanh_capture(long double __x) { return tanh(static_cast<double>(__x)); } #endif + namespace _C_shadow { } - namespace _C_shadow { } - } // close namespace ::_C_legacy:: +} // namespace _C_legacy -# undef HUGE_VAL -# define HUGE_VAL ::_C_legacy::_CPP_HUGE_VAL_capture() # undef abs # undef acos # undef asin @@ -556,244 +564,273 @@ # undef tan # undef tanh - namespace _C_legacy { - namespace _C_shadow { - } - } - namespace std { +namespace std { + inline float + abs(float __x) { return _C_legacy::_CPP_fabs_capture(__x); } - // - // float - // + inline float + acos(float __x) { return _C_legacy::_CPP_acos_capture(__x); } - inline float abs(float __x) - { return ::_C_legacy::_CPP_fabs_capture(__x); } + inline float + asin(float __x) { return _C_legacy::_CPP_asin_capture(__x); } - inline float acos(float __x) - { return ::_C_legacy::_CPP_acos_capture(__x); } + inline float + atan(float __x) { return _C_legacy::_CPP_atan_capture(__x); } - inline float asin(float __x) - { return ::_C_legacy::_CPP_asin_capture(__x); } + inline float + atan2(float __y, float __x) + { return _C_legacy::_CPP_atan2_capture(__y, __x); } - inline float atan(float __x) - { return ::_C_legacy::_CPP_atan_capture(__x); } + inline float + ceil(float __x) { return _C_legacy::_CPP_ceil_capture(__x); } - inline float atan2(float __y, float __x) - { return ::_C_legacy::_CPP_atan2_capture(__y, __x); } + inline float + cos(float __x) { return _C_legacy::_CPP_cos_capture(__x); } - inline float ceil(float __x) - { return ::_C_legacy::_CPP_ceil_capture(__x); } + inline float + cosh(float __x) { return _C_legacy::_CPP_cosh_capture(__x); } - inline float cos(float __x) - { return ::_C_legacy::_CPP_cos_capture(__x); } + inline float + exp(float __x) { return _C_legacy::_CPP_exp_capture(__x); } - inline float cosh(float __x) - { return ::_C_legacy::_CPP_cosh_capture(__x); } + inline float + fabs(float __x) { return _C_legacy::_CPP_fabs_capture(__x); } - inline float exp(float __x) - { return ::_C_legacy::_CPP_exp_capture(__x); } + inline float + floor(float __x) { return _C_legacy::_CPP_floor_capture(__x); } - inline float fabs(float __x) - { return ::_C_legacy::_CPP_fabs_capture(__x); } + inline float + fmod(float __x, float __y) + { return _C_legacy::_CPP_fmod_capture(__x, __y); } - inline float floor(float __x) - { return ::_C_legacy::_CPP_floor_capture(__x); } + inline float + frexp(float __x, int* __exp) + { return _C_legacy::_CPP_frexp_capture(__x, __exp); } - inline float fmod(float __x, float __y) - { return ::_C_legacy::_CPP_fmod_capture(__x, __y); } + inline float + ldexp(float __x, int __exp) + { return _C_legacy::_CPP_ldexp_capture(__x, __exp); } - inline float frexp(float __x, int* __exp) - { return ::_C_legacy::_CPP_frexp_capture(__x, __exp); } + inline float + log(float __x) { return _C_legacy::_CPP_log_capture(__x); } - inline float ldexp(float __x, int __exp) - { return ::_C_legacy::_CPP_ldexp_capture(__x, __exp); } + inline float + log10(float __x) { return _C_legacy::_CPP_log10_capture(__x); } - inline float log(float __x) - { return ::_C_legacy::_CPP_log_capture(__x); } + inline float + modf(float __x, float* __iptr) + { return _C_legacy::_CPP_modf_capture(__x, __iptr); } - inline float log10(float __x) - { return ::_C_legacy::_CPP_log10_capture(__x); } + inline float + pow(float __x, float __y) { return _C_legacy::_CPP_pow_capture(__x, __y); } - inline float modf(float __x, float* __iptr) - { return ::_C_legacy::_CPP_modf_capture(__x, __iptr); } + float + pow(float, int); - inline float pow(float __x, float __y) - { return ::_C_legacy::_CPP_pow_capture(__x, __y); } + inline float + sin(float __x) { return _C_legacy::_CPP_sin_capture(__x); } - float pow(float, int); + inline float + sinh(float __x) { return _C_legacy::_CPP_sinh_capture(__x); } - inline float sin(float __x) - { return ::_C_legacy::_CPP_sin_capture(__x); } + inline float + sqrt(float __x) { return _C_legacy::_CPP_sqrt_capture(__x); } - inline float sinh(float __x) - { return ::_C_legacy::_CPP_sinh_capture(__x); } + inline float + tan(float __x) { return _C_legacy::_CPP_tan_capture(__x); } - inline float sqrt(float __x) - { return ::_C_legacy::_CPP_sqrt_capture(__x); } + inline float + tanh(float __x) { return _C_legacy::_CPP_tanh_capture(__x); } - inline float tan(float __x) - { return ::_C_legacy::_CPP_tan_capture(__x); } + inline double + abs(double __x) { return _C_legacy::_CPP_fabs_capture(__x); } - inline float tanh(float __x) - { return ::_C_legacy::_CPP_tanh_capture(__x); } + inline double + acos(double __x) { return _C_legacy::_CPP_acos_capture(__x); } - // - // double - // + inline double + asin(double __x) { return _C_legacy::_CPP_asin_capture(__x); } - inline double abs(double __x) - { return ::_C_legacy::_CPP_fabs_capture(__x); } + inline double + atan(double __x) { return _C_legacy::_CPP_atan_capture(__x); } - inline double acos(double __x) - { return ::_C_legacy::_CPP_acos_capture(__x); } + inline double + atan2(double __y, double __x) + { return _C_legacy::_CPP_atan2_capture(__y, __x); } - inline double asin(double __x) - { return ::_C_legacy::_CPP_asin_capture(__x); } + inline double + ceil(double __x) { return _C_legacy::_CPP_ceil_capture(__x); } - inline double atan(double __x) - { return ::_C_legacy::_CPP_atan_capture(__x); } + inline double + cos(double __x) { return _C_legacy::_CPP_cos_capture(__x); } - inline double atan2(double __y, double __x) - { return ::_C_legacy::_CPP_atan2_capture(__y, __x); } + inline double + cosh(double __x) { return _C_legacy::_CPP_cosh_capture(__x); } - inline double ceil(double __x) - { return ::_C_legacy::_CPP_ceil_capture(__x); } + inline double + exp(double __x) { return _C_legacy::_CPP_exp_capture(__x); } - inline double cos(double __x) - { return ::_C_legacy::_CPP_cos_capture(__x); } + inline double + fabs(double __x) { return _C_legacy::_CPP_fabs_capture(__x); } - inline double cosh(double __x) - { return ::_C_legacy::_CPP_cosh_capture(__x); } + inline double + floor(double __x) { return _C_legacy::_CPP_floor_capture(__x); } - inline double exp(double __x) - { return ::_C_legacy::_CPP_exp_capture(__x); } + inline double + fmod(double __x, double __y) + { return _C_legacy::_CPP_fmod_capture(__x, __y); } - inline double fabs(double __x) - { return ::_C_legacy::_CPP_fabs_capture(__x); } + inline double + frexp(double __x, int* __exp) + { return _C_legacy::_CPP_frexp_capture(__x, __exp); } - inline double floor(double __x) - { return ::_C_legacy::_CPP_floor_capture(__x); } + inline double + ldexp(double __x, int __exp) + { return _C_legacy::_CPP_ldexp_capture(__x, __exp); } - inline double fmod(double __x, double __y) - { return ::_C_legacy::_CPP_fmod_capture(__x, __y); } + inline double + log(double __x) { return _C_legacy::_CPP_log_capture(__x); } - inline double frexp(double __x, int* __exp) - { return ::_C_legacy::_CPP_frexp_capture(__x, __exp); } + inline double + log10(double __x) { return _C_legacy::_CPP_log10_capture(__x); } - inline double ldexp(double __x, int __exp) - { return ::_C_legacy::_CPP_ldexp_capture(__x, __exp); } + inline double + modf(double __x, double* __iptr) + { return _C_legacy::_CPP_modf_capture(__x, __iptr); } - inline double log(double __x) - { return ::_C_legacy::_CPP_log_capture(__x); } + inline double + pow(double __x, double __y) + { return _C_legacy::_CPP_pow_capture(__x, __y); } - inline double log10(double __x) - { return ::_C_legacy::_CPP_log10_capture(__x); } + double + pow(double, int); - inline double modf(double __x, double* __iptr) - { return ::_C_legacy::_CPP_modf_capture(__x, __iptr); } + inline double + sin(double __x) { return _C_legacy::_CPP_sin_capture(__x); } - inline double pow(double __x, double __y) - { return ::_C_legacy::_CPP_pow_capture(__x, __y); } + inline double + sinh(double __x) { return _C_legacy::_CPP_sinh_capture(__x); } - double pow (double, int); + inline double + sqrt(double __x) { return _C_legacy::_CPP_sqrt_capture(__x); } - inline double sin(double __x) - { return ::_C_legacy::_CPP_sin_capture(__x); } + inline double + tan(double __x) { return _C_legacy::_CPP_tan_capture(__x); } + + inline double + tanh(double __x) { return _C_legacy::_CPP_tanh_capture(__x); } + + inline long double + abs(long double __x) { return _C_legacy::_CPP_fabs_capture(__x); } + + inline long double + acos(long double __x) { return _C_legacy::_CPP_acos_capture(__x); } + + inline long double + asin(long double __x) { return _C_legacy::_CPP_asin_capture(__x); } + + inline long double + atan(long double __x) { return _C_legacy::_CPP_atan_capture(__x); } + + inline long double + atan2(long double __y, long double __x) + { return _C_legacy::_CPP_atan2_capture(__y, __x); } + + inline long double + ceil(long double __x) { return _C_legacy::_CPP_ceil_capture(__x); } + + inline long double + cos(long double __x) { return _C_legacy::_CPP_cos_capture(__x); } + + inline long double + cosh(long double __x) { return _C_legacy::_CPP_cosh_capture(__x); } + + inline long double + exp(long double __x) { return _C_legacy::_CPP_exp_capture(__x); } + + inline long double + fabs(long double __x) { return _C_legacy::_CPP_fabs_capture(__x); } + + inline long double + floor(long double __x) { return _C_legacy::_CPP_floor_capture(__x); } + + inline long double + fmod(long double __x, long double __y) + { return _C_legacy::_CPP_fmod_capture(__x, __y); } + + inline long double + frexp(long double __x, int* __exp) + { return _C_legacy::_CPP_frexp_capture(__x, __exp); } + + inline long double + ldexp(long double __x, int __exp) + { return _C_legacy::_CPP_ldexp_capture(__x, __exp); } + + inline long double + log(long double __x) { return _C_legacy::_CPP_log_capture(__x); } + + inline long double + log10(long double __x) { return _C_legacy::_CPP_log10_capture(__x); } + + inline long double + modf(long double __x, long double* __iptr) + { return _C_legacy::_CPP_modf_capture(__x, __iptr); } + + inline long double + pow(long double __x, long double __y) + { return _C_legacy::_CPP_pow_capture(__x, __y); } + + long double + pow(long double, int); + + inline long double + sin(long double __x) { return _C_legacy::_CPP_sin_capture(__x); } + + inline long double + sinh(long double __x) { return _C_legacy::_CPP_sinh_capture(__x); } + + inline long double + sqrt(long double __x) { return _C_legacy::_CPP_sqrt_capture(__x); } + + inline long double + tan(long double __x) { return _C_legacy::_CPP_tan_capture(__x); } + + inline long double + tanh(long double __x) { return _C_legacy::_CPP_tanh_capture(__x); } +} // namespace std + +# undef _IN_C_LEGACY_ + +#endif - inline double sinh(double __x) - { return ::_C_legacy::_CPP_sinh_capture(__x); } - inline double sqrt(double __x) - { return ::_C_legacy::_CPP_sqrt_capture(__x); } - inline double tan(double __x) - { return ::_C_legacy::_CPP_tan_capture(__x); } - inline double tanh(double __x) - { return ::_C_legacy::_CPP_tanh_capture(__x); } - // - // long double - // - inline long double abs(long double __x) - { return ::_C_legacy::_CPP_fabs_capture(__x); } - inline long double acos(long double __x) - { return ::_C_legacy::_CPP_acos_capture(__x); } - inline long double asin(long double __x) - { return ::_C_legacy::_CPP_asin_capture(__x); } - inline long double atan(long double __x) - { return ::_C_legacy::_CPP_atan_capture(__x); } - inline long double atan2(long double __y, long double __x) - { return ::_C_legacy::_CPP_atan2_capture(__y, __x); } - inline long double ceil(long double __x) - { return ::_C_legacy::_CPP_ceil_capture(__x); } - inline long double cos(long double __x) - { return ::_C_legacy::_CPP_cos_capture(__x); } - inline long double cosh(long double __x) - { return ::_C_legacy::_CPP_cosh_capture(__x); } - inline long double exp(long double __x) - { return ::_C_legacy::_CPP_exp_capture(__x); } - inline long double fabs(long double __x) - { return ::_C_legacy::_CPP_fabs_capture(__x); } - inline long double floor(long double __x) - { return ::_C_legacy::_CPP_floor_capture(__x); } - inline long double fmod(long double __x, long double __y) - { return ::_C_legacy::_CPP_fmod_capture(__x, __y); } - inline long double frexp(long double __x, int* __exp) - { return ::_C_legacy::_CPP_frexp_capture(__x, __exp); } - inline long double ldexp(long double __x, int __exp) - { return ::_C_legacy::_CPP_ldexp_capture(__x, __exp); } - inline long double log(long double __x) - { return ::_C_legacy::_CPP_log_capture(__x); } - inline long double log10(long double __x) - { return ::_C_legacy::_CPP_log10_capture(__x); } - inline long double modf(long double __x, long double* __iptr) - { return ::_C_legacy::_CPP_modf_capture(__x, __iptr); } - inline long double pow(long double __x, long double __y) - { return ::_C_legacy::_CPP_pow_capture(__x, __y); } - long double pow (long double, int); - inline long double sin(long double __x) - { return ::_C_legacy::_CPP_sin_capture(__x); } - inline long double sinh(long double __x) - { return ::_C_legacy::_CPP_sinh_capture(__x); } - inline long double sqrt(long double __x) - { return ::_C_legacy::_CPP_sqrt_capture(__x); } - inline long double tan(long double __x) - { return ::_C_legacy::_CPP_tan_capture(__x); } - inline long double tanh(long double __x) - { return ::_C_legacy::_CPP_tanh_capture(__x); } - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - } - } -# undef _IN_C_LEGACY_ -#endif diff --git a/libstdc++-v3/shadow/bits/std_csetjmp.h b/libstdc++-v3/shadow/bits/std_csetjmp.h index f7a21eec075..21c03d519ed 100644 --- a/libstdc++-v3/shadow/bits/std_csetjmp.h +++ b/libstdc++-v3/shadow/bits/std_csetjmp.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,42 +34,30 @@ #ifndef _CPP_CSETJMP #define _CPP_CSETJMP 1 - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <setjmp.h> - } - typedef jmp_buf _CPP_jmp_buf_capture; - inline int _CPP_setjmp_capture(jmp_buf __jb) { return setjmp(__jb); } - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: + } + inline int + _CPP_setjmp_capture(jmp_buf __jb) { return setjmp(__jb); } +} // namespace _C_legacy # undef jmp_buf # undef setjmp # define setjmp(__jb) ::_C_legacy::_CPP_setjmp_capture(__jb) # undef longjmp - namespace _C_legacy { - namespace _C_shadow { - typedef ::_C_legacy::_CPP_jmp_buf_capture jmp_buf; - } - } - namespace std { - - // Adopt C names into std:: - using ::_C_legacy::_C_shadow::jmp_buf; - using ::_C_legacy::longjmp; - - } // close namespace std:: +namespace std { + // Adopt C names into std:: + using _C_legacy::jmp_buf; + using _C_legacy::longjmp; +} // namespace std - namespace _C_legacy { - namespace _C_shadow { - } - } - # undef _IN_C_LEGACY_ #endif + + diff --git a/libstdc++-v3/shadow/bits/std_csignal.h b/libstdc++-v3/shadow/bits/std_csignal.h index 8c2a9c308f7..71f91260214 100644 --- a/libstdc++-v3/shadow/bits/std_csignal.h +++ b/libstdc++-v3/shadow/bits/std_csignal.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,78 +34,34 @@ #ifndef _CPP_CSIGNAL #define _CPP_CSIGNAL 1 - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ + // XXX +# undef __need_sig_atomic_t +# undef __need_sigset_t + # pragma GCC system_header # include_next <signal.h> - typedef void (*_CPP_CSIGFUN_capture)(int); // a C function pointer - typedef sig_atomic_t _CPP_sig_atomic_t_capture; - const _CPP_CSIGFUN_capture _CPP_SIG_DFL_capture = SIG_DFL; - const _CPP_CSIGFUN_capture _CPP_SIG_ERR_capture = SIG_ERR; - const _CPP_CSIGFUN_capture _CPP_SIG_IGN_capture = SIG_IGN; - } - const int _CPP_SIGABRT_capture = SIGABRT; - const int _CPP_SIGFPE_capture = SIGFPE; - const int _CPP_SIGILL_capture = SIGILL; - const int _CPP_SIGINT_capture = SIGINT; - const int _CPP_SIGSEGV_capture = SIGSEGV; - const int _CPP_SIGTERM_capture = SIGTERM; - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: + } +} // namespace _C_legacy # undef sig_atomic_t # undef raise # undef signal -# undef SIG_DFL -# define SIG_DFL \ - reinterpret_cast<void (*)(int)>(::_C_legacy::_CPP_SIG_DFL_capture) -# undef SIG_ERR -# define SIG_ERR \ - reinterpret_cast<void (*)(int)>(::_C_legacy::_CPP_SIG_ERR_capture) -# undef SIG_IGN -# define SIG_IGN \ - reinterpret_cast<void (*)(int)>(::_C_legacy::_CPP_SIG_IGN_capture) -# undef SIGABRT -# define SIGABRT ::_C_legacy::_CPP_SIGABRT_capture -# undef SIGFPE -# define SIGFPE ::_C_legacy::_CPP_SIGFPE_capture -# undef SIGILL -# define SIGILL ::_C_legacy::_CPP_SIGILL_capture -# undef SIGINT -# define SIGINT ::_C_legacy::_CPP_SIGINT_capture -# undef SIGSEGV -# define SIGSEGV ::_C_legacy::_CPP_SIGSEGV_capture -# undef SIGTERM -# define SIGTERM ::_C_legacy::_CPP_SIGTERM_capture - - namespace _C_legacy { - namespace _C_shadow { - typedef ::_C_legacy::_CPP_sig_atomic_t_capture sig_atomic_t; - } - } - namespace std { - // Adopt C names into std:: - using ::_C_legacy::_C_shadow::sig_atomic_t; - using ::_C_legacy::raise; - - inline void (*signal(int __sig, void (* __fun)(int)))(int) - { return reinterpret_cast<void (*)(int)>( - ::_C_legacy::signal(__sig, - reinterpret_cast< ::_C_legacy::_CPP_CSIGFUN_capture>(__fun))); - } - - } // close namespace std:: +namespace std { + // Adopt C names into std:: + using _C_legacy::sig_atomic_t; + using _C_legacy::raise; + using _C_legacy::signal; +} // namespace std - namespace _C_legacy { - namespace _C_shadow { - using ::std::signal; - } - } - # undef _IN_C_LEGACY_ #endif + + + + diff --git a/libstdc++-v3/shadow/bits/std_cstdarg.h b/libstdc++-v3/shadow/bits/std_cstdarg.h index 2bf95257104..eb1b7909e74 100644 --- a/libstdc++-v3/shadow/bits/std_cstdarg.h +++ b/libstdc++-v3/shadow/bits/std_cstdarg.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,65 +34,19 @@ #ifndef _CPP_CSTDARG #define _CPP_CSTDARG 1 - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <stdarg.h> - } - typedef va_list _CPP_va_list_capture; -# ifdef __GNUC__ - -# elif - template <class T> - inline void _CPP_va_start_capture(va_list& __val, T& __v) - { va_start(__val, __v); } - template <class T> - inline void _CPP_va_arg_capture(va_list& __val, T& __arg) - { va_start(__val, __arg); } - template <class T> - inline T& _CPP_va_arg_capture(va_list& __val) - { return va_arg(__val, T); } - template <class T> - inline void _CPP_va_end(va_list& __val) - { va_end(__val); } -# endif - - // typedef size_t _CPP_size_t_capture; // handled in <cstddef> - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: - -# ifdef __GNUC__ - -# undef va_list - using _C_legacy::__gnuc_va_list; - -# elif /* probably must be tailored for each compiler, as above. */ - -# undef va_list -# undef va_start -# define va_start(a,b) ::_C_legacy::_CPP_va_start_capture(a,b) -# undef va_arg -# define va_arg(a,b) ::_C_legacy::_CPP_va_arg_capture<b>(a) -# undef va_end -# define va_end(a) ::_C_legacy::_CPP_va_end_capture(a) + } +} // namespace _C_legacy -# endif +# undef va_list - namespace _C_legacy { - namespace _C_shadow { - typedef ::_C_legacy::_CPP_va_list_capture va_list; - } - } - namespace std { - using ::_C_legacy::_C_shadow::va_list; - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - } - } +namespace std { + using _C_legacy::va_list; +} // namespace std # undef _IN_C_LEGACY_ diff --git a/libstdc++-v3/shadow/bits/std_cstddef.h b/libstdc++-v3/shadow/bits/std_cstddef.h index 0326590a0b2..5ebcb61c808 100644 --- a/libstdc++-v3/shadow/bits/std_cstddef.h +++ b/libstdc++-v3/shadow/bits/std_cstddef.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,45 +34,27 @@ #ifndef _CPP_CSTDDEF #define _CPP_CSTDDEF 1 - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <stddef.h> - } - typedef ptrdiff_t _CPP_ptrdiff_t_capture; - typedef size_t _CPP_size_t_capture; - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: + } +} // namespace _C_legacy # undef ptrdiff_t # undef size_t -# undef wchar_t -# undef NULL -# define NULL 0 -// # undef offsetof - - namespace _C_legacy { - namespace _C_shadow { - typedef ::_C_legacy::_CPP_ptrdiff_t_capture ptrdiff_t; - typedef ::_C_legacy::_CPP_size_t_capture size_t; - } - } - namespace std { - - // Adopt C names into std:: - using ::_C_legacy::_C_shadow::ptrdiff_t; - using ::_C_legacy::_C_shadow::size_t; - } // close namespace std:: +namespace std { + using _C_legacy::ptrdiff_t; + using _C_legacy::size_t; +} // namespace std - namespace _C_legacy { - namespace _C_shadow { - } - } - # undef _IN_C_LEGACY_ #endif + + + + diff --git a/libstdc++-v3/shadow/bits/std_cstdio.h b/libstdc++-v3/shadow/bits/std_cstdio.h index 4dce4f18d22..db2761281d0 100644 --- a/libstdc++-v3/shadow/bits/std_cstdio.h +++ b/libstdc++-v3/shadow/bits/std_cstdio.h @@ -1,5 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. + +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -30,85 +31,51 @@ // ISO C++ 14882: 27.8.2 C Library files // -// XXX problems? Uses size_t, va_list in interfaces. -// Maybe <stdio.h> needs a size_t macro defined. Maybe it -// clobbers va_list. -// -// Also, -// uses va_start, va_end in implementation of vfprintf and -// vfscanf. Maybe those shouldn't be inline. - #ifndef _CPP_CSTDIO #define _CPP_CSTDIO 1 -# include <bits/std_cstddef.h> /* pick up size_t, NULL */ -# include <bits/std_cstdarg.h> /* pick up va_list, va_start, va_end */ +# include <bits/std_cstddef.h> +# include <bits/std_cstdarg.h> - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ +# undef __need_FILE # pragma GCC system_header # include_next <stdio.h> - } - // size_t handled in <cstddef> - typedef FILE _CPP_FILE_capture; - typedef fpos_t _CPP_fpos_t_capture; - // NULL done in <stddef.h> - const int _CPP_IOFBF_capture = _IOFBF; - const int _CPP_IOLBF_capture = _IOLBF; - const int _CPP_IONBF_capture = _IONBF; - const int _CPP_BUFSIZ_capture = BUFSIZ; - const int _CPP_EOF_capture = EOF; - const int _CPP_FOPEN_MAX_capture = FOPEN_MAX; - const int _CPP_FILENAME_MAX_capture = FILENAME_MAX; - const int _CPP_L_tmpnam_capture = L_tmpnam; - const int _CPP_SEEK_CUR_capture = SEEK_CUR; - const int _CPP_SEEK_END_capture = SEEK_END; - const int _CPP_SEEK_SET_capture = SEEK_SET; - const int _CPP_TMP_MAX_capture = TMP_MAX; - - inline FILE* _CPP_stderr_capture() { return stderr; } - inline FILE* _CPP_stdin_capture() { return stdin; } - inline FILE* _CPP_stdout_capture() { return stdout; } - - inline int _CPP_getc_capture(FILE* __f) { return getc(__f); } - inline int _CPP_getchar_capture() { return getchar(); } - inline int _CPP_putc_capture(int __c, FILE* __f) { return putc(__c, __f); } - inline int _CPP_putchar_capture(int __c) { return putchar(__c); } - inline int _CPP_feof_capture(FILE* __f) { return feof(__f); } - - namespace _C_shadow { - } - - } // close namespace ::_C_legacy:: - -// # undef size_t /* handled in <cstddef> */ + } + + typedef FILE _CPP_FILE_capture; + typedef fpos_t _CPP_fpos_t_capture; + + inline FILE* + _CPP_stderr_capture() { return stderr; } + + inline FILE* + _CPP_stdin_capture() { return stdin; } + + inline FILE* + _CPP_stdout_capture() { return stdout; } + + inline int + _CPP_getc_capture(FILE* __f) { return getc(__f); } + + inline int + _CPP_getchar_capture() { return getchar(); } + + inline int + _CPP_putc_capture(int __c, FILE* __f) { return putc(__c, __f); } + + inline int + _CPP_putchar_capture(int __c) { return putchar(__c); } + + inline int + _CPP_feof_capture(FILE* __f) { return feof(__f); } + +} // namespace _C_legacy + # undef FILE # undef fpos_t -# undef _IOFBF -# define _IOFBF ::_C_legacy::_CPP__IOFBF_capture -# undef _IOLBF -# define _IOLBF ::_C_legacy::_CPP__IOLBF_capture -# undef _IONBF -# define _IONBF ::_C_legacy::_CPP__IONBF_capture -# undef BUFSIZ -# define BUFSIZ ::_C_legacy::_CPP_BUFSIZ_capture -# undef EOF -# define EOF ::_C_legacy::_CPP_EOF_capture -# undef FOPEN_MAX -# define FOPEN_MAX ::_C_legacy::_CPP_FOPEN_MAX_capture -# undef FILENAME_MAX -# define FILENAME_MAX ::_C_legacy::_CPP_FILENAME_MAX_capture -# undef L_tmpnam -# define L_tmpnam ::_C_legacy::_CPP_L_tmpnam_capture -# undef SEEK_CUR -# define SEEK_CUR ::_C_legacy::_CPP_SEEK_CUR_capture -# undef SEEK_END -# define SEEK_END ::_C_legacy::_CPP_SEEK_END_capture -# undef SEEK_SET -# define SEEK_SET ::_C_legacy::_CPP_SEEK_SET_capture -# undef TMP_MAX -# define TMP_MAX ::_C_legacy::_CPP_TMP_MAX_capture # undef remove # undef rename @@ -151,216 +118,164 @@ # undef feof # undef ferror # undef perror - - namespace _C_legacy { - namespace _C_shadow { - } + +# undef stderr +# define stderr std::_CPP_stderr() +# undef stdin +# define stdin std::_CPP_stdin() +# undef stdout +# define stdout std::_CPP_stdout() + +namespace std { + struct FILE : _C_legacy::_CPP_FILE_capture { }; + struct fpos_t { _C_legacy::_CPP_fpos_t_capture _M_dummy; }; + + using _C_legacy::remove; + using _C_legacy::rename; + using _C_legacy::tmpnam; + using _C_legacy::printf; + using _C_legacy::scanf; + using _C_legacy::sprintf; + using _C_legacy::sscanf; + using _C_legacy::gets; + using _C_legacy::perror; + + inline FILE* + _CPP_stderr() + { return reinterpret_cast<FILE*>(_C_legacy::_CPP_stderr_capture() ); } + + inline FILE* + _CPP_stdin() + { return reinterpret_cast<FILE*>(_C_legacy::_CPP_stdin_capture() ); } + + inline FILE* + _CPP_stdout() + { return reinterpret_cast<FILE*>(_C_legacy::_CPP_stdout_capture() ); } + + inline FILE* + tmpfile() { return reinterpret_cast<FILE*>(_C_legacy::tmpfile()); } + + inline int + fclose(FILE* __f) { return _C_legacy::fclose(__f); } + + inline int + fflush(FILE* __f) { return _C_legacy::fflush(__f); } + + inline FILE* + fopen(char const* __name, char const* __mode) + { return reinterpret_cast<FILE*>(_C_legacy::fopen(__name,__mode)); } + + inline FILE* + freopen(char const* __name, char const* __mode, FILE* __f) + { return reinterpret_cast<FILE*>(_C_legacy::freopen(__name,__mode,__f)); } + + inline void + setbuf(FILE* __f, char* __buf) + { return _C_legacy::setbuf(__f, __buf); } + + inline int + setvbuf(FILE* __f, char* __buf, int __mode, size_t __size) + { return _C_legacy::setvbuf(__f, __buf, __mode, __size); } + + inline int + fprintf(FILE* __f, char const* __fmt, ...) + { + va_list __v; + va_start(__v,__fmt); + int __i = _C_legacy::vfprintf(__f, __fmt, __v); + va_end(__v); + return __i; } - namespace std { - - // Adopt C names into std:: - - struct FILE : ::_C_legacy::_CPP_FILE_capture { }; - struct fpos_t { ::_C_legacy::_CPP_fpos_t_capture _M_dummy; }; - - inline FILE* _CPP_stderr() - { return reinterpret_cast<FILE*>( ::_C_legacy::_CPP_stderr_capture() ); } - inline FILE* _CPP_stdin() - { return reinterpret_cast<FILE*>( ::_C_legacy::_CPP_stdin_capture() ); } - inline FILE* _CPP_stdout() - { return reinterpret_cast<FILE*>( ::_C_legacy::_CPP_stdout_capture() ); } - using ::_C_legacy::remove; - using ::_C_legacy::rename; - - inline FILE* - tmpfile() { return reinterpret_cast<FILE*>(::_C_legacy::tmpfile()); } - - using ::_C_legacy::tmpnam; - - inline int - fclose(FILE* __f) { return ::_C_legacy::fclose(__f); } - - inline int - fflush(FILE* __f) { return ::_C_legacy::fflush(__f); } - - inline FILE* - fopen(char const* __name, char const* __mode) - { return reinterpret_cast<FILE*>(::_C_legacy::fopen(__name,__mode)); } - - inline FILE* - freopen(char const* __name, char const* __mode, FILE* __f) - { return reinterpret_cast<FILE*>( - ::_C_legacy::freopen(__name,__mode,__f)); } - - inline void - setbuf(FILE* __f, char* __buf) - { return ::_C_legacy::setbuf(__f, __buf); } - - inline int - setvbuf(FILE* __f, char* __buf, int __mode, size_t __size) - { return ::_C_legacy::setvbuf(__f, __buf, __mode, __size); } - - inline int - fprintf(FILE* __f, char const* __fmt, ...) - { va_list __v; va_start(__v,__fmt); - int __i = ::_C_legacy::vfprintf(__f, __fmt, __v); va_end(__v); - return __i; } - - inline int - fscanf(FILE* __f, char const* __fmt, ...) - { va_list __v; va_start(__v,__fmt); - int __i = ::_C_legacy::vfscanf(__f, __fmt, __v); va_end(__v); - return __i; } - - using ::_C_legacy::printf; - using ::_C_legacy::scanf; - using ::_C_legacy::sprintf; - using ::_C_legacy::sscanf; - - // using ::_C_legacy::vfprintf; - inline int - vfprintf(FILE* __f, char const* __fmt, va_list __v) - { return ::_C_legacy::vfprintf(__f, __fmt, __v); } - - inline int - vprintf(char const* __fmt, va_list __v) - { return ::_C_legacy::vprintf(__fmt, __v); } - - inline int - vsprintf(char* __buf, char const* __fmt, va_list __v) - { return ::_C_legacy::vsprintf(__buf, __fmt, __v); } + inline int + fscanf(FILE* __f, char const* __fmt, ...) + { + va_list __v; + va_start(__v,__fmt); + int __i = _C_legacy::vfscanf(__f, __fmt, __v); + va_end(__v); + return __i; + } - inline int - fgetc(FILE* __f) { return ::_C_legacy::fgetc(__f); } + inline int + vfprintf(FILE* __f, char const* __fmt, va_list __v) + { return _C_legacy::vfprintf(__f, __fmt, __v); } - // using ::_C_legacy::fgets; - inline char* - fgets(char* __buf, int __n, FILE* __f) - { return ::_C_legacy::fgets(__buf, __n, __f); } + inline int + vprintf(char const* __fmt, va_list __v) + { return _C_legacy::vprintf(__fmt, __v); } - inline int - fputc(int __c, FILE* __f) { return ::_C_legacy::fputc(__c, __f); } + inline int + vsprintf(char* __buf, char const* __fmt, va_list __v) + { return _C_legacy::vsprintf(__buf, __fmt, __v); } - inline int - fputs(char const* __s, FILE* __f) - { return ::_C_legacy::fputs(__s, __f); } + inline int + fgetc(FILE* __f) { return _C_legacy::fgetc(__f); } - inline int - getc(FILE* __f) { return ::_C_legacy::_CPP_getc_capture(__f); } + inline char* + fgets(char* __buf, int __n, FILE* __f) + { return _C_legacy::fgets(__buf, __n, __f); } - inline int - getchar() { return ::_C_legacy::_CPP_getchar_capture(); } + inline int + fputc(int __c, FILE* __f) { return _C_legacy::fputc(__c, __f); } - using ::_C_legacy::gets; + inline int + fputs(char const* __s, FILE* __f) + { return _C_legacy::fputs(__s, __f); } - inline int - putc(int __c, FILE* __f) - { return ::_C_legacy::_CPP_putc_capture(__c, __f); } + inline int + getc(FILE* __f) { return _C_legacy::_CPP_getc_capture(__f); } - inline int - putchar(int __c) { return ::_C_legacy::_CPP_putchar_capture(__c); } + inline int + getchar() { return _C_legacy::_CPP_getchar_capture(); } - using ::_C_legacy::puts; + inline int + putc(int __c, FILE* __f) + { return _C_legacy::_CPP_putc_capture(__c, __f); } - // using ::_C_legacy::ungetc; - inline int - ungetc(int __c, FILE* __f) { return ::_C_legacy::ungetc(__c, __f); } + inline int + putchar(int __c) { return _C_legacy::_CPP_putchar_capture(__c); } - inline size_t - fread(void* __p, size_t __z, size_t __n, FILE* __f) - { return ::_C_legacy::fread(__p,__z,__n,__f); } + using _C_legacy::puts; - inline size_t - fwrite(void const* __p, size_t __z, size_t __n, FILE* __f) - { return ::_C_legacy::fwrite(__p,__z,__n,__f); } + inline int + ungetc(int __c, FILE* __f) { return _C_legacy::ungetc(__c, __f); } - inline int - fgetpos(FILE* __f, fpos_t* __pos) - { return ::_C_legacy::fgetpos(__f,&__pos->_M_dummy); } + inline size_t + fread(void* __p, size_t __z, size_t __n, FILE* __f) + { return _C_legacy::fread(__p,__z,__n,__f); } - inline int - fseek(FILE* __f, long __off, int __how) - { return ::_C_legacy::fseek(__f,__off,__how); } + inline size_t + fwrite(void const* __p, size_t __z, size_t __n, FILE* __f) + { return _C_legacy::fwrite(__p,__z,__n,__f); } - inline int - fsetpos(FILE* __f, fpos_t const* __pos) - { return ::_C_legacy::fsetpos(__f,&__pos->_M_dummy); } + inline int + fgetpos(FILE* __f, fpos_t* __pos) + { return _C_legacy::fgetpos(__f,&__pos->_M_dummy); } - inline long - ftell(FILE* __f) { return ::_C_legacy::ftell(__f); } + inline int + fseek(FILE* __f, long __off, int __how) + { return _C_legacy::fseek(__f,__off,__how); } - inline void - rewind(FILE* __f) { return ::_C_legacy::rewind(__f); } + inline int + fsetpos(FILE* __f, fpos_t const* __pos) + { return _C_legacy::fsetpos(__f,&__pos->_M_dummy); } - inline void - clearerr(FILE* __f) { return ::_C_legacy::clearerr(__f); } + inline long + ftell(FILE* __f) { return _C_legacy::ftell(__f); } - inline int - feof(FILE* __f) { return ::_C_legacy::_CPP_feof_capture(__f); } + inline void + rewind(FILE* __f) { return _C_legacy::rewind(__f); } - inline int - ferror(FILE* __f) { return ::_C_legacy::ferror(__f); } + inline void + clearerr(FILE* __f) { return _C_legacy::clearerr(__f); } - using ::_C_legacy::perror; + inline int + feof(FILE* __f) { return _C_legacy::_CPP_feof_capture(__f); } - } // close namespace std:: - -# undef stderr -# define stderr ::std::_CPP_stderr() -# undef stdin -# define stdin ::std::_CPP_stdin() -# undef stdout -# define stdout ::std::_CPP_stdout() - - namespace _C_legacy { - namespace _C_shadow { - using ::std::FILE; - using ::std::fpos_t; - - // using ::std::remove; - // using ::std::rename; - using ::std::tmpfile; - // using ::std::tmpnam; - using ::std::fclose; - using ::std::fflush; - using ::std::fopen; - using ::std::freopen; - using ::std::setbuf; - using ::std::setvbuf; - using ::std::fprintf; - using ::std::fscanf; - // using ::std::printf; - // using ::std::scanf; - // using ::std::sprintf; - // using ::std::sscanf; - using ::std::vfprintf; - using ::std::vprintf; - using ::std::vsprintf; - using ::std::fgetc; - using ::std::fgets; - using ::std::fputc; - using ::std::fputs; - using ::std::getc; - using ::std::getchar; - // using ::std::gets; - using ::std::putc; - using ::std::putchar; - // using ::std::puts; - using ::std::ungetc; - using ::std::fread; - using ::std::fwrite; - using ::std::fgetpos; - using ::std::fseek; - using ::std::fsetpos; - using ::std::ftell; - using ::std::rewind; - using ::std::clearerr; - using ::std::feof; - using ::std::ferror; - // using ::std::perror; - } - } + inline int + ferror(FILE* __f) { return _C_legacy::ferror(__f); } +} // namespace std # undef _IN_C_LEGACY_ diff --git a/libstdc++-v3/shadow/bits/std_cstdlib.h b/libstdc++-v3/shadow/bits/std_cstdlib.h index 1fc86b991c6..44a316ec40f 100644 --- a/libstdc++-v3/shadow/bits/std_cstdlib.h +++ b/libstdc++-v3/shadow/bits/std_cstdlib.h @@ -38,7 +38,8 @@ #ifndef _CPP_CSTDLIB #define _CPP_CSTDLIB 1 -# include <bits/std_cstddef.h> /* pick up NULL, size_t */ +# include <bits/c++config.h> +# include <bits/std_cstddef.h> namespace _C_legacy { extern "C" { @@ -47,36 +48,20 @@ namespace _C_legacy { # include_next <stdlib.h> typedef int (*_C_cmp_fun_ptr)(const void*, const void*); // C fn ptr } - const int _CPP_EXIT_SUCCESS_capture = int(EXIT_SUCCESS); - const int _CPP_EXIT_FAILURE_capture = int(EXIT_FAILURE); - const int _CPP_RAND_MAX_capture = int(RAND_MAX); - inline int _CPP_MB_CUR_MAX_capture() { return int(MB_CUR_MAX); } - // typedef size_t _CPP_size_t_capture; - // typedef wchar_t _CPP_wchar_t_capture; + typedef div_t _CPP_div_t_capture; typedef ldiv_t _CPP_ldiv_t_capture; - namespace _C_shadow { - } -} // namespace _C_legacy:: +# if _GLIBCPP_HAVE_LLDIV_T + typedef lldiv_t _CPP_lldiv_t_capture; +# endif +} // namespace _C_legacy # undef size_t # undef wchar_t # undef div_t # undef ldiv_t -// <cstddef> -// # undef NULL -// # define NULL 0 -# undef EXIT_SUCCESS -# define EXIT_SUCCESS (::_C_legacy::_CPP_EXIT_SUCCESS_capture) -# undef EXIT_FAILURE -# define EXIT_FAILURE (::_C_legacy::_CPP_EXIT_FAILURE_capture) -# undef RAND_MAX -# define RAND_MAX (::_C_legacy::_CPP_RAND_MAX_capture) -# undef MB_CUR_MAX -# define MB_CUR_MAX (::_C_legacy::_CPP_MB_CUR_MAX_capture()) - # undef atof # undef atoi # undef atol @@ -110,134 +95,95 @@ namespace _C_legacy { # undef mbstowcs # undef wcstombs - namespace _C_legacy { - namespace _C_shadow { - // these come from <cstddef> - // typedef ::_C_legacy::_CPP_size_t_capture size_t; - // typedef ::_C_legacy::_CPP_wchar_t_capture wchar_t; - } - } - namespace std { - - // Adopt C names into std:: - // using ::_C_legacy::_C_shadow::size_t; - // using ::_C_legacy::_C_shadow::wchar_t; - - typedef ::_C_legacy::_CPP_div_t_capture _CPP_div_t; - struct div_t : _CPP_div_t {}; - typedef ::_C_legacy::_CPP_ldiv_t_capture _CPP_ldiv_t; - struct ldiv_t : _CPP_ldiv_t {}; - // note: div_t and ldiv_t are still POD types - - // EXIT_SUCCESS, EXIT_FAILURE, RAND_MAX, MB_CUR_MAX, NULL - - using ::_C_legacy::atof; - using ::_C_legacy::atoi; - using ::_C_legacy::atol; - using ::_C_legacy::strtod; - using ::_C_legacy::strtol; - using ::_C_legacy::strtoul; - using ::_C_legacy::rand; - using ::_C_legacy::srand; - using ::_C_legacy::calloc; - using ::_C_legacy::free; - using ::_C_legacy::malloc; - using ::_C_legacy::realloc; - void abort(); // XXX must define this correctly for C++. - -#define _FUN_OVERLOAD_BUG - // extern "C" funs declared void f(int (*)()) overload OK with C++ funs, - // but not if declared void f(int (*)(void)). - -#if !defined(__GNUC__) || !defined(_FUN_OVERLOAD_BUG) - using ::_C_legacy::atexit; // XXX must redefine this one! +namespace std { + struct div_t : _C_legacy::_CPP_div_t_capture { }; + struct ldiv_t : _C_legacy::_CPP_ldiv_t_capture { }; + +#ifdef _GLIBCPP_USE_LONG_LONG +# ifdef _GLIBCPP_HAVE_LLDIV_T + struct lldiv_t : _C_legacy::_CPP_lldiv_t_captur { }; +# else + struct lldiv_t + { + long long quot; + long long rem; + }; +# endif #endif - int atexit(void (*)()); // XXX must define this. - // More precisely, we need an extern "C" atexit() that - // implements the correct semantics, but hides the link-name - // atexit found in the C library, and a C++ atexit too. If - // C and C++ calling conventions differ, each pointer must - // be marked to be called using the proper convention. - void exit(int __i) // XXX must define correctly for C++, like atexit(). - { ::_C_legacy::exit(__i); } + using _C_legacy::atof; + using _C_legacy::atoi; + using _C_legacy::atol; + using _C_legacy::strtod; + using _C_legacy::strtol; + using _C_legacy::strtoul; + using _C_legacy::rand; + using _C_legacy::srand; + using _C_legacy::calloc; + using _C_legacy::free; + using _C_legacy::malloc; + using _C_legacy::realloc; + + using _C_legacy::abort; + using _C_legacy::atexit; + using _C_legacy::exit; + using _C_legacy::bsearch; + using _C_legacy::qsort; + + using _C_legacy::getenv; + using _C_legacy::system; + using _C_legacy::mbtowc; + using _C_legacy::wctomb; + using _C_legacy::mbstowcs; + using _C_legacy::wcstombs; - using ::_C_legacy::getenv; - using ::_C_legacy::system; +#ifdef _GLIBCPP_USE_LONG_LONG + using _C_legacy::strtoll; + using _C_legacy::strtoull; + using _C_legacy::strtof; + using _C_legacy::strtold; +#endif - // XXX note that the raw conversion between C and C++ function - // pointers may not be portable to some targets; those targets need - // a forwarding function. + using _C_legacy::mblen; -#if !defined(__GNUC__) || !defined(_FUN_OVERLOAD_BUG) - using ::_C_legacy::bsearch; // overload -#endif - inline void* bsearch(const void* __key, const void* __base, size_t __n, - size_t __size, int (*__cmp)(const void*, const void*)) - { return ::_C_legacy::bsearch(__key,__base,__n,__size, - reinterpret_cast< ::_C_legacy::_C_cmp_fun_ptr>(__cmp)); } // XXX + inline int + abs(int __x) { return __x >= 0 ? __x : -__x; } -#if !defined(__GNUC__) || !defined(_FUN_OVERLOAD_BUG) - using ::_C_legacy::qsort; // overload -#endif - inline void qsort(void* __base, size_t __n, size_t __size, - int (*__cmp)(const void*, const void*)) - { return ::_C_legacy::qsort(__base,__n,__size, - reinterpret_cast< ::_C_legacy::_C_cmp_fun_ptr>(__cmp)); } // XXX - - - inline int abs(int __x) - { return __x >= 0 ? __x : -__x; } - inline div_t div(int __n, int __d) - { div_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } - inline long labs(long __x) - { return __x >= 0 ? __x : -__x; } - inline long abs(long __x) - { return __x >= 0 ? __x : -__x; } - inline ldiv_t ldiv(long __n, long __d) - { ldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } - inline ldiv_t div(long __n, long __d) - { ldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } -#ifdef _GLIBCPP_USE_LONG_LONG - inline long long llabs(long long __x) - { return __x >= 0 ? __x : -__x; } - inline long long abs(long long __x) - { return __x >= 0 ? __x : -__x; } - inline lldiv_t lldiv(long long __n, long long __d) - { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } - inline lldiv_t div(long long __n, long long __d) - { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } -#endif + inline div_t + div(int __n, int __d) + { div_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } - using ::_C_legacy::mblen; - using ::_C_legacy::mbtowc;; - using ::_C_legacy::wctomb; - using ::_C_legacy::mbstowcs; - using ::_C_legacy::wcstombs; + inline long + labs(long __x) { return __x >= 0 ? __x : -__x; } + + inline long + abs(long __x) { return __x >= 0 ? __x : -__x; } + + inline ldiv_t + ldiv(long __n, long __d) + { ldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } + + inline ldiv_t + div(long __n, long __d) + { ldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - using ::std::div_t; - using ::std::ldiv_t; - - using ::std::abort; - using ::std::atexit; - using ::std::exit; - using ::std::bsearch; - using ::std::qsort; - using ::std::abs; - using ::std::div; - using ::std::labs; - using ::std::ldiv; #ifdef _GLIBCPP_USE_LONG_LONG - using ::std::llabs; - using ::std::lldiv; -#endif - } - } + inline long long + llabs(long long __x) { return __x >= 0 ? __x : -__x; } + + inline long long + abs(long long __x) { return __x >= 0 ? __x : -__x; } + + inline lldiv_t + lldiv(long long __n, long long __d) + { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } + inline lldiv_t + div(long long __n, long long __d) + { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; } +#endif +} // namespace std + # undef _IN_C_LEGACY_ #endif diff --git a/libstdc++-v3/shadow/bits/std_cstring.h b/libstdc++-v3/shadow/bits/std_cstring.h index a1fe8f40f5e..38b9e6b617d 100644 --- a/libstdc++-v3/shadow/bits/std_cstring.h +++ b/libstdc++-v3/shadow/bits/std_cstring.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -33,77 +33,112 @@ #ifndef _CPP_CSTRING #define _CPP_CSTRING 1 + # if defined __GLIBC__ && __GLIBC__ >= 2 // We must not see the optimized string functions GNU libc defines. # define __NO_STRING_INLINES # endif -# include <bits/std_cstddef.h> /* pick up size_t, NULL */ +# include <bits/std_cstddef.h> - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <string.h> - } - - // size_t - // NULL - - // We do inline captures of most of these in case they - // have been optimized with macros. - - inline void* _CPP_memcpy_capture(void* __s1, void const* __s2, size_t __n) - { return memcpy(__s1,__s2,__n); } - inline void* _CPP_memmove_capture(void* __s1, void const* __s2, size_t __n) - { return memmove(__s1,__s2,__n); } - inline void* _CPP_strcpy_capture(char* __s1, char const* __s2) - { return strcpy(__s1,__s2); } - inline char* _CPP_strncpy_capture(char* __s1, char const* __s2, size_t __n) - { return strncpy(__s1,__s2,__n); } - inline char* _CPP_strcat_capture(char* __s1, char const* __s2) - { return strcat(__s1,__s2); } - inline char* _CPP_strncat_capture(char* __s1, char const* __s2, size_t __n) - { return strncat(__s1,__s2,__n); } - inline int _CPP_memcmp_capture(void const* __s1, - void const* __s2, size_t __n) - { return memcmp(__s1,__s2,__n); } - inline int _CPP_strcmp_capture(char const* __s1, char const* __s2) - { return strcmp(__s1,__s2); } - inline int _CPP_strcoll_capture(char const* __s1, char const* __s2) - { return strcoll(__s1,__s2); } - inline int _CPP_strncmp_capture(char const* __s1, - char const* __s2, size_t __n) - { return strncmp(__s1,__s2,__n); } - inline size_t _CPP_strxfrm_capture(char* __b, char const* __s, size_t __n) - { return strxfrm(__b,__s,__n); } - inline void* _CPP_memchr_capture(void const* __s1, int __c, size_t __n) - { return memchr(__s1,__c,__n); } - inline char* _CPP_strchr_capture(char const* __s1, int __c) - { return strchr(__s1,__c); } - inline size_t _CPP_strcspn_capture(char const* __s1, char const* __s2) - { return strcspn(__s1,__s2); } - inline char* _CPP_strpbrk_capture(char const* __s1, char const* __s2) - { return strpbrk(__s1,__s2); } - inline char* _CPP_strrchr_capture(char const* __s1, int __c) - { return strrchr(__s1,__c); } - inline size_t _CPP_strspn_capture(char const* __s1, char const* __s2) - { return strspn(__s1,__s2); } - inline char* _CPP_strstr_capture(char const* __s1, char const* __s2) - { return strstr(__s1,__s2); } - inline char* _CPP_strtok_capture(char* __s1, char const* __s2) - { return strtok(__s1,__s2); } - inline void* _CPP_memset_capture(void* __s, int __c, size_t __n) - { return memset(__s,__c,__n); } - // inline char* _CPP_strerror_capture(int __num) - // { return strerror(__num); } - inline size_t _CPP_strlen_capture(char const* __s) - { return strlen(__s); } - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: - -// size_t, NULL + } + + // We do inline captures of most of these in case they + // have been optimized with macros. + inline void* + _CPP_memcpy_capture(void* __s1, void const* __s2, size_t __n) + { return memcpy(__s1, __s2, __n); } + + inline void* + _CPP_memmove_capture(void* __s1, void const* __s2, size_t __n) + { return memmove(__s1, __s2, __n); } + + inline void* + _CPP_strcpy_capture(char* __s1, char const* __s2) + { return strcpy(__s1, __s2); } + + inline char* + _CPP_strncpy_capture(char* __s1, char const* __s2, size_t __n) + { return strncpy(__s1, __s2, __n); } + + inline char* + _CPP_strcat_capture(char* __s1, char const* __s2) + { return strcat(__s1, __s2); } + + inline char* + _CPP_strncat_capture(char* __s1, char const* __s2, size_t __n) + { return strncat(__s1, __s2, __n); } + + inline int + _CPP_memcmp_capture(void const* __s1, void const* __s2, size_t __n) + { return memcmp(__s1, __s2, __n); } + + inline int + _CPP_strcmp_capture(char const* __s1, char const* __s2) + { return strcmp(__s1, __s2); } + + inline int + _CPP_strcoll_capture(char const* __s1, char const* __s2) + { return strcoll(__s1, __s2); } + + inline int + _CPP_strncmp_capture(char const* __s1, char const* __s2, size_t __n) + { return strncmp(__s1, __s2, __n); } + + inline size_t + _CPP_strxfrm_capture(char* __b, char const* __s, size_t __n) + { return strxfrm(__b, __s, __n); } + + inline void* + _CPP_memchr_capture(void const* __s1, int __c, size_t __n) + { return memchr(__s1, __c, __n); } + + inline char* + _CPP_strchr_capture(char const* __s1, int __c) + { return strchr(__s1, __c); } + + inline size_t + _CPP_strcspn_capture(char const* __s1, char const* __s2) + { return strcspn(__s1, __s2); } + + inline char* + _CPP_strpbrk_capture(char const* __s1, char const* __s2) + { return strpbrk(__s1, __s2); } + + inline char* + _CPP_strrchr_capture(char const* __s1, int __c) + { return strrchr(__s1, __c); } + + inline size_t + _CPP_strspn_capture(char const* __s1, char const* __s2) + { return strspn(__s1, __s2); } + + inline char* + _CPP_strstr_capture(char const* __s1, char const* __s2) + { return strstr(__s1, __s2); } + + inline char* + _CPP_strtok_capture(char* __s1, char const* __s2) + { return strtok(__s1, __s2); } + + inline void* + _CPP_memset_capture(void* __s, int __c, size_t __n) + { return memset(__s, __c, __n); } + + // inline char* + // _CPP_strerror_capture(int __num) + // { return strerror(__num); } + + inline size_t + _CPP_strlen_capture(char const* __s) + { return strlen(__s); } +} // namespace _C_legacy + # undef memcpy # undef memmove # undef strcpy @@ -127,110 +162,116 @@ # undef strerror # undef strlen - namespace _C_legacy { - namespace _C_shadow { - } - } - namespace std { - - // Redefine most of these inline. Note that the - // C++ definition differs from C in some cases. - - inline void* memcpy(void* __s1, void const* __s2, size_t __n) - { return ::_C_legacy::_CPP_memcpy_capture(__s1,__s2,__n); } - inline void* memmove(void* __s1, void const* __s2, size_t __n) - { return ::_C_legacy::_CPP_memmove_capture(__s1,__s2,__n); } - inline void* strcpy(char* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strcpy_capture(__s1,__s2); } - inline char* strncpy(char* __s1, char const* __s2, size_t __n) - { return ::_C_legacy::_CPP_strncpy_capture(__s1,__s2,__n); } - inline char* strcat(char* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strcat_capture(__s1,__s2); } - inline char* strncat(char* __s1, char const* __s2, size_t __n) - { return ::_C_legacy::_CPP_strncat_capture(__s1,__s2,__n); } - inline int memcmp(void const* __s1, - void const* __s2, size_t __n) - { return ::_C_legacy::_CPP_memcmp_capture(__s1,__s2,__n); } - inline int strcmp(char const* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strcmp_capture(__s1,__s2); } - inline int strcoll(char const* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strcoll_capture(__s1,__s2); } - inline int strncmp(char const* __s1, - char const* __s2, size_t __n) - { return ::_C_legacy::_CPP_strncmp_capture(__s1,__s2,__n); } - inline size_t strxfrm(char* __b, char const* __s, size_t __n) - { return ::_C_legacy::_CPP_strxfrm_capture(__b,__s,__n); } - - inline void const* memchr(void const* __s1, int __c, size_t __n) - { return ::_C_legacy::_CPP_memchr_capture(__s1,__c,__n); } - inline void* memchr( void* __s1, int __c, size_t __n) - { return ::_C_legacy::_CPP_memchr_capture(__s1,__c,__n); } - - inline char const* strchr(char const* __s1, int __c) - { return ::_C_legacy::_CPP_strchr_capture(__s1,__c); } - inline char* strchr( char* __s1, int __c) - { return ::_C_legacy::_CPP_strchr_capture(__s1,__c); } - - inline size_t strcspn(char const* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strcspn_capture(__s1,__s2); } - - inline char const* strpbrk(char const* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strpbrk_capture(__s1,__s2); } - inline char* strpbrk( char* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strpbrk_capture(__s1,__s2); } - - inline char const* strrchr(char const* __s1, int __c) - { return ::_C_legacy::_CPP_strrchr_capture(__s1,__c); } - inline char* strrchr( char* __s1, int __c) - { return ::_C_legacy::_CPP_strrchr_capture(__s1,__c); } - - inline size_t strspn(char const* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strspn_capture(__s1,__s2); } - - inline char const* strstr(char const* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strstr_capture(__s1,__s2); } - inline char* strstr( char* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strstr_capture(__s1,__s2); } - - inline char* strtok(char* __s1, char const* __s2) - { return ::_C_legacy::_CPP_strtok_capture(__s1,__s2); } - inline void* memset(void* __s, int __c, size_t __n) - { return ::_C_legacy::_CPP_memset_capture(__s,__c,__n); } - - using ::_C_legacy::strerror; - - inline size_t strlen(char const* __s) - { return ::_C_legacy::_CPP_strlen_capture(__s); } - - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - // adopt names back into C - using ::std::memcpy; - using ::std::memmove; - using ::std::strcpy; - using ::std::strncpy; - using ::std::strcat; - using ::std::strncat; - using ::std::memcmp; - using ::std::strcmp; - using ::std::strcoll; - using ::std::strncmp; - using ::std::strxfrm; - using ::std::memchr; - using ::std::strchr; - using ::std::strcspn; - using ::std::strpbrk; - using ::std::strrchr; - using ::std::strspn; - using ::std::strstr; - using ::std::strtok; - using ::std::memset; - // using ::std::strerror; - using ::std::strlen; - } - } +namespace std { + // Redefine most of these inline. Note that the + // C++ definition differs from C in some cases. + inline void* + memcpy(void* __s1, void const* __s2, size_t __n) + { return _C_legacy::_CPP_memcpy_capture(__s1, __s2, __n); } + + inline void* + memmove(void* __s1, void const* __s2, size_t __n) + { return _C_legacy::_CPP_memmove_capture(__s1, __s2, __n); } + + inline void* + strcpy(char* __s1, char const* __s2) + { return _C_legacy::_CPP_strcpy_capture(__s1, __s2); } + + inline char* + strncpy(char* __s1, char const* __s2, size_t __n) + { return _C_legacy::_CPP_strncpy_capture(__s1, __s2, __n); } + + inline char* + strcat(char* __s1, char const* __s2) + { return _C_legacy::_CPP_strcat_capture(__s1, __s2); } + + inline char* + strncat(char* __s1, char const* __s2, size_t __n) + { return _C_legacy::_CPP_strncat_capture(__s1, __s2, __n); } + + inline int + memcmp(void const* __s1, void const* __s2, size_t __n) + { return _C_legacy::_CPP_memcmp_capture(__s1, __s2, __n); } + + inline int + strcmp(char const* __s1, char const* __s2) + { return _C_legacy::_CPP_strcmp_capture(__s1, __s2); } + + inline int + strcoll(char const* __s1, char const* __s2) + { return _C_legacy::_CPP_strcoll_capture(__s1, __s2); } + + inline int + strncmp(char const* __s1, char const* __s2, size_t __n) + { return _C_legacy::_CPP_strncmp_capture(__s1, __s2, __n); } + + inline size_t + strxfrm(char* __b, char const* __s, size_t __n) + { return _C_legacy::_CPP_strxfrm_capture(__b, __s, __n); } + + inline void + const* memchr(void const* __s1, int __c, size_t __n) + { return _C_legacy::_CPP_memchr_capture(__s1, __c, __n); } + + inline void* + memchr(void* __s1, int __c, size_t __n) + { return _C_legacy::_CPP_memchr_capture(__s1, __c, __n); } + + inline char const* + strchr(char const* __s1, int __c) + { return _C_legacy::_CPP_strchr_capture(__s1, __c); } + + inline char* + strchr(char* __s1, int __c) + { return _C_legacy::_CPP_strchr_capture(__s1, __c); } + + inline size_t + strcspn(char const* __s1, char const* __s2) + { return _C_legacy::_CPP_strcspn_capture(__s1, __s2); } + + inline char const* + strpbrk(char const* __s1, char const* __s2) + { return _C_legacy::_CPP_strpbrk_capture(__s1, __s2); } + + inline char* + strpbrk(char* __s1, char const* __s2) + { return _C_legacy::_CPP_strpbrk_capture(__s1, __s2); } + + inline char const* + strrchr(char const* __s1, int __c) + { return _C_legacy::_CPP_strrchr_capture(__s1, __c); } + + inline char* + strrchr(char* __s1, int __c) + { return _C_legacy::_CPP_strrchr_capture(__s1, __c); } + + inline size_t + strspn(char const* __s1, char const* __s2) + { return _C_legacy::_CPP_strspn_capture(__s1, __s2); } + + inline char const* + strstr(char const* __s1, char const* __s2) + { return _C_legacy::_CPP_strstr_capture(__s1, __s2); } + + inline char* + strstr(char* __s1, char const* __s2) + { return _C_legacy::_CPP_strstr_capture(__s1, __s2); } + + inline char* + strtok(char* __s1, char const* __s2) + { return _C_legacy::_CPP_strtok_capture(__s1, __s2); } + + inline void* + memset(void* __s, int __c, size_t __n) + { return _C_legacy::_CPP_memset_capture(__s, __c, __n); } + + using _C_legacy::strerror; + + inline size_t + strlen(char const* __s) + { return _C_legacy::_CPP_strlen_capture(__s); } + +} // namespace std # undef _IN_C_LEGACY_ diff --git a/libstdc++-v3/shadow/bits/std_ctime.h b/libstdc++-v3/shadow/bits/std_ctime.h index 3b075f2356d..44709f0238f 100644 --- a/libstdc++-v3/shadow/bits/std_ctime.h +++ b/libstdc++-v3/shadow/bits/std_ctime.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -34,30 +34,28 @@ #ifndef _CPP_CTIME #define _CPP_CTIME 1 -# include <bits/std_cstddef.h> /* pick up size_t, NULL */ +# include <bits/std_cstddef.h> - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header + + // XXX + // glibc 2.1.x time.h is on crack +# undef __need_time_t +# undef __need_clock_t +# undef __need_timespec + # include_next <time.h> - } - inline clock_t _CPP_CLOCKS_PER_SEC_capture() - { return CLOCKS_PER_SEC; } - // typedef size_t _CPP_size_t_capture; // handled in <cstddef> - typedef clock_t _CPP_clock_t_capture; - typedef time_t _CPP_time_t_capture; - typedef struct tm _CPP_tm_capture; - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: - -// # undef NULL -// # define NULL 0 /* handled in <cstddef> */ -# undef CLOCKS_PER_SEC -# define CLOCKS_PER_SEC (::_C_legacy::_CPP_CLOCKS_PER_SEC_capture()) - -# undef size_t /* handled in <cstddef> */ + } + + typedef clock_t _CPP_clock_t_capture; + typedef time_t _CPP_time_t_capture; + typedef tm _CPP_tm_capture; + +} // namespace _C_legacy + # undef clock_t # undef time_t # undef tm @@ -71,57 +69,38 @@ # undef localtime # undef strftime - namespace _C_legacy { - namespace _C_shadow { - // typedef ::_C_legacy::_CPP_size_t_capture size_t; - typedef ::_C_legacy::_CPP_clock_t_capture clock_t; - typedef ::_C_legacy::_CPP_time_t_capture time_t; - } - } - namespace std { - - // Adopt C names into std:: - // using ::_C_legacy::_C_shadow::size_t; - using ::_C_legacy::_C_shadow::clock_t; - using ::_C_legacy::_C_shadow::time_t; - - // note: still a POD type: - struct tm : ::_C_legacy::_CPP_tm_capture { }; - - using ::_C_legacy::clock; - using ::_C_legacy::difftime; - using ::_C_legacy::mktime; - using ::_C_legacy::time; - - inline char* asctime(const tm* __tp) - { return ::_C_legacy::asctime( - static_cast< ::_C_legacy::_CPP_tm_capture const*>(__tp)); } - - using ::_C_legacy::ctime; - - inline tm* gmtime(time_t const* __tp) - { return reinterpret_cast<tm*>(::_C_legacy::gmtime(__tp)); } - - inline tm* localtime(const time_t* __tp) - { return reinterpret_cast<tm*>(::_C_legacy::localtime(__tp)); } - - inline size_t strftime(char* __buf, size_t __maxsz, - char const* __fmt, tm const* __tp) - { return ::_C_legacy::strftime(__buf, __maxsz, __fmt, - static_cast< ::_C_legacy::_CPP_tm_capture const*>(__tp)); } - - } // close namespace std:: +namespace std { + + // Adopt C names into std:: + typedef _C_legacy::_CPP_clock_t_capture clock_t; + typedef _C_legacy::_CPP_time_t_capture time_t; + struct tm : _C_legacy::_CPP_tm_capture { }; + + using _C_legacy::clock; + using _C_legacy::difftime; + using _C_legacy::mktime; + using _C_legacy::time; + using _C_legacy::ctime; + + inline char* + asctime(const tm* __t) + { return _C_legacy::asctime(static_cast<_C_legacy::_CPP_tm_capture const*>(__t)); } + + inline tm* + gmtime(time_t const* __tp) + { return reinterpret_cast<tm*>(_C_legacy::gmtime(__tp)); } + + inline tm* + localtime(const time_t* __tp) + { return reinterpret_cast<tm*>(_C_legacy::localtime(__tp)); } + + inline size_t + strftime(char* __buf, size_t __maxsz, char const* __fmt, tm const* __tp) + { return _C_legacy::strftime(__buf, __maxsz, __fmt, + static_cast<_C_legacy::_CPP_tm_capture const*>(__tp)); } + +} // namespace std - namespace _C_legacy { - namespace _C_shadow { - using ::std::tm; - using ::std::asctime; - using ::std::gmtime; - using ::std::localtime; - using ::std::strftime; - } - } - # undef _IN_C_LEGACY_ #endif diff --git a/libstdc++-v3/shadow/bits/std_cwchar.h b/libstdc++-v3/shadow/bits/std_cwchar.h index e466aece9e7..829e625eb09 100644 --- a/libstdc++-v3/shadow/bits/std_cwchar.h +++ b/libstdc++-v3/shadow/bits/std_cwchar.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -30,252 +30,252 @@ // // ISO C++ 14882: 21 -// XXX: this file still needs hackery for system version dependencies - #ifndef _CPP_CWCHAR # define _CPP_CWCHAR 1 -# include <bits/std_cstddef.h> /* size_t, NULL */ -# include <bits/std_cstdio.h> /* FILE */ -# include <bits/std_ctime.h> /* struct tm */ -# include <bits/std_cstring.h> /* memset */ +# include <bits/std_cstdio.h> - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <wchar.h> - } - // NULL, size_t handled in <cstddef> - - // wchar_t - typedef wint_t _CPP_wint_t_capture; - typedef mbstate_t _CPP_mbstate_t_capture; - const wint_t _CPP_WEOF_capture = (wint_t)(WEOF); - -#if 0 /* XXX glibc-2.0 does not implement these. */ - inline wint_t _CPP_getwc_capture(FILE* __f) - { return getwc(__f); } - inline wint_t _CPP_getwchar_capture() - { return getwchar(); } - inline wint_t _CPP_putwc_capture(wint_t __c, FILE* __f) - { return putwc(__c,__f); } - inline wint_t _CPP_putwchar_capture(wint_t __c) - { return putwchar(__c); } -#endif + } + + typedef wchar_t _CPP_wchar_t_capture; + typedef wint_t _CPP_wint_t_capture; + typedef mbstate_t _CPP_mbstate_t_capture; + +#if 0 + // XXX + inline int + fwprintf(FILE* __stream, const wchar_t* __format, ...); + + inline int + fwscanf(FILE* __stream, const wchar_t* __format, ...); + + inline int + vfwprintf(FILE* __stream, const wchar_t* __format, va_list __arg); + + inline int + vfwscanf(FILE* __stream, const wchar_t* __format, va_list __arg); + + inline wint_t + _CPP_fgetwc_capture(FILE* __stream) + { return fgetwc(__stream); } - namespace _C_shadow { } - } // close namespace ::_C_legacy:: + inline wchar_t* + _CPP_fgetws_capture(wchar_t* __s, int __n, FILE* __stream) + { return fgetws(__s, __n, __stream); } + + inline wint_t + _CPP_fputwc_capture(wchar_t __c, FILE* __stream) + { return fputwc(__c, __stream); } + + inline int + _CPP_fputws_capture(const wchar_t* __s, FILE* __stream) + { return fputws(__s, __stream); } + + inline int + _CPP_fwide_capture(FILE* __stream, int __mode) + { return fwide(__stream, __mode); } + + inline wint_t + _CPP_fgetwc_capture(FILE* __stream) + { return fgetwc(__stream); } + + inline wint_t + _CPP_putwc_capture(wchar_t __c, FILE* __stream) + { return putwc(__c, __stream); } + + inline wint_t + _CPP_ungetwc_capture(wint_t __c, FILE* __stream) + { return ungetwc(__c, __stream); } +#endif +} // namespace _C_legacy -// # undef size_t /* handled in <cstddef> */ # undef wchar_t # undef wint_t # undef mbstate_t -# undef WEOF -# define WEOF ::_C_legacy::_CPP_WEOF_capture -// the following are not in glibc-2.0 +# undef fwprintf +# undef fwscanf +# undef swprintf +# undef swscanf +# undef vfwprintf +# undef vfwscanf +# undef vswprintf +# undef vswscanf +# undef vwprintf +# undef vwscanf +# undef wprintf +# undef wscanf # undef fgetwc # undef fgetws # undef fputwc # undef fputws -# undef ungetwc +# undef fwide # undef getwc # undef getwchar # undef putwc # undef putwchar -# undef wprintf -# undef wsprintf -# undef wvsprintf -# undef wfsprintf -# undef wscanf -# undef wsscanf -# undef wvsscanf -# undef wfscanf -// XXX etc. - +# undef ungetwc +# undef wcstod +# undef wcstof +# undef wcstold +# undef wcstol +# undef wcstoll +# undef wcstoul +# undef wcstoull # undef wcscpy +# undef wcsncpy # undef wcscat -# undef wcscmp +# undef wcsncat +# undef wcsmp # undef wcscoll +# undef wcsncmp # undef wcsxfrm -# undef wcsdup # undef wcschr # undef wcscspn +# undef wcslen # undef wcspbrk +# undef wcsrchr +# undef wcsspn # undef wcsstr # undef wcstok -# undef wcslen # undef wmemchr # undef wmemcmp # undef wmemcpy # undef wmemmove # undef wmemset +# undef wcsftime # undef btowc # undef wctob # undef mbsinit +# undef mbrlen # undef mbrtowc # undef wcrtomb -# undef mbrlen # undef mbsrtowcs # undef wcsrtombs -#ifdef __USE_GNU -# undef mbsnrtowcs -# undef mbsnrtombs -# undef wcwidth -# undef wcswidth -# undef wcscmpy -#endif -# undef wcstod -# undef wcstol -# undef wcstoul -# undef wcsncat -# undef wcsncmp -# undef wcsncpy -# undef wcsrchr -# undef wcsspn - // XXX a bunch more names are required under C89 Amendment 1, - // but they are not uniformly implemented. - - // XXX the following are not supposed to be defined in <wchar.h>, - // but Sun does anyway. -# undef iswalpha -# undef iswupper -# undef iswlower -# undef iswdigit -# undef iswxdigit -# undef iswalnum -# undef iswspace -# undef iswpunct -# undef iswprint -# undef iswgraph -# undef iswcntrl -# undef iswctype -# undef towlower -# undef towupper -# undef wctype_t -# undef wctype -# undef wcspbrk -# undef wcswcs +namespace std { - namespace _C_legacy { - namespace _C_shadow { - typedef ::_C_legacy::_CPP_wint_t_capture wint_t; - // typedef ::_C_legacy::_CPP_wctype_t_capture wctype_t; - } - } - namespace std { - - // using ::_C_legacy::wchar_t; - using ::_C_legacy::_C_shadow::wint_t; - // using ::_C_legacy::WEOF; - - // XXX this might better be replaced with one unrelated to the C mbstate_t. - - struct mbstate_t { - _C_legacy::_CPP_mbstate_t_capture _M_dum; - mbstate_t() { std::memset(&_M_dum,0,sizeof(_M_dum)); } - }; - -#if 0 /* glibc-2.0 does not implement these. */ - inline wint_t fgetwc(FILE* __f) - { return ::_C_legacy::fgetwc(__f); } - inline wchar_t* fgetws(wchar_t* __s, int __n, FILE* __f) - { return ::_C_legacy::fgetws(__s,__n,__f); } - inline wint_t fputwc(wint_t __c, FILE* __f) - { return ::_C_legacy::fputwc(__c,__f); } - inline int fputws(const wchar_t* __s, FILE* __f) - { return ::_C_legacy::fputws(__s,__f); } - inline wint_t ungetwc(wint_t __c, FILE* __f) - { return ::_C_legacy::ungetwc(__c,__f); } - - inline wint_t getwc(FILE* __f) - { return ::_C_legacy::_CPP_getwc_capture(__f); } - inline wint_t getwchar() - { return ::_C_legacy::_CPP_getwchar_capture(); } - inline wint_t putwc(wint_t __c, FILE* __f) - { return ::_C_legacy::_CPP_putwc_capture(__c,__f); } - inline wint_t putwchar(wint_t __c) - { return ::_C_legacy::_CPP_putwchar_capture(__c); } - - // similarly wprintf etc. -#endif + typedef _C_legacy::_CPP_wchar_t_capture wchar_t; + typedef _C_legacy::_CPP_wint_t_capture wint_t; + typedef _C_legacy::_CPP_mbstate_t_capture mbstate_t; - using ::_C_legacy::wcscpy; - using ::_C_legacy::wcscat; - using ::_C_legacy::wcscmp; - using ::_C_legacy::wcscoll; - using ::_C_legacy::wcsxfrm; - using ::_C_legacy::wcschr; - using ::_C_legacy::wcscspn; - using ::_C_legacy::wcspbrk; - using ::_C_legacy::wcstok; - using ::_C_legacy::wcslen; -#ifndef __sun -#ifdef __USE_GNU - using ::_C_legacy::wcsdup; +#if 0 + using _C_legacy::swprintf; + using _C_legacy::swscanf; + using _C_legacy::vswprintf; + using _C_legacy::vswscanf; + using _C_legacy::vwprintf; + using _C_legacy::vwscanf; + using _C_legacy::wprintf; + using _C_legacy::wscanf; + using _C_legacy::getwchar; + using _C_legacy::putwchar; #endif - using ::_C_legacy::wcsstr; - using ::_C_legacy::wmemchr; - using ::_C_legacy::wmemcmp; - using ::_C_legacy::wmemcpy; - using ::_C_legacy::wmemmove; - using ::_C_legacy::wmemset; - using ::_C_legacy::btowc; - using ::_C_legacy::wctob; - using ::_C_legacy::mbsinit; - using ::_C_legacy::mbrtowc; - using ::_C_legacy::wcrtomb; - using ::_C_legacy::mbrlen; -#endif -#ifdef __USE_GNU - using ::_C_legacy::mbsrtowcs; - using ::_C_legacy::wcsrtombs; - using ::_C_legacy::mbsnrtowcs; - using ::_C_legacy::mbsnrtombs; - using ::_C_legacy::wcscmpy - using ::_C_legacy::wcwidth; - using ::_C_legacy::wcswidth; + + using _C_legacy::wcstod; + using _C_legacy::wcstof; + using _C_legacy::wcstold; + using _C_legacy::wcstol; + using _C_legacy::wcstoll; + using _C_legacy::wcstoul; + using _C_legacy::wcstoull; + using _C_legacy::wcscpy; + using _C_legacy::wcsncpy; + using _C_legacy::wcscat; + using _C_legacy::wcsncat; + +#if 0 + using _C_legacy::wcsmp; #endif - using ::_C_legacy::wcstod; - using ::_C_legacy::wcstol; - using ::_C_legacy::wcstoul; - using ::_C_legacy::wcsncat; - using ::_C_legacy::wcsncmp; - using ::_C_legacy::wcsncpy; - using ::_C_legacy::wcsrchr; - using ::_C_legacy::wcsspn; - // using ::_C_legacy::wcswcs; - -#if 0 /* not implemented in glibc-2 */ - inline size_t wcsftime(wchar_t* __s, size_t __n, - char const* __fmt, struct tm const* __tmb) - { return ::_C_legacy::wcsftime(__s,__n,__fmt,__tmb); } - - using ::_C_legacy::wctype; + + using _C_legacy::wcscoll; + using _C_legacy::wcsncmp; + using _C_legacy::wcsxfrm; + using _C_legacy::wcschr; + using _C_legacy::wcscspn; + using _C_legacy::wcslen; + using _C_legacy::wcspbrk; + using _C_legacy::wcsrchr; + using _C_legacy::wcsspn; + using _C_legacy::wcsstr; + using _C_legacy::wcstok; + using _C_legacy::wmemchr; + using _C_legacy::wmemcmp; + using _C_legacy::wmemcpy; + using _C_legacy::wmemmove; + using _C_legacy::wmemset; + +#if 0 + using _C_legacy::wcsftime; #endif - } + using _C_legacy::btowc; + using _C_legacy::wctob; + using _C_legacy::mbsinit; + using _C_legacy::mbrlen; + using _C_legacy::mbrtowc; + using _C_legacy::wcrtomb; + using _C_legacy::mbsrtowcs; + using _C_legacy::wcsrtombs; + +#if 0 + // XXX + inline int + fwprintf(FILE* __stream, const wchar_t* __format, ...); + + inline int + fwscanf(FILE* __stream, const wchar_t* __format, ...); + + inline int + vfwprintf(FILE* __stream, const wchar_t* __format, va_list __arg); + + inline int + vfwscanf(FILE* __stream, const wchar_t* __format, va_list __arg); + + inline wint_t + fgetwc(FILE* __stream) + { return _C_legacy::_CPP_fgetwc_capture(__stream); } + + inline wchar_t* + fgetws(wchar_t* __s, int __n, FILE* __stream) + { return _C_legacy::_CPP_fgetws_capture(__s, __n, __stream); } + + inline wint_t + fputwc(wchar_t __c, FILE* __stream) + { return _C_legacy::_CPP_fputwc_capture(__c, __stream); } + + inline int + fputws(const wchar_t* __s, FILE* __stream) + { return _C_legacy::_CPP_fputws_capture(__s, __stream); } + + inline int + fwide(FILE* __stream, int __mode) + { return _C_legacy::_CPP_fwide_capture(__stream, __mode); } + + inline wint_t + getwc(FILE* __stream) + { return _C_legacy::_CPP_getwc_capture(__stream); } + + inline wint_t + putwc(wchar_t __c, FILE* __stream) + { return _C_legacy::_CPP_putwc_capture(__c, __stream); } - namespace _C_legacy { - namespace _C_shadow { -#if 0 /* XXX glibc-2.0 does not implement these. */ - using ::std::fgetwc; - using ::std::fgetws; - using ::std::fputwc; - using ::std::fputws; - using ::std::ungetwc; - using ::std::getwc; - using ::std::getwchar; - using ::std::putwc; - using ::std::putwchar; - using ::std::wcsftime; - // XXX also wprintf etc. + inline wint_t + ungetwc(wint_t __c, FILE* __stream) + { return _C_legacy::_CPP_ungetwc_capture(__c, __stream); } #endif - } - } +} # undef _IN_C_LEGACY_ #endif + + + + + diff --git a/libstdc++-v3/shadow/bits/std_cwctype.h b/libstdc++-v3/shadow/bits/std_cwctype.h index ddacdf40b32..1a6a64282fd 100644 --- a/libstdc++-v3/shadow/bits/std_cwctype.h +++ b/libstdc++-v3/shadow/bits/std_cwctype.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,36 +28,25 @@ // the GNU General Public License. // -// ISO C++ 14882: ??? +// ISO C++ 14882: // -// XXX this is not complete - #ifndef _CPP_CWCTYPE #define _CPP_CWCTYPE 1 -# include <bits/std_cwchar.h> /* pick up wint_t, WEOF */ +# include <bits/std_cwchar.h> - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <wctype.h> - } - typedef wctype_t _CPP_wctype_t_capture; - typedef wctrans_t _CPP_wctrans_t_capture; - - // XXX probably should capture defs of the "is" functions. + } +} // namespace _C_legacy - namespace _C_shadow { } - } // close namespace ::_C_legacy:: -# undef size_t /* handled in <cstddef> */ -# undef wchar_t -# undef wint_t # undef wctype_t # undef wctrans_t -// # undef WEOF # undef iswalpha # undef iswupper # undef iswlower @@ -70,49 +59,71 @@ # undef iswgraph # undef iswcntrl # undef iswctype +# undef towctrans # undef towlower # undef towupper +# undef wctrans +# undef wctype -// SunOS macros -# undef iswascii -# undef iscodeset0 -# undef iscodeset1 -# undef iscodeset2 -# undef iscodeset3 - - namespace _C_legacy { - namespace _C_shadow { - typedef ::_C_legacy::_CPP_wctype_t_capture wctype_t; - typedef ::_C_legacy::_CPP_wctrans_t_capture wctrans_t; - } - } - namespace std { - using ::_C_legacy::_C_shadow::wctype_t; - using ::_C_legacy::_C_shadow::wctrans_t; - - // XXX probably should capture these to inlines. - using ::_C_legacy::iswalpha; - using ::_C_legacy::iswupper; - using ::_C_legacy::iswlower; - using ::_C_legacy::iswdigit; - using ::_C_legacy::iswxdigit; - using ::_C_legacy::iswalnum; - using ::_C_legacy::iswspace; - using ::_C_legacy::iswpunct; - using ::_C_legacy::iswprint; - using ::_C_legacy::iswgraph; - using ::_C_legacy::iswcntrl; - using ::_C_legacy::iswctype; - using ::_C_legacy::towlower; - using ::_C_legacy::towupper; - - } // close namespace std:: +namespace std { + using _C_legacy::wctype_t; + using _C_legacy::wctrans_t; + + inline int + iswalpha(wint_t __wc) { return _C_legacy::iswalpha(__wc); } + + inline int + iswupper(wint_t __wc) { return _C_legacy::iswupper(__wc); } + + inline int + iswlower(wint_t __wc) { return _C_legacy::iswlower(__wc); } + + inline int + iswdigit(wint_t __wc) { return _C_legacy::iswdigit(__wc); } + + inline int + iswxdigit(wint_t __wc) { return _C_legacy::iswxdigit(__wc); } + + inline int + iswalnum(wint_t __wc) { return _C_legacy::iswalnum(__wc); } + + inline int + iswspace(wint_t __wc) { return _C_legacy::iswspace(__wc); } + + inline int + iswpunct(wint_t __wc) { return _C_legacy::iswpunct(__wc); } + + inline int + iswprint(wint_t __wc) { return _C_legacy::iswprint(__wc); } + + inline int + iswgraph(wint_t __wc) { return _C_legacy::iswgraph(__wc); } + + inline int + iswcntrl(wint_t __wc) { return _C_legacy::iswcntrl(__wc); } + + inline int + towlower(wint_t __wc) { return _C_legacy::towlower(__wc); } + + inline int + towupper(wint_t __wc) { return _C_legacy::towupper(__wc); } + + inline int + iswctype(wint_t __wc, wctype_t __desc) + { return _C_legacy::iswctype(__wc, __desc); } + + inline wint_t + towctrans(wint_t __wc, wctrans_t __desc) + { return _C_legacy::towctrans (__wc, __desc); } - namespace _C_legacy { - namespace _C_shadow { - } - } + inline wctrans_t + wctrans(const char *__property) { return _C_legacy::wctrans(__property); } + + inline wctype_t + wctype(char const* __property) { return _C_legacy::wctype(__property); } +} // namespace std # undef _IN_C_LEGACY_ #endif + diff --git a/libstdc++-v3/shadow/bits/wrap_libio.h b/libstdc++-v3/shadow/bits/wrap_libio.h index a196844deb3..e5da6e3f382 100644 --- a/libstdc++-v3/shadow/bits/wrap_libio.h +++ b/libstdc++-v3/shadow/bits/wrap_libio.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,42 +28,21 @@ // the GNU General Public License. // -// ISO C++ 14882: 20.5 Date and time +// ISO C++ 14882: 20.5 Extensions // -// XXX incomplete - #ifndef _CPP_WRAP_LIBIO_H #define _CPP_WRAP_LIBIO_H 1 - namespace _C_legacy { - extern "C" { +namespace _C_legacy { + extern "C" { # define _IN_C_LEGACY_ # pragma GCC system_header # include_next <libio.h> - } - - namespace _C_shadow { } - } // close namespace ::_C_legacy:: - -// # undef that - - namespace _C_legacy { - namespace _C_shadow { - // typedef stuff - } } - namespace std { - - // using ::_C_legacy::stuff +} // namespace _C_legacy - } // close namespace std:: - - namespace _C_legacy { - namespace _C_shadow { - // using ::std::stuff - } - } +// NB: Don't bring elements from this non-standard header into namespace std. # undef _IN_C_LEGACY_ diff --git a/libstdc++-v3/shadow/ctype.h b/libstdc++-v3/shadow/ctype.h index ab3fb4ed836..7dcea803ab5 100644 --- a/libstdc++-v3/shadow/ctype.h +++ b/libstdc++-v3/shadow/ctype.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,28 +28,41 @@ // the GNU General Public License. - #ifndef _INCLUDED_CPP_CTYPE_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <cctype> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::isalnum; - using ::std::isalpha; - using ::std::iscntrl; - using ::std::isdigit; - using ::std::isgraph; - using ::std::islower; - using ::std::isprint; - using ::std::ispunct; - using ::std::isspace; - using ::std::isupper; - using ::std::isxdigit; - using ::std::tolower; - using ::std::toupper; # define _INCLUDED_CPP_CTYPE_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" +#error ctype.h + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _CTYPE_NEED_C_LEGACY_ # endif +# include <cctype> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::isalnum; + using std::isalpha; + using std::iscntrl; + using std::isdigit; + using std::isgraph; + using std::islower; + using std::isprint; + using std::ispunct; + using std::isspace; + using std::isupper; + using std::isxdigit; + using std::tolower; + using std::toupper; + +# ifdef _CTYPE_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _CTYPE_NEED_C_LEGACY_ +# endif /* _CTYPE_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_CTYPE_H_ */ diff --git a/libstdc++-v3/shadow/errno.h b/libstdc++-v3/shadow/errno.h index b4a9ca71d7a..f2e6aee6701 100644 --- a/libstdc++-v3/shadow/errno.h +++ b/libstdc++-v3/shadow/errno.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -30,8 +30,26 @@ #ifndef _INCLUDED_CPP_ERRNO_H_ # define _INCLUDED_CPP_ERRNO_H_ 1 -# undef _SHADOW_NAME -# define _SHADOW_NAME <cerrno> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _ERRNO_NEED_C_LEGACY_ +# endif + +# include <cerrno> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::errno; + +# ifdef _ERRNO_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _ERRNO_NEED_C_LEGACY_ +# endif /* _ERRNO_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_ERRNO_H_ */ diff --git a/libstdc++-v3/shadow/float.h b/libstdc++-v3/shadow/float.h index 5d2cca9d65c..f52c5f5c9eb 100644 --- a/libstdc++-v3/shadow/float.h +++ b/libstdc++-v3/shadow/float.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,11 +28,27 @@ // the GNU General Public License. - #ifndef _INCLUDED_CPP_FLOAT_H_ # define _INCLUDED_CPP_FLOAT_H_ 1 -# undef _SHADOW_NAME -# define _SHADOW_NAME <cfloat> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _FLOAT_NEED_C_LEGACY_ +# endif + +# include <cfloat> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + +# ifdef _FLOAT_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _FLOAT_NEED_C_LEGACY_ +# endif /* _FLOAT_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_FLOAT_H_ */ diff --git a/libstdc++-v3/shadow/libio.h b/libstdc++-v3/shadow/libio.h index 7571fd01a6e..2cafc7d88eb 100644 --- a/libstdc++-v3/shadow/libio.h +++ b/libstdc++-v3/shadow/libio.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -29,16 +29,53 @@ #ifndef _INCLUDED_CPP_LIBIO_H_ +# define _INCLUDED_CPP_LIBIO_H_ 1 -# undef _SHADOW_NAME -# define _SHADOW_NAME <bits/wrap_libio.h> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _LIBIO_NEED_C_LEGACY_ +# endif -# ifndef _IN_C_LEGACY_ - // using ::std::stuff +# include <bits/wrap_libio.h> -# define _INCLUDED_CPP_LIBIO_H_ 1 -# endif + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + + // NB: Cannot use typedefs here to inject the names as the "C" headers + // often include typedefs that include the keyword 'struct' + using _C_legacy::_IO_pos_t; + using _C_legacy::_IO_fpos_t; + using _C_legacy::_IO_fpos64_t; + using _C_legacy::_IO_size_t; + using _C_legacy::_IO_ssize_t; + using _C_legacy::_IO_off_t; + using _C_legacy::_IO_off64_t; + using _C_legacy::_IO_pid_t; + using _C_legacy::_IO_uid_t; + using _C_legacy::_IO_iconv_t; + using _C_legacy::_IO_va_list; + using _C_legacy::_IO_wint_t; + using _C_legacy::_IO_lock_t; + using _C_legacy::_IO_marker; + using _C_legacy::_IO_codecvt; + using _C_legacy::_IO_wide_data; + using _C_legacy::_IO_FILE; + using _C_legacy::_IO_cookie_io_functions_t; + using _C_legacy::_IO_cookie_file; + +# ifdef _LIBIO_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _LIBIO_NEED_C_LEGACY_ +# endif /* _LIBIO_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_LIBIO_H_ */ + + + + diff --git a/libstdc++-v3/shadow/limits.h b/libstdc++-v3/shadow/limits.h index 271c883a57e..26aa771f2d5 100644 --- a/libstdc++-v3/shadow/limits.h +++ b/libstdc++-v3/shadow/limits.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,11 +28,27 @@ // the GNU General Public License. - #ifndef _INCLUDED_CPP_LIMITS_H_ # define _INCLUDED_CPP_LIMITS_H_ 1 -# undef _SHADOW_NAME -# define _SHADOW_NAME <climits> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _LIMITS_NEED_C_LEGACY_ +# endif + +# include <climits> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + +# ifdef _LIMITS_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _LIMITS_NEED_C_LEGACY_ +# endif /* _LIMITS_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_LIMITS_H_ */ diff --git a/libstdc++-v3/shadow/locale.h b/libstdc++-v3/shadow/locale.h index c1a652c5f80..1d5f529ed89 100644 --- a/libstdc++-v3/shadow/locale.h +++ b/libstdc++-v3/shadow/locale.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,18 +28,30 @@ // the GNU General Public License. - #ifndef _INCLUDED_CPP_LOCALE_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <clocale> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::lconv; - using ::std::setlocale; - using ::std::localeconv; # define _INCLUDED_CPP_LOCALE_H_ 1 -# endif +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _LOCALE_NEED_C_LEGACY_ +#endif + +# include <clocale> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::lconv; + using std::setlocale; + using std::localeconv; + +# ifdef _LOCALE_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _LOCALE_NEED_C_LEGACY_ +# endif /* _LOCALE_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_LOCALE_H_ */ diff --git a/libstdc++-v3/shadow/math.h b/libstdc++-v3/shadow/math.h index 47370cc3df4..f2ec04af671 100644 --- a/libstdc++-v3/shadow/math.h +++ b/libstdc++-v3/shadow/math.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -29,35 +29,103 @@ #ifndef _INCLUDED_CPP_MATH_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <cmath> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::acos; - using ::std::asin; - using ::std::atan; - using ::std::atan2; - using ::std::cos; - using ::std::sin; - using ::std::tan; - using ::std::cosh; - using ::std::sinh; - using ::std::tanh; - using ::std::exp; - using ::std::frexp; - using ::std::ldexp; - using ::std::log; - using ::std::log10; - using ::std::modf; - using ::std::pow; - using ::std::sqrt; - using ::std::ceil; - using ::std::fabs; - using ::std::floor; - using ::std::fmod; # define _INCLUDED_CPP_MATH_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _MATH_NEED_C_LEGACY_ # endif +# include <cmath> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::abs; + using std::acos; + using std::asin; + using std::atan; + using std::atan2; + using std::cos; + using std::sin; + using std::tan; + using std::cosh; + using std::sinh; + using std::tanh; + using std::exp; + using std::frexp; + using std::ldexp; + using std::log; + using std::log10; + using std::modf; + using std::pow; + using std::sqrt; + using std::ceil; + using std::fabs; + using std::floor; + using std::fmod; + + // From ISO/IEC 9899:1999 + using std::absf; + using std::acosf; + using std::asinf; + using std::atanf; + using std::atan2f; + using std::cosf; + using std::sinf; + using std::tanf; + using std::coshf; + using std::sinhf; + using std::tanhf; + using std::expf; + using std::frexpf; + using std::ldexpf; + using std::logf; + using std::log10f; + using std::modff; + using std::powf; + using std::sqrtf; + using std::ceilf; + using std::fabsf; + using std::floorf; + using std::fmodf; + + // From ISO/IEC 9899:1999 + using std::absl; + using std::acosl; + using std::asinl; + using std::atanl; + using std::atan2l; + using std::cosl; + using std::sinl; + using std::tanl; + using std::coshl; + using std::sinhl; + using std::tanhl; + using std::expl; + using std::frexpl; + using std::ldexpl; + using std::logl; + using std::log10l; + using std::modfl; + using std::powl; + using std::sqrtl; + using std::ceill; + using std::fabsl; + using std::floorl; + using std::fmodl; + +# ifdef _MATH_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _MATH_NEED_C_LEGACY_ +# endif /* _MATH_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_MATH_H_ */ + + + + diff --git a/libstdc++-v3/shadow/setjmp.h b/libstdc++-v3/shadow/setjmp.h index d316905e79e..c4061e871db 100644 --- a/libstdc++-v3/shadow/setjmp.h +++ b/libstdc++-v3/shadow/setjmp.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,17 +28,29 @@ // the GNU General Public License. - #ifndef _INCLUDED_CPP_SETJMP_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <csetjmp> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::jmp_buf; - using ::std::longjmp; # define _INCLUDED_CPP_SETJMP_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _SETJMP_NEED_C_LEGACY_ # endif +# include <csetjmp> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::jmp_buf; + using std::longjmp; + +# ifdef _SETJMP_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _SETJMP_NEED_C_LEGACY_ +# endif /* _SETJMP_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_SETJMP_H_ */ diff --git a/libstdc++-v3/shadow/signal.h b/libstdc++-v3/shadow/signal.h index 013177ad4d6..819ddf22f32 100644 --- a/libstdc++-v3/shadow/signal.h +++ b/libstdc++-v3/shadow/signal.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,18 +28,31 @@ // the GNU General Public License. - #ifndef _INCLUDED_CPP_SIGNAL_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <csignal> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::sig_atomic_t; - using ::std::raise; - using ::std::signal; # define _INCLUDED_CPP_SIGNAL_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _SIGNAL_NEED_C_LEGACY_ # endif +# include <csignal> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::sig_atomic_t; + + using std::raise; + using std::signal; + +# ifdef _SIGNAL_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _SIGNAL_NEED_C_LEGACY_ +# endif /* _SIGNAL_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_SIGNAL_H_ */ diff --git a/libstdc++-v3/shadow/stdarg.h b/libstdc++-v3/shadow/stdarg.h index 3e906fcd3b6..cb32feca7d6 100644 --- a/libstdc++-v3/shadow/stdarg.h +++ b/libstdc++-v3/shadow/stdarg.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -29,14 +29,27 @@ #ifndef _INCLUDED_CPP_STDARG_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <cstdarg> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::va_list; # define _INCLUDED_CPP_STDARG_H_ 1 + +#ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _STDARG_NEED_C_LEGACY_ # endif +# include <cstdarg> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::va_list; + +# ifdef _STDARG_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _STDARG_NEED_C_LEGACY_ +# endif /* _STDARG_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_STDARG_H_ */ diff --git a/libstdc++-v3/shadow/stddef.h b/libstdc++-v3/shadow/stddef.h index d24829c568c..03d5896779e 100644 --- a/libstdc++-v3/shadow/stddef.h +++ b/libstdc++-v3/shadow/stddef.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -29,23 +29,32 @@ #ifndef _INCLUDED_CPP_STDDEF_H_ - -// turn off glibc weirdness. other libs have similar foolishness. -#undef __need_wchar_t -#undef __need_size_t -#undef __need_ptrdiff_t -#undef __need_NULL -#undef __need_wint_t - -# undef _SHADOW_NAME -# define _SHADOW_NAME <cstddef> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::ptrdiff_t; - using ::std::size_t; # define _INCLUDED_CPP_STDDEF_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _STDDEF_NEED_C_LEGACY_ # endif +# include <cstddef> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::ptrdiff_t; + using std::size_t; + +# ifdef _STDDEF_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _STDDEF_NEED_C_LEGACY_ +# endif /* _STDDEF_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_STDDEF_H_ */ + + + + diff --git a/libstdc++-v3/shadow/stdio.h b/libstdc++-v3/shadow/stdio.h index 5a36eee8cdb..c3a43b736c2 100644 --- a/libstdc++-v3/shadow/stdio.h +++ b/libstdc++-v3/shadow/stdio.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -27,58 +27,71 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. - #ifndef _INCLUDED_CPP_STDIO_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <cstdio> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::size_t; - using ::std::fpos_t; - using ::std::remove; - using ::std::rename; - using ::std::tmpfile; - using ::std::tmpnam; - using ::std::fclose; - using ::std::fflush; - using ::std::fopen; - using ::std::freopen; - using ::std::setbuf; - using ::std::setvbuf; - using ::std::fprintf; - using ::std::fscanf; - using ::std::printf; - using ::std::scanf; - using ::std::sprintf; - using ::std::sscanf; - using ::std::vfprintf; - using ::std::vprintf; - using ::std::vsprintf; - using ::std::fgetc; - using ::std::fgets; - using ::std::fputc; - using ::std::fputs; - using ::std::getc; - using ::std::getchar; - using ::std::gets; - using ::std::putc; - using ::std::putchar; - using ::std::puts; - using ::std::ungetc; - using ::std::fread; - using ::std::fwrite; - using ::std::fgetpos; - using ::std::fseek; - using ::std::fsetpos; - using ::std::ftell; - using ::std::rewind; - using ::std::clearerr; - using ::std::feof; - using ::std::ferror; - using ::std::perror; # define _INCLUDED_CPP_STDIO_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _STDIO_NEED_C_LEGACY_ # endif +# include <cstdio> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::FILE; + using std::fpos_t; + + using std::remove; + using std::rename; + using std::tmpfile; + using std::tmpnam; + using std::fclose; + using std::fflush; + using std::fopen; + using std::freopen; + using std::setbuf; + using std::setvbuf; + using std::fprintf; + using std::fscanf; + using std::printf; + using std::scanf; + using std::sprintf; + using std::sscanf; + using std::vfprintf; + using std::vprintf; + using std::vsprintf; + using std::fgetc; + using std::fgets; + using std::fputc; + using std::fputs; + using std::getc; + using std::getchar; + using std::gets; + using std::putc; + using std::putchar; + using std::puts; + using std::ungetc; + using std::fread; + using std::fwrite; + using std::fgetpos; + using std::fseek; + using std::fsetpos; + using std::ftell; + using std::rewind; + using std::clearerr; + using std::feof; + using std::ferror; + using std::perror; + +# ifdef _STDIO_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _STDIO_NEED_C_LEGACY_ +# endif /* _STDIO_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_STDIO_H_ */ diff --git a/libstdc++-v3/shadow/stdlib.h b/libstdc++-v3/shadow/stdlib.h index 6bc378bfbf3..bc5dcc96743 100644 --- a/libstdc++-v3/shadow/stdlib.h +++ b/libstdc++-v3/shadow/stdlib.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -29,44 +29,67 @@ #ifndef _INCLUDED_CPP_STDLIB_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <cstdlib> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::size_t; - using ::std::div_t; - using ::std::ldiv_t; - using ::std::atof; - using ::std::atoi; - using ::std::atol; - using ::std::strtod; - using ::std::strtol; - using ::std::strtoul; - using ::std::rand; - using ::std::srand; - using ::std::calloc; - using ::std::free; - using ::std::malloc; - using ::std::realloc; - using ::std::abort; - using ::std::atexit; - using ::std::exit; - using ::std::getenv; - using ::std::system; - using ::std::bsearch; - using ::std::qsort; - using ::std::abs; - using ::std::div; - using ::std::labs; - using ::std::ldiv; - using ::std::mblen; - using ::std::mbtowc; - using ::std::wctomb; - using ::std::mbstowcs; - using ::std::wcstombs; # define _INCLUDED_CPP_STDLIB_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _STDLIB_NEED_C_LEGACY_ # endif +# include <cstdlib> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::div_t; + using std::ldiv_t; +#ifdef _GLIBCPP_USE_LONG_LONG + using std::lldiv_t; +#endif + + using std::abort; + using std::abs; + using std::atexit; + using std::atof; + using std::atoi; + using std::atol; + using std::bsearch; + using std::calloc; + using std::div; + using std::exit; + using std::free; + using std::getenv; + using std::labs; + using std::ldiv; + using std::malloc; + using std::mblen; + using std::mbstowcs; + using std::mbtowc; + using std::qsort; + using std::rand; + using std::realloc; + using std::srand; + using std::strtod; + using std::strtol; + using std::strtoul; + using std::system; + using std::wcstombs; + using std::wctomb; + +#ifdef _GLIBCPP_USE_LONG_LONG + using std::strtoll; + using std::strtoull; + using std::strtof; + using std::strtold; +#endif + +# ifdef _STDLIB_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _STDLIB_NEED_C_LEGACY_ +# endif /* _STDLIB_NEED_C__LEGACY_ */ #endif /* _INCLUDED_CPP_STDLIB_H_ */ diff --git a/libstdc++-v3/shadow/string.h b/libstdc++-v3/shadow/string.h index 5b913b3de2f..6f9e6cc6372 100644 --- a/libstdc++-v3/shadow/string.h +++ b/libstdc++-v3/shadow/string.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -29,35 +29,48 @@ #ifndef _INCLUDED_CPP_STRING_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <cstring> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::memcpy; - using ::std::memmove; - using ::std::strcpy; - using ::std::strncpy; - using ::std::strcat; - using ::std::strncat; - using ::std::memcmp; - using ::std::strcmp; - using ::std::strcoll; - using ::std::strncmp; - using ::std::strxfrm; - using ::std::memchr; - using ::std::strchr; - using ::std::strcspn; - using ::std::strpbrk; - using ::std::strrchr; - using ::std::strspn; - using ::std::strstr; - using ::std::strtok; - using ::std::memset; - using ::std::strerror; - using ::std::strlen; # define _INCLUDED_CPP_STRING_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _STRING_NEED_C_LEGACY_ # endif +# include <cstring> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::memcpy; + using std::memmove; + using std::strcpy; + using std::strncpy; + using std::strcat; + using std::strncat; + using std::memcmp; + using std::strcmp; + using std::strcoll; + using std::strncmp; + using std::strxfrm; + using std::memchr; + using std::strchr; + using std::strcspn; + using std::strpbrk; + using std::strrchr; + using std::strspn; + using std::strstr; + using std::strtok; + using std::memset; + using std::strerror; + using std::strlen; + +# ifdef _STRING_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _STRING_NEED_C_LEGACY_ +# endif /* _STRING_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_STRING_H_ */ diff --git a/libstdc++-v3/shadow/time.h b/libstdc++-v3/shadow/time.h index db241651d9c..31064aaa135 100644 --- a/libstdc++-v3/shadow/time.h +++ b/libstdc++-v3/shadow/time.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -29,32 +29,39 @@ #ifndef _INCLUDED_CPP_TIME_H_ - -// turn off glibc-2.0 weirdness. Other systems define similar foolishness -#undef __need_time_t -#undef __need_clock_t -#undef __need_timespec - -# undef _SHADOW_NAME -# define _SHADOW_NAME <ctime> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::size_t; /* handled in <cstddef> */ - using ::std::clock_t; - using ::std::time_t; - using ::std::tm; - using ::std::clock; - using ::std::difftime; - using ::std::mktime; - using ::std::time; - using ::std::asctime; - using ::std::ctime; - using ::std::gmtime; - using ::std::localtime; - using ::std::strftime; # define _INCLUDED_CPP_TIME_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _TIME_NEED_C_LEGACY_ # endif +# include <ctime> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::clock_t; + using std::time_t; + using std::tm; + + using std::clock; + using std::difftime; + using std::mktime; + using std::time; + using std::asctime; + using std::ctime; + using std::gmtime; + using std::localtime; + using std::strftime; + +# ifdef _TIME_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _TIME_NEED_C_LEGACY_ +# endif /* _TIME_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_TIME_H_ */ diff --git a/libstdc++-v3/shadow/wchar.h b/libstdc++-v3/shadow/wchar.h index 7dff1c52f2c..efabb1519a5 100644 --- a/libstdc++-v3/shadow/wchar.h +++ b/libstdc++-v3/shadow/wchar.h @@ -1,6 +1,6 @@ // -*- C++ -*- header wrapper. -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -29,83 +29,103 @@ #ifndef _INCLUDED_CPP_WCHAR_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <cwchar> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::size_t; /* handled in <cstddef> */ - using ::std::wint_t; - using ::std::mbstate_t; - -# if 0 /* glibc-2.0 doesn't define these */ - using ::std::fgetwc; - using ::std::fgetws; - using ::std::fputwc; - using ::std::fputws; - using ::std::ungetwc; - using ::std::getwc; - using ::std::getwchar; - using ::std::putwc; - using ::std::putwchar; - using ::std::wprintf; - using ::std::wsprintf; - using ::std::wvsprintf; - using ::std::wfsprintf; - using ::std::wscanf; - using ::std::wsscanf; - using ::std::wvsscanf; - using ::std::wfscanf; - // XXX etc. - using ::std::wcsftime; -# endif - - using ::std::wcscpy; - using ::std::wcscat; - using ::std::wcscmp; - using ::std::wcscoll; - using ::std::wcsxfrm; -# ifdef __USE_GNU - using ::std::wcsdup; -# endif - using ::std::wcschr; - using ::std::wcscspn; - using ::std::wcspbrk; - using ::std::wcsstr; - using ::std::wcstok; - using ::std::wcslen; -# ifndef __sun - using ::std::wmemchr; - using ::std::wmemcmp; - using ::std::wmemcpy; - using ::std::wmemmove; - using ::std::wmemset; - using ::std::btowc; - using ::std::wctob; - using ::std::mbsinit; - using ::std::mbrtowc; - using ::std::wcrtomb; - using ::std::mbrlen; -# endif -# ifdef __USE_GNU - using ::std::mbsrtowcs; - using ::std::wcsrtombs; - using ::std::mbsnrtowcs; - using ::std::mbsnrtombs; - using ::std::wcwidth; - using ::std::wcswidth; - using ::std::wcscmpy; -# endif - using ::std::wcstod; - using ::std::wcstol; - using ::std::wcstoul; - using ::std::wcsncat; - using ::std::wcsncmp; - using ::std::wcsncpy; - using ::std::wcsrchr; - using ::std::wcsspn; # define _INCLUDED_CPP_WCHAR_H_ 1 -# endif /* _IN_C_LEGACY_ */ +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ /* sub-included by a C header */ +# define _WCHAR_NEED_C_LEGACY_ +# endif + +# include <cwchar> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::wchar_t; + using std::wint_t; + using std::mbstate_t; + +#if 0 + using std::fwprintf; + using std::fwscanf; + using std::swprintf; + using std::swscanf; + using std::vfwprintf; + using std::vfwscanf; + using std::vswprintf; + using std::vswscanf; + using std::vwprintf; + using std::vwscanf; + using std::wprintf; + using std::wscanf; + using std::fgetwc; + using std::fgetws; + using std::fputwc; + using std::fputws; + using std::fwide; + using std::getwc; + using std::getwchar; + using std::putwc; + using std::putwchar; + using std::ungetwc; +#endif + + using std::wcstod; + using std::wcstof; + using std::wcstold; + using std::wcstol; + using std::wcstoll; + using std::wcstoul; + using std::wcstoull; + using std::wcscpy; + using std::wcsncpy; + using std::wcscat; + using std::wcsncat; + +#if 0 + using std::wcsmp; +#endif + + using std::wcscoll; + using std::wcsncmp; + using std::wcsxfrm; + using std::wcschr; + using std::wcscspn; + using std::wcslen; + using std::wcspbrk; + using std::wcsrchr; + using std::wcsspn; + using std::wcsstr; + using std::wcstok; + using std::wmemchr; + using std::wmemcmp; + using std::wmemcpy; + using std::wmemmove; + using std::wmemset; + +#if 0 + using std::wcsftime; +#endif + + using std::btowc; + using std::wctob; + using std::mbsinit; + using std::mbrlen; + using std::mbrtowc; + using std::wcrtomb; + using std::mbsrtowcs; + using std::wcsrtombs; + +# ifdef _WCHAR_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _WCHAR_NEED_C_LEGACY_ +# endif /* _WCHAR_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_WCHAR_H_ */ + + + diff --git a/libstdc++-v3/shadow/wctype.h b/libstdc++-v3/shadow/wctype.h index d84c5e8e826..cae1aff43e1 100644 --- a/libstdc++-v3/shadow/wctype.h +++ b/libstdc++-v3/shadow/wctype.h @@ -1,7 +1,6 @@ // -*- C++ -*- header wrapper. - -// Copyright (C) 1997-1999 Free Software Foundation, Inc. +// Copyright (C) 1997-1999, 2000 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,32 +27,48 @@ // invalidate any other reasons why the executable file might be covered by // the GNU General Public License. + #ifndef _INCLUDED_CPP_CWCTYPE_H_ -# undef _SHADOW_NAME -# define _SHADOW_NAME <cwctype> -# include <bits/generic_shadow.h> -# undef _SHADOW_NAME - -# ifndef _IN_C_LEGACY_ - using ::std::size_t; - using ::std::wint_t; - using ::std::wctype_t; - using ::std::wctrans_t; - using ::std::iswalpha; - using ::std::iswupper; - using ::std::iswlower; - using ::std::iswdigit; - using ::std::iswxdigit; - using ::std::iswalnum; - using ::std::iswspace; - using ::std::iswpunct; - using ::std::iswprint; - using ::std::iswgraph; - using ::std::iswcntrl; - using ::std::iswctype; - using ::std::towlower; - using ::std::towupper; # define _INCLUDED_CPP_CWCTYPE_H_ 1 + +# ifdef _IN_C_LEGACY_ /* sub-included by a C header */ + // get out of the "legacy" + } // close extern "C" + } // close namespace _C_legacy:: +# undef _IN_C_LEGACY_ +# define _CWCHAR_NEED_C_LEGACY_ # endif +# include <cwctype> + + // Expose global C names, including non-standard ones, but shadow + // some names and types with the std:: C++ version. + using std::wint_t; + using std::wctype_t; + using std::wctrans_t; + using std::iswalpha; + using std::iswupper; + using std::iswlower; + using std::iswdigit; + using std::iswxdigit; + using std::iswalnum; + using std::iswspace; + using std::iswpunct; + using std::iswprint; + using std::iswgraph; + using std::iswcntrl; + using std::iswctype; + using std::towctrans; + using std::towlower; + using std::towupper; + using std::wctrans; + using std::wctype; + +# ifdef _CWCHAR_NEED_C_LEGACY_ + // dive back into the "swamp" + namespace _C_legacy { + extern "C" { +# define _IN_C_LEGACY_ +# undef _CWCHAR_NEED_C_LEGACY_ +# endif /* _CWCHAR_NEED_C_LEGACY_ */ #endif /* _INCLUDED_CPP_CWCTYPE_H_ */ diff --git a/libstdc++-v3/src/Makefile.am b/libstdc++-v3/src/Makefile.am index 92a197a2dc5..fa8527ca15f 100644 --- a/libstdc++-v3/src/Makefile.am +++ b/libstdc++-v3/src/Makefile.am @@ -21,7 +21,7 @@ ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, ## USA. -## $Id: Makefile.am,v 1.29 2000/08/22 17:22:38 bkoz Exp $ +## $Id: Makefile.am,v 1.30 2000/09/14 19:44:03 bkoz Exp $ AUTOMAKE_OPTIONS = 1.3 gnits MAINT_CHARSET = latin1 @@ -48,7 +48,7 @@ EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden. AC_CXXFLAGS = \ $(WERROR) @WFMT_FLAGS@ @CPU_FLAGS@ @EXTRA_CXX_FLAGS@ \ - @SECTION_FLAGS@ @DEBUG_FLAGS@ + @SECTION_FLAGS@ @CSHADOWFLAGS@ @DEBUG_FLAGS@ # Need to manually set this option because AC_CXXFLAGS has to be at # the end of the compile line so that -O2 can be overridden as the @@ -70,9 +70,10 @@ LIBIO_INCLUDES = -I$(top_srcdir)/libio endif if GLIBCPP_USE_CSHADOW -CSHADOW_INCLUDES = #CSHADOW_INCLUDES = \ -# @CSHADOWFLAGS@ -I$(top_srcdir)/shadow -I$(top_builddir)/cshadow +# -I$(top_srcdir)/std -I$(top_srcdir)/shadow -I$(top_builddir)/cshadow +CSHADOW_INCLUDES = \ + -I$(top_srcdir)/std -I$(top_srcdir)/shadow else CSHADOW_INCLUDES = endif @@ -82,17 +83,20 @@ CONFIG_INCLUDES = \ -I$(top_srcdir)/@ctype_include_dir@ INCLUDES = \ - -D_GNU_SOURCE -nostdinc++ $(CSHADOW_INCLUDES) -I$(top_srcdir) \ - $(LIBIO_INCLUDES) $(CONFIG_INCLUDES) $(TOPLEVEL_INCLUDES) + -D_GNU_SOURCE -D_ISOC99_SOURCE -nostdinc++ $(CSHADOW_INCLUDES) \ + -I$(top_builddir) -I$(top_srcdir) \ + $(CONFIG_INCLUDES) $(LIBIO_INCLUDES) $(TOPLEVEL_INCLUDES) -# Need to explicitly set this so that AM_CXXFLAGS is last. (That way, +# Need to explicitly set this so that AM_CXXFLAGS is last. In +# addition, we don't use $(DEFS), which tries to set $(top_srcdir) as +# an include diretory, which screws up shadow headers. (That way, # things like -O2 passed down from the toplevel can be overridden by # --enable-debug.) -CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +CXXCOMPILE = $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(CXXFLAGS) $(AM_CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) \ +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) # We have a problem when building the shared libstdc++ object if the @@ -246,7 +250,7 @@ $(libstdc___la_OBJECTS): $(CSHADOW_H) $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \ $(top_srcdir)/mkcshadow $(top_srcdir)/mkinclosure \ - "-I $(top_builddir)/../../gcc/include -I /usr/include -G machine/ansi.h" | $(top_srcdir)/mkcshadow; + "-I $(top_builddir)/../../gcc/include -I /usr/include -G fcntl.h unistd.h" | $(top_srcdir)/mkcshadow; rm -f $(top_builddir)/stamp-cshadow echo "done" > $(top_builddir)/stamp-cshadow diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in index a3aed9b757d..572033ad16d 100644 --- a/libstdc++-v3/src/Makefile.in +++ b/libstdc++-v3/src/Makefile.in @@ -124,7 +124,7 @@ EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la # These bits are all figured out from configure. Look in acinclude.m4 # or configure.in to see how they are set. # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden. -AC_CXXFLAGS = $(WERROR) @WFMT_FLAGS@ @CPU_FLAGS@ @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @DEBUG_FLAGS@ +AC_CXXFLAGS = $(WERROR) @WFMT_FLAGS@ @CPU_FLAGS@ @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOWFLAGS@ @DEBUG_FLAGS@ # Need to manually set this option because AC_CXXFLAGS has to be at @@ -137,24 +137,24 @@ AM_CXXFLAGS = -fno-implicit-templates $(OPTIMIZE_CXXFLAGS) -Wall -Wno-format TOPLEVEL_INCLUDES = -I$(includedir) @GLIBCPP_NEED_LIBIO_TRUE@LIBIO_INCLUDES = -I$(top_builddir)/libio -I$(top_srcdir)/libio @GLIBCPP_NEED_LIBIO_FALSE@LIBIO_INCLUDES = -I$(top_srcdir)/libio -#CSHADOW_INCLUDES = \ -# @CSHADOWFLAGS@ -I$(top_srcdir)/shadow -I$(top_builddir)/cshadow -@GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_INCLUDES = +@GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_INCLUDES = -I$(top_srcdir)/std -I$(top_srcdir)/shadow @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_INCLUDES = CONFIG_INCLUDES = -I$(top_srcdir)/@cpu_include_dir@ -I$(top_srcdir)/@ctype_include_dir@ -INCLUDES = -D_GNU_SOURCE -nostdinc++ $(CSHADOW_INCLUDES) -I$(top_srcdir) $(LIBIO_INCLUDES) $(CONFIG_INCLUDES) $(TOPLEVEL_INCLUDES) +INCLUDES = -D_GNU_SOURCE -D_ISOC99_SOURCE -nostdinc++ $(CSHADOW_INCLUDES) -I$(top_builddir) -I$(top_srcdir) $(CONFIG_INCLUDES) $(LIBIO_INCLUDES) $(TOPLEVEL_INCLUDES) -# Need to explicitly set this so that AM_CXXFLAGS is last. (That way, +# Need to explicitly set this so that AM_CXXFLAGS is last. In +# addition, we don't use $(DEFS), which tries to set $(top_srcdir) as +# an include diretory, which screws up shadow headers. (That way, # things like -O2 passed down from the toplevel can be overridden by # --enable-debug.) -CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) +CXXCOMPILE = $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) -LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) +LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) # We have a problem when building the shared libstdc++ object if the @@ -457,7 +457,7 @@ $(libstdc___la_OBJECTS): $(CSHADOW_H) $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \ $(top_srcdir)/mkcshadow $(top_srcdir)/mkinclosure \ - "-I $(top_builddir)/../../gcc/include -I /usr/include -G machine/ansi.h" | $(top_srcdir)/mkcshadow; + "-I $(top_builddir)/../../gcc/include -I /usr/include -G fcntl.h unistd.h" | $(top_srcdir)/mkcshadow; rm -f $(top_builddir)/stamp-cshadow echo "done" > $(top_builddir)/stamp-cshadow diff --git a/libstdc++-v3/src/complex.cc b/libstdc++-v3/src/complex.cc index b19a74a9dab..f9f64196199 100644 --- a/libstdc++-v3/src/complex.cc +++ b/libstdc++-v3/src/complex.cc @@ -36,239 +36,115 @@ #ifndef FLT # define FLT double -# define FCT(name) ::name #endif +// This file often breaks due to compiler bugs. May need to put in guards, ie: +// #if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) +// and +// #if defined(_GLIBCPP_FLOAT_SPECIALIZATION) + namespace std { - - template<> - FLT - abs(const complex<FLT>& __x) - { return FCT(cabs)(__x._M_value); } - - template<> - FLT - arg(const complex<FLT>& __x) - { return FCT(carg)(__x._M_value); } - - template<> - complex<FLT> - polar(const FLT& __rho, const FLT& __theta) - { -#if defined _G_HAVE_SINCOS && !defined __osf__ - // Although sincos does exist on OSF3.2 and OSF4.0 we cannot use it - // since the necessary types are not defined in the headers. - FLT __sinx, __cosx; - FCT(sincos)(__theta, &__sinx, &__cosx); - return complex<FLT>(__rho * __cosx, __rho * __sinx); -#else -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - complex<FLT> __tmpf(__rho * FCT(cos)(__theta), - __rho * FCT(sin)(__theta)); - return __tmpf; -#else - return complex<FLT>(__rho * FCT(cos)(__theta), - __rho * FCT(sin)(__theta)); -#endif -#endif - } - - template<> - complex<FLT> - cos(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(ccos)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(ccos)(__x._M_value)); } -#endif - - template<> - complex<FLT> - cosh(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(ccosh)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(ccosh)(__x._M_value)); } -#endif - - template<> - complex<FLT> - exp(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(cexp)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(cexp)(__x._M_value)); } -#endif - - template<> - complex<FLT> - log(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(c_log)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(c_log)(__x._M_value)); } -#endif - - template<> - complex<FLT> - log10(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(clog10)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(clog10)(__x._M_value)); } -#endif - - template<> - complex<FLT> - pow(const complex<FLT>& __x, int __n) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(cexp) (__n * FCT(c_log)(__x._M_value))); - return __tmpf; - } -#else - { return complex<FLT>(FCT(cexp) (__n * FCT(c_log)(__x._M_value))); } -#endif - - - template<> - complex<FLT> - pow(const complex<FLT>& __x, const FLT& __y) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(cexp) (__y * FCT(c_log)(__x._M_value))); - return __tmpf; - } -#else - { return complex<FLT>(FCT(cexp) (__y * FCT(c_log)(__x._M_value))); } -#endif - - template<> - complex<FLT> - pow(const complex<FLT>& __x, const complex<FLT>& __y) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(cpow)(__x._M_value, __y._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(cpow)(__x._M_value, __y._M_value)); } -#endif - - template<> - complex<FLT> - pow(const FLT& __x, const complex<FLT>& __y) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(cexp)(__y._M_value * FCT(log)(__x))); - return __tmpf; - } -#else - { return complex<FLT>(FCT(cexp)(__y._M_value * FCT(log)(__x))); } -#endif - - template<> - complex<FLT> - sin(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(csin)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(csin)(__x._M_value)); } -#endif - - template<> - complex<FLT> - sinh(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(csinh)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(csinh)(__x._M_value)); } -#endif - - template<> - complex<FLT> - sqrt(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(csqrt)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(csqrt)(__x._M_value)); } -#endif - - template<> - complex<FLT> - tan(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(ctan)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(ctan)(__x._M_value)); } -#endif - - template<> - complex<FLT> - tanh(const complex<FLT>& __x) -#if defined(_GLIBCPP_BUGGY_FLOAT_COMPLEX) \ - && defined(_GLIBCPP_FLOAT_SPECIALIZATION) - { - complex<FLT> __tmpf(FCT(ctanh)(__x._M_value)); - return __tmpf; - } -#else - { return complex<FLT>(FCT(ctanh)(__x._M_value)); } -#endif - + template<> + FLT + abs(const complex<FLT>& __x) + { return cabs(__x._M_value); } + + template<> + FLT + arg(const complex<FLT>& __x) + { return carg(__x._M_value); } + + template<> + complex<FLT> + polar(const FLT& __rho, const FLT& __theta) + { +#if 0 +// XXX +// defined(_GLIBCPP_HAVE_SINCOS) && !defined(__osf__) + // Although sincos does exist on OSF3.2 and OSF4.0 we cannot use it + // since the necessary types are not defined in the headers. + FLT __sinx, __cosx; + sincos(__theta, &__sinx, &__cosx); + return complex<FLT>(__rho * __cosx, __rho * __sinx); +#else + return complex<FLT>(__rho * cos(__theta), __rho * sin(__theta)); +#endif + } + + template<> + complex<FLT> + cos(const complex<FLT>& __x) + { return complex<FLT>(ccos(__x._M_value)); } + + template<> + complex<FLT> + cosh(const complex<FLT>& __x) + { return complex<FLT>(ccosh(__x._M_value)); } + + template<> + complex<FLT> + exp(const complex<FLT>& __x) + { return complex<FLT>(cexp(__x._M_value)); } + + template<> + complex<FLT> + log(const complex<FLT>& __x) + { return complex<FLT>(c_log(__x._M_value)); } + + template<> + complex<FLT> + log10(const complex<FLT>& __x) + { return complex<FLT>(clog10(__x._M_value)); } + + template<> + complex<FLT> + pow(const complex<FLT>& __x, int __n) + { return complex<FLT>(cexp(__n * c_log(__x._M_value))); } + + template<> + complex<FLT> + pow(const complex<FLT>& __x, const FLT& __y) + { return complex<FLT>(cexp(__y * c_log(__x._M_value))); } + + template<> + complex<FLT> + pow(const complex<FLT>& __x, const complex<FLT>& __y) + { return complex<FLT>(cpow(__x._M_value, __y._M_value)); } + + template<> + complex<FLT> + pow(const FLT& __x, const complex<FLT>& __y) + { return complex<FLT>(cexp(__y._M_value * log(__x))); } + + template<> + complex<FLT> + sin(const complex<FLT>& __x) + { return complex<FLT>(csin(__x._M_value)); } + + template<> + complex<FLT> + sinh(const complex<FLT>& __x) + { return complex<FLT>(csinh(__x._M_value)); } + + template<> + complex<FLT> + sqrt(const complex<FLT>& __x) + { return complex<FLT>(csqrt(__x._M_value)); } + + template<> + complex<FLT> + tan(const complex<FLT>& __x) + { return complex<FLT>(ctan(__x._M_value)); } + + template<> + complex<FLT> + tanh(const complex<FLT>& __x) + { return complex<FLT>(ctanh(__x._M_value)); } + } // namespace std - - - - - - - - diff --git a/libstdc++-v3/src/complexf.cc b/libstdc++-v3/src/complexf.cc index 5ef12afce18..7831d7e7f6c 100644 --- a/libstdc++-v3/src/complexf.cc +++ b/libstdc++-v3/src/complexf.cc @@ -1,5 +1,4 @@ #define FLT float -#define FCT(name) ::name##f // Used in complex.cc to work around GCC's buggy __complex__ float support. #define _GLIBCPP_FLOAT_SPECIALIZATION 1 #include "complex.cc" diff --git a/libstdc++-v3/src/complexl.cc b/libstdc++-v3/src/complexl.cc index 4c11abd9407..0cfab1c3910 100644 --- a/libstdc++-v3/src/complexl.cc +++ b/libstdc++-v3/src/complexl.cc @@ -1,8 +1,7 @@ #include <bits/c++config.h> -#ifdef _GLIBCPP_HAVE_SINL +#ifdef _GLIBCPP_USE_LONG_LONG /* We compile these functions only when we have the long double functions available. */ #define FLT long double -#define FCT(name) ::name##l #include "complex.cc" #endif diff --git a/libstdc++-v3/src/locale.cc b/libstdc++-v3/src/locale.cc index 64996efb304..ae56bdbb040 100644 --- a/libstdc++-v3/src/locale.cc +++ b/libstdc++-v3/src/locale.cc @@ -38,7 +38,7 @@ #include <bits/std_vector.h> #include <bits/std_memory.h> // for auto_ptr #ifdef _GLIBCPP_USE_WCHAR_T - #include <bits/std_cwctype.h> // for towupper, etc. +# include <bits/std_cwctype.h> // for towupper, etc. #endif namespace std { @@ -952,7 +952,7 @@ namespace std { do_widen(const char* __low, const char* __high, wchar_t* __dest) const { mbstate_t __state; - memset(&__state, 0, sizeof(mbstate_t)); + memset(static_cast<void*>(&__state), 0, sizeof(mbstate_t)); mbsrtowcs(__dest, &__low, __high - __low, &__state); return __high; } @@ -971,7 +971,7 @@ namespace std { char* __dest) const { mbstate_t __state; - memset(&__state, 0, sizeof(mbstate_t)); + memset(static_cast<void*>(&__state), 0, sizeof(mbstate_t)); size_t __len = __high - __low; size_t __conv = wcsrtombs(__dest, &__low, __len, &__state); if (__conv == __len) diff --git a/libstdc++-v3/src/localename.cc b/libstdc++-v3/src/localename.cc index 7d6f259acce..8205be07b44 100644 --- a/libstdc++-v3/src/localename.cc +++ b/libstdc++-v3/src/localename.cc @@ -29,7 +29,6 @@ #include <bits/std_clocale.h> #include <bits/std_locale.h> #include <bits/std_cstring.h> -#include <bits/std_cassert.h> #include <bits/std_vector.h> #include <bits/std_stdexcept.h> @@ -167,8 +166,6 @@ namespace std { locale::_Impl:: _M_replace_categories(const _Impl* __other, category __cat) { - assert((__cat & locale::all) && !(__cat & ~locale::all)); - unsigned int __mask = locale::all & -static_cast<unsigned int>(locale::all); for (unsigned int __ix = 0; (-__mask & __cat) != 0; ++__ix, (__mask <<= 1)) { |