diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2001-02-06 07:06:15 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2001-02-06 07:06:15 +0000 |
commit | f8db4f200620853be35af713bb91563713b9a9ee (patch) | |
tree | 632565a064638dd6ea33e7fac7233e5a2a013d52 /libstdc++-v3 | |
parent | bf6adbe2c68151d1ba284a27b00ab1568d2d1be0 (diff) | |
download | gcc-f8db4f200620853be35af713bb91563713b9a9ee.zip gcc-f8db4f200620853be35af713bb91563713b9a9ee.tar.gz gcc-f8db4f200620853be35af713bb91563713b9a9ee.tar.bz2 |
acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
(GLIBCPP_CHECK_MATH_DECL_2): New macro.
(GLIBCPP_CHECK_MATH_DECL_3): New macro.
(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
(GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r39482
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 14 | ||||
-rw-r--r-- | libstdc++-v3/acinclude.m4 | 135 | ||||
-rw-r--r-- | libstdc++-v3/aclocal.m4 | 135 | ||||
-rwxr-xr-x | libstdc++-v3/configure | 3086 |
4 files changed, 1756 insertions, 1614 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4687d1d4..d9c1a8d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +2001-02-05 Benjamin Kosnik <bkoz@redhat.com> + + * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro. + (GLIBCPP_CHECK_MATH_DECL_2): New macro. + (GLIBCPP_CHECK_MATH_DECL_3): New macro. + (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too. + (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same. + (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same. + (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions. + * aclocal.m4: Regenerate. + * configure: Regenerate. + 2001-02-05 Mark Mitchell <mark@codesourcery.com> * include/bits/locale_facets.tcc: Remove `static' keyword on @@ -8,7 +20,7 @@ * src/locale-inst.cc: Explicitly instantiate more functions. * src/msic-inst.cc: Likewise. * src/string-inst.cc: Likewise. - + 2001-02-05 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index f2447a3..d5fcb80 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -315,17 +315,11 @@ AC_DEFUN(GLIBCPP_CHECK_LINKER_FEATURES, [ dnl dnl Check to see if the (math function) argument passed is -dnl 1) declared when using the c++ compiler -dnl 2) has "C" linkage -dnl -dnl Define HAVE_CARGF etc if "cargf" is declared and links -dnl -dnl argument 1 is name of function to check -dnl +dnl declared when using the c++ compiler dnl ASSUMES argument is a math function with ONE parameter dnl -dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1 -AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1, [ +dnl GLIBCPP_CHECK_MATH_DECL_1 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_1, [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcpp_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcpp_cv_func_$1_use, [ @@ -338,11 +332,34 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1, [ ]) fi AC_MSG_RESULT($glibcpp_cv_func_$1_use) +]) + +dnl +dnl Check to see if the (math function) argument passed is +dnl 1) declared when using the c++ compiler +dnl 2) has "C" linkage +dnl 3) if not, see if 1) and 2) for argument prepended with '_' +dnl +dnl Define HAVE_CARGF etc if "cargf" is declared and links +dnl +dnl argument 1 is name of function to check +dnl +dnl ASSUMES argument is a math function with ONE parameter +dnl +dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1, [ + GLIBCPP_CHECK_MATH_DECL_1($1) if test x$glibcpp_cv_func_$1_use = x"yes"; then AC_CHECK_FUNCS($1) + else + GLIBCPP_CHECK_MATH_DECL_1(_$1) + if test x$glibcpp_cv_func__$1_use = x"yes"; then + AC_CHECK_FUNCS(_$1) + fi fi ]) + dnl dnl Like GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1, but does a bunch of dnl of functions at once. It's an all-or-nothing check -- either @@ -366,17 +383,11 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1, [ dnl dnl Check to see if the (math function) argument passed is -dnl 1) declared when using the c++ compiler -dnl 2) has "C" linkage -dnl -dnl Define HAVE_CARGF etc if "cargf" is declared and links -dnl -dnl argument 1 is name of function to check -dnl -dnl ASSUMES argument is a math function with TWO parameters +dnl declared when using the c++ compiler +dnl ASSUMES argument is a math function with ONE parameter dnl -dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2 -AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2, [ +dnl GLIBCPP_CHECK_MATH_DECL_2 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_2, [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcpp_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcpp_cv_func_$1_use, [ @@ -389,12 +400,8 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2, [ ]) fi AC_MSG_RESULT($glibcpp_cv_func_$1_use) - if test x$glibcpp_cv_func_$1_use = x"yes"; then - AC_CHECK_FUNCS($1) - fi ]) - dnl dnl Check to see if the (math function) argument passed is dnl 1) declared when using the c++ compiler @@ -404,10 +411,29 @@ dnl Define HAVE_CARGF etc if "cargf" is declared and links dnl dnl argument 1 is name of function to check dnl -dnl ASSUMES argument is a math function with THREE parameters +dnl ASSUMES argument is a math function with TWO parameters dnl -dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3 -AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3, [ +dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2, [ + GLIBCPP_CHECK_MATH_DECL_2($1) + if test x$glibcpp_cv_func_$1_use = x"yes"; then + AC_CHECK_FUNCS($1) + else + GLIBCPP_CHECK_MATH_DECL_2(_$1) + if test x$glibcpp_cv_func__$1_use = x"yes"; then + AC_CHECK_FUNCS(_$1) + fi + fi +]) + + +dnl +dnl Check to see if the (math function) argument passed is +dnl declared when using the c++ compiler +dnl ASSUMES argument is a math function with ONE parameter +dnl +dnl GLIBCPP_CHECK_MATH_DECL_3 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_3, [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcpp_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcpp_cv_func_$1_use, [ @@ -420,8 +446,29 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3, [ ]) fi AC_MSG_RESULT($glibcpp_cv_func_$1_use) +]) + +dnl +dnl Check to see if the (math function) argument passed is +dnl 1) declared when using the c++ compiler +dnl 2) has "C" linkage +dnl +dnl Define HAVE_CARGF etc if "cargf" is declared and links +dnl +dnl argument 1 is name of function to check +dnl +dnl ASSUMES argument is a math function with THREE parameters +dnl +dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3, [ + GLIBCPP_CHECK_MATH_DECL_3($1) if test x$glibcpp_cv_func_$1_use = x"yes"; then AC_CHECK_FUNCS($1) + else + GLIBCPP_CHECK_MATH_DECL_3(_$1) + if test x$glibcpp_cv_func__$1_use = x"yes"; then + AC_CHECK_FUNCS(_$1) + fi fi ]) @@ -674,13 +721,6 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ dnl keep this sync'd with the one above. And if you add any new symbol, dnl please add the corresponding block in the @BOTTOM@ section of acconfig.h. dnl Check to see if certain C math functions exist. - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isinf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isnan) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_finite) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_copysign) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3(_sincos) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_fpclass) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_qfpclass) dnl Check to see if basic C math functions have float versions. GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(_float trig, @@ -691,19 +731,6 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(_float round, _float_round, _ceilf _floorf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isnanf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isinff) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_fabsf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_fmodf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_frexpf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_ldexpf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_logf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_log10f) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_modff) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_powf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_sqrtf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3(_sincosf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_finitef) dnl Check to see if basic C math functions have long double versions. GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(_long double trig, @@ -714,22 +741,6 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(_long double round, _long_double_round, _ceill _floorl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isnanl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isinfl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_copysignl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_atan2l) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_expl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_fabsl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_fmodl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_frexpl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_ldexpl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_logl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_log10l) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_modfl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_powl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_sqrtl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3(_sincosl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_finitel) LIBS="$ac_save_LIBS" CXXFLAGS="$ac_save_CXXFLAGS" diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index 867c5bc..5191170 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -327,17 +327,11 @@ AC_DEFUN(GLIBCPP_CHECK_LINKER_FEATURES, [ dnl dnl Check to see if the (math function) argument passed is -dnl 1) declared when using the c++ compiler -dnl 2) has "C" linkage -dnl -dnl Define HAVE_CARGF etc if "cargf" is declared and links -dnl -dnl argument 1 is name of function to check -dnl +dnl declared when using the c++ compiler dnl ASSUMES argument is a math function with ONE parameter dnl -dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1 -AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1, [ +dnl GLIBCPP_CHECK_MATH_DECL_1 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_1, [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcpp_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcpp_cv_func_$1_use, [ @@ -350,11 +344,34 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1, [ ]) fi AC_MSG_RESULT($glibcpp_cv_func_$1_use) +]) + +dnl +dnl Check to see if the (math function) argument passed is +dnl 1) declared when using the c++ compiler +dnl 2) has "C" linkage +dnl 3) if not, see if 1) and 2) for argument prepended with '_' +dnl +dnl Define HAVE_CARGF etc if "cargf" is declared and links +dnl +dnl argument 1 is name of function to check +dnl +dnl ASSUMES argument is a math function with ONE parameter +dnl +dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1, [ + GLIBCPP_CHECK_MATH_DECL_1($1) if test x$glibcpp_cv_func_$1_use = x"yes"; then AC_CHECK_FUNCS($1) + else + GLIBCPP_CHECK_MATH_DECL_1(_$1) + if test x$glibcpp_cv_func__$1_use = x"yes"; then + AC_CHECK_FUNCS(_$1) + fi fi ]) + dnl dnl Like GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1, but does a bunch of dnl of functions at once. It's an all-or-nothing check -- either @@ -378,17 +395,11 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1, [ dnl dnl Check to see if the (math function) argument passed is -dnl 1) declared when using the c++ compiler -dnl 2) has "C" linkage -dnl -dnl Define HAVE_CARGF etc if "cargf" is declared and links -dnl -dnl argument 1 is name of function to check -dnl -dnl ASSUMES argument is a math function with TWO parameters +dnl declared when using the c++ compiler +dnl ASSUMES argument is a math function with ONE parameter dnl -dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2 -AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2, [ +dnl GLIBCPP_CHECK_MATH_DECL_2 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_2, [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcpp_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcpp_cv_func_$1_use, [ @@ -401,12 +412,8 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2, [ ]) fi AC_MSG_RESULT($glibcpp_cv_func_$1_use) - if test x$glibcpp_cv_func_$1_use = x"yes"; then - AC_CHECK_FUNCS($1) - fi ]) - dnl dnl Check to see if the (math function) argument passed is dnl 1) declared when using the c++ compiler @@ -416,10 +423,29 @@ dnl Define HAVE_CARGF etc if "cargf" is declared and links dnl dnl argument 1 is name of function to check dnl -dnl ASSUMES argument is a math function with THREE parameters +dnl ASSUMES argument is a math function with TWO parameters dnl -dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3 -AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3, [ +dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2, [ + GLIBCPP_CHECK_MATH_DECL_2($1) + if test x$glibcpp_cv_func_$1_use = x"yes"; then + AC_CHECK_FUNCS($1) + else + GLIBCPP_CHECK_MATH_DECL_2(_$1) + if test x$glibcpp_cv_func__$1_use = x"yes"; then + AC_CHECK_FUNCS(_$1) + fi + fi +]) + + +dnl +dnl Check to see if the (math function) argument passed is +dnl declared when using the c++ compiler +dnl ASSUMES argument is a math function with ONE parameter +dnl +dnl GLIBCPP_CHECK_MATH_DECL_3 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_3, [ AC_MSG_CHECKING([for $1 declaration]) if test x${glibcpp_cv_func_$1_use+set} != xset; then AC_CACHE_VAL(glibcpp_cv_func_$1_use, [ @@ -432,8 +458,29 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3, [ ]) fi AC_MSG_RESULT($glibcpp_cv_func_$1_use) +]) + +dnl +dnl Check to see if the (math function) argument passed is +dnl 1) declared when using the c++ compiler +dnl 2) has "C" linkage +dnl +dnl Define HAVE_CARGF etc if "cargf" is declared and links +dnl +dnl argument 1 is name of function to check +dnl +dnl ASSUMES argument is a math function with THREE parameters +dnl +dnl GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3 +AC_DEFUN(GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3, [ + GLIBCPP_CHECK_MATH_DECL_3($1) if test x$glibcpp_cv_func_$1_use = x"yes"; then AC_CHECK_FUNCS($1) + else + GLIBCPP_CHECK_MATH_DECL_3(_$1) + if test x$glibcpp_cv_func__$1_use = x"yes"; then + AC_CHECK_FUNCS(_$1) + fi fi ]) @@ -686,13 +733,6 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ dnl keep this sync'd with the one above. And if you add any new symbol, dnl please add the corresponding block in the @BOTTOM@ section of acconfig.h. dnl Check to see if certain C math functions exist. - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isinf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isnan) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_finite) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_copysign) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3(_sincos) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_fpclass) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_qfpclass) dnl Check to see if basic C math functions have float versions. GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(_float trig, @@ -703,19 +743,6 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(_float round, _float_round, _ceilf _floorf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isnanf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isinff) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_fabsf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_fmodf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_frexpf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_ldexpf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_logf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_log10f) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_modff) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_powf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_sqrtf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3(_sincosf) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_finitef) dnl Check to see if basic C math functions have long double versions. GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(_long double trig, @@ -726,22 +753,6 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(_long double round, _long_double_round, _ceill _floorl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isnanl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_isinfl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_copysignl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_atan2l) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_expl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_fabsl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_fmodl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_frexpl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_ldexpl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_logl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_log10l) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_modfl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(_powl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_sqrtl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3(_sincosl) - GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(_finitel) LIBS="$ac_save_LIBS" CXXFLAGS="$ac_save_CXXFLAGS" diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 8c5c5d9..27deeb2 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -5961,8 +5961,9 @@ fi LIBS="$LIBS $libm" + echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6 -echo "configure:5966: checking for isinf declaration" >&5 +echo "configure:5967: checking for isinf declaration" >&5 if test x${glibcpp_cv_func_isinf_use+set} != xset; then if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -5977,14 +5978,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 5981 "configure" +#line 5982 "configure" #include "confdefs.h" #include <math.h> int main() { isinf(0); ; return 0; } EOF -if { (eval echo configure:5988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_isinf_use=yes else @@ -6006,16 +6007,17 @@ fi fi echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6 + if test x$glibcpp_cv_func_isinf_use = x"yes"; then for ac_func in isinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6014: checking for $ac_func" >&5 +echo "configure:6016: 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 6019 "configure" +#line 6021 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6038,7 +6040,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6044: \"$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 @@ -6062,13 +6064,12 @@ else fi done - fi - - - echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6 -echo "configure:6070: checking for isnan declaration" >&5 - if test x${glibcpp_cv_func_isnan_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6 +echo "configure:6071: checking for _isinf declaration" >&5 + if test x${glibcpp_cv_func__isinf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6081,21 +6082,21 @@ 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 6085 "configure" +#line 6086 "configure" #include "confdefs.h" #include <math.h> int main() { - isnan(0); + _isinf(0); ; return 0; } EOF -if { (eval echo configure:6092: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_isnan_use=yes + glibcpp_cv_func__isinf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_isnan_use=no + glibcpp_cv_func__isinf_use=no fi rm -f conftest* ac_ext=c @@ -6109,17 +6110,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6 - if test x$glibcpp_cv_func_isnan_use = x"yes"; then - for ac_func in isnan + echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6 + + if test x$glibcpp_cv_func__isinf_use = x"yes"; then + for ac_func in _isinf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6118: checking for $ac_func" >&5 +echo "configure:6120: 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 6123 "configure" +#line 6125 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6142,7 +6144,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6148: \"$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 @@ -6166,13 +6168,15 @@ else fi done + fi fi - echo $ac_n "checking for finite declaration""... $ac_c" 1>&6 -echo "configure:6174: checking for finite declaration" >&5 - if test x${glibcpp_cv_func_finite_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then + + echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6 +echo "configure:6178: checking for isnan declaration" >&5 + if test x${glibcpp_cv_func_isnan_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6185,21 +6189,21 @@ 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 6189 "configure" +#line 6193 "configure" #include "confdefs.h" #include <math.h> int main() { - finite(0); + isnan(0); ; return 0; } EOF -if { (eval echo configure:6196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_finite_use=yes + glibcpp_cv_func_isnan_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_finite_use=no + glibcpp_cv_func_isnan_use=no fi rm -f conftest* ac_ext=c @@ -6213,17 +6217,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6 - if test x$glibcpp_cv_func_finite_use = x"yes"; then - for ac_func in finite + echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6 + + if test x$glibcpp_cv_func_isnan_use = x"yes"; then + for ac_func in isnan do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6222: 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 6227 "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. */ @@ -6246,7 +6251,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6250: \"$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 @@ -6270,13 +6275,12 @@ else fi done - fi - - - echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6 -echo "configure:6278: checking for copysign declaration" >&5 - if test x${glibcpp_cv_func_copysign_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6 +echo "configure:6282: checking for _isnan declaration" >&5 + if test x${glibcpp_cv_func__isnan_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6289,21 +6293,21 @@ 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() { - copysign(0, 0); + _isnan(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_copysign_use=yes + glibcpp_cv_func__isnan_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_copysign_use=no + glibcpp_cv_func__isnan_use=no fi rm -f conftest* ac_ext=c @@ -6317,17 +6321,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6 - if test x$glibcpp_cv_func_copysign_use = x"yes"; then - for ac_func in copysign + echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6 + + if test x$glibcpp_cv_func__isnan_use = x"yes"; then + for ac_func in _isnan do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6326: checking for $ac_func" >&5 +echo "configure:6331: 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 6331 "configure" +#line 6336 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6350,7 +6355,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6359: \"$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 @@ -6374,13 +6379,15 @@ else fi done + fi fi - echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6 -echo "configure:6382: checking for sincos declaration" >&5 - if test x${glibcpp_cv_func_sincos_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then + + echo $ac_n "checking for finite declaration""... $ac_c" 1>&6 +echo "configure:6389: checking for finite declaration" >&5 + if test x${glibcpp_cv_func_finite_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6393,21 +6400,21 @@ 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 6397 "configure" +#line 6404 "configure" #include "confdefs.h" #include <math.h> int main() { - sincos(0, 0, 0); + finite(0); ; return 0; } EOF -if { (eval echo configure:6404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_sincos_use=yes + glibcpp_cv_func_finite_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_sincos_use=no + glibcpp_cv_func_finite_use=no fi rm -f conftest* ac_ext=c @@ -6421,17 +6428,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6 - if test x$glibcpp_cv_func_sincos_use = x"yes"; then - for ac_func in sincos + echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6 + + if test x$glibcpp_cv_func_finite_use = x"yes"; then + for ac_func in finite do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6430: checking for $ac_func" >&5 +echo "configure:6438: 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 6435 "configure" +#line 6443 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6454,7 +6462,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6466: \"$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 @@ -6478,13 +6486,12 @@ else fi done - fi - - - echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6 -echo "configure:6486: checking for fpclass declaration" >&5 - if test x${glibcpp_cv_func_fpclass_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6 +echo "configure:6493: checking for _finite declaration" >&5 + if test x${glibcpp_cv_func__finite_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6497,21 +6504,21 @@ 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 6501 "configure" +#line 6508 "configure" #include "confdefs.h" #include <math.h> int main() { - fpclass(0); + _finite(0); ; return 0; } EOF -if { (eval echo configure:6508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6515: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_fpclass_use=yes + glibcpp_cv_func__finite_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_fpclass_use=no + glibcpp_cv_func__finite_use=no fi rm -f conftest* ac_ext=c @@ -6525,17 +6532,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6 - if test x$glibcpp_cv_func_fpclass_use = x"yes"; then - for ac_func in fpclass + echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6 + + if test x$glibcpp_cv_func__finite_use = x"yes"; then + for ac_func in _finite do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6534: checking for $ac_func" >&5 +echo "configure:6542: 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 6539 "configure" +#line 6547 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6558,7 +6566,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6570: \"$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 @@ -6582,13 +6590,15 @@ else fi done + fi fi - echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6 -echo "configure:6590: checking for qfpclass declaration" >&5 - if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then + + echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6 +echo "configure:6600: checking for copysign declaration" >&5 + if test x${glibcpp_cv_func_copysign_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6601,21 +6611,21 @@ 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 6605 "configure" +#line 6615 "configure" #include "confdefs.h" #include <math.h> int main() { - qfpclass(0); + copysign(0, 0); ; return 0; } EOF -if { (eval echo configure:6612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_qfpclass_use=yes + glibcpp_cv_func_copysign_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_qfpclass_use=no + glibcpp_cv_func_copysign_use=no fi rm -f conftest* ac_ext=c @@ -6629,17 +6639,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6 - if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then - for ac_func in qfpclass + echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6 + + if test x$glibcpp_cv_func_copysign_use = x"yes"; then + for ac_func in copysign do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6638: checking for $ac_func" >&5 +echo "configure:6649: 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 6643 "configure" +#line 6654 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6662,7 +6673,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6677: \"$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 @@ -6686,66 +6697,64 @@ else fi done - fi - - + else - echo $ac_n "checking for float trig functions""... $ac_c" 1>&6 -echo "configure:6695: checking for float trig functions" >&5 - if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then + echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6 +echo "configure:6704: checking for _copysign declaration" >&5 + if test x${glibcpp_cv_func__copysign_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 6709 "configure" + cat > conftest.$ac_ext <<EOF +#line 6719 "configure" #include "confdefs.h" #include <math.h> int main() { - `for x in acosf asinf atanf \ - cosf sinf tanf \ - coshf sinhf tanhf; do echo "$x (0);"; done` + _copysign(0, 0); ; return 0; } EOF -if { (eval echo configure:6718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_float_trig_use=yes + glibcpp_cv_func__copysign_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_float_trig_use=no + glibcpp_cv_func__copysign_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross + fi - echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6 - if test x$glibcpp_cv_func_float_trig_use = x"yes"; then - for ac_func in acosf asinf atanf \ - cosf sinf tanf \ - coshf sinhf tanhf + fi + echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6 + + if test x$glibcpp_cv_func__copysign_use = x"yes"; then + for ac_func in _copysign do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6744: checking for $ac_func" >&5 +echo "configure:6753: 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 6749 "configure" +#line 6758 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6768,7 +6777,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6781: \"$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 @@ -6791,62 +6800,68 @@ else echo "$ac_t""no" 1>&6 fi done - + + fi fi - echo $ac_n "checking for float round functions""... $ac_c" 1>&6 -echo "configure:6800: checking for float round functions" >&5 - if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then + + echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6 +echo "configure:6811: checking for sincos declaration" >&5 + if test x${glibcpp_cv_func_sincos_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 6814 "configure" + cat > conftest.$ac_ext <<EOF +#line 6826 "configure" #include "confdefs.h" #include <math.h> int main() { - `for x in ceilf floorf; do echo "$x (0);"; done` + sincos(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:6821: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_float_round_use=yes + glibcpp_cv_func_sincos_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_float_round_use=no + glibcpp_cv_func_sincos_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross + fi - echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6 - if test x$glibcpp_cv_func_float_round_use = x"yes"; then - for ac_func in ceilf floorf + fi + echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6 + + if test x$glibcpp_cv_func_sincos_use = x"yes"; then + for ac_func in sincos do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6845: checking for $ac_func" >&5 +echo "configure:6860: 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 6850 "configure" +#line 6865 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6869,7 +6884,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6888: \"$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 @@ -6892,14 +6907,13 @@ else echo "$ac_t""no" 1>&6 fi done - - fi - - - echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6 -echo "configure:6901: checking for isnanf declaration" >&5 - if test x${glibcpp_cv_func_isnanf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then + + else + + echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6 +echo "configure:6915: checking for _sincos declaration" >&5 + if test x${glibcpp_cv_func__sincos_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -6912,21 +6926,21 @@ 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 6916 "configure" +#line 6930 "configure" #include "confdefs.h" #include <math.h> int main() { - isnanf(0); + _sincos(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:6923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:6937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_isnanf_use=yes + glibcpp_cv_func__sincos_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_isnanf_use=no + glibcpp_cv_func__sincos_use=no fi rm -f conftest* ac_ext=c @@ -6940,17 +6954,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6 - if test x$glibcpp_cv_func_isnanf_use = x"yes"; then - for ac_func in isnanf + echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6 + + if test x$glibcpp_cv_func__sincos_use = x"yes"; then + for ac_func in _sincos do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:6949: checking for $ac_func" >&5 +echo "configure:6964: 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 6954 "configure" +#line 6969 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -6973,7 +6988,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:6977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6992: \"$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 @@ -6997,13 +7012,15 @@ else fi done + fi fi - echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6 -echo "configure:7005: checking for isinff declaration" >&5 - if test x${glibcpp_cv_func_isinff_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then + + echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6 +echo "configure:7022: checking for fpclass declaration" >&5 + if test x${glibcpp_cv_func_fpclass_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7016,21 +7033,21 @@ 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 7020 "configure" +#line 7037 "configure" #include "confdefs.h" #include <math.h> int main() { - isinff(0); + fpclass(0); ; return 0; } EOF -if { (eval echo configure:7027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_isinff_use=yes + glibcpp_cv_func_fpclass_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_isinff_use=no + glibcpp_cv_func_fpclass_use=no fi rm -f conftest* ac_ext=c @@ -7044,17 +7061,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6 - if test x$glibcpp_cv_func_isinff_use = x"yes"; then - for ac_func in isinff + echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6 + + if test x$glibcpp_cv_func_fpclass_use = x"yes"; then + for ac_func in fpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7053: checking for $ac_func" >&5 +echo "configure:7071: 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 7058 "configure" +#line 7076 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7077,7 +7095,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7099: \"$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 @@ -7101,13 +7119,12 @@ else fi done - fi - - - echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6 -echo "configure:7109: checking for fabsf declaration" >&5 - if test x${glibcpp_cv_func_fabsf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6 +echo "configure:7126: checking for _fpclass declaration" >&5 + if test x${glibcpp_cv_func__fpclass_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7120,21 +7137,21 @@ 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 7124 "configure" +#line 7141 "configure" #include "confdefs.h" #include <math.h> int main() { - fabsf(0); + _fpclass(0); ; return 0; } EOF -if { (eval echo configure:7131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_fabsf_use=yes + glibcpp_cv_func__fpclass_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_fabsf_use=no + glibcpp_cv_func__fpclass_use=no fi rm -f conftest* ac_ext=c @@ -7148,17 +7165,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6 - if test x$glibcpp_cv_func_fabsf_use = x"yes"; then - for ac_func in fabsf + echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6 + + if test x$glibcpp_cv_func__fpclass_use = x"yes"; then + for ac_func in _fpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7157: checking for $ac_func" >&5 +echo "configure:7175: 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 7162 "configure" +#line 7180 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7181,7 +7199,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7203: \"$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 @@ -7205,13 +7223,15 @@ else fi done + fi fi - echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6 -echo "configure:7213: checking for fmodf declaration" >&5 - if test x${glibcpp_cv_func_fmodf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then + + echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6 +echo "configure:7233: checking for qfpclass declaration" >&5 + if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7224,21 +7244,21 @@ 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 7228 "configure" +#line 7248 "configure" #include "confdefs.h" #include <math.h> int main() { - fmodf(0, 0); + qfpclass(0); ; return 0; } EOF -if { (eval echo configure:7235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_fmodf_use=yes + glibcpp_cv_func_qfpclass_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_fmodf_use=no + glibcpp_cv_func_qfpclass_use=no fi rm -f conftest* ac_ext=c @@ -7252,17 +7272,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6 - if test x$glibcpp_cv_func_fmodf_use = x"yes"; then - for ac_func in fmodf + echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6 + + if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then + for ac_func in qfpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7261: checking for $ac_func" >&5 +echo "configure:7282: 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 7266 "configure" +#line 7287 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7285,7 +7306,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7310: \"$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 @@ -7309,13 +7330,12 @@ else fi done - fi - - - echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6 -echo "configure:7317: checking for frexpf declaration" >&5 - if test x${glibcpp_cv_func_frexpf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6 +echo "configure:7337: checking for _qfpclass declaration" >&5 + if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7328,21 +7348,21 @@ 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 7332 "configure" +#line 7352 "configure" #include "confdefs.h" #include <math.h> int main() { - frexpf(0, 0); + _qfpclass(0); ; return 0; } EOF -if { (eval echo configure:7339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_frexpf_use=yes + glibcpp_cv_func__qfpclass_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_frexpf_use=no + glibcpp_cv_func__qfpclass_use=no fi rm -f conftest* ac_ext=c @@ -7356,17 +7376,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6 - if test x$glibcpp_cv_func_frexpf_use = x"yes"; then - for ac_func in frexpf + echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6 + + if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then + for ac_func in _qfpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7365: checking for $ac_func" >&5 +echo "configure:7386: 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 7370 "configure" +#line 7391 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7389,7 +7410,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7414: \"$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 @@ -7413,64 +7434,67 @@ else fi done + fi fi - - echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6 -echo "configure:7421: checking for ldexpf declaration" >&5 - if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then + + + echo $ac_n "checking for float trig functions""... $ac_c" 1>&6 +echo "configure:7444: checking for float trig functions" >&5 + if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 7436 "configure" + cat > conftest.$ac_ext <<EOF +#line 7458 "configure" #include "confdefs.h" #include <math.h> int main() { - ldexpf(0, 0); + `for x in acosf asinf atanf \ + cosf sinf tanf \ + coshf sinhf tanhf; do echo "$x (0);"; done` ; return 0; } EOF -if { (eval echo configure:7443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_ldexpf_use=yes + glibcpp_cv_func_float_trig_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_ldexpf_use=no + glibcpp_cv_func_float_trig_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross - fi - fi - echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6 - if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then - for ac_func in ldexpf + echo "$ac_t""$glibcpp_cv_func_float_trig_use" 1>&6 + if test x$glibcpp_cv_func_float_trig_use = x"yes"; then + for ac_func in acosf asinf atanf \ + cosf sinf tanf \ + coshf sinhf tanhf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7469: checking for $ac_func" >&5 +echo "configure:7493: 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 7474 "configure" +#line 7498 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7493,7 +7517,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7521: \"$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 @@ -7516,65 +7540,62 @@ else echo "$ac_t""no" 1>&6 fi done - + fi - echo $ac_n "checking for logf declaration""... $ac_c" 1>&6 -echo "configure:7525: checking for logf declaration" >&5 - if test x${glibcpp_cv_func_logf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then + echo $ac_n "checking for float round functions""... $ac_c" 1>&6 +echo "configure:7549: checking for float round functions" >&5 + if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 7540 "configure" + cat > conftest.$ac_ext <<EOF +#line 7563 "configure" #include "confdefs.h" #include <math.h> int main() { - logf(0); + `for x in ceilf floorf; do echo "$x (0);"; done` ; return 0; } EOF -if { (eval echo configure:7547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_logf_use=yes + glibcpp_cv_func_float_round_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_logf_use=no + glibcpp_cv_func_float_round_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross - fi - fi - echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6 - if test x$glibcpp_cv_func_logf_use = x"yes"; then - for ac_func in logf + echo "$ac_t""$glibcpp_cv_func_float_round_use" 1>&6 + if test x$glibcpp_cv_func_float_round_use = x"yes"; then + for ac_func in ceilf floorf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7573: checking for $ac_func" >&5 +echo "configure:7594: 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 7578 "configure" +#line 7599 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7597,7 +7618,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7622: \"$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 @@ -7620,14 +7641,15 @@ else echo "$ac_t""no" 1>&6 fi done - + fi - echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6 -echo "configure:7629: checking for log10f declaration" >&5 - if test x${glibcpp_cv_func_log10f_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then + + echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6 +echo "configure:7651: checking for isnanf declaration" >&5 + if test x${glibcpp_cv_func_isnanf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7640,21 +7662,21 @@ 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 7644 "configure" +#line 7666 "configure" #include "confdefs.h" #include <math.h> int main() { - log10f(0); + isnanf(0); ; return 0; } EOF -if { (eval echo configure:7651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_log10f_use=yes + glibcpp_cv_func_isnanf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_log10f_use=no + glibcpp_cv_func_isnanf_use=no fi rm -f conftest* ac_ext=c @@ -7668,17 +7690,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6 - if test x$glibcpp_cv_func_log10f_use = x"yes"; then - for ac_func in log10f + echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6 + + if test x$glibcpp_cv_func_isnanf_use = x"yes"; then + for ac_func in isnanf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7677: checking for $ac_func" >&5 +echo "configure:7700: 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 7682 "configure" +#line 7705 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7701,7 +7724,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7728: \"$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 @@ -7725,13 +7748,12 @@ else fi done - fi - - - echo $ac_n "checking for modff declaration""... $ac_c" 1>&6 -echo "configure:7733: checking for modff declaration" >&5 - if test x${glibcpp_cv_func_modff_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6 +echo "configure:7755: checking for _isnanf declaration" >&5 + if test x${glibcpp_cv_func__isnanf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7744,21 +7766,21 @@ 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 7748 "configure" +#line 7770 "configure" #include "confdefs.h" #include <math.h> int main() { - modff(0, 0); + _isnanf(0); ; return 0; } EOF -if { (eval echo configure:7755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_modff_use=yes + glibcpp_cv_func__isnanf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_modff_use=no + glibcpp_cv_func__isnanf_use=no fi rm -f conftest* ac_ext=c @@ -7772,17 +7794,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6 - if test x$glibcpp_cv_func_modff_use = x"yes"; then - for ac_func in modff + echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6 + + if test x$glibcpp_cv_func__isnanf_use = x"yes"; then + for ac_func in _isnanf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7781: checking for $ac_func" >&5 +echo "configure:7804: 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 7786 "configure" +#line 7809 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7805,7 +7828,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7832: \"$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 @@ -7829,13 +7852,15 @@ else fi done + fi fi - echo $ac_n "checking for powf declaration""... $ac_c" 1>&6 -echo "configure:7837: checking for powf declaration" >&5 - if test x${glibcpp_cv_func_powf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then + + echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6 +echo "configure:7862: checking for isinff declaration" >&5 + if test x${glibcpp_cv_func_isinff_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7848,21 +7873,21 @@ 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 7852 "configure" +#line 7877 "configure" #include "confdefs.h" #include <math.h> int main() { - powf(0, 0); + isinff(0); ; return 0; } EOF -if { (eval echo configure:7859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7884: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_powf_use=yes + glibcpp_cv_func_isinff_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_powf_use=no + glibcpp_cv_func_isinff_use=no fi rm -f conftest* ac_ext=c @@ -7876,17 +7901,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6 - if test x$glibcpp_cv_func_powf_use = x"yes"; then - for ac_func in powf + echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6 + + if test x$glibcpp_cv_func_isinff_use = x"yes"; then + for ac_func in isinff do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7885: checking for $ac_func" >&5 +echo "configure:7911: 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 7890 "configure" +#line 7916 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -7909,7 +7935,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:7913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:7939: \"$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 @@ -7933,13 +7959,12 @@ else fi done - fi - - - echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6 -echo "configure:7941: checking for sqrtf declaration" >&5 - if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6 +echo "configure:7966: checking for _isinff declaration" >&5 + if test x${glibcpp_cv_func__isinff_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -7952,21 +7977,21 @@ 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 7956 "configure" +#line 7981 "configure" #include "confdefs.h" #include <math.h> int main() { - sqrtf(0); + _isinff(0); ; return 0; } EOF -if { (eval echo configure:7963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:7988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_sqrtf_use=yes + glibcpp_cv_func__isinff_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_sqrtf_use=no + glibcpp_cv_func__isinff_use=no fi rm -f conftest* ac_ext=c @@ -7980,17 +8005,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6 - if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then - for ac_func in sqrtf + echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6 + + if test x$glibcpp_cv_func__isinff_use = x"yes"; then + for ac_func in _isinff do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:7989: checking for $ac_func" >&5 +echo "configure:8015: 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 7994 "configure" +#line 8020 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8013,7 +8039,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8043: \"$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 @@ -8037,13 +8063,15 @@ else fi done + fi fi - echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6 -echo "configure:8045: checking for sincosf declaration" >&5 - if test x${glibcpp_cv_func_sincosf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then + + echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6 +echo "configure:8073: checking for fabsf declaration" >&5 + if test x${glibcpp_cv_func_fabsf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8056,21 +8084,21 @@ 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 8060 "configure" +#line 8088 "configure" #include "confdefs.h" #include <math.h> int main() { - sincosf(0, 0, 0); + fabsf(0); ; return 0; } EOF -if { (eval echo configure:8067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_sincosf_use=yes + glibcpp_cv_func_fabsf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_sincosf_use=no + glibcpp_cv_func_fabsf_use=no fi rm -f conftest* ac_ext=c @@ -8084,17 +8112,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6 - if test x$glibcpp_cv_func_sincosf_use = x"yes"; then - for ac_func in sincosf + echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6 + + if test x$glibcpp_cv_func_fabsf_use = x"yes"; then + for ac_func in fabsf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8093: checking for $ac_func" >&5 +echo "configure:8122: 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 8098 "configure" +#line 8127 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8117,7 +8146,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8150: \"$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 @@ -8141,13 +8170,12 @@ else fi done - fi - - - echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6 -echo "configure:8149: checking for finitef declaration" >&5 - if test x${glibcpp_cv_func_finitef_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6 +echo "configure:8177: checking for _fabsf declaration" >&5 + if test x${glibcpp_cv_func__fabsf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8160,21 +8188,21 @@ 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 8164 "configure" +#line 8192 "configure" #include "confdefs.h" #include <math.h> int main() { - finitef(0); + _fabsf(0); ; return 0; } EOF -if { (eval echo configure:8171: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_finitef_use=yes + glibcpp_cv_func__fabsf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_finitef_use=no + glibcpp_cv_func__fabsf_use=no fi rm -f conftest* ac_ext=c @@ -8188,17 +8216,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6 - if test x$glibcpp_cv_func_finitef_use = x"yes"; then - for ac_func in finitef + echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6 + + if test x$glibcpp_cv_func__fabsf_use = x"yes"; then + for ac_func in _fabsf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8197: checking for $ac_func" >&5 +echo "configure:8226: 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 8202 "configure" +#line 8231 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8221,7 +8250,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8254: \"$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 @@ -8245,66 +8274,67 @@ else fi done + fi fi - - - echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6 -echo "configure:8254: checking for long double trig functions" >&5 - if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then + + + echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6 +echo "configure:8284: checking for fmodf declaration" >&5 + if test x${glibcpp_cv_func_fmodf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 8268 "configure" + cat > conftest.$ac_ext <<EOF +#line 8299 "configure" #include "confdefs.h" #include <math.h> int main() { - `for x in acosl asinl atanl \ - cosl sinl tanl \ - coshl sinhl tanhl; do echo "$x (0);"; done` + fmodf(0, 0); ; return 0; } EOF -if { (eval echo configure:8277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_long_double_trig_use=yes + glibcpp_cv_func_fmodf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_long_double_trig_use=no + glibcpp_cv_func_fmodf_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross + fi - echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6 - if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then - for ac_func in acosl asinl atanl \ - cosl sinl tanl \ - coshl sinhl tanhl + fi + echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6 + + if test x$glibcpp_cv_func_fmodf_use = x"yes"; then + for ac_func in fmodf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8303: checking for $ac_func" >&5 +echo "configure:8333: 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 8308 "configure" +#line 8338 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8327,7 +8357,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8361: \"$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 @@ -8350,62 +8380,65 @@ else echo "$ac_t""no" 1>&6 fi done - - fi - - - echo $ac_n "checking for long double round functions""... $ac_c" 1>&6 -echo "configure:8359: checking for long double round functions" >&5 - if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then + + else + + echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6 +echo "configure:8388: checking for _fmodf declaration" >&5 + if test x${glibcpp_cv_func__fmodf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 8373 "configure" + cat > conftest.$ac_ext <<EOF +#line 8403 "configure" #include "confdefs.h" #include <math.h> int main() { - `for x in ceill floorl; do echo "$x (0);"; done` + _fmodf(0, 0); ; return 0; } EOF -if { (eval echo configure:8380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_long_double_round_use=yes + glibcpp_cv_func__fmodf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_long_double_round_use=no + glibcpp_cv_func__fmodf_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross + fi - echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6 - if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then - for ac_func in ceill floorl + fi + echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6 + + if test x$glibcpp_cv_func__fmodf_use = x"yes"; then + for ac_func in _fmodf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8404: checking for $ac_func" >&5 +echo "configure:8437: 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 8409 "configure" +#line 8442 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8428,7 +8461,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8465: \"$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 @@ -8451,14 +8484,16 @@ else echo "$ac_t""no" 1>&6 fi done - + + fi fi - echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6 -echo "configure:8460: checking for isnanl declaration" >&5 - if test x${glibcpp_cv_func_isnanl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then + + echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6 +echo "configure:8495: checking for frexpf declaration" >&5 + if test x${glibcpp_cv_func_frexpf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8471,21 +8506,21 @@ 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 8475 "configure" +#line 8510 "configure" #include "confdefs.h" #include <math.h> int main() { - isnanl(0); + frexpf(0, 0); ; return 0; } EOF -if { (eval echo configure:8482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8517: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_isnanl_use=yes + glibcpp_cv_func_frexpf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_isnanl_use=no + glibcpp_cv_func_frexpf_use=no fi rm -f conftest* ac_ext=c @@ -8499,17 +8534,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6 - if test x$glibcpp_cv_func_isnanl_use = x"yes"; then - for ac_func in isnanl + echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6 + + if test x$glibcpp_cv_func_frexpf_use = x"yes"; then + for ac_func in frexpf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8508: checking for $ac_func" >&5 +echo "configure:8544: 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 8513 "configure" +#line 8549 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8532,7 +8568,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8572: \"$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 @@ -8556,13 +8592,12 @@ else fi done - fi - - - echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6 -echo "configure:8564: checking for isinfl declaration" >&5 - if test x${glibcpp_cv_func_isinfl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6 +echo "configure:8599: checking for _frexpf declaration" >&5 + if test x${glibcpp_cv_func__frexpf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8575,21 +8610,21 @@ 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 8579 "configure" +#line 8614 "configure" #include "confdefs.h" #include <math.h> int main() { - isinfl(0); + _frexpf(0, 0); ; return 0; } EOF -if { (eval echo configure:8586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_isinfl_use=yes + glibcpp_cv_func__frexpf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_isinfl_use=no + glibcpp_cv_func__frexpf_use=no fi rm -f conftest* ac_ext=c @@ -8603,17 +8638,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6 - if test x$glibcpp_cv_func_isinfl_use = x"yes"; then - for ac_func in isinfl + echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6 + + if test x$glibcpp_cv_func__frexpf_use = x"yes"; then + for ac_func in _frexpf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8612: checking for $ac_func" >&5 +echo "configure:8648: 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 8617 "configure" +#line 8653 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8636,7 +8672,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8676: \"$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 @@ -8660,13 +8696,15 @@ else fi done + fi fi - echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6 -echo "configure:8668: checking for copysignl declaration" >&5 - if test x${glibcpp_cv_func_copysignl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then + + echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6 +echo "configure:8706: checking for ldexpf declaration" >&5 + if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8679,21 +8717,21 @@ 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 8683 "configure" +#line 8721 "configure" #include "confdefs.h" #include <math.h> int main() { - copysignl(0, 0); + ldexpf(0, 0); ; return 0; } EOF -if { (eval echo configure:8690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_copysignl_use=yes + glibcpp_cv_func_ldexpf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_copysignl_use=no + glibcpp_cv_func_ldexpf_use=no fi rm -f conftest* ac_ext=c @@ -8707,17 +8745,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6 - if test x$glibcpp_cv_func_copysignl_use = x"yes"; then - for ac_func in copysignl + echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6 + + if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then + for ac_func in ldexpf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8716: checking for $ac_func" >&5 +echo "configure:8755: 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 8721 "configure" +#line 8760 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8740,7 +8779,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8783: \"$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 @@ -8764,13 +8803,12 @@ else fi done - fi - - - echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6 -echo "configure:8772: checking for atan2l declaration" >&5 - if test x${glibcpp_cv_func_atan2l_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6 +echo "configure:8810: checking for _ldexpf declaration" >&5 + if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8783,21 +8821,21 @@ 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 8787 "configure" +#line 8825 "configure" #include "confdefs.h" #include <math.h> int main() { - atan2l(0, 0); + _ldexpf(0, 0); ; return 0; } EOF -if { (eval echo configure:8794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_atan2l_use=yes + glibcpp_cv_func__ldexpf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_atan2l_use=no + glibcpp_cv_func__ldexpf_use=no fi rm -f conftest* ac_ext=c @@ -8811,17 +8849,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6 - if test x$glibcpp_cv_func_atan2l_use = x"yes"; then - for ac_func in atan2l + echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6 + + if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then + for ac_func in _ldexpf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8820: checking for $ac_func" >&5 +echo "configure:8859: 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 8825 "configure" +#line 8864 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8844,7 +8883,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8887: \"$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 @@ -8868,13 +8907,15 @@ else fi done + fi fi - echo $ac_n "checking for expl declaration""... $ac_c" 1>&6 -echo "configure:8876: checking for expl declaration" >&5 - if test x${glibcpp_cv_func_expl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then + + echo $ac_n "checking for logf declaration""... $ac_c" 1>&6 +echo "configure:8917: checking for logf declaration" >&5 + if test x${glibcpp_cv_func_logf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8887,21 +8928,21 @@ 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 8891 "configure" +#line 8932 "configure" #include "confdefs.h" #include <math.h> int main() { - expl(0); + logf(0); ; return 0; } EOF -if { (eval echo configure:8898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:8939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_expl_use=yes + glibcpp_cv_func_logf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_expl_use=no + glibcpp_cv_func_logf_use=no fi rm -f conftest* ac_ext=c @@ -8915,17 +8956,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6 - if test x$glibcpp_cv_func_expl_use = x"yes"; then - for ac_func in expl + echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6 + + if test x$glibcpp_cv_func_logf_use = x"yes"; then + for ac_func in logf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:8924: checking for $ac_func" >&5 +echo "configure:8966: 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 8929 "configure" +#line 8971 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -8948,7 +8990,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:8952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:8994: \"$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 @@ -8972,13 +9014,12 @@ else fi done - fi - - - echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6 -echo "configure:8980: checking for fabsl declaration" >&5 - if test x${glibcpp_cv_func_fabsl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6 +echo "configure:9021: checking for _logf declaration" >&5 + if test x${glibcpp_cv_func__logf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -8991,21 +9032,21 @@ 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 8995 "configure" +#line 9036 "configure" #include "confdefs.h" #include <math.h> int main() { - fabsl(0); + _logf(0); ; return 0; } EOF -if { (eval echo configure:9002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9043: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_fabsl_use=yes + glibcpp_cv_func__logf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_fabsl_use=no + glibcpp_cv_func__logf_use=no fi rm -f conftest* ac_ext=c @@ -9019,17 +9060,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6 - if test x$glibcpp_cv_func_fabsl_use = x"yes"; then - for ac_func in fabsl + echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6 + + if test x$glibcpp_cv_func__logf_use = x"yes"; then + for ac_func in _logf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9028: checking for $ac_func" >&5 +echo "configure:9070: 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 9033 "configure" +#line 9075 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9052,7 +9094,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9098: \"$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 @@ -9076,13 +9118,15 @@ else fi done + fi fi - echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6 -echo "configure:9084: checking for fmodl declaration" >&5 - if test x${glibcpp_cv_func_fmodl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then + + echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6 +echo "configure:9128: checking for log10f declaration" >&5 + if test x${glibcpp_cv_func_log10f_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9095,21 +9139,21 @@ 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 9099 "configure" +#line 9143 "configure" #include "confdefs.h" #include <math.h> int main() { - fmodl(0, 0); + log10f(0); ; return 0; } EOF -if { (eval echo configure:9106: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9150: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_fmodl_use=yes + glibcpp_cv_func_log10f_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_fmodl_use=no + glibcpp_cv_func_log10f_use=no fi rm -f conftest* ac_ext=c @@ -9123,17 +9167,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6 - if test x$glibcpp_cv_func_fmodl_use = x"yes"; then - for ac_func in fmodl + echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6 + + if test x$glibcpp_cv_func_log10f_use = x"yes"; then + for ac_func in log10f do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9132: checking for $ac_func" >&5 +echo "configure:9177: 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 9137 "configure" +#line 9182 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9156,7 +9201,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9205: \"$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 @@ -9180,13 +9225,12 @@ else fi done - fi - - - echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6 -echo "configure:9188: checking for frexpl declaration" >&5 - if test x${glibcpp_cv_func_frexpl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6 +echo "configure:9232: checking for _log10f declaration" >&5 + if test x${glibcpp_cv_func__log10f_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9199,21 +9243,21 @@ 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 9203 "configure" +#line 9247 "configure" #include "confdefs.h" #include <math.h> int main() { - frexpl(0, 0); + _log10f(0); ; return 0; } EOF -if { (eval echo configure:9210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_frexpl_use=yes + glibcpp_cv_func__log10f_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_frexpl_use=no + glibcpp_cv_func__log10f_use=no fi rm -f conftest* ac_ext=c @@ -9227,17 +9271,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6 - if test x$glibcpp_cv_func_frexpl_use = x"yes"; then - for ac_func in frexpl + echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6 + + if test x$glibcpp_cv_func__log10f_use = x"yes"; then + for ac_func in _log10f do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9236: checking for $ac_func" >&5 +echo "configure:9281: 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 9241 "configure" +#line 9286 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9260,7 +9305,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9309: \"$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 @@ -9284,13 +9329,15 @@ else fi done + fi fi - echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6 -echo "configure:9292: checking for ldexpl declaration" >&5 - if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then + + echo $ac_n "checking for modff declaration""... $ac_c" 1>&6 +echo "configure:9339: checking for modff declaration" >&5 + if test x${glibcpp_cv_func_modff_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9303,21 +9350,21 @@ 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 9307 "configure" +#line 9354 "configure" #include "confdefs.h" #include <math.h> int main() { - ldexpl(0, 0); + modff(0, 0); ; return 0; } EOF -if { (eval echo configure:9314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_ldexpl_use=yes + glibcpp_cv_func_modff_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_ldexpl_use=no + glibcpp_cv_func_modff_use=no fi rm -f conftest* ac_ext=c @@ -9331,17 +9378,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6 - if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then - for ac_func in ldexpl + echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6 + + if test x$glibcpp_cv_func_modff_use = x"yes"; then + for ac_func in modff do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9340: checking for $ac_func" >&5 +echo "configure:9388: 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 9345 "configure" +#line 9393 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9364,7 +9412,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9416: \"$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 @@ -9388,13 +9436,12 @@ else fi done - fi - - - echo $ac_n "checking for logl declaration""... $ac_c" 1>&6 -echo "configure:9396: checking for logl declaration" >&5 - if test x${glibcpp_cv_func_logl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6 +echo "configure:9443: checking for _modff declaration" >&5 + if test x${glibcpp_cv_func__modff_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9407,21 +9454,21 @@ 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 9411 "configure" +#line 9458 "configure" #include "confdefs.h" #include <math.h> int main() { - logl(0); + _modff(0, 0); ; return 0; } EOF -if { (eval echo configure:9418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_logl_use=yes + glibcpp_cv_func__modff_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_logl_use=no + glibcpp_cv_func__modff_use=no fi rm -f conftest* ac_ext=c @@ -9435,17 +9482,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6 - if test x$glibcpp_cv_func_logl_use = x"yes"; then - for ac_func in logl + echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6 + + if test x$glibcpp_cv_func__modff_use = x"yes"; then + for ac_func in _modff do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9444: 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 9449 "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. */ @@ -9468,7 +9516,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9472: \"$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 @@ -9492,13 +9540,15 @@ else fi done + fi fi - echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6 -echo "configure:9500: checking for log10l declaration" >&5 - if test x${glibcpp_cv_func_log10l_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then + + echo $ac_n "checking for powf declaration""... $ac_c" 1>&6 +echo "configure:9550: checking for powf declaration" >&5 + if test x${glibcpp_cv_func_powf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9511,21 +9561,21 @@ 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 9515 "configure" +#line 9565 "configure" #include "confdefs.h" #include <math.h> int main() { - log10l(0); + powf(0, 0); ; return 0; } EOF -if { (eval echo configure:9522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_log10l_use=yes + glibcpp_cv_func_powf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_log10l_use=no + glibcpp_cv_func_powf_use=no fi rm -f conftest* ac_ext=c @@ -9539,17 +9589,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6 - if test x$glibcpp_cv_func_log10l_use = x"yes"; then - for ac_func in log10l + echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6 + + if test x$glibcpp_cv_func_powf_use = x"yes"; then + for ac_func in powf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9548: checking for $ac_func" >&5 +echo "configure:9599: 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 9553 "configure" +#line 9604 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9572,7 +9623,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9627: \"$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 @@ -9596,13 +9647,12 @@ else fi done - fi - - - echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6 -echo "configure:9604: checking for modfl declaration" >&5 - if test x${glibcpp_cv_func_modfl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6 +echo "configure:9654: checking for _powf declaration" >&5 + if test x${glibcpp_cv_func__powf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9615,21 +9665,21 @@ 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 9619 "configure" +#line 9669 "configure" #include "confdefs.h" #include <math.h> int main() { - modfl(0, 0); + _powf(0, 0); ; return 0; } EOF -if { (eval echo configure:9626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_modfl_use=yes + glibcpp_cv_func__powf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_modfl_use=no + glibcpp_cv_func__powf_use=no fi rm -f conftest* ac_ext=c @@ -9643,17 +9693,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6 - if test x$glibcpp_cv_func_modfl_use = x"yes"; then - for ac_func in modfl + echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6 + + if test x$glibcpp_cv_func__powf_use = x"yes"; then + for ac_func in _powf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9652: checking for $ac_func" >&5 +echo "configure:9703: 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 9657 "configure" +#line 9708 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9676,7 +9727,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9731: \"$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 @@ -9700,13 +9751,15 @@ else fi done + fi fi - echo $ac_n "checking for powl declaration""... $ac_c" 1>&6 -echo "configure:9708: checking for powl declaration" >&5 - if test x${glibcpp_cv_func_powl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then + + echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6 +echo "configure:9761: checking for sqrtf declaration" >&5 + if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9719,21 +9772,21 @@ 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 9723 "configure" +#line 9776 "configure" #include "confdefs.h" #include <math.h> int main() { - powl(0, 0); + sqrtf(0); ; return 0; } EOF -if { (eval echo configure:9730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_powl_use=yes + glibcpp_cv_func_sqrtf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_powl_use=no + glibcpp_cv_func_sqrtf_use=no fi rm -f conftest* ac_ext=c @@ -9747,17 +9800,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6 - if test x$glibcpp_cv_func_powl_use = x"yes"; then - for ac_func in powl + echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6 + + if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then + for ac_func in sqrtf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9756: checking for $ac_func" >&5 +echo "configure:9810: 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 9761 "configure" +#line 9815 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9780,7 +9834,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9838: \"$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 @@ -9804,13 +9858,12 @@ else fi done - fi - - - echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6 -echo "configure:9812: checking for sqrtl declaration" >&5 - if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6 +echo "configure:9865: checking for _sqrtf declaration" >&5 + if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9823,21 +9876,21 @@ 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 9827 "configure" +#line 9880 "configure" #include "confdefs.h" #include <math.h> int main() { - sqrtl(0); + _sqrtf(0); ; return 0; } EOF -if { (eval echo configure:9834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_sqrtl_use=yes + glibcpp_cv_func__sqrtf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_sqrtl_use=no + glibcpp_cv_func__sqrtf_use=no fi rm -f conftest* ac_ext=c @@ -9851,17 +9904,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6 - if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then - for ac_func in sqrtl + echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6 + + if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then + for ac_func in _sqrtf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9860: checking for $ac_func" >&5 +echo "configure:9914: 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 9865 "configure" +#line 9919 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9884,7 +9938,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:9942: \"$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 @@ -9908,13 +9962,15 @@ else fi done + fi fi - echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6 -echo "configure:9916: checking for sincosl declaration" >&5 - if test x${glibcpp_cv_func_sincosl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then + + echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6 +echo "configure:9972: checking for sincosf declaration" >&5 + if test x${glibcpp_cv_func_sincosf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -9927,21 +9983,21 @@ 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 9931 "configure" +#line 9987 "configure" #include "confdefs.h" #include <math.h> int main() { - sincosl(0, 0, 0); + sincosf(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:9938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:9994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_sincosl_use=yes + glibcpp_cv_func_sincosf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_sincosl_use=no + glibcpp_cv_func_sincosf_use=no fi rm -f conftest* ac_ext=c @@ -9955,17 +10011,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6 - if test x$glibcpp_cv_func_sincosl_use = x"yes"; then - for ac_func in sincosl + echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6 + + if test x$glibcpp_cv_func_sincosf_use = x"yes"; then + for ac_func in sincosf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:9964: checking for $ac_func" >&5 +echo "configure:10021: 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 9969 "configure" +#line 10026 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -9988,7 +10045,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:9992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10049: \"$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 @@ -10012,13 +10069,12 @@ else fi done - fi - - - echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6 -echo "configure:10020: checking for finitel declaration" >&5 - if test x${glibcpp_cv_func_finitel_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6 +echo "configure:10076: checking for _sincosf declaration" >&5 + if test x${glibcpp_cv_func__sincosf_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10031,21 +10087,21 @@ 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 10035 "configure" +#line 10091 "configure" #include "confdefs.h" #include <math.h> int main() { - finitel(0); + _sincosf(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:10042: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func_finitel_use=yes + glibcpp_cv_func__sincosf_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func_finitel_use=no + glibcpp_cv_func__sincosf_use=no fi rm -f conftest* ac_ext=c @@ -10059,17 +10115,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6 - if test x$glibcpp_cv_func_finitel_use = x"yes"; then - for ac_func in finitel + echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6 + + if test x$glibcpp_cv_func__sincosf_use = x"yes"; then + for ac_func in _sincosf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10068: checking for $ac_func" >&5 +echo "configure:10125: 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 10073 "configure" +#line 10130 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10092,7 +10149,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10153: \"$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 @@ -10116,14 +10173,15 @@ else fi done + fi fi - - - echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6 -echo "configure:10125: checking for _isinf declaration" >&5 - if test x${glibcpp_cv_func__isinf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then + + + echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6 +echo "configure:10183: checking for finitef declaration" >&5 + if test x${glibcpp_cv_func_finitef_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10136,21 +10194,21 @@ 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 10140 "configure" +#line 10198 "configure" #include "confdefs.h" #include <math.h> int main() { - _isinf(0); + finitef(0); ; return 0; } EOF -if { (eval echo configure:10147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__isinf_use=yes + glibcpp_cv_func_finitef_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__isinf_use=no + glibcpp_cv_func_finitef_use=no fi rm -f conftest* ac_ext=c @@ -10164,17 +10222,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6 - if test x$glibcpp_cv_func__isinf_use = x"yes"; then - for ac_func in _isinf + echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6 + + if test x$glibcpp_cv_func_finitef_use = x"yes"; then + for ac_func in finitef do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10173: checking for $ac_func" >&5 +echo "configure:10232: 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 10178 "configure" +#line 10237 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10197,7 +10256,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10260: \"$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 @@ -10221,13 +10280,12 @@ else fi done - fi - - - echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6 -echo "configure:10229: checking for _isnan declaration" >&5 - if test x${glibcpp_cv_func__isnan_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6 +echo "configure:10287: checking for _finitef declaration" >&5 + if test x${glibcpp_cv_func__finitef_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10240,21 +10298,21 @@ 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 10244 "configure" +#line 10302 "configure" #include "confdefs.h" #include <math.h> int main() { - _isnan(0); + _finitef(0); ; return 0; } EOF -if { (eval echo configure:10251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__isnan_use=yes + glibcpp_cv_func__finitef_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__isnan_use=no + glibcpp_cv_func__finitef_use=no fi rm -f conftest* ac_ext=c @@ -10268,17 +10326,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6 - if test x$glibcpp_cv_func__isnan_use = x"yes"; then - for ac_func in _isnan + echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6 + + if test x$glibcpp_cv_func__finitef_use = x"yes"; then + for ac_func in _finitef do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10277: checking for $ac_func" >&5 +echo "configure:10336: 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 10282 "configure" +#line 10341 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10301,7 +10360,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10364: \"$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 @@ -10325,64 +10384,67 @@ else fi done + fi fi - - echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6 -echo "configure:10333: checking for _finite declaration" >&5 - if test x${glibcpp_cv_func__finite_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then + + + echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6 +echo "configure:10394: checking for long double trig functions" >&5 + if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 10348 "configure" + cat > conftest.$ac_ext <<EOF +#line 10408 "configure" #include "confdefs.h" #include <math.h> int main() { - _finite(0); + `for x in acosl asinl atanl \ + cosl sinl tanl \ + coshl sinhl tanhl; do echo "$x (0);"; done` ; return 0; } EOF -if { (eval echo configure:10355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__finite_use=yes + glibcpp_cv_func_long_double_trig_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__finite_use=no + glibcpp_cv_func_long_double_trig_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross - fi - fi - echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6 - if test x$glibcpp_cv_func__finite_use = x"yes"; then - for ac_func in _finite + echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6 + if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then + for ac_func in acosl asinl atanl \ + cosl sinl tanl \ + coshl sinhl tanhl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10381: checking for $ac_func" >&5 +echo "configure:10443: 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 10386 "configure" +#line 10448 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10405,7 +10467,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10471: \"$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 @@ -10428,65 +10490,62 @@ else echo "$ac_t""no" 1>&6 fi done - + fi - echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6 -echo "configure:10437: checking for _copysign declaration" >&5 - if test x${glibcpp_cv_func__copysign_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then + echo $ac_n "checking for long double round functions""... $ac_c" 1>&6 +echo "configure:10499: checking for long double round functions" >&5 + if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 10452 "configure" + cat > conftest.$ac_ext <<EOF +#line 10513 "configure" #include "confdefs.h" #include <math.h> int main() { - _copysign(0, 0); + `for x in ceill floorl; do echo "$x (0);"; done` ; return 0; } EOF -if { (eval echo configure:10459: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__copysign_use=yes + glibcpp_cv_func_long_double_round_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__copysign_use=no + glibcpp_cv_func_long_double_round_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross - fi - fi - echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6 - if test x$glibcpp_cv_func__copysign_use = x"yes"; then - for ac_func in _copysign + echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6 + if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then + for ac_func in ceill floorl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10485: checking for $ac_func" >&5 +echo "configure:10544: 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 10490 "configure" +#line 10549 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10509,7 +10568,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10572: \"$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 @@ -10532,14 +10591,15 @@ else echo "$ac_t""no" 1>&6 fi done - + fi - echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6 -echo "configure:10541: checking for _sincos declaration" >&5 - if test x${glibcpp_cv_func__sincos_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then + + echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6 +echo "configure:10601: checking for isnanl declaration" >&5 + if test x${glibcpp_cv_func_isnanl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10552,21 +10612,21 @@ 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 10556 "configure" +#line 10616 "configure" #include "confdefs.h" #include <math.h> int main() { - _sincos(0, 0, 0); + isnanl(0); ; return 0; } EOF -if { (eval echo configure:10563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__sincos_use=yes + glibcpp_cv_func_isnanl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__sincos_use=no + glibcpp_cv_func_isnanl_use=no fi rm -f conftest* ac_ext=c @@ -10580,17 +10640,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6 - if test x$glibcpp_cv_func__sincos_use = x"yes"; then - for ac_func in _sincos + echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6 + + if test x$glibcpp_cv_func_isnanl_use = x"yes"; then + for ac_func in isnanl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10589: checking for $ac_func" >&5 +echo "configure:10650: 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 10594 "configure" +#line 10655 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10613,7 +10674,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10678: \"$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 @@ -10637,13 +10698,12 @@ else fi done - fi - - - echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6 -echo "configure:10645: checking for _fpclass declaration" >&5 - if test x${glibcpp_cv_func__fpclass_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6 +echo "configure:10705: checking for _isnanl declaration" >&5 + if test x${glibcpp_cv_func__isnanl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10656,21 +10716,21 @@ 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 10660 "configure" +#line 10720 "configure" #include "confdefs.h" #include <math.h> int main() { - _fpclass(0); + _isnanl(0); ; return 0; } EOF -if { (eval echo configure:10667: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__fpclass_use=yes + glibcpp_cv_func__isnanl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__fpclass_use=no + glibcpp_cv_func__isnanl_use=no fi rm -f conftest* ac_ext=c @@ -10684,17 +10744,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6 - if test x$glibcpp_cv_func__fpclass_use = x"yes"; then - for ac_func in _fpclass + echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6 + + if test x$glibcpp_cv_func__isnanl_use = x"yes"; then + for ac_func in _isnanl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10693: checking for $ac_func" >&5 +echo "configure:10754: 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 10698 "configure" +#line 10759 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10717,7 +10778,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10782: \"$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 @@ -10741,13 +10802,15 @@ else fi done + fi fi - echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6 -echo "configure:10749: checking for _qfpclass declaration" >&5 - if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then + + echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6 +echo "configure:10812: checking for isinfl declaration" >&5 + if test x${glibcpp_cv_func_isinfl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -10760,21 +10823,21 @@ 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 10764 "configure" +#line 10827 "configure" #include "confdefs.h" #include <math.h> int main() { - _qfpclass(0); + isinfl(0); ; return 0; } EOF -if { (eval echo configure:10771: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__qfpclass_use=yes + glibcpp_cv_func_isinfl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__qfpclass_use=no + glibcpp_cv_func_isinfl_use=no fi rm -f conftest* ac_ext=c @@ -10788,17 +10851,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6 - if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then - for ac_func in _qfpclass + echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6 + + if test x$glibcpp_cv_func_isinfl_use = x"yes"; then + for ac_func in isinfl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10797: checking for $ac_func" >&5 +echo "configure:10861: 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 10802 "configure" +#line 10866 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10821,7 +10885,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10889: \"$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 @@ -10845,66 +10909,64 @@ else fi done - fi - - + else - echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6 -echo "configure:10854: checking for _float trig functions" >&5 - if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then + echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6 +echo "configure:10916: checking for _isinfl declaration" >&5 + if test x${glibcpp_cv_func__isinfl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 10868 "configure" + cat > conftest.$ac_ext <<EOF +#line 10931 "configure" #include "confdefs.h" #include <math.h> int main() { - `for x in _acosf _asinf _atanf \ - _cosf _sinf _tanf \ - _coshf _sinhf _tanhf; do echo "$x (0);"; done` + _isinfl(0); ; return 0; } EOF -if { (eval echo configure:10877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:10938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__float_trig_use=yes + glibcpp_cv_func__isinfl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__float_trig_use=no + glibcpp_cv_func__isinfl_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross + fi - echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6 - if test x$glibcpp_cv_func__float_trig_use = x"yes"; then - for ac_func in _acosf _asinf _atanf \ - _cosf _sinf _tanf \ - _coshf _sinhf _tanhf + fi + echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6 + + if test x$glibcpp_cv_func__isinfl_use = x"yes"; then + for ac_func in _isinfl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:10903: checking for $ac_func" >&5 +echo "configure:10965: 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 10908 "configure" +#line 10970 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -10927,7 +10989,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:10931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:10993: \"$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 @@ -10950,62 +11012,68 @@ else echo "$ac_t""no" 1>&6 fi done - + + fi fi - echo $ac_n "checking for _float round functions""... $ac_c" 1>&6 -echo "configure:10959: checking for _float round functions" >&5 - if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then + + echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6 +echo "configure:11023: checking for copysignl declaration" >&5 + if test x${glibcpp_cv_func_copysignl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 10973 "configure" + cat > conftest.$ac_ext <<EOF +#line 11038 "configure" #include "confdefs.h" #include <math.h> int main() { - `for x in _ceilf _floorf; do echo "$x (0);"; done` + copysignl(0, 0); ; return 0; } EOF -if { (eval echo configure:10980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__float_round_use=yes + glibcpp_cv_func_copysignl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__float_round_use=no + glibcpp_cv_func_copysignl_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross + fi - echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6 - if test x$glibcpp_cv_func__float_round_use = x"yes"; then - for ac_func in _ceilf _floorf + fi + echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6 + + if test x$glibcpp_cv_func_copysignl_use = x"yes"; then + for ac_func in copysignl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11004: checking for $ac_func" >&5 +echo "configure:11072: 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 11009 "configure" +#line 11077 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11028,7 +11096,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11100: \"$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 @@ -11051,14 +11119,13 @@ else echo "$ac_t""no" 1>&6 fi done - - fi - - - echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6 -echo "configure:11060: checking for _isnanf declaration" >&5 - if test x${glibcpp_cv_func__isnanf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then + + else + + echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6 +echo "configure:11127: checking for _copysignl declaration" >&5 + if test x${glibcpp_cv_func__copysignl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11071,21 +11138,21 @@ 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 11075 "configure" +#line 11142 "configure" #include "confdefs.h" #include <math.h> int main() { - _isnanf(0); + _copysignl(0, 0); ; return 0; } EOF -if { (eval echo configure:11082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__isnanf_use=yes + glibcpp_cv_func__copysignl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__isnanf_use=no + glibcpp_cv_func__copysignl_use=no fi rm -f conftest* ac_ext=c @@ -11099,17 +11166,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6 - if test x$glibcpp_cv_func__isnanf_use = x"yes"; then - for ac_func in _isnanf + echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6 + + if test x$glibcpp_cv_func__copysignl_use = x"yes"; then + for ac_func in _copysignl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11108: checking for $ac_func" >&5 +echo "configure:11176: 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 11113 "configure" +#line 11181 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11132,7 +11200,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11204: \"$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 @@ -11156,13 +11224,15 @@ else fi done + fi fi - echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6 -echo "configure:11164: checking for _isinff declaration" >&5 - if test x${glibcpp_cv_func__isinff_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then + + echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6 +echo "configure:11234: checking for atan2l declaration" >&5 + if test x${glibcpp_cv_func_atan2l_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11175,21 +11245,21 @@ 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 11179 "configure" +#line 11249 "configure" #include "confdefs.h" #include <math.h> int main() { - _isinff(0); + atan2l(0, 0); ; return 0; } EOF -if { (eval echo configure:11186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__isinff_use=yes + glibcpp_cv_func_atan2l_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__isinff_use=no + glibcpp_cv_func_atan2l_use=no fi rm -f conftest* ac_ext=c @@ -11203,17 +11273,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6 - if test x$glibcpp_cv_func__isinff_use = x"yes"; then - for ac_func in _isinff + echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6 + + if test x$glibcpp_cv_func_atan2l_use = x"yes"; then + for ac_func in atan2l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11212: checking for $ac_func" >&5 +echo "configure:11283: 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 11217 "configure" +#line 11288 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11236,7 +11307,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11311: \"$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 @@ -11260,13 +11331,12 @@ else fi done - fi - - - echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6 -echo "configure:11268: checking for _fabsf declaration" >&5 - if test x${glibcpp_cv_func__fabsf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6 +echo "configure:11338: checking for _atan2l declaration" >&5 + if test x${glibcpp_cv_func__atan2l_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11279,21 +11349,21 @@ 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 11283 "configure" +#line 11353 "configure" #include "confdefs.h" #include <math.h> int main() { - _fabsf(0); + _atan2l(0, 0); ; return 0; } EOF -if { (eval echo configure:11290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__fabsf_use=yes + glibcpp_cv_func__atan2l_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__fabsf_use=no + glibcpp_cv_func__atan2l_use=no fi rm -f conftest* ac_ext=c @@ -11307,17 +11377,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6 - if test x$glibcpp_cv_func__fabsf_use = x"yes"; then - for ac_func in _fabsf + echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6 + + if test x$glibcpp_cv_func__atan2l_use = x"yes"; then + for ac_func in _atan2l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11316: checking for $ac_func" >&5 +echo "configure:11387: 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 11321 "configure" +#line 11392 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11340,7 +11411,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11415: \"$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 @@ -11364,13 +11435,15 @@ else fi done + fi fi - echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6 -echo "configure:11372: checking for _fmodf declaration" >&5 - if test x${glibcpp_cv_func__fmodf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then + + echo $ac_n "checking for expl declaration""... $ac_c" 1>&6 +echo "configure:11445: checking for expl declaration" >&5 + if test x${glibcpp_cv_func_expl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11383,21 +11456,21 @@ 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 11387 "configure" +#line 11460 "configure" #include "confdefs.h" #include <math.h> int main() { - _fmodf(0, 0); + expl(0); ; return 0; } EOF -if { (eval echo configure:11394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__fmodf_use=yes + glibcpp_cv_func_expl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__fmodf_use=no + glibcpp_cv_func_expl_use=no fi rm -f conftest* ac_ext=c @@ -11411,17 +11484,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6 - if test x$glibcpp_cv_func__fmodf_use = x"yes"; then - for ac_func in _fmodf + echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6 + + if test x$glibcpp_cv_func_expl_use = x"yes"; then + for ac_func in expl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11420: checking for $ac_func" >&5 +echo "configure:11494: 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 11425 "configure" +#line 11499 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11444,7 +11518,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11522: \"$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 @@ -11468,13 +11542,12 @@ else fi done - fi - - - echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6 -echo "configure:11476: checking for _frexpf declaration" >&5 - if test x${glibcpp_cv_func__frexpf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6 +echo "configure:11549: checking for _expl declaration" >&5 + if test x${glibcpp_cv_func__expl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11487,21 +11560,21 @@ 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 11491 "configure" +#line 11564 "configure" #include "confdefs.h" #include <math.h> int main() { - _frexpf(0, 0); + _expl(0); ; return 0; } EOF -if { (eval echo configure:11498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__frexpf_use=yes + glibcpp_cv_func__expl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__frexpf_use=no + glibcpp_cv_func__expl_use=no fi rm -f conftest* ac_ext=c @@ -11515,17 +11588,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6 - if test x$glibcpp_cv_func__frexpf_use = x"yes"; then - for ac_func in _frexpf + echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6 + + if test x$glibcpp_cv_func__expl_use = x"yes"; then + for ac_func in _expl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11524: checking for $ac_func" >&5 +echo "configure:11598: 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 11529 "configure" +#line 11603 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11548,7 +11622,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11626: \"$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 @@ -11572,13 +11646,15 @@ else fi done + fi fi - echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6 -echo "configure:11580: checking for _ldexpf declaration" >&5 - if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then + + echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6 +echo "configure:11656: checking for fabsl declaration" >&5 + if test x${glibcpp_cv_func_fabsl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11591,21 +11667,21 @@ 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 11595 "configure" +#line 11671 "configure" #include "confdefs.h" #include <math.h> int main() { - _ldexpf(0, 0); + fabsl(0); ; return 0; } EOF -if { (eval echo configure:11602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__ldexpf_use=yes + glibcpp_cv_func_fabsl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__ldexpf_use=no + glibcpp_cv_func_fabsl_use=no fi rm -f conftest* ac_ext=c @@ -11619,17 +11695,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6 - if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then - for ac_func in _ldexpf + echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6 + + if test x$glibcpp_cv_func_fabsl_use = x"yes"; then + for ac_func in fabsl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11628: checking for $ac_func" >&5 +echo "configure:11705: 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 11633 "configure" +#line 11710 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11652,7 +11729,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11733: \"$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 @@ -11676,13 +11753,12 @@ else fi done - fi - - - echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6 -echo "configure:11684: checking for _logf declaration" >&5 - if test x${glibcpp_cv_func__logf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6 +echo "configure:11760: checking for _fabsl declaration" >&5 + if test x${glibcpp_cv_func__fabsl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11695,21 +11771,21 @@ 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 11699 "configure" +#line 11775 "configure" #include "confdefs.h" #include <math.h> int main() { - _logf(0); + _fabsl(0); ; return 0; } EOF -if { (eval echo configure:11706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__logf_use=yes + glibcpp_cv_func__fabsl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__logf_use=no + glibcpp_cv_func__fabsl_use=no fi rm -f conftest* ac_ext=c @@ -11723,17 +11799,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6 - if test x$glibcpp_cv_func__logf_use = x"yes"; then - for ac_func in _logf + echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6 + + if test x$glibcpp_cv_func__fabsl_use = x"yes"; then + for ac_func in _fabsl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11732: checking for $ac_func" >&5 +echo "configure:11809: 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 11737 "configure" +#line 11814 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11756,7 +11833,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:11837: \"$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 @@ -11780,13 +11857,15 @@ else fi done + fi fi - echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6 -echo "configure:11788: checking for _log10f declaration" >&5 - if test x${glibcpp_cv_func__log10f_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then + + echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6 +echo "configure:11867: checking for fmodl declaration" >&5 + if test x${glibcpp_cv_func_fmodl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11799,21 +11878,21 @@ 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 11803 "configure" +#line 11882 "configure" #include "confdefs.h" #include <math.h> int main() { - _log10f(0); + fmodl(0, 0); ; return 0; } EOF -if { (eval echo configure:11810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__log10f_use=yes + glibcpp_cv_func_fmodl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__log10f_use=no + glibcpp_cv_func_fmodl_use=no fi rm -f conftest* ac_ext=c @@ -11827,17 +11906,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6 - if test x$glibcpp_cv_func__log10f_use = x"yes"; then - for ac_func in _log10f + echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6 + + if test x$glibcpp_cv_func_fmodl_use = x"yes"; then + for ac_func in fmodl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11836: checking for $ac_func" >&5 +echo "configure:11916: 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 11921 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11860,7 +11940,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:11944: \"$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 @@ -11884,13 +11964,12 @@ else fi done - fi - - - echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6 -echo "configure:11892: checking for _modff declaration" >&5 - if test x${glibcpp_cv_func__modff_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6 +echo "configure:11971: checking for _fmodl declaration" >&5 + if test x${glibcpp_cv_func__fmodl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -11903,21 +11982,21 @@ 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 11907 "configure" +#line 11986 "configure" #include "confdefs.h" #include <math.h> int main() { - _modff(0, 0); + _fmodl(0, 0); ; return 0; } EOF -if { (eval echo configure:11914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:11993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__modff_use=yes + glibcpp_cv_func__fmodl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__modff_use=no + glibcpp_cv_func__fmodl_use=no fi rm -f conftest* ac_ext=c @@ -11931,17 +12010,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6 - if test x$glibcpp_cv_func__modff_use = x"yes"; then - for ac_func in _modff + echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6 + + if test x$glibcpp_cv_func__fmodl_use = x"yes"; then + for ac_func in _fmodl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:11940: checking for $ac_func" >&5 +echo "configure:12020: 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 11945 "configure" +#line 12025 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -11964,7 +12044,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:11968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12048: \"$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 @@ -11988,13 +12068,15 @@ else fi done + fi fi - echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6 -echo "configure:11996: checking for _powf declaration" >&5 - if test x${glibcpp_cv_func__powf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then + + echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6 +echo "configure:12078: checking for frexpl declaration" >&5 + if test x${glibcpp_cv_func_frexpl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12007,21 +12089,21 @@ 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 12011 "configure" +#line 12093 "configure" #include "confdefs.h" #include <math.h> int main() { - _powf(0, 0); + frexpl(0, 0); ; return 0; } EOF -if { (eval echo configure:12018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__powf_use=yes + glibcpp_cv_func_frexpl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__powf_use=no + glibcpp_cv_func_frexpl_use=no fi rm -f conftest* ac_ext=c @@ -12035,17 +12117,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6 - if test x$glibcpp_cv_func__powf_use = x"yes"; then - for ac_func in _powf + echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6 + + if test x$glibcpp_cv_func_frexpl_use = x"yes"; then + for ac_func in frexpl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12044: checking for $ac_func" >&5 +echo "configure:12127: 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 12049 "configure" +#line 12132 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12068,7 +12151,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12155: \"$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,13 +12175,12 @@ else fi done - fi - - - echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6 -echo "configure:12100: checking for _sqrtf declaration" >&5 - if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6 +echo "configure:12182: checking for _frexpl declaration" >&5 + if test x${glibcpp_cv_func__frexpl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12111,21 +12193,21 @@ 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 12115 "configure" +#line 12197 "configure" #include "confdefs.h" #include <math.h> int main() { - _sqrtf(0); + _frexpl(0, 0); ; return 0; } EOF -if { (eval echo configure:12122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__sqrtf_use=yes + glibcpp_cv_func__frexpl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__sqrtf_use=no + glibcpp_cv_func__frexpl_use=no fi rm -f conftest* ac_ext=c @@ -12139,17 +12221,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6 - if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then - for ac_func in _sqrtf + echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6 + + if test x$glibcpp_cv_func__frexpl_use = x"yes"; then + for ac_func in _frexpl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12148: checking for $ac_func" >&5 +echo "configure:12231: 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 12153 "configure" +#line 12236 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12172,7 +12255,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12259: \"$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 @@ -12196,13 +12279,15 @@ else fi done + fi fi - echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6 -echo "configure:12204: checking for _sincosf declaration" >&5 - if test x${glibcpp_cv_func__sincosf_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then + + echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6 +echo "configure:12289: checking for ldexpl declaration" >&5 + if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12215,21 +12300,21 @@ 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 12219 "configure" +#line 12304 "configure" #include "confdefs.h" #include <math.h> int main() { - _sincosf(0, 0, 0); + ldexpl(0, 0); ; return 0; } EOF -if { (eval echo configure:12226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__sincosf_use=yes + glibcpp_cv_func_ldexpl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__sincosf_use=no + glibcpp_cv_func_ldexpl_use=no fi rm -f conftest* ac_ext=c @@ -12243,17 +12328,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6 - if test x$glibcpp_cv_func__sincosf_use = x"yes"; then - for ac_func in _sincosf + echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6 + + if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then + for ac_func in ldexpl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12252: checking for $ac_func" >&5 +echo "configure:12338: 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 12257 "configure" +#line 12343 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12276,7 +12362,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12366: \"$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 @@ -12300,13 +12386,12 @@ else fi done - fi - - - echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6 -echo "configure:12308: checking for _finitef declaration" >&5 - if test x${glibcpp_cv_func__finitef_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6 +echo "configure:12393: checking for _ldexpl declaration" >&5 + if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12319,21 +12404,21 @@ 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 12323 "configure" +#line 12408 "configure" #include "confdefs.h" #include <math.h> int main() { - _finitef(0); + _ldexpl(0, 0); ; return 0; } EOF -if { (eval echo configure:12330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__finitef_use=yes + glibcpp_cv_func__ldexpl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__finitef_use=no + glibcpp_cv_func__ldexpl_use=no fi rm -f conftest* ac_ext=c @@ -12347,17 +12432,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6 - if test x$glibcpp_cv_func__finitef_use = x"yes"; then - for ac_func in _finitef + echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6 + + if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then + for ac_func in _ldexpl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12356: checking for $ac_func" >&5 +echo "configure:12442: 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 12361 "configure" +#line 12447 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12380,7 +12466,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12470: \"$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 @@ -12404,66 +12490,67 @@ else fi done + fi fi - - - echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6 -echo "configure:12413: checking for _long double trig functions" >&5 - if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then + + + echo $ac_n "checking for logl declaration""... $ac_c" 1>&6 +echo "configure:12500: checking for logl declaration" >&5 + if test x${glibcpp_cv_func_logl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 12427 "configure" + cat > conftest.$ac_ext <<EOF +#line 12515 "configure" #include "confdefs.h" #include <math.h> int main() { - `for x in _acosl _asinl _atanl \ - _cosl _sinl _tanl \ - _coshl _sinhl _tanhl; do echo "$x (0);"; done` + logl(0); ; return 0; } EOF -if { (eval echo configure:12436: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__long_double_trig_use=yes + glibcpp_cv_func_logl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__long_double_trig_use=no + glibcpp_cv_func_logl_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross + fi - echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6 - if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then - for ac_func in _acosl _asinl _atanl \ - _cosl _sinl _tanl \ - _coshl _sinhl _tanhl + fi + echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6 + + if test x$glibcpp_cv_func_logl_use = x"yes"; then + for ac_func in logl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12462: checking for $ac_func" >&5 +echo "configure:12549: 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 12467 "configure" +#line 12554 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12486,7 +12573,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12577: \"$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 @@ -12509,62 +12596,65 @@ else echo "$ac_t""no" 1>&6 fi done - - fi - - - echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6 -echo "configure:12518: checking for _long double round functions" >&5 - if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then + + else + + echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6 +echo "configure:12604: checking for _logl declaration" >&5 + if test x${glibcpp_cv_func__logl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 12532 "configure" + cat > conftest.$ac_ext <<EOF +#line 12619 "configure" #include "confdefs.h" #include <math.h> int main() { - `for x in _ceill _floorl; do echo "$x (0);"; done` + _logl(0); ; return 0; } EOF -if { (eval echo configure:12539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__long_double_round_use=yes + glibcpp_cv_func__logl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__long_double_round_use=no + glibcpp_cv_func__logl_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross + fi - echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6 - if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then - for ac_func in _ceill _floorl + fi + echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6 + + if test x$glibcpp_cv_func__logl_use = x"yes"; then + for ac_func in _logl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12563: checking for $ac_func" >&5 +echo "configure:12653: 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 12568 "configure" +#line 12658 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12587,7 +12677,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12681: \"$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 @@ -12610,14 +12700,16 @@ else echo "$ac_t""no" 1>&6 fi done - + + fi fi - echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6 -echo "configure:12619: checking for _isnanl declaration" >&5 - if test x${glibcpp_cv_func__isnanl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then + + echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6 +echo "configure:12711: checking for log10l declaration" >&5 + if test x${glibcpp_cv_func_log10l_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12630,21 +12722,21 @@ 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 12634 "configure" +#line 12726 "configure" #include "confdefs.h" #include <math.h> int main() { - _isnanl(0); + log10l(0); ; return 0; } EOF -if { (eval echo configure:12641: \"$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__isnanl_use=yes + glibcpp_cv_func_log10l_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__isnanl_use=no + glibcpp_cv_func_log10l_use=no fi rm -f conftest* ac_ext=c @@ -12658,17 +12750,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6 - if test x$glibcpp_cv_func__isnanl_use = x"yes"; then - for ac_func in _isnanl + echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6 + + if test x$glibcpp_cv_func_log10l_use = x"yes"; then + for ac_func in log10l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12667: checking for $ac_func" >&5 +echo "configure:12760: 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 12672 "configure" +#line 12765 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12691,7 +12784,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12788: \"$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 @@ -12715,13 +12808,12 @@ else fi done - fi - - - echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6 -echo "configure:12723: checking for _isinfl declaration" >&5 - if test x${glibcpp_cv_func__isinfl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6 +echo "configure:12815: checking for _log10l declaration" >&5 + if test x${glibcpp_cv_func__log10l_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12734,21 +12826,21 @@ 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 12738 "configure" +#line 12830 "configure" #include "confdefs.h" #include <math.h> int main() { - _isinfl(0); + _log10l(0); ; return 0; } EOF -if { (eval echo configure:12745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__isinfl_use=yes + glibcpp_cv_func__log10l_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__isinfl_use=no + glibcpp_cv_func__log10l_use=no fi rm -f conftest* ac_ext=c @@ -12762,17 +12854,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6 - if test x$glibcpp_cv_func__isinfl_use = x"yes"; then - for ac_func in _isinfl + echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6 + + if test x$glibcpp_cv_func__log10l_use = x"yes"; then + for ac_func in _log10l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12771: checking for $ac_func" >&5 +echo "configure:12864: 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 12776 "configure" +#line 12869 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12795,7 +12888,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12892: \"$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 @@ -12819,13 +12912,15 @@ else fi done + fi fi - echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6 -echo "configure:12827: checking for _copysignl declaration" >&5 - if test x${glibcpp_cv_func__copysignl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then + + echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6 +echo "configure:12922: checking for modfl declaration" >&5 + if test x${glibcpp_cv_func_modfl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12838,21 +12933,21 @@ 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 12842 "configure" +#line 12937 "configure" #include "confdefs.h" #include <math.h> int main() { - _copysignl(0, 0); + modfl(0, 0); ; return 0; } EOF -if { (eval echo configure:12849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:12944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__copysignl_use=yes + glibcpp_cv_func_modfl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__copysignl_use=no + glibcpp_cv_func_modfl_use=no fi rm -f conftest* ac_ext=c @@ -12866,17 +12961,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6 - if test x$glibcpp_cv_func__copysignl_use = x"yes"; then - for ac_func in _copysignl + echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6 + + if test x$glibcpp_cv_func_modfl_use = x"yes"; then + for ac_func in modfl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12875: checking for $ac_func" >&5 +echo "configure:12971: 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 12880 "configure" +#line 12976 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -12899,7 +12995,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:12903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:12999: \"$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 @@ -12923,13 +13019,12 @@ else fi done - fi - - - echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6 -echo "configure:12931: checking for _atan2l declaration" >&5 - if test x${glibcpp_cv_func__atan2l_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6 +echo "configure:13026: checking for _modfl declaration" >&5 + if test x${glibcpp_cv_func__modfl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -12942,21 +13037,21 @@ 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 12946 "configure" +#line 13041 "configure" #include "confdefs.h" #include <math.h> int main() { - _atan2l(0, 0); + _modfl(0, 0); ; return 0; } EOF -if { (eval echo configure:12953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__atan2l_use=yes + glibcpp_cv_func__modfl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__atan2l_use=no + glibcpp_cv_func__modfl_use=no fi rm -f conftest* ac_ext=c @@ -12970,17 +13065,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6 - if test x$glibcpp_cv_func__atan2l_use = x"yes"; then - for ac_func in _atan2l + echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6 + + if test x$glibcpp_cv_func__modfl_use = x"yes"; then + for ac_func in _modfl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:12979: checking for $ac_func" >&5 +echo "configure:13075: 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 12984 "configure" +#line 13080 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13003,7 +13099,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13103: \"$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 @@ -13027,13 +13123,15 @@ else fi done + fi fi - echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6 -echo "configure:13035: checking for _expl declaration" >&5 - if test x${glibcpp_cv_func__expl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then + + echo $ac_n "checking for powl declaration""... $ac_c" 1>&6 +echo "configure:13133: checking for powl declaration" >&5 + if test x${glibcpp_cv_func_powl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13046,21 +13144,21 @@ 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 13050 "configure" +#line 13148 "configure" #include "confdefs.h" #include <math.h> int main() { - _expl(0); + powl(0, 0); ; return 0; } EOF -if { (eval echo configure:13057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__expl_use=yes + glibcpp_cv_func_powl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__expl_use=no + glibcpp_cv_func_powl_use=no fi rm -f conftest* ac_ext=c @@ -13074,17 +13172,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6 - if test x$glibcpp_cv_func__expl_use = x"yes"; then - for ac_func in _expl + echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6 + + if test x$glibcpp_cv_func_powl_use = x"yes"; then + for ac_func in powl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13083: checking for $ac_func" >&5 +echo "configure:13182: 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 13088 "configure" +#line 13187 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13107,7 +13206,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13210: \"$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 @@ -13131,13 +13230,12 @@ else fi done - fi - - - echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6 -echo "configure:13139: checking for _fabsl declaration" >&5 - if test x${glibcpp_cv_func__fabsl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6 +echo "configure:13237: checking for _powl declaration" >&5 + if test x${glibcpp_cv_func__powl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13150,21 +13248,21 @@ 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 13154 "configure" +#line 13252 "configure" #include "confdefs.h" #include <math.h> int main() { - _fabsl(0); + _powl(0, 0); ; return 0; } EOF -if { (eval echo configure:13161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__fabsl_use=yes + glibcpp_cv_func__powl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__fabsl_use=no + glibcpp_cv_func__powl_use=no fi rm -f conftest* ac_ext=c @@ -13178,17 +13276,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6 - if test x$glibcpp_cv_func__fabsl_use = x"yes"; then - for ac_func in _fabsl + echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6 + + if test x$glibcpp_cv_func__powl_use = x"yes"; then + for ac_func in _powl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13187: checking for $ac_func" >&5 +echo "configure:13286: 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 13192 "configure" +#line 13291 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13211,7 +13310,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13314: \"$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 @@ -13235,13 +13334,15 @@ else fi done + fi fi - echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6 -echo "configure:13243: checking for _fmodl declaration" >&5 - if test x${glibcpp_cv_func__fmodl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then + + echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6 +echo "configure:13344: checking for sqrtl declaration" >&5 + if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13254,21 +13355,21 @@ 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 13258 "configure" +#line 13359 "configure" #include "confdefs.h" #include <math.h> int main() { - _fmodl(0, 0); + sqrtl(0); ; return 0; } EOF -if { (eval echo configure:13265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13366: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__fmodl_use=yes + glibcpp_cv_func_sqrtl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__fmodl_use=no + glibcpp_cv_func_sqrtl_use=no fi rm -f conftest* ac_ext=c @@ -13282,17 +13383,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6 - if test x$glibcpp_cv_func__fmodl_use = x"yes"; then - for ac_func in _fmodl + echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6 + + if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then + for ac_func in sqrtl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13291: checking for $ac_func" >&5 +echo "configure:13393: 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 13296 "configure" +#line 13398 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13315,7 +13417,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13421: \"$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 @@ -13339,13 +13441,12 @@ else fi done - fi - - - echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6 -echo "configure:13347: checking for _frexpl declaration" >&5 - if test x${glibcpp_cv_func__frexpl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6 +echo "configure:13448: checking for _sqrtl declaration" >&5 + if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13358,21 +13459,21 @@ 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 13362 "configure" +#line 13463 "configure" #include "confdefs.h" #include <math.h> int main() { - _frexpl(0, 0); + _sqrtl(0); ; return 0; } EOF -if { (eval echo configure:13369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__frexpl_use=yes + glibcpp_cv_func__sqrtl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__frexpl_use=no + glibcpp_cv_func__sqrtl_use=no fi rm -f conftest* ac_ext=c @@ -13386,17 +13487,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6 - if test x$glibcpp_cv_func__frexpl_use = x"yes"; then - for ac_func in _frexpl + echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6 + + if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then + for ac_func in _sqrtl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13395: checking for $ac_func" >&5 +echo "configure:13497: 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 13400 "configure" +#line 13502 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13419,7 +13521,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13525: \"$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 @@ -13443,13 +13545,15 @@ else fi done + fi fi - echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6 -echo "configure:13451: checking for _ldexpl declaration" >&5 - if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then + + echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6 +echo "configure:13555: checking for sincosl declaration" >&5 + if test x${glibcpp_cv_func_sincosl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13462,21 +13566,21 @@ 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 13466 "configure" +#line 13570 "configure" #include "confdefs.h" #include <math.h> int main() { - _ldexpl(0, 0); + sincosl(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:13473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__ldexpl_use=yes + glibcpp_cv_func_sincosl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__ldexpl_use=no + glibcpp_cv_func_sincosl_use=no fi rm -f conftest* ac_ext=c @@ -13490,17 +13594,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6 - if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then - for ac_func in _ldexpl + echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6 + + if test x$glibcpp_cv_func_sincosl_use = x"yes"; then + for ac_func in sincosl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13499: checking for $ac_func" >&5 +echo "configure:13604: 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 13504 "configure" +#line 13609 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13523,7 +13628,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13632: \"$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 @@ -13547,13 +13652,12 @@ else fi done - fi - - - echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6 -echo "configure:13555: checking for _logl declaration" >&5 - if test x${glibcpp_cv_func__logl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6 +echo "configure:13659: checking for _sincosl declaration" >&5 + if test x${glibcpp_cv_func__sincosl_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13566,21 +13670,21 @@ 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 13570 "configure" +#line 13674 "configure" #include "confdefs.h" #include <math.h> int main() { - _logl(0); + _sincosl(0, 0, 0); ; return 0; } EOF -if { (eval echo configure:13577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__logl_use=yes + glibcpp_cv_func__sincosl_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__logl_use=no + glibcpp_cv_func__sincosl_use=no fi rm -f conftest* ac_ext=c @@ -13594,17 +13698,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6 - if test x$glibcpp_cv_func__logl_use = x"yes"; then - for ac_func in _logl + echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6 + + if test x$glibcpp_cv_func__sincosl_use = x"yes"; then + for ac_func in _sincosl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13603: checking for $ac_func" >&5 +echo "configure:13708: 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 13608 "configure" +#line 13713 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13627,7 +13732,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13736: \"$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 @@ -13651,13 +13756,15 @@ else fi done + fi fi - echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6 -echo "configure:13659: checking for _log10l declaration" >&5 - if test x${glibcpp_cv_func__log10l_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then + + echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6 +echo "configure:13766: checking for finitel declaration" >&5 + if test x${glibcpp_cv_func_finitel_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13670,21 +13777,21 @@ 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 13674 "configure" +#line 13781 "configure" #include "confdefs.h" #include <math.h> int main() { - _log10l(0); + finitel(0); ; return 0; } EOF -if { (eval echo configure:13681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__log10l_use=yes + glibcpp_cv_func_finitel_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__log10l_use=no + glibcpp_cv_func_finitel_use=no fi rm -f conftest* ac_ext=c @@ -13698,17 +13805,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6 - if test x$glibcpp_cv_func__log10l_use = x"yes"; then - for ac_func in _log10l + echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6 + + if test x$glibcpp_cv_func_finitel_use = x"yes"; then + for ac_func in finitel do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13707: checking for $ac_func" >&5 +echo "configure:13815: 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 13712 "configure" +#line 13820 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13731,7 +13839,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13843: \"$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 @@ -13755,13 +13863,12 @@ else fi done - fi - - - echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6 -echo "configure:13763: checking for _modfl declaration" >&5 - if test x${glibcpp_cv_func__modfl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then + else + + echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6 +echo "configure:13870: checking for _finitel declaration" >&5 + if test x${glibcpp_cv_func__finitel_use+set} != xset; then + if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -13774,21 +13881,21 @@ 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 13778 "configure" +#line 13885 "configure" #include "confdefs.h" #include <math.h> int main() { - _modfl(0, 0); + _finitel(0); ; return 0; } EOF -if { (eval echo configure:13785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:13892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__modfl_use=yes + glibcpp_cv_func__finitel_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__modfl_use=no + glibcpp_cv_func__finitel_use=no fi rm -f conftest* ac_ext=c @@ -13802,17 +13909,18 @@ cross_compiling=$ac_cv_prog_cc_cross fi fi - echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6 - if test x$glibcpp_cv_func__modfl_use = x"yes"; then - for ac_func in _modfl + echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6 + + if test x$glibcpp_cv_func__finitel_use = x"yes"; then + for ac_func in _finitel do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13811: checking for $ac_func" >&5 +echo "configure:13919: 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 13816 "configure" +#line 13924 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13835,7 +13943,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:13947: \"$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 @@ -13859,64 +13967,68 @@ else fi done + fi fi - - echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6 -echo "configure:13867: checking for _powl declaration" >&5 - if test x${glibcpp_cv_func__powl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then + + + + echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6 +echo "configure:13978: checking for _float trig functions" >&5 + if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 13882 "configure" + cat > conftest.$ac_ext <<EOF +#line 13992 "configure" #include "confdefs.h" #include <math.h> int main() { - _powl(0, 0); + `for x in _acosf _asinf _atanf \ + _cosf _sinf _tanf \ + _coshf _sinhf _tanhf; do echo "$x (0);"; done` ; return 0; } EOF -if { (eval echo configure:13889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__powl_use=yes + glibcpp_cv_func__float_trig_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__powl_use=no + glibcpp_cv_func__float_trig_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross - fi - fi - echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6 - if test x$glibcpp_cv_func__powl_use = x"yes"; then - for ac_func in _powl + echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6 + if test x$glibcpp_cv_func__float_trig_use = x"yes"; then + for ac_func in _acosf _asinf _atanf \ + _cosf _sinf _tanf \ + _coshf _sinhf _tanhf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:13915: checking for $ac_func" >&5 +echo "configure:14027: 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 13920 "configure" +#line 14032 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -13939,7 +14051,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:13943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14055: \"$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 @@ -13962,65 +14074,62 @@ else echo "$ac_t""no" 1>&6 fi done - + fi - echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6 -echo "configure:13971: checking for _sqrtl declaration" >&5 - if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then + echo $ac_n "checking for _float round functions""... $ac_c" 1>&6 +echo "configure:14083: checking for _float round functions" >&5 + if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 13986 "configure" + cat > conftest.$ac_ext <<EOF +#line 14097 "configure" #include "confdefs.h" #include <math.h> int main() { - _sqrtl(0); + `for x in _ceilf _floorf; do echo "$x (0);"; done` ; return 0; } EOF -if { (eval echo configure:13993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__sqrtl_use=yes + glibcpp_cv_func__float_round_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__sqrtl_use=no + glibcpp_cv_func__float_round_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross - fi - fi - echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6 - if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then - for ac_func in _sqrtl + echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6 + if test x$glibcpp_cv_func__float_round_use = x"yes"; then + for ac_func in _ceilf _floorf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14019: checking for $ac_func" >&5 +echo "configure:14128: 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 14024 "configure" +#line 14133 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14043,7 +14152,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14156: \"$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 @@ -14066,65 +14175,67 @@ else echo "$ac_t""no" 1>&6 fi done - + fi - - echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6 -echo "configure:14075: checking for _sincosl declaration" >&5 - if test x${glibcpp_cv_func__sincosl_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then + + + echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6 +echo "configure:14185: checking for _long double trig functions" >&5 + if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 14090 "configure" + cat > conftest.$ac_ext <<EOF +#line 14199 "configure" #include "confdefs.h" #include <math.h> int main() { - _sincosl(0, 0, 0); + `for x in _acosl _asinl _atanl \ + _cosl _sinl _tanl \ + _coshl _sinhl _tanhl; do echo "$x (0);"; done` ; return 0; } EOF -if { (eval echo configure:14097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__sincosl_use=yes + glibcpp_cv_func__long_double_trig_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__sincosl_use=no + glibcpp_cv_func__long_double_trig_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross - fi - fi - echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6 - if test x$glibcpp_cv_func__sincosl_use = x"yes"; then - for ac_func in _sincosl + echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6 + if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then + for ac_func in _acosl _asinl _atanl \ + _cosl _sinl _tanl \ + _coshl _sinhl _tanhl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14123: checking for $ac_func" >&5 +echo "configure:14234: 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 14128 "configure" +#line 14239 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14147,7 +14258,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14262: \"$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 @@ -14170,65 +14281,62 @@ else echo "$ac_t""no" 1>&6 fi done - + fi - echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6 -echo "configure:14179: checking for _finitel declaration" >&5 - if test x${glibcpp_cv_func__finitel_use+set} != xset; then - if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then + echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6 +echo "configure:14290: checking for _long double round functions" >&5 + if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else - - ac_ext=C + + ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cxx_cross - cat > conftest.$ac_ext <<EOF -#line 14194 "configure" + cat > conftest.$ac_ext <<EOF +#line 14304 "configure" #include "confdefs.h" #include <math.h> int main() { - _finitel(0); + `for x in _ceill _floorl; do echo "$x (0);"; done` ; return 0; } EOF -if { (eval echo configure:14201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* - glibcpp_cv_func__finitel_use=yes + glibcpp_cv_func__long_double_round_use=yes else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 rm -rf conftest* - glibcpp_cv_func__finitel_use=no + glibcpp_cv_func__long_double_round_use=no fi rm -f conftest* - ac_ext=c + ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' cross_compiling=$ac_cv_prog_cc_cross - fi - fi - echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6 - if test x$glibcpp_cv_func__finitel_use = x"yes"; then - for ac_func in _finitel + echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6 + if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then + for ac_func in _ceill _floorl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14227: checking for $ac_func" >&5 +echo "configure:14335: 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 14232 "configure" +#line 14340 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14251,7 +14359,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14363: \"$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 @@ -14274,7 +14382,7 @@ else echo "$ac_t""no" 1>&6 fi done - + fi @@ -14283,7 +14391,7 @@ done echo $ac_n "checking for main in -lm""... $ac_c" 1>&6 -echo "configure:14287: checking for main in -lm" >&5 +echo "configure:14395: checking for main in -lm" >&5 ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14291,14 +14399,14 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <<EOF -#line 14295 "configure" +#line 14403 "configure" #include "confdefs.h" int main() { main() ; return 0; } EOF -if { (eval echo configure:14302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14410: \"$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 @@ -14328,12 +14436,12 @@ fi for ac_func in nan hypot hypotf atan2f expf copysignf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14332: checking for $ac_func" >&5 +echo "configure:14440: 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 14337 "configure" +#line 14445 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14356,7 +14464,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14468: \"$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 @@ -14390,12 +14498,12 @@ done for ac_func in hypotl signbitl do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14394: checking for $ac_func" >&5 +echo "configure:14502: 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 14399 "configure" +#line 14507 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14418,7 +14526,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14530: \"$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 @@ -14452,7 +14560,7 @@ done echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6 -echo "configure:14456: checking for GNU C++ __complex__ support" >&5 +echo "configure:14564: 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 @@ -14466,7 +14574,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 14470 "configure" +#line 14578 "configure" #include "confdefs.h" struct dcomplex { __complex__ double x; }; \ dcomplex f(const dcomplex& x) { return dcomplex(x); } @@ -14475,7 +14583,7 @@ int main() { dcomplex x; f(x); ; return 0; } EOF -if { (eval echo configure:14479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_complex=ok else @@ -14505,7 +14613,7 @@ EOF fi echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6 -echo "configure:14509: checking for GNU C++ __complex__ float support" >&5 +echo "configure:14617: 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 @@ -14538,14 +14646,14 @@ cross_compiling=$ac_cv_prog_cxx_cross }; EOB cat > conftest.$ac_ext <<EOF -#line 14542 "configure" +#line 14650 "configure" #include "confdefs.h" #include "conftest.h" int main() { ; return 0; } EOF -if { (eval echo configure:14549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_float_complex=ok else @@ -14577,16 +14685,16 @@ EOF echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6 -echo "configure:14581: checking for mbstate_t" >&5 +echo "configure:14689: checking for mbstate_t" >&5 cat > conftest.$ac_ext <<EOF -#line 14583 "configure" +#line 14691 "configure" #include "confdefs.h" #include <wchar.h> int main() { mbstate_t teststate; ; return 0; } EOF -if { (eval echo configure:14590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* have_mbstate_t=yes else @@ -14608,17 +14716,17 @@ EOF do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:14612: checking for $ac_hdr" >&5 +echo "configure:14720: 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 14617 "configure" +#line 14725 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:14622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:14730: \"$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* @@ -14647,17 +14755,17 @@ done ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for wctype.h""... $ac_c" 1>&6 -echo "configure:14651: checking for wctype.h" >&5 +echo "configure:14759: 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 14656 "configure" +#line 14764 "configure" #include "confdefs.h" #include <wctype.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:14661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:14769: \"$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* @@ -14684,16 +14792,16 @@ fi && test x"$enable_c_mbchar" != xno; then echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6 -echo "configure:14688: checking for WCHAR_MIN and WCHAR_MAX" >&5 +echo "configure:14796: checking for WCHAR_MIN and WCHAR_MAX" >&5 cat > conftest.$ac_ext <<EOF -#line 14690 "configure" +#line 14798 "configure" #include "confdefs.h" #include <wchar.h> int main() { int i = WCHAR_MIN; int j = WCHAR_MAX; ; return 0; } EOF -if { (eval echo configure:14697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* has_wchar_minmax=yes else @@ -14706,9 +14814,9 @@ rm -f conftest* echo "$ac_t""$has_wchar_minmax" 1>&6 echo $ac_n "checking for WEOF""... $ac_c" 1>&6 -echo "configure:14710: checking for WEOF" >&5 +echo "configure:14818: checking for WEOF" >&5 cat > conftest.$ac_ext <<EOF -#line 14712 "configure" +#line 14820 "configure" #include "confdefs.h" #include <wchar.h> @@ -14717,7 +14825,7 @@ int main() { wint_t i = WEOF; ; return 0; } EOF -if { (eval echo configure:14721: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:14829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* has_weof=yes else @@ -14733,12 +14841,12 @@ rm -f conftest* wcsrtombs mbsrtowcs do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:14737: checking for $ac_func" >&5 +echo "configure:14845: 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 14742 "configure" +#line 14850 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14761,7 +14869,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14873: \"$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 @@ -14788,7 +14896,7 @@ done echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6 -echo "configure:14792: checking for ISO C99 wchar_t support" >&5 +echo "configure:14900: checking for ISO C99 wchar_t support" >&5 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \ && test x"$ac_wfuncs" = xyes; then ac_isoC99_wchar_t=yes @@ -14799,17 +14907,17 @@ echo "configure:14792: checking for ISO C99 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:14803: checking for iconv.h" >&5 +echo "configure:14911: 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 14808 "configure" +#line 14916 "configure" #include "confdefs.h" #include <iconv.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:14813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:14921: \"$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* @@ -14833,17 +14941,17 @@ fi ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6 -echo "configure:14837: checking for langinfo.h" >&5 +echo "configure:14945: 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 14842 "configure" +#line 14950 "configure" #include "confdefs.h" #include <langinfo.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:14847: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:14955: \"$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* @@ -14867,7 +14975,7 @@ fi echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6 -echo "configure:14871: checking for iconv in -liconv" >&5 +echo "configure:14979: checking for iconv in -liconv" >&5 ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -14875,7 +14983,7 @@ else ac_save_LIBS="$LIBS" LIBS="-liconv $LIBS" cat > conftest.$ac_ext <<EOF -#line 14879 "configure" +#line 14987 "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 @@ -14886,7 +14994,7 @@ int main() { iconv() ; return 0; } EOF -if { (eval echo configure:14890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:14998: \"$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 @@ -14912,12 +15020,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:14916: checking for $ac_func" >&5 +echo "configure:15024: 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 14921 "configure" +#line 15029 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -14940,7 +15048,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:14944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15052: \"$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 @@ -14970,7 +15078,7 @@ done LIBS="$ac_save_LIBS" echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6 -echo "configure:14974: checking for XPG2 wchar_t support" >&5 +echo "configure:15082: 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 @@ -14980,7 +15088,7 @@ echo "configure:14974: 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:14984: checking for enabled wchar_t specializations" >&5 +echo "configure:15092: checking for enabled wchar_t specializations" >&5 if test x"$ac_isoC99_wchar_t" = xyes \ && test x"$ac_XPG2_wchar_t" = xyes; then libinst_wstring_la="libinst-wstring.la" @@ -15007,12 +15115,12 @@ EOF for ac_func in strtof do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15011: checking for $ac_func" >&5 +echo "configure:15119: 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 15016 "configure" +#line 15124 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15035,7 +15143,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15147: \"$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 @@ -15061,7 +15169,7 @@ done echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6 -echo "configure:15065: checking for strtold declaration" >&5 +echo "configure:15173: checking for strtold declaration" >&5 if test x${glibcpp_cv_func_strtold_use+set} != xset; then if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -15076,14 +15184,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 15080 "configure" +#line 15188 "configure" #include "confdefs.h" #include <stdlib.h> int main() { strtold(0, 0); ; return 0; } EOF -if { (eval echo configure:15087: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:15195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* glibcpp_cv_func_strtold_use=yes else @@ -15109,12 +15217,12 @@ fi for ac_func in strtold do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15113: checking for $ac_func" >&5 +echo "configure:15221: 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 15118 "configure" +#line 15226 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15137,7 +15245,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15249: \"$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 @@ -15171,17 +15279,17 @@ done do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:15175: checking for $ac_hdr" >&5 +echo "configure:15283: 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 15180 "configure" +#line 15288 "configure" #include "confdefs.h" #include <$ac_hdr> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:15185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:15293: \"$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* @@ -15210,12 +15318,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:15214: checking for $ac_func" >&5 +echo "configure:15322: 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 15219 "configure" +#line 15327 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -15238,7 +15346,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:15242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15350: \"$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 @@ -15263,7 +15371,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:15267: checking for working mmap" >&5 +echo "configure:15375: 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 @@ -15271,7 +15379,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <<EOF -#line 15275 "configure" +#line 15383 "configure" #include "confdefs.h" /* Thanks to Mike Haertel and Jim Avera for this test. @@ -15411,7 +15519,7 @@ main() } EOF -if { (eval echo configure:15415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:15523: \"$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 @@ -15528,17 +15636,17 @@ rm -f confcache ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for locale.h""... $ac_c" 1>&6 -echo "configure:15532: checking for locale.h" >&5 +echo "configure:15640: checking for locale.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 15537 "configure" +#line 15645 "configure" #include "confdefs.h" #include <locale.h> EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:15542: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:15650: \"$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* @@ -15556,19 +15664,19 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:15560: checking for LC_MESSAGES" >&5 +echo "configure:15668: 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 15565 "configure" +#line 15673 "configure" #include "confdefs.h" #include <locale.h> int main() { return LC_MESSAGES ; return 0; } EOF -if { (eval echo configure:15572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:15680: \"$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 @@ -15610,13 +15718,13 @@ INTERFACE=v3 echo $ac_n "checking for interface version number""... $ac_c" 1>&6 -echo "configure:15614: checking for interface version number" >&5 +echo "configure:15722: checking for interface version number" >&5 libstdcxx_interface=$INTERFACE echo "$ac_t""$libstdcxx_interface" 1>&6 # Process the option --with-gxx-include-dir=<path to include-files directory> echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6 -echo "configure:15620: checking for --with-gxx-include-dir" >&5 +echo "configure:15728: checking for --with-gxx-include-dir" >&5 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given. if test "${with_gxx_include_dir+set}" = set; then withval="$with_gxx_include_dir" @@ -15640,7 +15748,7 @@ echo "$ac_t""$gxx_include_dir" 1>&6 # Process the option "--enable-version-specific-runtime-libs" echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6 -echo "configure:15644: checking for --enable-version-specific-runtime-libs" >&5 +echo "configure:15752: checking for --enable-version-specific-runtime-libs" >&5 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given. if test "${enable_version_specific_runtime_libs+set}" = set; then enableval="$enable_version_specific_runtime_libs" @@ -15672,7 +15780,7 @@ fi echo "$ac_t""$version_specific_libs" 1>&6 echo $ac_n "checking for install location""... $ac_c" 1>&6 -echo "configure:15676: checking for install location" >&5 +echo "configure:15784: checking for install location" >&5 if test x"$version_specific_libs" = x"no" \ && test x"$gxx_include_dir"=x"no"; then gxx_include_dir=${prefix}/include/g++-${libstdcxx_interface} |