From: Jonathan Wakely Date: Fri, 29 Sep 2023 13:29:16 +0000 (+0100) Subject: libstdc++: Remove handling for underscore-prefixed libm functions [PR111638] X-Git-Tag: basepoints/gcc-15~4797 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=898fd81b831c106859bc99e65c7c1cbb642320c8;p=thirdparty%2Fgcc.git libstdc++: Remove handling for underscore-prefixed libm functions [PR111638] The checks in linkage.m4 try to support math functions prefixed with underscores, like _acosf and _isinf. However, that doesn't work because they're renamed to the standard names using a macro, but then undefines that macro again. This simply removes everything related to those underscored functions. libstdc++-v3/ChangeLog: PR libstdc++/111638 * config.h.in: Regenerate. * configure: Regenerate. * linkage.m4 (GLIBCXX_MAYBE_UNDERSCORED_FUNCS): Remove. (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1): Do not check for _foo. (GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1): Likewise. (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2): Likewise. (GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3): Likewise. (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2): Do not use GLIBCXX_MAYBE_UNDERSCORED_FUNCS. --- diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 4af7339673c3..c0aa51af3f0f 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -541,195 +541,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_XLOCALE_H -/* Define to 1 if you have the `_acosf' function. */ -#undef HAVE__ACOSF - -/* Define to 1 if you have the `_acosl' function. */ -#undef HAVE__ACOSL - /* Define to 1 if you have the `_aligned_malloc' function. */ #undef HAVE__ALIGNED_MALLOC -/* Define to 1 if you have the `_asinf' function. */ -#undef HAVE__ASINF - -/* Define to 1 if you have the `_asinl' function. */ -#undef HAVE__ASINL - -/* Define to 1 if you have the `_atan2f' function. */ -#undef HAVE__ATAN2F - -/* Define to 1 if you have the `_atan2l' function. */ -#undef HAVE__ATAN2L - -/* Define to 1 if you have the `_atanf' function. */ -#undef HAVE__ATANF - -/* Define to 1 if you have the `_atanl' function. */ -#undef HAVE__ATANL - -/* Define to 1 if you have the `_ceilf' function. */ -#undef HAVE__CEILF - -/* Define to 1 if you have the `_ceill' function. */ -#undef HAVE__CEILL - -/* Define to 1 if you have the `_cosf' function. */ -#undef HAVE__COSF - -/* Define to 1 if you have the `_coshf' function. */ -#undef HAVE__COSHF - -/* Define to 1 if you have the `_coshl' function. */ -#undef HAVE__COSHL - -/* Define to 1 if you have the `_cosl' function. */ -#undef HAVE__COSL - -/* Define to 1 if you have the `_expf' function. */ -#undef HAVE__EXPF - -/* Define to 1 if you have the `_expl' function. */ -#undef HAVE__EXPL - -/* Define to 1 if you have the `_fabsf' function. */ -#undef HAVE__FABSF - -/* Define to 1 if you have the `_fabsl' function. */ -#undef HAVE__FABSL - -/* Define to 1 if you have the `_finite' function. */ -#undef HAVE__FINITE - -/* Define to 1 if you have the `_finitef' function. */ -#undef HAVE__FINITEF - -/* Define to 1 if you have the `_finitel' function. */ -#undef HAVE__FINITEL - -/* Define to 1 if you have the `_floorf' function. */ -#undef HAVE__FLOORF - -/* Define to 1 if you have the `_floorl' function. */ -#undef HAVE__FLOORL - -/* Define to 1 if you have the `_fmodf' function. */ -#undef HAVE__FMODF - -/* Define to 1 if you have the `_fmodl' function. */ -#undef HAVE__FMODL - -/* Define to 1 if you have the `_fpclass' function. */ -#undef HAVE__FPCLASS - -/* Define to 1 if you have the `_frexpf' function. */ -#undef HAVE__FREXPF - -/* Define to 1 if you have the `_frexpl' function. */ -#undef HAVE__FREXPL - -/* Define to 1 if you have the `_hypot' function. */ -#undef HAVE__HYPOT - -/* Define to 1 if you have the `_hypotf' function. */ -#undef HAVE__HYPOTF - -/* Define to 1 if you have the `_hypotl' function. */ -#undef HAVE__HYPOTL - -/* Define to 1 if you have the `_isinf' function. */ -#undef HAVE__ISINF - -/* Define to 1 if you have the `_isinff' function. */ -#undef HAVE__ISINFF - -/* Define to 1 if you have the `_isinfl' function. */ -#undef HAVE__ISINFL - -/* Define to 1 if you have the `_isnan' function. */ -#undef HAVE__ISNAN - -/* Define to 1 if you have the `_isnanf' function. */ -#undef HAVE__ISNANF - -/* Define to 1 if you have the `_isnanl' function. */ -#undef HAVE__ISNANL - -/* Define to 1 if you have the `_ldexpf' function. */ -#undef HAVE__LDEXPF - -/* Define to 1 if you have the `_ldexpl' function. */ -#undef HAVE__LDEXPL - -/* Define to 1 if you have the `_log10f' function. */ -#undef HAVE__LOG10F - -/* Define to 1 if you have the `_log10l' function. */ -#undef HAVE__LOG10L - -/* Define to 1 if you have the `_logf' function. */ -#undef HAVE__LOGF - -/* Define to 1 if you have the `_logl' function. */ -#undef HAVE__LOGL - -/* Define to 1 if you have the `_modf' function. */ -#undef HAVE__MODF - -/* Define to 1 if you have the `_modff' function. */ -#undef HAVE__MODFF - -/* Define to 1 if you have the `_modfl' function. */ -#undef HAVE__MODFL - -/* Define to 1 if you have the `_powf' function. */ -#undef HAVE__POWF - -/* Define to 1 if you have the `_powl' function. */ -#undef HAVE__POWL - -/* Define to 1 if you have the `_qfpclass' function. */ -#undef HAVE__QFPCLASS - -/* Define to 1 if you have the `_sincos' function. */ -#undef HAVE__SINCOS - -/* Define to 1 if you have the `_sincosf' function. */ -#undef HAVE__SINCOSF - -/* Define to 1 if you have the `_sincosl' function. */ -#undef HAVE__SINCOSL - -/* Define to 1 if you have the `_sinf' function. */ -#undef HAVE__SINF - -/* Define to 1 if you have the `_sinhf' function. */ -#undef HAVE__SINHF - -/* Define to 1 if you have the `_sinhl' function. */ -#undef HAVE__SINHL - -/* Define to 1 if you have the `_sinl' function. */ -#undef HAVE__SINL - -/* Define to 1 if you have the `_sqrtf' function. */ -#undef HAVE__SQRTF - -/* Define to 1 if you have the `_sqrtl' function. */ -#undef HAVE__SQRTL - -/* Define to 1 if you have the `_tanf' function. */ -#undef HAVE__TANF - -/* Define to 1 if you have the `_tanhf' function. */ -#undef HAVE__TANHF - -/* Define to 1 if you have the `_tanhl' function. */ -#undef HAVE__TANHL - -/* Define to 1 if you have the `_tanl' function. */ -#undef HAVE__TANL - /* Define to 1 if you have the `_wfopen' function. */ #undef HAVE__WFOPEN @@ -1125,323 +939,3 @@ #if __cplusplus >= 201103L #undef __CORRECT_ISO_CPP11_MATH_H_PROTO_INT #endif - -#if defined (HAVE__ACOSF) && ! defined (HAVE_ACOSF) -# define HAVE_ACOSF 1 -# define acosf _acosf -#endif - -#if defined (HAVE__ACOSL) && ! defined (HAVE_ACOSL) -# define HAVE_ACOSL 1 -# define acosl _acosl -#endif - -#if defined (HAVE__ASINF) && ! defined (HAVE_ASINF) -# define HAVE_ASINF 1 -# define asinf _asinf -#endif - -#if defined (HAVE__ASINL) && ! defined (HAVE_ASINL) -# define HAVE_ASINL 1 -# define asinl _asinl -#endif - -#if defined (HAVE__ATAN2F) && ! defined (HAVE_ATAN2F) -# define HAVE_ATAN2F 1 -# define atan2f _atan2f -#endif - -#if defined (HAVE__ATAN2L) && ! defined (HAVE_ATAN2L) -# define HAVE_ATAN2L 1 -# define atan2l _atan2l -#endif - -#if defined (HAVE__ATANF) && ! defined (HAVE_ATANF) -# define HAVE_ATANF 1 -# define atanf _atanf -#endif - -#if defined (HAVE__ATANL) && ! defined (HAVE_ATANL) -# define HAVE_ATANL 1 -# define atanl _atanl -#endif - -#if defined (HAVE__CEILF) && ! defined (HAVE_CEILF) -# define HAVE_CEILF 1 -# define ceilf _ceilf -#endif - -#if defined (HAVE__CEILL) && ! defined (HAVE_CEILL) -# define HAVE_CEILL 1 -# define ceill _ceill -#endif - -#if defined (HAVE__COSF) && ! defined (HAVE_COSF) -# define HAVE_COSF 1 -# define cosf _cosf -#endif - -#if defined (HAVE__COSHF) && ! defined (HAVE_COSHF) -# define HAVE_COSHF 1 -# define coshf _coshf -#endif - -#if defined (HAVE__COSHL) && ! defined (HAVE_COSHL) -# define HAVE_COSHL 1 -# define coshl _coshl -#endif - -#if defined (HAVE__COSL) && ! defined (HAVE_COSL) -# define HAVE_COSL 1 -# define cosl _cosl -#endif - -#if defined (HAVE__EXPF) && ! defined (HAVE_EXPF) -# define HAVE_EXPF 1 -# define expf _expf -#endif - -#if defined (HAVE__EXPL) && ! defined (HAVE_EXPL) -# define HAVE_EXPL 1 -# define expl _expl -#endif - -#if defined (HAVE__FABSF) && ! defined (HAVE_FABSF) -# define HAVE_FABSF 1 -# define fabsf _fabsf -#endif - -#if defined (HAVE__FABSL) && ! defined (HAVE_FABSL) -# define HAVE_FABSL 1 -# define fabsl _fabsl -#endif - -#if defined (HAVE__FINITE) && ! defined (HAVE_FINITE) -# define HAVE_FINITE 1 -# define finite _finite -#endif - -#if defined (HAVE__FINITEF) && ! defined (HAVE_FINITEF) -# define HAVE_FINITEF 1 -# define finitef _finitef -#endif - -#if defined (HAVE__FINITEL) && ! defined (HAVE_FINITEL) -# define HAVE_FINITEL 1 -# define finitel _finitel -#endif - -#if defined (HAVE__FLOORF) && ! defined (HAVE_FLOORF) -# define HAVE_FLOORF 1 -# define floorf _floorf -#endif - -#if defined (HAVE__FLOORL) && ! defined (HAVE_FLOORL) -# define HAVE_FLOORL 1 -# define floorl _floorl -#endif - -#if defined (HAVE__FMODF) && ! defined (HAVE_FMODF) -# define HAVE_FMODF 1 -# define fmodf _fmodf -#endif - -#if defined (HAVE__FMODL) && ! defined (HAVE_FMODL) -# define HAVE_FMODL 1 -# define fmodl _fmodl -#endif - -#if defined (HAVE__FPCLASS) && ! defined (HAVE_FPCLASS) -# define HAVE_FPCLASS 1 -# define fpclass _fpclass -#endif - -#if defined (HAVE__FREXPF) && ! defined (HAVE_FREXPF) -# define HAVE_FREXPF 1 -# define frexpf _frexpf -#endif - -#if defined (HAVE__FREXPL) && ! defined (HAVE_FREXPL) -# define HAVE_FREXPL 1 -# define frexpl _frexpl -#endif - -#if defined (HAVE__HYPOT) && ! defined (HAVE_HYPOT) -# define HAVE_HYPOT 1 -# define hypot _hypot -#endif - -#if defined (HAVE__HYPOTF) && ! defined (HAVE_HYPOTF) -# define HAVE_HYPOTF 1 -# define hypotf _hypotf -#endif - -#if defined (HAVE__HYPOTL) && ! defined (HAVE_HYPOTL) -# define HAVE_HYPOTL 1 -# define hypotl _hypotl -#endif - -#if defined (HAVE__ISINF) && ! defined (HAVE_ISINF) -# define HAVE_ISINF 1 -# define isinf _isinf -#endif - -#if defined (HAVE__ISINFF) && ! defined (HAVE_ISINFF) -# define HAVE_ISINFF 1 -# define isinff _isinff -#endif - -#if defined (HAVE__ISINFL) && ! defined (HAVE_ISINFL) -# define HAVE_ISINFL 1 -# define isinfl _isinfl -#endif - -#if defined (HAVE__ISNAN) && ! defined (HAVE_ISNAN) -# define HAVE_ISNAN 1 -# define isnan _isnan -#endif - -#if defined (HAVE__ISNANF) && ! defined (HAVE_ISNANF) -# define HAVE_ISNANF 1 -# define isnanf _isnanf -#endif - -#if defined (HAVE__ISNANL) && ! defined (HAVE_ISNANL) -# define HAVE_ISNANL 1 -# define isnanl _isnanl -#endif - -#if defined (HAVE__LDEXPF) && ! defined (HAVE_LDEXPF) -# define HAVE_LDEXPF 1 -# define ldexpf _ldexpf -#endif - -#if defined (HAVE__LDEXPL) && ! defined (HAVE_LDEXPL) -# define HAVE_LDEXPL 1 -# define ldexpl _ldexpl -#endif - -#if defined (HAVE__LOG10F) && ! defined (HAVE_LOG10F) -# define HAVE_LOG10F 1 -# define log10f _log10f -#endif - -#if defined (HAVE__LOG10L) && ! defined (HAVE_LOG10L) -# define HAVE_LOG10L 1 -# define log10l _log10l -#endif - -#if defined (HAVE__LOGF) && ! defined (HAVE_LOGF) -# define HAVE_LOGF 1 -# define logf _logf -#endif - -#if defined (HAVE__LOGL) && ! defined (HAVE_LOGL) -# define HAVE_LOGL 1 -# define logl _logl -#endif - -#if defined (HAVE__MODF) && ! defined (HAVE_MODF) -# define HAVE_MODF 1 -# define modf _modf -#endif - -#if defined (HAVE__MODFF) && ! defined (HAVE_MODFF) -# define HAVE_MODFF 1 -# define modff _modff -#endif - -#if defined (HAVE__MODFL) && ! defined (HAVE_MODFL) -# define HAVE_MODFL 1 -# define modfl _modfl -#endif - -#if defined (HAVE__POWF) && ! defined (HAVE_POWF) -# define HAVE_POWF 1 -# define powf _powf -#endif - -#if defined (HAVE__POWL) && ! defined (HAVE_POWL) -# define HAVE_POWL 1 -# define powl _powl -#endif - -#if defined (HAVE__QFPCLASS) && ! defined (HAVE_QFPCLASS) -# define HAVE_QFPCLASS 1 -# define qfpclass _qfpclass -#endif - -#if defined (HAVE__SINCOS) && ! defined (HAVE_SINCOS) -# define HAVE_SINCOS 1 -# define sincos _sincos -#endif - -#if defined (HAVE__SINCOSF) && ! defined (HAVE_SINCOSF) -# define HAVE_SINCOSF 1 -# define sincosf _sincosf -#endif - -#if defined (HAVE__SINCOSL) && ! defined (HAVE_SINCOSL) -# define HAVE_SINCOSL 1 -# define sincosl _sincosl -#endif - -#if defined (HAVE__SINF) && ! defined (HAVE_SINF) -# define HAVE_SINF 1 -# define sinf _sinf -#endif - -#if defined (HAVE__SINHF) && ! defined (HAVE_SINHF) -# define HAVE_SINHF 1 -# define sinhf _sinhf -#endif - -#if defined (HAVE__SINHL) && ! defined (HAVE_SINHL) -# define HAVE_SINHL 1 -# define sinhl _sinhl -#endif - -#if defined (HAVE__SINL) && ! defined (HAVE_SINL) -# define HAVE_SINL 1 -# define sinl _sinl -#endif - -#if defined (HAVE__SQRTF) && ! defined (HAVE_SQRTF) -# define HAVE_SQRTF 1 -# define sqrtf _sqrtf -#endif - -#if defined (HAVE__SQRTL) && ! defined (HAVE_SQRTL) -# define HAVE_SQRTL 1 -# define sqrtl _sqrtl -#endif - -#if defined (HAVE__STRTOF) && ! defined (HAVE_STRTOF) -# define HAVE_STRTOF 1 -# define strtof _strtof -#endif - -#if defined (HAVE__STRTOLD) && ! defined (HAVE_STRTOLD) -# define HAVE_STRTOLD 1 -# define strtold _strtold -#endif - -#if defined (HAVE__TANF) && ! defined (HAVE_TANF) -# define HAVE_TANF 1 -# define tanf _tanf -#endif - -#if defined (HAVE__TANHF) && ! defined (HAVE_TANHF) -# define HAVE_TANHF 1 -# define tanhf _tanhf -#endif - -#if defined (HAVE__TANHL) && ! defined (HAVE_TANHL) -# define HAVE_TANHL 1 -# define tanhl _tanhl -#endif - -#if defined (HAVE__TANL) && ! defined (HAVE_TANL) -# define HAVE_TANL 1 -# define tanl _tanl -#endif diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index 155faf51922b..cd0784548269 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -23163,12 +23163,14 @@ _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5 -$as_echo_n "checking for _isinf declaration... " >&6; } - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if ${glibcxx_cv_func__isinf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 +$as_echo_n "checking for isnan declaration... " >&6; } + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if ${glibcxx_cv_func_isnan_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23189,15 +23191,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isinf(0); + isnan(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinf_use=yes + glibcxx_cv_func_isnan_use=yes else - glibcxx_cv_func__isinf_use=no + glibcxx_cv_func_isnan_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23210,32 +23212,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5 -$as_echo "$glibcxx_cv_func__isinf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - if test x$glibcxx_cv_func__isinf_use = x"yes"; then - for ac_func in _isinf + if test x$glibcxx_cv_func_isnan_use = x"yes"; then + for ac_func in isnan do : - ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf" -if test "x$ac_cv_func__isinf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +if test "x$ac_cv_func_isnan" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINF 1 +#define HAVE_ISNAN 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 -$as_echo_n "checking for isnan declaration... " >&6; } - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if ${glibcxx_cv_func_isnan_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 +$as_echo_n "checking for finite declaration... " >&6; } + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if ${glibcxx_cv_func_finite_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23256,15 +23255,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - isnan(0); + finite(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnan_use=yes + glibcxx_cv_func_finite_use=yes else - glibcxx_cv_func_isnan_use=no + glibcxx_cv_func_finite_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23277,27 +23276,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 -$as_echo "$glibcxx_cv_func_isnan_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 +$as_echo "$glibcxx_cv_func_finite_use" >&6; } - if test x$glibcxx_cv_func_isnan_use = x"yes"; then - for ac_func in isnan + if test x$glibcxx_cv_func_finite_use = x"yes"; then + for ac_func in finite do : - ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" -if test "x$ac_cv_func_isnan" = xyes; then : + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" +if test "x$ac_cv_func_finite" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNAN 1 +#define HAVE_FINITE 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5 -$as_echo_n "checking for _isnan declaration... " >&6; } - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if ${glibcxx_cv_func__isnan_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 +$as_echo_n "checking for sincos declaration... " >&6; } + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if ${glibcxx_cv_func_sincos_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23311,22 +23312,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnan(0); + sincos(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnan_use=yes + glibcxx_cv_func_sincos_use=yes else - glibcxx_cv_func__isnan_use=no + glibcxx_cv_func_sincos_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23339,32 +23336,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5 -$as_echo "$glibcxx_cv_func__isnan_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - if test x$glibcxx_cv_func__isnan_use = x"yes"; then - for ac_func in _isnan + if test x$glibcxx_cv_func_sincos_use = x"yes"; then + for ac_func in sincos do : - ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan" -if test "x$ac_cv_func__isnan" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" +if test "x$ac_cv_func_sincos" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNAN 1 +#define HAVE_SINCOS 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 -$as_echo_n "checking for finite declaration... " >&6; } - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if ${glibcxx_cv_func_finite_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 +$as_echo_n "checking for fpclass declaration... " >&6; } + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if ${glibcxx_cv_func_fpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23385,15 +23379,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - finite(0); + fpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finite_use=yes + glibcxx_cv_func_fpclass_use=yes else - glibcxx_cv_func_finite_use=no + glibcxx_cv_func_fpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23406,27 +23400,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 -$as_echo "$glibcxx_cv_func_finite_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - if test x$glibcxx_cv_func_finite_use = x"yes"; then - for ac_func in finite + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then + for ac_func in fpclass do : - ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" -if test "x$ac_cv_func_finite" = xyes; then : + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" +if test "x$ac_cv_func_fpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITE 1 +#define HAVE_FPCLASS 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5 -$as_echo_n "checking for _finite declaration... " >&6; } - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if ${glibcxx_cv_func__finite_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 +$as_echo_n "checking for qfpclass declaration... " >&6; } + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if ${glibcxx_cv_func_qfpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23447,15 +23443,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _finite(0); + qfpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finite_use=yes + glibcxx_cv_func_qfpclass_use=yes else - glibcxx_cv_func__finite_use=no + glibcxx_cv_func_qfpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23468,32 +23464,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5 -$as_echo "$glibcxx_cv_func__finite_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - if test x$glibcxx_cv_func__finite_use = x"yes"; then - for ac_func in _finite + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then + for ac_func in qfpclass do : - ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite" -if test "x$ac_cv_func__finite" = xyes; then : + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" +if test "x$ac_cv_func_qfpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITE 1 +#define HAVE_QFPCLASS 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 -$as_echo_n "checking for sincos declaration... " >&6; } - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if ${glibcxx_cv_func_sincos_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 +$as_echo_n "checking for hypot declaration... " >&6; } + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if ${glibcxx_cv_func_hypot_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23510,15 +23503,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sincos(0, 0, 0); + hypot(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincos_use=yes + glibcxx_cv_func_hypot_use=yes else - glibcxx_cv_func_sincos_use=no + glibcxx_cv_func_hypot_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23531,152 +23524,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 -$as_echo "$glibcxx_cv_func_sincos_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - if test x$glibcxx_cv_func_sincos_use = x"yes"; then - for ac_func in sincos + if test x$glibcxx_cv_func_hypot_use = x"yes"; then + for ac_func in hypot do : - ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" -if test "x$ac_cv_func_sincos" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" +if test "x$ac_cv_func_hypot" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOS 1 +#define HAVE_HYPOT 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5 -$as_echo_n "checking for _sincos declaration... " >&6; } - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if ${glibcxx_cv_func__sincos_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 +$as_echo_n "checking for float trig functions... " >&6; } + if ${glibcxx_cv_func_float_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - _sincos(0, 0, 0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincos_use=yes + glibcxx_cv_func_float_trig_use=yes else - glibcxx_cv_func__sincos_use=no + glibcxx_cv_func_float_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5 -$as_echo "$glibcxx_cv_func__sincos_use" >&6; } - - if test x$glibcxx_cv_func__sincos_use = x"yes"; then - for ac_func in _sincos + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do : - ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos" -if test "x$ac_cv_func__sincos" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOS 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 -$as_echo_n "checking for fpclass declaration... " >&6; } - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if ${glibcxx_cv_func_fpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 +$as_echo_n "checking for float round functions... " >&6; } + if ${glibcxx_cv_func_float_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fpclass(0); +ceilf (0); floorf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fpclass_use=yes + glibcxx_cv_func_float_round_use=yes else - glibcxx_cv_func_fpclass_use=no + glibcxx_cv_func_float_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 -$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then - for ac_func in fpclass + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; } + if test x$glibcxx_cv_func_float_round_use = x"yes"; then + for ac_func in ceilf floorf do : - ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" -if test "x$ac_cv_func_fpclass" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FPCLASS 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5 -$as_echo_n "checking for _fpclass declaration... " >&6; } - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if ${glibcxx_cv_func__fpclass_use+:} false; then : + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 +$as_echo_n "checking for expf declaration... " >&6; } + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if ${glibcxx_cv_func_expf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23697,15 +23682,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _fpclass(0); + expf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fpclass_use=yes + glibcxx_cv_func_expf_use=yes else - glibcxx_cv_func__fpclass_use=no + glibcxx_cv_func_expf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23718,32 +23703,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5 -$as_echo "$glibcxx_cv_func__fpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 +$as_echo "$glibcxx_cv_func_expf_use" >&6; } - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then - for ac_func in _fpclass + if test x$glibcxx_cv_func_expf_use = x"yes"; then + for ac_func in expf do : - ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass" -if test "x$ac_cv_func__fpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" +if test "x$ac_cv_func_expf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FPCLASS 1 +#define HAVE_EXPF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 -$as_echo_n "checking for qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if ${glibcxx_cv_func_qfpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 +$as_echo_n "checking for isnanf declaration... " >&6; } + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if ${glibcxx_cv_func_isnanf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23764,15 +23746,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - qfpclass(0); + isnanf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_qfpclass_use=yes + glibcxx_cv_func_isnanf_use=yes else - glibcxx_cv_func_qfpclass_use=no + glibcxx_cv_func_isnanf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23785,27 +23767,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - for ac_func in qfpclass + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + for ac_func in isnanf do : - ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" -if test "x$ac_cv_func_qfpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" +if test "x$ac_cv_func_isnanf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_QFPCLASS 1 +#define HAVE_ISNANF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5 -$as_echo_n "checking for _qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if ${glibcxx_cv_func__qfpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 +$as_echo_n "checking for isinff declaration... " >&6; } + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if ${glibcxx_cv_func_isinff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23826,15 +23810,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _qfpclass(0); + isinff(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__qfpclass_use=yes + glibcxx_cv_func_isinff_use=yes else - glibcxx_cv_func__qfpclass_use=no + glibcxx_cv_func_isinff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23847,32 +23831,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then - for ac_func in _qfpclass + if test x$glibcxx_cv_func_isinff_use = x"yes"; then + for ac_func in isinff do : - ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass" -if test "x$ac_cv_func__qfpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" +if test "x$ac_cv_func_isinff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__QFPCLASS 1 +#define HAVE_ISINFF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 -$as_echo_n "checking for hypot declaration... " >&6; } - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if ${glibcxx_cv_func_hypot_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 +$as_echo_n "checking for atan2f declaration... " >&6; } + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if ${glibcxx_cv_func_atan2f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23889,15 +23870,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - hypot(0, 0); + atan2f(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypot_use=yes + glibcxx_cv_func_atan2f_use=yes else - glibcxx_cv_func_hypot_use=no + glibcxx_cv_func_atan2f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23910,27 +23891,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 -$as_echo "$glibcxx_cv_func_hypot_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - if test x$glibcxx_cv_func_hypot_use = x"yes"; then - for ac_func in hypot + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + for ac_func in atan2f do : - ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" -if test "x$ac_cv_func_hypot" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" +if test "x$ac_cv_func_atan2f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOT 1 +#define HAVE_ATAN2F 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5 -$as_echo_n "checking for _hypot declaration... " >&6; } - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if ${glibcxx_cv_func__hypot_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 +$as_echo_n "checking for fabsf declaration... " >&6; } + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if ${glibcxx_cv_func_fabsf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -23944,18 +23927,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypot(0, 0); + fabsf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypot_use=yes + glibcxx_cv_func_fabsf_use=yes else - glibcxx_cv_func__hypot_use=no + glibcxx_cv_func_fabsf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -23968,85 +23955,89 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5 -$as_echo "$glibcxx_cv_func__hypot_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - if test x$glibcxx_cv_func__hypot_use = x"yes"; then - for ac_func in _hypot + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + for ac_func in fabsf do : - ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot" -if test "x$ac_cv_func__hypot" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" +if test "x$ac_cv_func_fabsf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOT 1 +#define HAVE_FABSF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 -$as_echo_n "checking for float trig functions... " >&6; } - if ${glibcxx_cv_func_float_trig_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 +$as_echo_n "checking for fmodf declaration... " >&6; } + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if ${glibcxx_cv_func_fmodf_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); + fmodf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_trig_use=yes + glibcxx_cv_func_fmodf_use=yes else - glibcxx_cv_func_float_trig_use=no + glibcxx_cv_func_fmodf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 -$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } + + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then + for ac_func in fmodf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" +if test "x$ac_cv_func_fmodf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FMODF 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5 -$as_echo_n "checking for _float trig functions... " >&6; } - if ${glibcxx_cv_func__float_trig_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 +$as_echo_n "checking for frexpf declaration... " >&6; } + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if ${glibcxx_cv_func_frexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24063,15 +24054,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); + frexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_trig_use=yes + glibcxx_cv_func_frexpf_use=yes else - glibcxx_cv_func__float_trig_use=no + glibcxx_cv_func_frexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24080,87 +24071,93 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5 -$as_echo "$glibcxx_cv_func__float_trig_use" >&6; } - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } + + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then + for ac_func in frexpf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" +if test "x$ac_cv_func_frexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FREXPF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 -$as_echo_n "checking for float round functions... " >&6; } - if ${glibcxx_cv_func_float_round_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 +$as_echo_n "checking for hypotf declaration... " >&6; } + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if ${glibcxx_cv_func_hypotf_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { -ceilf (0); floorf (0); + hypotf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_round_use=yes + glibcxx_cv_func_hypotf_use=yes else - glibcxx_cv_func_float_round_use=no + glibcxx_cv_func_hypotf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 -$as_echo "$glibcxx_cv_func_float_round_use" >&6; } - if test x$glibcxx_cv_func_float_round_use = x"yes"; then - for ac_func in ceilf floorf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } + + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + for ac_func in hypotf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" +if test "x$ac_cv_func_hypotf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_HYPOTF 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5 -$as_echo_n "checking for _float round functions... " >&6; } - if ${glibcxx_cv_func__float_round_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 +$as_echo_n "checking for ldexpf declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if ${glibcxx_cv_func_ldexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24177,15 +24174,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); + ldexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_round_use=yes + glibcxx_cv_func_ldexpf_use=yes else - glibcxx_cv_func__float_round_use=no + glibcxx_cv_func_ldexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24194,35 +24191,33 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5 -$as_echo "$glibcxx_cv_func__float_round_use" >&6; } - if test x$glibcxx_cv_func__float_round_use = x"yes"; then - for ac_func in _ceilf _floorf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } + + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + for ac_func in ldexpf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" +if test "x$ac_cv_func_ldexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_LDEXPF 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 -$as_echo_n "checking for expf declaration... " >&6; } - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if ${glibcxx_cv_func_expf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 +$as_echo_n "checking for logf declaration... " >&6; } + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if ${glibcxx_cv_func_logf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24243,15 +24238,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - expf(0); + logf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expf_use=yes + glibcxx_cv_func_logf_use=yes else - glibcxx_cv_func_expf_use=no + glibcxx_cv_func_logf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24264,32 +24259,34 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 -$as_echo "$glibcxx_cv_func_expf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 +$as_echo "$glibcxx_cv_func_logf_use" >&6; } - if test x$glibcxx_cv_func_expf_use = x"yes"; then - for ac_func in expf + if test x$glibcxx_cv_func_logf_use = x"yes"; then + for ac_func in logf do : - ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" -if test "x$ac_cv_func_expf" = xyes; then : + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" +if test "x$ac_cv_func_logf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_EXPF 1 +#define HAVE_LOGF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5 -$as_echo_n "checking for _expf declaration... " >&6; } - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if ${glibcxx_cv_func__expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_ext=cpp + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 +$as_echo_n "checking for log10f declaration... " >&6; } + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if ${glibcxx_cv_func_log10f_use+:} false; then : + $as_echo_n "(cached) " >&6 +else + + + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -24305,15 +24302,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _expf(0); + log10f(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expf_use=yes + glibcxx_cv_func_log10f_use=yes else - glibcxx_cv_func__expf_use=no + glibcxx_cv_func_log10f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24326,32 +24323,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5 -$as_echo "$glibcxx_cv_func__expf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; } - if test x$glibcxx_cv_func__expf_use = x"yes"; then - for ac_func in _expf + if test x$glibcxx_cv_func_log10f_use = x"yes"; then + for ac_func in log10f do : - ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf" -if test "x$ac_cv_func__expf" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" +if test "x$ac_cv_func_log10f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__EXPF 1 +#define HAVE_LOG10F 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 -$as_echo_n "checking for isnanf declaration... " >&6; } - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if ${glibcxx_cv_func_isnanf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 +$as_echo_n "checking for modff declaration... " >&6; } + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if ${glibcxx_cv_func_modff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24365,22 +24359,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isnanf(0); + modff(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanf_use=yes + glibcxx_cv_func_modff_use=yes else - glibcxx_cv_func_isnanf_use=no + glibcxx_cv_func_modff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24393,27 +24383,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 -$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 +$as_echo "$glibcxx_cv_func_modff_use" >&6; } - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then - for ac_func in isnanf + if test x$glibcxx_cv_func_modff_use = x"yes"; then + for ac_func in modff do : - ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" -if test "x$ac_cv_func_isnanf" = xyes; then : + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" +if test "x$ac_cv_func_modff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANF 1 +#define HAVE_MODFF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5 -$as_echo_n "checking for _isnanf declaration... " >&6; } - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if ${glibcxx_cv_func__isnanf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 +$as_echo_n "checking for modf declaration... " >&6; } + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if ${glibcxx_cv_func_modf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24427,22 +24419,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnanf(0); + modf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanf_use=yes + glibcxx_cv_func_modf_use=yes else - glibcxx_cv_func__isnanf_use=no + glibcxx_cv_func_modf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24455,32 +24443,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5 -$as_echo "$glibcxx_cv_func__isnanf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 +$as_echo "$glibcxx_cv_func_modf_use" >&6; } - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then - for ac_func in _isnanf + if test x$glibcxx_cv_func_modf_use = x"yes"; then + for ac_func in modf do : - ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf" -if test "x$ac_cv_func__isnanf" = xyes; then : + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" +if test "x$ac_cv_func_modf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANF 1 +#define HAVE_MODF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 -$as_echo_n "checking for isinff declaration... " >&6; } - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if ${glibcxx_cv_func_isinff_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 +$as_echo_n "checking for powf declaration... " >&6; } + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if ${glibcxx_cv_func_powf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24494,22 +24479,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinff(0); + powf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinff_use=yes + glibcxx_cv_func_powf_use=yes else - glibcxx_cv_func_isinff_use=no + glibcxx_cv_func_powf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24522,27 +24503,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 -$as_echo "$glibcxx_cv_func_isinff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 +$as_echo "$glibcxx_cv_func_powf_use" >&6; } - if test x$glibcxx_cv_func_isinff_use = x"yes"; then - for ac_func in isinff + if test x$glibcxx_cv_func_powf_use = x"yes"; then + for ac_func in powf do : - ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" -if test "x$ac_cv_func_isinff" = xyes; then : + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" +if test "x$ac_cv_func_powf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFF 1 +#define HAVE_POWF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5 -$as_echo_n "checking for _isinff declaration... " >&6; } - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if ${glibcxx_cv_func__isinff_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 +$as_echo_n "checking for sqrtf declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if ${glibcxx_cv_func_sqrtf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24563,15 +24546,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isinff(0); + sqrtf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinff_use=yes + glibcxx_cv_func_sqrtf_use=yes else - glibcxx_cv_func__isinff_use=no + glibcxx_cv_func_sqrtf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24584,32 +24567,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5 -$as_echo "$glibcxx_cv_func__isinff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - if test x$glibcxx_cv_func__isinff_use = x"yes"; then - for ac_func in _isinff + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + for ac_func in sqrtf do : - ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff" -if test "x$ac_cv_func__isinff" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" +if test "x$ac_cv_func_sqrtf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFF 1 +#define HAVE_SQRTF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 -$as_echo_n "checking for atan2f declaration... " >&6; } - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if ${glibcxx_cv_func_atan2f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 +$as_echo_n "checking for sincosf declaration... " >&6; } + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if ${glibcxx_cv_func_sincosf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24626,15 +24606,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - atan2f(0, 0); + sincosf(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2f_use=yes + glibcxx_cv_func_sincosf_use=yes else - glibcxx_cv_func_atan2f_use=no + glibcxx_cv_func_sincosf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24647,27 +24627,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 -$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then - for ac_func in atan2f + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + for ac_func in sincosf do : - ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" -if test "x$ac_cv_func_atan2f" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" +if test "x$ac_cv_func_sincosf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2F 1 +#define HAVE_SINCOSF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5 -$as_echo_n "checking for _atan2f declaration... " >&6; } - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if ${glibcxx_cv_func__atan2f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 +$as_echo_n "checking for finitef declaration... " >&6; } + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if ${glibcxx_cv_func_finitef_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24681,18 +24663,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _atan2f(0, 0); + finitef(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2f_use=yes + glibcxx_cv_func_finitef_use=yes else - glibcxx_cv_func__atan2f_use=no + glibcxx_cv_func_finitef_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24705,161 +24691,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5 -$as_echo "$glibcxx_cv_func__atan2f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; } - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then - for ac_func in _atan2f + if test x$glibcxx_cv_func_finitef_use = x"yes"; then + for ac_func in finitef do : - ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f" -if test "x$ac_cv_func__atan2f" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" +if test "x$ac_cv_func_finitef" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2F 1 +#define HAVE_FINITEF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 -$as_echo_n "checking for fabsf declaration... " >&6; } - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if ${glibcxx_cv_func_fabsf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 +$as_echo_n "checking for long double trig functions... " >&6; } + if ${glibcxx_cv_func_long_double_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fabsf(0); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsf_use=yes + glibcxx_cv_func_long_double_trig_use=yes else - glibcxx_cv_func_fabsf_use=no + glibcxx_cv_func_long_double_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 -$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then - for ac_func in fabsf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl do : - ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" -if test "x$ac_cv_func_fabsf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FABSF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5 -$as_echo_n "checking for _fabsf declaration... " >&6; } - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if ${glibcxx_cv_func__fabsf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 +$as_echo_n "checking for long double round functions... " >&6; } + if ${glibcxx_cv_func_long_double_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fabsf(0); +ceill (0); floorl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsf_use=yes + glibcxx_cv_func_long_double_round_use=yes else - glibcxx_cv_func__fabsf_use=no + glibcxx_cv_func_long_double_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5 -$as_echo "$glibcxx_cv_func__fabsf_use" >&6; } - - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then - for ac_func in _fabsf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + for ac_func in ceill floorl do : - ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf" -if test "x$ac_cv_func__fabsf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FABSF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 -$as_echo_n "checking for fmodf declaration... " >&6; } - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if ${glibcxx_cv_func_fmodf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 +$as_echo_n "checking for isnanl declaration... " >&6; } + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if ${glibcxx_cv_func_isnanl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24873,18 +24842,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - fmodf(0, 0); + isnanl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodf_use=yes + glibcxx_cv_func_isnanl_use=yes else - glibcxx_cv_func_fmodf_use=no + glibcxx_cv_func_isnanl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24897,27 +24870,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 -$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then - for ac_func in fmodf + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + for ac_func in isnanl do : - ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" -if test "x$ac_cv_func_fmodf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" +if test "x$ac_cv_func_isnanl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FMODF 1 +#define HAVE_ISNANL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5 -$as_echo_n "checking for _fmodf declaration... " >&6; } - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if ${glibcxx_cv_func__fmodf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 +$as_echo_n "checking for isinfl declaration... " >&6; } + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if ${glibcxx_cv_func_isinfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24931,18 +24906,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _fmodf(0, 0); + isinfl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodf_use=yes + glibcxx_cv_func_isinfl_use=yes else - glibcxx_cv_func__fmodf_use=no + glibcxx_cv_func_isinfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -24955,32 +24934,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5 -$as_echo "$glibcxx_cv_func__fmodf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then - for ac_func in _fmodf + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + for ac_func in isinfl do : - ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf" -if test "x$ac_cv_func__fmodf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" +if test "x$ac_cv_func_isinfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FMODF 1 +#define HAVE_ISINFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 -$as_echo_n "checking for frexpf declaration... " >&6; } - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if ${glibcxx_cv_func_frexpf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 +$as_echo_n "checking for atan2l declaration... " >&6; } + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if ${glibcxx_cv_func_atan2l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -24997,15 +24973,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - frexpf(0, 0); + atan2l(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpf_use=yes + glibcxx_cv_func_atan2l_use=yes else - glibcxx_cv_func_frexpf_use=no + glibcxx_cv_func_atan2l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25018,27 +24994,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 -$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then - for ac_func in frexpf + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + for ac_func in atan2l do : - ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" -if test "x$ac_cv_func_frexpf" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" +if test "x$ac_cv_func_atan2l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPF 1 +#define HAVE_ATAN2L 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5 -$as_echo_n "checking for _frexpf declaration... " >&6; } - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if ${glibcxx_cv_func__frexpf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 +$as_echo_n "checking for expl declaration... " >&6; } + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25052,18 +25030,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _frexpf(0, 0); + expl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpf_use=yes + glibcxx_cv_func_expl_use=yes else - glibcxx_cv_func__frexpf_use=no + glibcxx_cv_func_expl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25076,32 +25058,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5 -$as_echo "$glibcxx_cv_func__frexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 +$as_echo "$glibcxx_cv_func_expl_use" >&6; } - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then - for ac_func in _frexpf + if test x$glibcxx_cv_func_expl_use = x"yes"; then + for ac_func in expl do : - ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf" -if test "x$ac_cv_func__frexpf" = xyes; then : + ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" +if test "x$ac_cv_func_expl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPF 1 +#define HAVE_EXPL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 -$as_echo_n "checking for hypotf declaration... " >&6; } - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if ${glibcxx_cv_func_hypotf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 +$as_echo_n "checking for fabsl declaration... " >&6; } + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25115,18 +25094,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypotf(0, 0); + fabsl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotf_use=yes + glibcxx_cv_func_fabsl_use=yes else - glibcxx_cv_func_hypotf_use=no + glibcxx_cv_func_fabsl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25139,27 +25122,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 -$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then - for ac_func in hypotf + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + for ac_func in fabsl do : - ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" -if test "x$ac_cv_func_hypotf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" +if test "x$ac_cv_func_fabsl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTF 1 +#define HAVE_FABSL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5 -$as_echo_n "checking for _hypotf declaration... " >&6; } - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if ${glibcxx_cv_func__hypotf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 +$as_echo_n "checking for fmodl declaration... " >&6; } + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25176,15 +25161,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _hypotf(0, 0); + fmodl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotf_use=yes + glibcxx_cv_func_fmodl_use=yes else - glibcxx_cv_func__hypotf_use=no + glibcxx_cv_func_fmodl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25197,32 +25182,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5 -$as_echo "$glibcxx_cv_func__hypotf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then - for ac_func in _hypotf + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + for ac_func in fmodl do : - ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf" -if test "x$ac_cv_func__hypotf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" +if test "x$ac_cv_func_fmodl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTF 1 +#define HAVE_FMODL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 -$as_echo_n "checking for ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if ${glibcxx_cv_func_ldexpf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 +$as_echo_n "checking for frexpl declaration... " >&6; } + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25239,15 +25221,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - ldexpf(0, 0); + frexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpf_use=yes + glibcxx_cv_func_frexpl_use=yes else - glibcxx_cv_func_ldexpf_use=no + glibcxx_cv_func_frexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25260,27 +25242,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then - for ac_func in ldexpf + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + for ac_func in frexpl do : - ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" -if test "x$ac_cv_func_ldexpf" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" +if test "x$ac_cv_func_frexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPF 1 +#define HAVE_FREXPL 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5 -$as_echo_n "checking for _ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if ${glibcxx_cv_func__ldexpf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 +$as_echo_n "checking for hypotl declaration... " >&6; } + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25297,15 +25281,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _ldexpf(0, 0); + hypotl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpf_use=yes + glibcxx_cv_func_hypotl_use=yes else - glibcxx_cv_func__ldexpf_use=no + glibcxx_cv_func_hypotl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25318,32 +25302,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then - for ac_func in _ldexpf + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + for ac_func in hypotl do : - ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf" -if test "x$ac_cv_func__ldexpf" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" +if test "x$ac_cv_func_hypotl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPF 1 +#define HAVE_HYPOTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 -$as_echo_n "checking for logf declaration... " >&6; } - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if ${glibcxx_cv_func_logf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 +$as_echo_n "checking for ldexpl declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25357,22 +25338,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - logf(0); + ldexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logf_use=yes + glibcxx_cv_func_ldexpl_use=yes else - glibcxx_cv_func_logf_use=no + glibcxx_cv_func_ldexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25385,27 +25362,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 -$as_echo "$glibcxx_cv_func_logf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - if test x$glibcxx_cv_func_logf_use = x"yes"; then - for ac_func in logf + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + for ac_func in ldexpl do : - ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" -if test "x$ac_cv_func_logf" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" +if test "x$ac_cv_func_ldexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOGF 1 +#define HAVE_LDEXPL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5 -$as_echo_n "checking for _logf declaration... " >&6; } - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if ${glibcxx_cv_func__logf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 +$as_echo_n "checking for logl declaration... " >&6; } + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25426,15 +25405,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _logf(0); + logl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logf_use=yes + glibcxx_cv_func_logl_use=yes else - glibcxx_cv_func__logf_use=no + glibcxx_cv_func_logl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25447,32 +25426,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5 -$as_echo "$glibcxx_cv_func__logf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 +$as_echo "$glibcxx_cv_func_logl_use" >&6; } - if test x$glibcxx_cv_func__logf_use = x"yes"; then - for ac_func in _logf + if test x$glibcxx_cv_func_logl_use = x"yes"; then + for ac_func in logl do : - ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf" -if test "x$ac_cv_func__logf" = xyes; then : + ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" +if test "x$ac_cv_func_logl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOGF 1 +#define HAVE_LOGL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 -$as_echo_n "checking for log10f declaration... " >&6; } - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if ${glibcxx_cv_func_log10f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 +$as_echo_n "checking for log10l declaration... " >&6; } + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if ${glibcxx_cv_func_log10l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25493,15 +25469,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - log10f(0); + log10l(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10f_use=yes + glibcxx_cv_func_log10l_use=yes else - glibcxx_cv_func_log10f_use=no + glibcxx_cv_func_log10l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25514,27 +25490,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 -$as_echo "$glibcxx_cv_func_log10f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - if test x$glibcxx_cv_func_log10f_use = x"yes"; then - for ac_func in log10f + if test x$glibcxx_cv_func_log10l_use = x"yes"; then + for ac_func in log10l do : - ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" -if test "x$ac_cv_func_log10f" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" +if test "x$ac_cv_func_log10l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10F 1 +#define HAVE_LOG10L 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5 -$as_echo_n "checking for _log10f declaration... " >&6; } - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if ${glibcxx_cv_func__log10f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 +$as_echo_n "checking for modfl declaration... " >&6; } + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if ${glibcxx_cv_func_modfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25548,22 +25526,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10f(0); + modfl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10f_use=yes + glibcxx_cv_func_modfl_use=yes else - glibcxx_cv_func__log10f_use=no + glibcxx_cv_func_modfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25576,32 +25550,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5 -$as_echo "$glibcxx_cv_func__log10f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - if test x$glibcxx_cv_func__log10f_use = x"yes"; then - for ac_func in _log10f + if test x$glibcxx_cv_func_modfl_use = x"yes"; then + for ac_func in modfl do : - ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f" -if test "x$ac_cv_func__log10f" = xyes; then : + ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" +if test "x$ac_cv_func_modfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10F 1 +#define HAVE_MODFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 -$as_echo_n "checking for modff declaration... " >&6; } - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if ${glibcxx_cv_func_modff_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 +$as_echo_n "checking for powl declaration... " >&6; } + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if ${glibcxx_cv_func_powl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25618,15 +25589,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - modff(0, 0); + powl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modff_use=yes + glibcxx_cv_func_powl_use=yes else - glibcxx_cv_func_modff_use=no + glibcxx_cv_func_powl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25639,27 +25610,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 -$as_echo "$glibcxx_cv_func_modff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 +$as_echo "$glibcxx_cv_func_powl_use" >&6; } - if test x$glibcxx_cv_func_modff_use = x"yes"; then - for ac_func in modff + if test x$glibcxx_cv_func_powl_use = x"yes"; then + for ac_func in powl do : - ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" -if test "x$ac_cv_func_modff" = xyes; then : + ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" +if test "x$ac_cv_func_powl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODFF 1 +#define HAVE_POWL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5 -$as_echo_n "checking for _modff declaration... " >&6; } - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if ${glibcxx_cv_func__modff_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 +$as_echo_n "checking for sqrtl declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if ${glibcxx_cv_func_sqrtl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25673,18 +25646,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modff(0, 0); + sqrtl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modff_use=yes + glibcxx_cv_func_sqrtl_use=yes else - glibcxx_cv_func__modff_use=no + glibcxx_cv_func_sqrtl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25697,32 +25674,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5 -$as_echo "$glibcxx_cv_func__modff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - if test x$glibcxx_cv_func__modff_use = x"yes"; then - for ac_func in _modff + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + for ac_func in sqrtl do : - ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff" -if test "x$ac_cv_func__modff" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" +if test "x$ac_cv_func_sqrtl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODFF 1 +#define HAVE_SQRTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 -$as_echo_n "checking for modf declaration... " >&6; } - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if ${glibcxx_cv_func_modf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 +$as_echo_n "checking for sincosl declaration... " >&6; } + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if ${glibcxx_cv_func_sincosl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25739,15 +25713,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - modf(0, 0); + sincosl(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modf_use=yes + glibcxx_cv_func_sincosl_use=yes else - glibcxx_cv_func_modf_use=no + glibcxx_cv_func_sincosl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25760,27 +25734,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 -$as_echo "$glibcxx_cv_func_modf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 +$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - if test x$glibcxx_cv_func_modf_use = x"yes"; then - for ac_func in modf + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + for ac_func in sincosl do : - ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" -if test "x$ac_cv_func_modf" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" +if test "x$ac_cv_func_sincosl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODF 1 +#define HAVE_SINCOSL 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5 -$as_echo_n "checking for _modf declaration... " >&6; } - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if ${glibcxx_cv_func__modf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 +$as_echo_n "checking for finitel declaration... " >&6; } + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if ${glibcxx_cv_func_finitel_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25794,18 +25770,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modf(0, 0); + finitel(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modf_use=yes + glibcxx_cv_func_finitel_use=yes else - glibcxx_cv_func__modf_use=no + glibcxx_cv_func_finitel_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25818,32 +25798,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5 -$as_echo "$glibcxx_cv_func__modf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 +$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - if test x$glibcxx_cv_func__modf_use = x"yes"; then - for ac_func in _modf + if test x$glibcxx_cv_func_finitel_use = x"yes"; then + for ac_func in finitel do : - ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf" -if test "x$ac_cv_func__modf" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" +if test "x$ac_cv_func_finitel" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODF 1 +#define HAVE_FINITEL 1 _ACEOF fi done - fi fi + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 -$as_echo_n "checking for powf declaration... " >&6; } - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if ${glibcxx_cv_func_powf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 +$as_echo_n "checking for at_quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25856,19 +25841,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - powf(0, 0); + at_quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powf_use=yes + glibcxx_cv_func_at_quick_exit_use=yes else - glibcxx_cv_func_powf_use=no + glibcxx_cv_func_at_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25881,27 +25866,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 -$as_echo "$glibcxx_cv_func_powf_use" >&6; } - - if test x$glibcxx_cv_func_powf_use = x"yes"; then - for ac_func in powf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then + for ac_func in at_quick_exit do : - ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" -if test "x$ac_cv_func_powf" = xyes; then : + ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" +if test "x$ac_cv_func_at_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_POWF 1 +#define HAVE_AT_QUICK_EXIT 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5 -$as_echo_n "checking for _powf declaration... " >&6; } - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if ${glibcxx_cv_func__powf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 +$as_echo_n "checking for quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25914,19 +25899,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - _powf(0, 0); + quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powf_use=yes + glibcxx_cv_func_quick_exit_use=yes else - glibcxx_cv_func__powf_use=no + glibcxx_cv_func_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -25939,32 +25924,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5 -$as_echo "$glibcxx_cv_func__powf_use" >&6; } - - if test x$glibcxx_cv_func__powf_use = x"yes"; then - for ac_func in _powf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then + for ac_func in quick_exit do : - ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf" -if test "x$ac_cv_func__powf" = xyes; then : + ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" +if test "x$ac_cv_func_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__POWF 1 +#define HAVE_QUICK_EXIT 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 -$as_echo_n "checking for sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if ${glibcxx_cv_func_sqrtf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 +$as_echo_n "checking for strtold declaration... " >&6; } + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if ${glibcxx_cv_func_strtold_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -25977,23 +25957,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - sqrtf(0); + strtold(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtf_use=yes + glibcxx_cv_func_strtold_use=yes else - glibcxx_cv_func_sqrtf_use=no + glibcxx_cv_func_strtold_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -26006,27 +25982,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then - for ac_func in sqrtf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 +$as_echo "$glibcxx_cv_func_strtold_use" >&6; } + if test x$glibcxx_cv_func_strtold_use = x"yes"; then + for ac_func in strtold do : - ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" -if test "x$ac_cv_func_sqrtf" = xyes; then : + ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" +if test "x$ac_cv_func_strtold" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTF 1 +#define HAVE_STRTOLD 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5 -$as_echo_n "checking for _sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if ${glibcxx_cv_func__sqrtf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 +$as_echo_n "checking for strtof declaration... " >&6; } + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if ${glibcxx_cv_func_strtof_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -26039,23 +26015,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - _sqrtf(0); + strtof(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtf_use=yes + glibcxx_cv_func_strtof_use=yes else - glibcxx_cv_func__sqrtf_use=no + glibcxx_cv_func_strtof_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -26068,434 +26040,272 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; } - - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then - for ac_func in _sqrtf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 +$as_echo "$glibcxx_cv_func_strtof_use" >&6; } + if test x$glibcxx_cv_func_strtof_use = x"yes"; then + for ac_func in strtof do : - ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf" -if test "x$ac_cv_func__sqrtf" = xyes; then : + ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" +if test "x$ac_cv_func_strtof" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTF 1 +#define HAVE_STRTOF 1 _ACEOF fi done - fi fi + CXXFLAGS="$ac_save_CXXFLAGS" + # For /dev/random and /dev/urandom for std::random_device. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 -$as_echo_n "checking for sincosf declaration... " >&6; } - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if ${glibcxx_cv_func_sincosf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincosf(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosf_use=yes + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5 +$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; } +if ${glibcxx_cv_dev_random+:} false; then : + $as_echo_n "(cached) " >&6 else - glibcxx_cv_func_sincosf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 -$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then - for ac_func in sincosf -do : - ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" -if test "x$ac_cv_func_sincosf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSF 1 -_ACEOF + if test -r /dev/random && test -r /dev/urandom; then + ## For MSys environment the test above is detected as false-positive + ## on mingw-targets. So disable it explicitly for them. + case ${target_os} in + *mingw*) glibcxx_cv_dev_random=no ;; + *) glibcxx_cv_dev_random=yes ;; + esac + else + glibcxx_cv_dev_random=no; + fi fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5 -$as_echo_n "checking for _sincosf declaration... " >&6; } - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if ${glibcxx_cv_func__sincosf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5 +$as_echo "$glibcxx_cv_dev_random" >&6; } - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if test x"$glibcxx_cv_dev_random" = x"yes"; then - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincosf(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosf_use=yes -else - glibcxx_cv_func__sincosf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +$as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h -fi +$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5 -$as_echo "$glibcxx_cv_func__sincosf_use" >&6; } - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then - for ac_func in _sincosf -do : - ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf" -if test "x$ac_cv_func__sincosf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSF 1 -_ACEOF -fi -done - fi - fi + # For TLS support. + # Check whether --enable-tls was given. +if test "${enable_tls+set}" = set; then : + enableval=$enable_tls; + case "$enableval" in + yes|no) ;; + *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; + esac +else + enable_tls=yes +fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 -$as_echo_n "checking for finitef declaration... " >&6; } - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if ${glibcxx_cv_func_finitef_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 +$as_echo_n "checking whether the target supports thread-local storage... " >&6; } +if ${gcc_cv_have_tls+:} false; then : $as_echo_n "(cached) " >&6 else - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "$cross_compiling" = yes; then : + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finitef(0); - ; - return 0; -} +__thread int a; int b; int main() { return a = b; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitef_use=yes -else - glibcxx_cv_func_finitef_use=no +if ac_fn_c_try_link "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + case $host in + *-*-linux* | -*-uclinuxfdpic*) + LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" + ;; + esac + chktls_save_CFLAGS="$CFLAGS" + CFLAGS="-fPIC $CFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int f() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 -$as_echo "$glibcxx_cv_func_finitef_use" >&6; } - - if test x$glibcxx_cv_func_finitef_use = x"yes"; then - for ac_func in finitef -do : - ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" -if test "x$ac_cv_func_finitef" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEF 1 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int f() { return a = b; } _ACEOF - +if ac_fn_c_try_link "$LINENO"; then : + gcc_cv_have_tls=yes +else + gcc_cv_have_tls=no fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5 -$as_echo_n "checking for _finitef declaration... " >&6; } - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if ${glibcxx_cv_func__finitef_use+:} false; then : - $as_echo_n "(cached) " >&6 +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +else + gcc_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$chktls_save_CFLAGS" + LDFLAGS="$chktls_save_LDFLAGS" else + gcc_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finitef(0); - ; - return 0; -} +__thread int a; int b; int main() { return a = b; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitef_use=yes -else - glibcxx_cv_func__finitef_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +if ac_fn_c_try_run "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + LDFLAGS="-static $LDFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5 -$as_echo "$glibcxx_cv_func__finitef_use" >&6; } - - if test x$glibcxx_cv_func__finitef_use = x"yes"; then - for ac_func in _finitef -do : - ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef" -if test "x$ac_cv_func__finitef" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEF 1 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int main() { return 0; } _ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 -$as_echo_n "checking for long double trig functions... " >&6; } - if ${glibcxx_cv_func_long_double_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 +if ac_fn_c_try_link "$LINENO"; then : + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -int -main () -{ -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); - ; - return 0; -} +__thread int a; int b; int main() { return a = b; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_trig_use=yes +if ac_fn_c_try_run "$LINENO"; then : + gcc_cv_have_tls=yes else - glibcxx_cv_func_long_double_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - + gcc_cv_have_tls=no fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5 -$as_echo_n "checking for _long double trig functions... " >&6; } - if ${glibcxx_cv_func__long_double_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + gcc_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$chktls_save_LDFLAGS" + if test $gcc_cv_have_tls = yes; then + chktls_save_CFLAGS="$CFLAGS" + thread_CFLAGS=failed + for flag in '' '-pthread' '-lpthread'; do + CFLAGS="$flag $chktls_save_CFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include + void *g(void *d) { return NULL; } int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +pthread_t t; pthread_create(&t,NULL,g,NULL); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_trig_use=yes -else - glibcxx_cv_func__long_double_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; } - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - +if ac_fn_c_try_link "$LINENO"; then : + thread_CFLAGS="$flag" fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 -$as_echo_n "checking for long double round functions... " >&6; } - if ${glibcxx_cv_func_long_double_round_use+:} false; then : - $as_echo_n "(cached) " >&6 +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "X$thread_CFLAGS" != Xfailed; then + break + fi + done + CFLAGS="$chktls_save_CFLAGS" + if test "X$thread_CFLAGS" != Xfailed; then + CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include + __thread int a; + static int *volatile a_in_other_thread; + static void * + thread_func (void *arg) + { + a_in_other_thread = &a; + return (void *)0; + } int main () { -ceill (0); floorl (0); +pthread_t thread; + void *thread_retval; + int *volatile a_in_main_thread; + a_in_main_thread = &a; + if (pthread_create (&thread, (pthread_attr_t *)0, + thread_func, (void *)0)) + return 0; + if (pthread_join (thread, &thread_retval)) + return 0; + return (a_in_other_thread == a_in_main_thread); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_round_use=yes +if ac_fn_c_try_run "$LINENO"; then : + gcc_cv_have_tls=yes else - glibcxx_cv_func_long_double_round_use=no + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + CFLAGS="$chktls_save_CFLAGS" + fi + fi +else + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5 +$as_echo "$gcc_cv_have_tls" >&6; } + if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then - for ac_func in ceill floorl +$as_echo "#define HAVE_TLS 1" >>confdefs.h + + fi + + for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -26507,49 +26317,7 @@ _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5 -$as_echo_n "checking for _long double round functions... " >&6; } - if ${glibcxx_cv_func__long_double_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_ceill (0); _floorl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_round_use=yes -else - glibcxx_cv_func__long_double_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; } - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - for ac_func in _ceill _floorl + for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -26561,21310 +26329,2461 @@ _ACEOF fi done - fi - fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 -$as_echo_n "checking for isnanl declaration... " >&6; } - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if ${glibcxx_cv_func_isnanl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnanl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanl_use=yes -else - glibcxx_cv_func_isnanl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 -$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } - - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then - for ac_func in isnanl + for ac_func in _wfopen do : - ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" -if test "x$ac_cv_func_isnanl" = xyes; then : + ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen" +if test "x$ac_cv_func__wfopen" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANL 1 +#define HAVE__WFOPEN 1 _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5 -$as_echo_n "checking for _isnanl declaration... " >&6; } - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if ${glibcxx_cv_func__isnanl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnanl(0); - ; - return 0; -} + for ac_func in secure_getenv +do : + ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv" +if test "x$ac_cv_func_secure_getenv" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SECURE_GETENV 1 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanl_use=yes -else - glibcxx_cv_func__isnanl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi +done - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5 -$as_echo "$glibcxx_cv_func__isnanl_use" >&6; } - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then - for ac_func in _isnanl + # C11 functions for C++17 library + for ac_func in timespec_get do : - ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl" -if test "x$ac_cv_func__isnanl" = xyes; then : + ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" +if test "x$ac_cv_func_timespec_get" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANL 1 +#define HAVE_TIMESPEC_GET 1 _ACEOF fi done - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 -$as_echo_n "checking for isinfl declaration... " >&6; } - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if ${glibcxx_cv_func_isinfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif -int -main () -{ - isinfl(0); - ; - return 0; -} + # For Networking TS. + for ac_func in sockatmark +do : + ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" +if test "x$ac_cv_func_sockatmark" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SOCKATMARK 1 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinfl_use=yes -else - glibcxx_cv_func_isinfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi +done - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 -$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then - for ac_func in isinfl + # Non-standard functions used by C++17 std::from_chars + for ac_func in uselocale do : - ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" -if test "x$ac_cv_func_isinfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" +if test "x$ac_cv_func_uselocale" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFL 1 +#define HAVE_USELOCALE 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5 -$as_echo_n "checking for _isinfl declaration... " >&6; } - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if ${glibcxx_cv_func__isinfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + # For iconv support. + if test "X$prefix" = "XNONE"; then + acl_final_prefix="$ac_default_prefix" + else + acl_final_prefix="$prefix" + fi + if test "X$exec_prefix" = "XNONE"; then + acl_final_exec_prefix='${prefix}' + else + acl_final_exec_prefix="$exec_prefix" + fi + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" + prefix="$acl_save_prefix" - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinfl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinfl_use=yes -else - glibcxx_cv_func__isinfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi +# Check whether --with-gnu-ld was given. +if test "${with_gnu_ld+set}" = set; then : + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes +else + with_gnu_ld=no +fi +# Prepare PATH_SEPARATOR. +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5 -$as_echo "$glibcxx_cv_func__isinfl_use" >&6; } - - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then - for ac_func in _isinfl -do : - ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl" -if test "x$ac_cv_func__isinfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFL 1 -_ACEOF - + rm -f conf$$.sh fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 -$as_echo_n "checking for atan2l declaration... " >&6; } - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if ${glibcxx_cv_func_atan2l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - atan2l(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2l_use=yes +ac_prog=ld +if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) + # gcc leaves a trailing carriage return which upsets mingw + ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; + *) + ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; + esac + case $ac_prog in + # Accept absolute paths. + [\\/]* | [A-Za-z]:[\\/]*) + re_direlt='/[^/][^/]*/\.\./' + # Canonicalize the path of ld + ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` + while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do + ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` + done + test -z "$LD" && LD="$ac_prog" + ;; + "") + # If it fails, then pretend we aren't using GCC. + ac_prog=ld + ;; + *) + # If it is relative, then search for the first ld in PATH. + with_gnu_ld=unknown + ;; + esac +elif test "$with_gnu_ld" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } else - glibcxx_cv_func_atan2l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 -$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then - for ac_func in atan2l -do : - ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" -if test "x$ac_cv_func_atan2l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2L 1 -_ACEOF - + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5 -$as_echo_n "checking for _atan2l declaration... " >&6; } - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if ${glibcxx_cv_func__atan2l_use+:} false; then : +if ${acl_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _atan2l(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2l_use=yes + if test -z "$LD"; then + IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" + for ac_dir in $PATH; do + test -z "$ac_dir" && ac_dir=. + if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then + acl_cv_path_LD="$ac_dir/$ac_prog" + # Check to see if the program is GNU ld. I'd rather use --version, + # but apparently some GNU ld's only accept -v. + # Break only if it was the GNU/non-GNU ld that we prefer. + if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then + test "$with_gnu_ld" != no && break + else + test "$with_gnu_ld" != yes && break + fi + fi + done + IFS="$ac_save_ifs" else - glibcxx_cv_func__atan2l_use=no + acl_cv_path_LD="$LD" # Let the user override the test with a path. fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5 -$as_echo "$glibcxx_cv_func__atan2l_use" >&6; } - - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then - for ac_func in _atan2l -do : - ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l" -if test "x$ac_cv_func__atan2l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2L 1 -_ACEOF - +LD="$acl_cv_path_LD" +if test -n "$LD"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 -$as_echo_n "checking for expl declaration... " >&6; } - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if ${glibcxx_cv_func_expl_use+:} false; then : +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - expl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expl_use=yes + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +if $LD -v 2>&1 &5; then + acl_cv_prog_gnu_ld=yes else - glibcxx_cv_func_expl_use=no + acl_cv_prog_gnu_ld=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } +with_gnu_ld=$acl_cv_prog_gnu_ld - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 -$as_echo "$glibcxx_cv_func_expl_use" >&6; } - - if test x$glibcxx_cv_func_expl_use = x"yes"; then - for ac_func in expl -do : - ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" -if test "x$ac_cv_func_expl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPL 1 -_ACEOF - -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5 -$as_echo_n "checking for _expl declaration... " >&6; } - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if ${glibcxx_cv_func__expl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : $as_echo_n "(cached) " >&6 else + CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ + ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh + . ./conftest.sh + rm -f ./conftest.sh + acl_cv_rpath=done - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _expl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expl_use=yes -else - glibcxx_cv_func__expl_use=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + libext="$acl_cv_libext" + shlibext="$acl_cv_shlibext" + hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" + hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" + hardcode_direct="$acl_cv_hardcode_direct" + hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +if test "${enable_rpath+set}" = set; then : + enableval=$enable_rpath; : +else + enable_rpath=yes fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5 -$as_echo "$glibcxx_cv_func__expl_use" >&6; } - if test x$glibcxx_cv_func__expl_use = x"yes"; then - for ac_func in _expl -do : - ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl" -if test "x$ac_cv_func__expl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__EXPL 1 -_ACEOF -fi -done - fi - fi + use_additional=yes - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 -$as_echo_n "checking for fabsl declaration... " >&6; } - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if ${glibcxx_cv_func_fabsl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif -int -main () -{ - fabsl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsl_use=yes -else - glibcxx_cv_func_fabsl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +# Check whether --with-libiconv-prefix was given. +if test "${with_libiconv_prefix+set}" = set; then : + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no + else + if test "X$withval" = "X"; then + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" -fi + eval additional_includedir=\"$includedir\" + eval additional_libdir=\"$libdir\" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 -$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then - for ac_func in fabsl -do : - ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" -if test "x$ac_cv_func_fabsl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSL 1 -_ACEOF + else + additional_includedir="$withval/include" + additional_libdir="$withval/lib" + fi + fi fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5 -$as_echo_n "checking for _fabsl declaration... " >&6; } - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if ${glibcxx_cv_func__fabsl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif -int -main () -{ - _fabsl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsl_use=yes +# Check whether --with-libiconv-type was given. +if test "${with_libiconv_type+set}" = set; then : + withval=$with_libiconv_type; with_libiconv_type=$withval else - glibcxx_cv_func__fabsl_use=no + with_libiconv_type=auto fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + lib_type=`eval echo \$with_libiconv_type` -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5 -$as_echo "$glibcxx_cv_func__fabsl_use" >&6; } + LIBICONV= + LTLIBICONV= + INCICONV= + rpathdirs= + ltrpathdirs= + names_already_handled= + names_next_round='iconv ' + while test -n "$names_next_round"; do + names_this_round="$names_next_round" + names_next_round= + for name in $names_this_round; do + already_handled= + for n in $names_already_handled; do + if test "$n" = "$name"; then + already_handled=yes + break + fi + done + if test -z "$already_handled"; then + names_already_handled="$names_already_handled $name" + uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` + eval value=\"\$HAVE_LIB$uppername\" + if test -n "$value"; then + if test "$value" = yes; then + eval value=\"\$LIB$uppername\" + test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" + eval value=\"\$LTLIB$uppername\" + test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" + else + : + fi + else + found_dir= + found_la= + found_so= + found_a= + if test $use_additional = yes; then + if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then + found_dir="$additional_libdir" + found_so="$additional_libdir/lib$name.$shlibext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + elif test x$lib_type != xshared; then + if test -f "$additional_libdir/lib$name.$libext"; then + found_dir="$additional_libdir" + found_a="$additional_libdir/lib$name.$libext" + if test -f "$additional_libdir/lib$name.la"; then + found_la="$additional_libdir/lib$name.la" + fi + fi + fi + fi + if test "X$found_dir" = "X"; then + for x in $LDFLAGS $LTLIBICONV; do - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then - for ac_func in _fabsl -do : - ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl" -if test "x$ac_cv_func__fabsl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FABSL 1 -_ACEOF + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 -$as_echo_n "checking for fmodl declaration... " >&6; } - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if ${glibcxx_cv_func_fmodl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - fmodl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodl_use=yes -else - glibcxx_cv_func_fmodl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 -$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then - for ac_func in fmodl -do : - ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" -if test "x$ac_cv_func_fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5 -$as_echo_n "checking for _fmodl declaration... " >&6; } - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if ${glibcxx_cv_func__fmodl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _fmodl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodl_use=yes -else - glibcxx_cv_func__fmodl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5 -$as_echo "$glibcxx_cv_func__fmodl_use" >&6; } - - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then - for ac_func in _fmodl -do : - ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl" -if test "x$ac_cv_func__fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FMODL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 -$as_echo_n "checking for frexpl declaration... " >&6; } - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if ${glibcxx_cv_func_frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - frexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpl_use=yes -else - glibcxx_cv_func_frexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 -$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then - for ac_func in frexpl -do : - ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" -if test "x$ac_cv_func_frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5 -$as_echo_n "checking for _frexpl declaration... " >&6; } - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if ${glibcxx_cv_func__frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _frexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpl_use=yes -else - glibcxx_cv_func__frexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5 -$as_echo "$glibcxx_cv_func__frexpl_use" >&6; } - - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then - for ac_func in _frexpl -do : - ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl" -if test "x$ac_cv_func__frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 -$as_echo_n "checking for hypotl declaration... " >&6; } - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if ${glibcxx_cv_func_hypotl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypotl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotl_use=yes -else - glibcxx_cv_func_hypotl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 -$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then - for ac_func in hypotl -do : - ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" -if test "x$ac_cv_func_hypotl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5 -$as_echo_n "checking for _hypotl declaration... " >&6; } - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if ${glibcxx_cv_func__hypotl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypotl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotl_use=yes -else - glibcxx_cv_func__hypotl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5 -$as_echo "$glibcxx_cv_func__hypotl_use" >&6; } - - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then - for ac_func in _hypotl -do : - ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl" -if test "x$ac_cv_func__hypotl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 -$as_echo_n "checking for ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if ${glibcxx_cv_func_ldexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - ldexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpl_use=yes -else - glibcxx_cv_func_ldexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then - for ac_func in ldexpl -do : - ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" -if test "x$ac_cv_func_ldexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5 -$as_echo_n "checking for _ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if ${glibcxx_cv_func__ldexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _ldexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpl_use=yes -else - glibcxx_cv_func__ldexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; } - - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then - for ac_func in _ldexpl -do : - ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl" -if test "x$ac_cv_func__ldexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 -$as_echo_n "checking for logl declaration... " >&6; } - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if ${glibcxx_cv_func_logl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - logl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logl_use=yes -else - glibcxx_cv_func_logl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 -$as_echo "$glibcxx_cv_func_logl_use" >&6; } - - if test x$glibcxx_cv_func_logl_use = x"yes"; then - for ac_func in logl -do : - ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" -if test "x$ac_cv_func_logl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOGL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5 -$as_echo_n "checking for _logl declaration... " >&6; } - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if ${glibcxx_cv_func__logl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _logl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logl_use=yes -else - glibcxx_cv_func__logl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5 -$as_echo "$glibcxx_cv_func__logl_use" >&6; } - - if test x$glibcxx_cv_func__logl_use = x"yes"; then - for ac_func in _logl -do : - ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl" -if test "x$ac_cv_func__logl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOGL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 -$as_echo_n "checking for log10l declaration... " >&6; } - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if ${glibcxx_cv_func_log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - log10l(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10l_use=yes -else - glibcxx_cv_func_log10l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 -$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - - if test x$glibcxx_cv_func_log10l_use = x"yes"; then - for ac_func in log10l -do : - ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" -if test "x$ac_cv_func_log10l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10L 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5 -$as_echo_n "checking for _log10l declaration... " >&6; } - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if ${glibcxx_cv_func__log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _log10l(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10l_use=yes -else - glibcxx_cv_func__log10l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5 -$as_echo "$glibcxx_cv_func__log10l_use" >&6; } - - if test x$glibcxx_cv_func__log10l_use = x"yes"; then - for ac_func in _log10l -do : - ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l" -if test "x$ac_cv_func__log10l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10L 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 -$as_echo_n "checking for modfl declaration... " >&6; } - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if ${glibcxx_cv_func_modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - modfl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modfl_use=yes -else - glibcxx_cv_func_modfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 -$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - - if test x$glibcxx_cv_func_modfl_use = x"yes"; then - for ac_func in modfl -do : - ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" -if test "x$ac_cv_func_modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODFL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5 -$as_echo_n "checking for _modfl declaration... " >&6; } - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if ${glibcxx_cv_func__modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _modfl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modfl_use=yes -else - glibcxx_cv_func__modfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5 -$as_echo "$glibcxx_cv_func__modfl_use" >&6; } - - if test x$glibcxx_cv_func__modfl_use = x"yes"; then - for ac_func in _modfl -do : - ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl" -if test "x$ac_cv_func__modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODFL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 -$as_echo_n "checking for powl declaration... " >&6; } - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if ${glibcxx_cv_func_powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - powl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powl_use=yes -else - glibcxx_cv_func_powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 -$as_echo "$glibcxx_cv_func_powl_use" >&6; } - - if test x$glibcxx_cv_func_powl_use = x"yes"; then - for ac_func in powl -do : - ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" -if test "x$ac_cv_func_powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POWL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5 -$as_echo_n "checking for _powl declaration... " >&6; } - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if ${glibcxx_cv_func__powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _powl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powl_use=yes -else - glibcxx_cv_func__powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5 -$as_echo "$glibcxx_cv_func__powl_use" >&6; } - - if test x$glibcxx_cv_func__powl_use = x"yes"; then - for ac_func in _powl -do : - ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl" -if test "x$ac_cv_func__powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__POWL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 -$as_echo_n "checking for sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if ${glibcxx_cv_func_sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - sqrtl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtl_use=yes -else - glibcxx_cv_func_sqrtl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then - for ac_func in sqrtl -do : - ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" -if test "x$ac_cv_func_sqrtl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5 -$as_echo_n "checking for _sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if ${glibcxx_cv_func__sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _sqrtl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtl_use=yes -else - glibcxx_cv_func__sqrtl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; } - - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then - for ac_func in _sqrtl -do : - ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl" -if test "x$ac_cv_func__sqrtl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 -$as_echo_n "checking for sincosl declaration... " >&6; } - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if ${glibcxx_cv_func_sincosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincosl(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosl_use=yes -else - glibcxx_cv_func_sincosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 -$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then - for ac_func in sincosl -do : - ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" -if test "x$ac_cv_func_sincosl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5 -$as_echo_n "checking for _sincosl declaration... " >&6; } - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if ${glibcxx_cv_func__sincosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincosl(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosl_use=yes -else - glibcxx_cv_func__sincosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5 -$as_echo "$glibcxx_cv_func__sincosl_use" >&6; } - - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then - for ac_func in _sincosl -do : - ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl" -if test "x$ac_cv_func__sincosl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 -$as_echo_n "checking for finitel declaration... " >&6; } - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if ${glibcxx_cv_func_finitel_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finitel(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitel_use=yes -else - glibcxx_cv_func_finitel_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 -$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - - if test x$glibcxx_cv_func_finitel_use = x"yes"; then - for ac_func in finitel -do : - ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" -if test "x$ac_cv_func_finitel" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5 -$as_echo_n "checking for _finitel declaration... " >&6; } - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if ${glibcxx_cv_func__finitel_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finitel(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitel_use=yes -else - glibcxx_cv_func__finitel_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5 -$as_echo "$glibcxx_cv_func__finitel_use" >&6; } - - if test x$glibcxx_cv_func__finitel_use = x"yes"; then - for ac_func in _finitel -do : - ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel" -if test "x$ac_cv_func__finitel" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEL 1 -_ACEOF - -fi -done - - fi - fi - - - - - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 -$as_echo_n "checking for at_quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - at_quick_exit(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_at_quick_exit_use=yes -else - glibcxx_cv_func_at_quick_exit_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then - for ac_func in at_quick_exit -do : - ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" -if test "x$ac_cv_func_at_quick_exit" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_AT_QUICK_EXIT 1 -_ACEOF - -fi -done - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 -$as_echo_n "checking for quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_quick_exit_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - quick_exit(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_quick_exit_use=yes -else - glibcxx_cv_func_quick_exit_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then - for ac_func in quick_exit -do : - ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" -if test "x$ac_cv_func_quick_exit" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_QUICK_EXIT 1 -_ACEOF - -fi -done - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 -$as_echo_n "checking for strtold declaration... " >&6; } - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if ${glibcxx_cv_func_strtold_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - strtold(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtold_use=yes -else - glibcxx_cv_func_strtold_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 -$as_echo "$glibcxx_cv_func_strtold_use" >&6; } - if test x$glibcxx_cv_func_strtold_use = x"yes"; then - for ac_func in strtold -do : - ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" -if test "x$ac_cv_func_strtold" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOLD 1 -_ACEOF - -fi -done - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 -$as_echo_n "checking for strtof declaration... " >&6; } - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if ${glibcxx_cv_func_strtof_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - strtof(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtof_use=yes -else - glibcxx_cv_func_strtof_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 -$as_echo "$glibcxx_cv_func_strtof_use" >&6; } - if test x$glibcxx_cv_func_strtof_use = x"yes"; then - for ac_func in strtof -do : - ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" -if test "x$ac_cv_func_strtof" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOF 1 -_ACEOF - -fi -done - - fi - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - - - # For /dev/random and /dev/urandom for std::random_device. - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5 -$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; } -if ${glibcxx_cv_dev_random+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test -r /dev/random && test -r /dev/urandom; then - ## For MSys environment the test above is detected as false-positive - ## on mingw-targets. So disable it explicitly for them. - case ${target_os} in - *mingw*) glibcxx_cv_dev_random=no ;; - *) glibcxx_cv_dev_random=yes ;; - esac - else - glibcxx_cv_dev_random=no; - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5 -$as_echo "$glibcxx_cv_dev_random" >&6; } - - if test x"$glibcxx_cv_dev_random" = x"yes"; then - -$as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h - - -$as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h - - fi - - - - # For TLS support. - - - # Check whether --enable-tls was given. -if test "${enable_tls+set}" = set; then : - enableval=$enable_tls; - case "$enableval" in - yes|no) ;; - *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; - esac - -else - enable_tls=yes -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 -$as_echo_n "checking whether the target supports thread-local storage... " >&6; } -if ${gcc_cv_have_tls+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - chktls_save_LDFLAGS="$LDFLAGS" - case $host in - *-*-linux* | -*-uclinuxfdpic*) - LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" - ;; - esac - chktls_save_CFLAGS="$CFLAGS" - CFLAGS="-fPIC $CFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int f() { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int f() { return a = b; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_have_tls=yes -else - gcc_cv_have_tls=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -else - gcc_cv_have_tls=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS="$chktls_save_CFLAGS" - LDFLAGS="$chktls_save_LDFLAGS" -else - gcc_cv_have_tls=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - chktls_save_LDFLAGS="$LDFLAGS" - LDFLAGS="-static $LDFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int main() { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_have_tls=yes -else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -else - gcc_cv_have_tls=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$chktls_save_LDFLAGS" - if test $gcc_cv_have_tls = yes; then - chktls_save_CFLAGS="$CFLAGS" - thread_CFLAGS=failed - for flag in '' '-pthread' '-lpthread'; do - CFLAGS="$flag $chktls_save_CFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - void *g(void *d) { return NULL; } -int -main () -{ -pthread_t t; pthread_create(&t,NULL,g,NULL); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - thread_CFLAGS="$flag" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "X$thread_CFLAGS" != Xfailed; then - break - fi - done - CFLAGS="$chktls_save_CFLAGS" - if test "X$thread_CFLAGS" != Xfailed; then - CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - __thread int a; - static int *volatile a_in_other_thread; - static void * - thread_func (void *arg) - { - a_in_other_thread = &a; - return (void *)0; - } -int -main () -{ -pthread_t thread; - void *thread_retval; - int *volatile a_in_main_thread; - a_in_main_thread = &a; - if (pthread_create (&thread, (pthread_attr_t *)0, - thread_func, (void *)0)) - return 0; - if (pthread_join (thread, &thread_retval)) - return 0; - return (a_in_other_thread == a_in_main_thread); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_have_tls=yes -else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - CFLAGS="$chktls_save_CFLAGS" - fi - fi -else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5 -$as_echo "$gcc_cv_have_tls" >&6; } - if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then - -$as_echo "#define HAVE_TLS 1" >>confdefs.h - - fi - - for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - for ac_func in _wfopen -do : - ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen" -if test "x$ac_cv_func__wfopen" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__WFOPEN 1 -_ACEOF - -fi -done - - for ac_func in secure_getenv -do : - ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv" -if test "x$ac_cv_func_secure_getenv" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SECURE_GETENV 1 -_ACEOF - -fi -done - - - # C11 functions for C++17 library - for ac_func in timespec_get -do : - ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" -if test "x$ac_cv_func_timespec_get" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_TIMESPEC_GET 1 -_ACEOF - -fi -done - - - # For Networking TS. - for ac_func in sockatmark -do : - ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" -if test "x$ac_cv_func_sockatmark" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SOCKATMARK 1 -_ACEOF - -fi -done - - - # Non-standard functions used by C++17 std::from_chars - for ac_func in uselocale -do : - ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" -if test "x$ac_cv_func_uselocale" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_USELOCALE 1 -_ACEOF - -fi -done - - - # For iconv support. - - if test "X$prefix" = "XNONE"; then - acl_final_prefix="$ac_default_prefix" - else - acl_final_prefix="$prefix" - fi - if test "X$exec_prefix" = "XNONE"; then - acl_final_exec_prefix='${prefix}' - else - acl_final_exec_prefix="$exec_prefix" - fi - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" - prefix="$acl_save_prefix" - - -# Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then : - withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes -else - with_gnu_ld=no -fi - -# Prepare PATH_SEPARATOR. -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi -ac_prog=ld -if test "$GCC" = yes; then - # Check if gcc -print-prog-name=ld gives a path. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 -$as_echo_n "checking for ld used by GCC... " >&6; } - case $host in - *-*-mingw*) - # gcc leaves a trailing carriage return which upsets mingw - ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; - *) - ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; - esac - case $ac_prog in - # Accept absolute paths. - [\\/]* | [A-Za-z]:[\\/]*) - re_direlt='/[^/][^/]*/\.\./' - # Canonicalize the path of ld - ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` - while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do - ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` - done - test -z "$LD" && LD="$ac_prog" - ;; - "") - # If it fails, then pretend we aren't using GCC. - ac_prog=ld - ;; - *) - # If it is relative, then search for the first ld in PATH. - with_gnu_ld=unknown - ;; - esac -elif test "$with_gnu_ld" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 -$as_echo_n "checking for GNU ld... " >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 -$as_echo_n "checking for non-GNU ld... " >&6; } -fi -if ${acl_cv_path_LD+:} false; then : - $as_echo_n "(cached) " >&6 -else - if test -z "$LD"; then - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then - acl_cv_path_LD="$ac_dir/$ac_prog" - # Check to see if the program is GNU ld. I'd rather use --version, - # but apparently some GNU ld's only accept -v. - # Break only if it was the GNU/non-GNU ld that we prefer. - if "$acl_cv_path_LD" -v 2>&1 < /dev/null | $EGREP '(GNU|with BFD)' > /dev/null; then - test "$with_gnu_ld" != no && break - else - test "$with_gnu_ld" != yes && break - fi - fi - done - IFS="$ac_save_ifs" -else - acl_cv_path_LD="$LD" # Let the user override the test with a path. -fi -fi - -LD="$acl_cv_path_LD" -if test -n "$LD"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 -$as_echo "$LD" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi -test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 -$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } -if ${acl_cv_prog_gnu_ld+:} false; then : - $as_echo_n "(cached) " >&6 -else - # I'd rather use --version here, but apparently some GNU ld's only accept -v. -if $LD -v 2>&1 &5; then - acl_cv_prog_gnu_ld=yes -else - acl_cv_prog_gnu_ld=no -fi -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 -$as_echo "$acl_cv_prog_gnu_ld" >&6; } -with_gnu_ld=$acl_cv_prog_gnu_ld - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 -$as_echo_n "checking for shared library run path origin... " >&6; } -if ${acl_cv_rpath+:} false; then : - $as_echo_n "(cached) " >&6 -else - - CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ - ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh - . ./conftest.sh - rm -f ./conftest.sh - acl_cv_rpath=done - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 -$as_echo "$acl_cv_rpath" >&6; } - wl="$acl_cv_wl" - libext="$acl_cv_libext" - shlibext="$acl_cv_shlibext" - hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" - hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" - hardcode_direct="$acl_cv_hardcode_direct" - hardcode_minus_L="$acl_cv_hardcode_minus_L" - # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then : - enableval=$enable_rpath; : -else - enable_rpath=yes -fi - - - - - - - - - use_additional=yes - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - - eval additional_includedir=\"$includedir\" - eval additional_libdir=\"$libdir\" - - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - -# Check whether --with-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then : - withval=$with_libiconv_prefix; - if test "X$withval" = "Xno"; then - use_additional=no - else - if test "X$withval" = "X"; then - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - - eval additional_includedir=\"$includedir\" - eval additional_libdir=\"$libdir\" - - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - else - additional_includedir="$withval/include" - additional_libdir="$withval/lib" - fi - fi - -fi - - -# Check whether --with-libiconv-type was given. -if test "${with_libiconv_type+set}" = set; then : - withval=$with_libiconv_type; with_libiconv_type=$withval -else - with_libiconv_type=auto -fi - - lib_type=`eval echo \$with_libiconv_type` - - LIBICONV= - LTLIBICONV= - INCICONV= - rpathdirs= - ltrpathdirs= - names_already_handled= - names_next_round='iconv ' - while test -n "$names_next_round"; do - names_this_round="$names_next_round" - names_next_round= - for name in $names_this_round; do - already_handled= - for n in $names_already_handled; do - if test "$n" = "$name"; then - already_handled=yes - break - fi - done - if test -z "$already_handled"; then - names_already_handled="$names_already_handled $name" - uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` - eval value=\"\$HAVE_LIB$uppername\" - if test -n "$value"; then - if test "$value" = yes; then - eval value=\"\$LIB$uppername\" - test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" - eval value=\"\$LTLIB$uppername\" - test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" - else - : - fi - else - found_dir= - found_la= - found_so= - found_a= - if test $use_additional = yes; then - if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then - found_dir="$additional_libdir" - found_so="$additional_libdir/lib$name.$shlibext" - if test -f "$additional_libdir/lib$name.la"; then - found_la="$additional_libdir/lib$name.la" - fi - elif test x$lib_type != xshared; then - if test -f "$additional_libdir/lib$name.$libext"; then - found_dir="$additional_libdir" - found_a="$additional_libdir/lib$name.$libext" - if test -f "$additional_libdir/lib$name.la"; then - found_la="$additional_libdir/lib$name.la" - fi - fi - fi - fi - if test "X$found_dir" = "X"; then - for x in $LDFLAGS $LTLIBICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - case "$x" in - -L*) - dir=`echo "X$x" | sed -e 's/^X-L//'` - if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then - found_dir="$dir" - found_so="$dir/lib$name.$shlibext" - if test -f "$dir/lib$name.la"; then - found_la="$dir/lib$name.la" - fi - elif test x$lib_type != xshared; then - if test -f "$dir/lib$name.$libext"; then - found_dir="$dir" - found_a="$dir/lib$name.$libext" - if test -f "$dir/lib$name.la"; then - found_la="$dir/lib$name.la" - fi - fi - fi - ;; - esac - if test "X$found_dir" != "X"; then - break - fi - done - fi - if test "X$found_dir" != "X"; then - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" - if test "X$found_so" != "X"; then - if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $found_dir" - fi - if test "$hardcode_direct" = yes; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $found_dir" - fi - else - haveit= - for x in $LDFLAGS $LIBICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X-L$found_dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" - fi - if test "$hardcode_minus_L" != no; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - fi - fi - fi - fi - else - if test "X$found_a" != "X"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" - fi - fi - additional_includedir= - case "$found_dir" in - */lib | */lib/) - basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` - additional_includedir="$basedir/include" - ;; - esac - if test "X$additional_includedir" != "X"; then - if test "X$additional_includedir" != "X/usr/include"; then - haveit= - if test "X$additional_includedir" = "X/usr/local/include"; then - if test -n "$GCC"; then - case $host_os in - linux*) haveit=yes;; - esac - fi - fi - if test -z "$haveit"; then - for x in $CPPFLAGS $INCICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X-I$additional_includedir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$additional_includedir"; then - INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" - fi - fi - fi - fi - fi - if test -n "$found_la"; then - save_libdir="$libdir" - case "$found_la" in - */* | *\\*) . "$found_la" ;; - *) . "./$found_la" ;; - esac - libdir="$save_libdir" - for dep in $dependency_libs; do - case "$dep" in - -L*) - additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` - if test "X$additional_libdir" != "X/usr/lib"; then - haveit= - if test "X$additional_libdir" = "X/usr/local/lib"; then - if test -n "$GCC"; then - case $host_os in - linux*) haveit=yes;; - esac - fi - fi - if test -z "$haveit"; then - haveit= - for x in $LDFLAGS $LIBICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X-L$additional_libdir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$additional_libdir"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" - fi - fi - haveit= - for x in $LDFLAGS $LTLIBICONV; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X-L$additional_libdir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - if test -d "$additional_libdir"; then - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" - fi - fi - fi - fi - ;; - -R*) - dir=`echo "X$dep" | sed -e 's/^X-R//'` - if test "$enable_rpath" != no; then - haveit= - for x in $rpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - rpathdirs="$rpathdirs $dir" - fi - haveit= - for x in $ltrpathdirs; do - if test "X$x" = "X$dir"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - ltrpathdirs="$ltrpathdirs $dir" - fi - fi - ;; - -l*) - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` - ;; - *.la) - names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` - ;; - *) - LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" - ;; - esac - done - fi - else - if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then - LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" - else - LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" - fi - fi - fi - fi - done - done - if test "X$rpathdirs" != "X"; then - if test -n "$hardcode_libdir_separator"; then - alldirs= - for found_dir in $rpathdirs; do - alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" - done - acl_save_libdir="$libdir" - libdir="$alldirs" - eval flag=\"$hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" - else - for found_dir in $rpathdirs; do - acl_save_libdir="$libdir" - libdir="$found_dir" - eval flag=\"$hardcode_libdir_flag_spec\" - libdir="$acl_save_libdir" - LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" - done - fi - fi - if test "X$ltrpathdirs" != "X"; then - for found_dir in $ltrpathdirs; do - LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" - done - fi - - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -$as_echo_n "checking for iconv... " >&6; } -if ${am_cv_func_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else - - am_cv_func_iconv="no, consider installing GNU libiconv" - am_cv_lib_iconv=no - am_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCICONV" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - - if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then - for _libs in .libs _libs; do - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS -I../libiconv/include" - LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - INCICONV="-I../libiconv/include" - LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a - LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la - am_cv_lib_iconv=yes - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - if test "$am_cv_func_iconv" = "yes"; then - break - fi - done - fi - - if test "$am_cv_func_iconv" != yes; then - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS $INCICONV" - LIBS="$LIBS $LIBICONV" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_lib_iconv=yes - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -$as_echo "$am_cv_func_iconv" >&6; } - if test "$am_cv_func_iconv" = yes; then - -$as_echo "#define HAVE_ICONV 1" >>confdefs.h - - fi - if test "$am_cv_lib_iconv" = yes; then - - for element in $INCICONV; do - haveit= - for x in $CPPFLAGS; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" - fi - done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -$as_echo_n "checking how to link with libiconv... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -$as_echo "$LIBICONV" >&6; } - else - LIBICONV= - LTLIBICONV= - fi - - - - if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 -$as_echo_n "checking for iconv declaration... " >&6; } - if ${am_cv_proto_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#include -extern -#ifdef __cplusplus -"C" -#endif -#if defined(__STDC__) || defined(__cplusplus) -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - am_cv_proto_iconv_arg1="" -else - am_cv_proto_iconv_arg1="const" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" -fi - - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- - }$am_cv_proto_iconv" >&5 -$as_echo "${ac_t:- - }$am_cv_proto_iconv" >&6; } - -cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $am_cv_proto_iconv_arg1 -_ACEOF - - fi - - -else - - # This lets us hard-code the functionality we know we'll have in the cross - # target environment. "Let" is a sugar-coated word placed on an especially - # dull and tedious hack, actually. - # - # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros - # that involve linking, can't be used: - # "cannot open sim-crt0.o" - # "cannot open crt0.o" - # etc. All this is because there currently exists no unified, consistent - # way for top level CC information to be passed down to target directories: - # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc. - # When all of that is done, all of this hokey, excessive AC_DEFINE junk for - # crosses can be removed. - - # If Canadian cross, then don't pick up tools from the build directory. - # Used only in GLIBCXX_EXPORT_INCLUDES. - if test -n "$with_cross_host" && - test x"$build_alias" != x"$with_cross_host" && - test x"$build" != x"$target"; - then - CANADIAN=yes - else - CANADIAN=no - fi - - # Construct crosses by hand, eliminating bits that need ld... - # GLIBCXX_CHECK_MATH_SUPPORT - - # First, test for "known" system libraries. We may be using newlib even - # on a hosted environment. - if test "x${with_newlib}" = "xyes"; then - os_include_dir="os/newlib" - $as_echo "#define HAVE_HYPOT 1" >>confdefs.h - - - # GLIBCXX_CHECK_STDLIB_SUPPORT - $as_echo "#define HAVE_STRTOF 1" >>confdefs.h - - - $as_echo "#define HAVE_ACOSF 1" >>confdefs.h - - $as_echo "#define HAVE_ASINF 1" >>confdefs.h - - $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h - - $as_echo "#define HAVE_ATANF 1" >>confdefs.h - - $as_echo "#define HAVE_CEILF 1" >>confdefs.h - - $as_echo "#define HAVE_COSF 1" >>confdefs.h - - $as_echo "#define HAVE_COSHF 1" >>confdefs.h - - $as_echo "#define HAVE_EXPF 1" >>confdefs.h - - $as_echo "#define HAVE_FABSF 1" >>confdefs.h - - $as_echo "#define HAVE_FLOORF 1" >>confdefs.h - - $as_echo "#define HAVE_FMODF 1" >>confdefs.h - - $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - - $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h - - $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h - - $as_echo "#define HAVE_LOG10F 1" >>confdefs.h - - $as_echo "#define HAVE_LOGF 1" >>confdefs.h - - $as_echo "#define HAVE_MODFF 1" >>confdefs.h - - $as_echo "#define HAVE_POWF 1" >>confdefs.h - - $as_echo "#define HAVE_SINF 1" >>confdefs.h - - $as_echo "#define HAVE_SINHF 1" >>confdefs.h - - $as_echo "#define HAVE_SQRTF 1" >>confdefs.h - - $as_echo "#define HAVE_TANF 1" >>confdefs.h - - $as_echo "#define HAVE_TANHF 1" >>confdefs.h - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5 -$as_echo_n "checking for acosl declaration... " >&6; } -if ${glibcxx_cv_func_acosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef acosl - -int -main () -{ - - void (*f)(void) = (void (*)(void))acosl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_acosl_use=yes - -else - glibcxx_cv_func_acosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5 -$as_echo "$glibcxx_cv_func_acosl_use" >&6; } - if test "x$glibcxx_cv_func_acosl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_ACOSL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5 -$as_echo_n "checking for asinl declaration... " >&6; } -if ${glibcxx_cv_func_asinl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef asinl - -int -main () -{ - - void (*f)(void) = (void (*)(void))asinl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_asinl_use=yes - -else - glibcxx_cv_func_asinl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5 -$as_echo "$glibcxx_cv_func_asinl_use" >&6; } - if test "x$glibcxx_cv_func_asinl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_ASINL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 -$as_echo_n "checking for atan2l declaration... " >&6; } -if ${glibcxx_cv_func_atan2l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef atan2l - -int -main () -{ - - void (*f)(void) = (void (*)(void))atan2l; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2l_use=yes - -else - glibcxx_cv_func_atan2l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 -$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - if test "x$glibcxx_cv_func_atan2l_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2L 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5 -$as_echo_n "checking for atanl declaration... " >&6; } -if ${glibcxx_cv_func_atanl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef atanl - -int -main () -{ - - void (*f)(void) = (void (*)(void))atanl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_atanl_use=yes - -else - glibcxx_cv_func_atanl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5 -$as_echo "$glibcxx_cv_func_atanl_use" >&6; } - if test "x$glibcxx_cv_func_atanl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_ATANL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5 -$as_echo_n "checking for ceill declaration... " >&6; } -if ${glibcxx_cv_func_ceill_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef ceill - -int -main () -{ - - void (*f)(void) = (void (*)(void))ceill; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_ceill_use=yes - -else - glibcxx_cv_func_ceill_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5 -$as_echo "$glibcxx_cv_func_ceill_use" >&6; } - if test "x$glibcxx_cv_func_ceill_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_CEILL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5 -$as_echo_n "checking for coshl declaration... " >&6; } -if ${glibcxx_cv_func_coshl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef coshl - -int -main () -{ - - void (*f)(void) = (void (*)(void))coshl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_coshl_use=yes - -else - glibcxx_cv_func_coshl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5 -$as_echo "$glibcxx_cv_func_coshl_use" >&6; } - if test "x$glibcxx_cv_func_coshl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_COSHL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5 -$as_echo_n "checking for cosl declaration... " >&6; } -if ${glibcxx_cv_func_cosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef cosl - -int -main () -{ - - void (*f)(void) = (void (*)(void))cosl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_cosl_use=yes - -else - glibcxx_cv_func_cosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5 -$as_echo "$glibcxx_cv_func_cosl_use" >&6; } - if test "x$glibcxx_cv_func_cosl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_COSL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 -$as_echo_n "checking for expl declaration... " >&6; } -if ${glibcxx_cv_func_expl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef expl - -int -main () -{ - - void (*f)(void) = (void (*)(void))expl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_expl_use=yes - -else - glibcxx_cv_func_expl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 -$as_echo "$glibcxx_cv_func_expl_use" >&6; } - if test "x$glibcxx_cv_func_expl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 -$as_echo_n "checking for fabsl declaration... " >&6; } -if ${glibcxx_cv_func_fabsl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef fabsl - -int -main () -{ - - void (*f)(void) = (void (*)(void))fabsl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsl_use=yes - -else - glibcxx_cv_func_fabsl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 -$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - if test "x$glibcxx_cv_func_fabsl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5 -$as_echo_n "checking for floorl declaration... " >&6; } -if ${glibcxx_cv_func_floorl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef floorl - -int -main () -{ - - void (*f)(void) = (void (*)(void))floorl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_floorl_use=yes - -else - glibcxx_cv_func_floorl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5 -$as_echo "$glibcxx_cv_func_floorl_use" >&6; } - if test "x$glibcxx_cv_func_floorl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_FLOORL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 -$as_echo_n "checking for fmodl declaration... " >&6; } -if ${glibcxx_cv_func_fmodl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef fmodl - -int -main () -{ - - void (*f)(void) = (void (*)(void))fmodl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodl_use=yes - -else - glibcxx_cv_func_fmodl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 -$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - if test "x$glibcxx_cv_func_fmodl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 -$as_echo_n "checking for frexpl declaration... " >&6; } -if ${glibcxx_cv_func_frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef frexpl - -int -main () -{ - - void (*f)(void) = (void (*)(void))frexpl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpl_use=yes - -else - glibcxx_cv_func_frexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 -$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - if test "x$glibcxx_cv_func_frexpl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 -$as_echo_n "checking for hypotl declaration... " >&6; } -if ${glibcxx_cv_func_hypotl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef hypotl - -int -main () -{ - - void (*f)(void) = (void (*)(void))hypotl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotl_use=yes - -else - glibcxx_cv_func_hypotl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 -$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - if test "x$glibcxx_cv_func_hypotl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 -$as_echo_n "checking for ldexpl declaration... " >&6; } -if ${glibcxx_cv_func_ldexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef ldexpl - -int -main () -{ - - void (*f)(void) = (void (*)(void))ldexpl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpl_use=yes - -else - glibcxx_cv_func_ldexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 -$as_echo_n "checking for log10l declaration... " >&6; } -if ${glibcxx_cv_func_log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef log10l - -int -main () -{ - - void (*f)(void) = (void (*)(void))log10l; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_log10l_use=yes - -else - glibcxx_cv_func_log10l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 -$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - if test "x$glibcxx_cv_func_log10l_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10L 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 -$as_echo_n "checking for logl declaration... " >&6; } -if ${glibcxx_cv_func_logl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef logl - -int -main () -{ - - void (*f)(void) = (void (*)(void))logl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_logl_use=yes - -else - glibcxx_cv_func_logl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 -$as_echo "$glibcxx_cv_func_logl_use" >&6; } - if test "x$glibcxx_cv_func_logl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_LOGL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 -$as_echo_n "checking for modfl declaration... " >&6; } -if ${glibcxx_cv_func_modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef modfl - -int -main () -{ - - void (*f)(void) = (void (*)(void))modfl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_modfl_use=yes - -else - glibcxx_cv_func_modfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 -$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - if test "x$glibcxx_cv_func_modfl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_MODFL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 -$as_echo_n "checking for powl declaration... " >&6; } -if ${glibcxx_cv_func_powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef powl - -int -main () -{ - - void (*f)(void) = (void (*)(void))powl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_powl_use=yes - -else - glibcxx_cv_func_powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 -$as_echo "$glibcxx_cv_func_powl_use" >&6; } - if test "x$glibcxx_cv_func_powl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_POWL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5 -$as_echo_n "checking for sinhl declaration... " >&6; } -if ${glibcxx_cv_func_sinhl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef sinhl - -int -main () -{ - - void (*f)(void) = (void (*)(void))sinhl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_sinhl_use=yes - -else - glibcxx_cv_func_sinhl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5 -$as_echo "$glibcxx_cv_func_sinhl_use" >&6; } - if test "x$glibcxx_cv_func_sinhl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_SINHL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5 -$as_echo_n "checking for sinl declaration... " >&6; } -if ${glibcxx_cv_func_sinl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef sinl - -int -main () -{ - - void (*f)(void) = (void (*)(void))sinl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_sinl_use=yes - -else - glibcxx_cv_func_sinl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5 -$as_echo "$glibcxx_cv_func_sinl_use" >&6; } - if test "x$glibcxx_cv_func_sinl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_SINL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 -$as_echo_n "checking for sqrtl declaration... " >&6; } -if ${glibcxx_cv_func_sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef sqrtl - -int -main () -{ - - void (*f)(void) = (void (*)(void))sqrtl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtl_use=yes - -else - glibcxx_cv_func_sqrtl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5 -$as_echo_n "checking for tanhl declaration... " >&6; } -if ${glibcxx_cv_func_tanhl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef tanhl - -int -main () -{ - - void (*f)(void) = (void (*)(void))tanhl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_tanhl_use=yes - -else - glibcxx_cv_func_tanhl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5 -$as_echo "$glibcxx_cv_func_tanhl_use" >&6; } - if test "x$glibcxx_cv_func_tanhl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_TANHL 1 -_ACEOF - - fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5 -$as_echo_n "checking for tanl declaration... " >&6; } -if ${glibcxx_cv_func_tanl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#ifdef HAVE_IEEEFP_H -# include -#endif -#undef tanl - -int -main () -{ - - void (*f)(void) = (void (*)(void))tanl; - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - glibcxx_cv_func_tanl_use=yes - -else - glibcxx_cv_func_tanl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5 -$as_echo "$glibcxx_cv_func_tanl_use" >&6; } - if test "x$glibcxx_cv_func_tanl_use" = xyes; then - cat >>confdefs.h <<_ACEOF -#define HAVE_TANL 1 -_ACEOF - - fi - - - - - $as_echo "#define HAVE_ICONV 1" >>confdefs.h - - $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h - - - case "${target}" in - *-rtems*) - case "${target}" in - bfin* | lm32* | mips* | moxie* | or1k* | v850*) - ;; - *) - $as_echo "#define HAVE_TLS 1" >>confdefs.h - - ;; - esac - $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h - - $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h - - $as_echo "#define HAVE_LINK 1" >>confdefs.h - - $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h - - $as_echo "#define HAVE_READLINK 1" >>confdefs.h - - $as_echo "#define HAVE_SETENV 1" >>confdefs.h - - $as_echo "#define HAVE_SLEEP 1" >>confdefs.h - - $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h - - $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h - - $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h - - $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h - - $as_echo "#define HAVE_USLEEP 1" >>confdefs.h - - ;; - esac - elif test "x$with_headers" != "xno"; then - -# Base decisions on target environment. -case "${host}" in - arm*-*-symbianelf*) - # This is a freestanding configuration; there is nothing to do here. - ;; - - avr*-*-*) - $as_echo "#define HAVE_ACOSF 1" >>confdefs.h - - $as_echo "#define HAVE_ASINF 1" >>confdefs.h - - $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h - - $as_echo "#define HAVE_ATANF 1" >>confdefs.h - - $as_echo "#define HAVE_CEILF 1" >>confdefs.h - - $as_echo "#define HAVE_COSF 1" >>confdefs.h - - $as_echo "#define HAVE_COSHF 1" >>confdefs.h - - $as_echo "#define HAVE_EXPF 1" >>confdefs.h - - $as_echo "#define HAVE_FABSF 1" >>confdefs.h - - $as_echo "#define HAVE_FLOORF 1" >>confdefs.h - - $as_echo "#define HAVE_FMODF 1" >>confdefs.h - - $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - - $as_echo "#define HAVE_SQRTF 1" >>confdefs.h - - $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h - - $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h - - $as_echo "#define HAVE_LOG10F 1" >>confdefs.h - - $as_echo "#define HAVE_LOGF 1" >>confdefs.h - - $as_echo "#define HAVE_MODFF 1" >>confdefs.h - - $as_echo "#define HAVE_POWF 1" >>confdefs.h - - $as_echo "#define HAVE_SINF 1" >>confdefs.h - - $as_echo "#define HAVE_SINHF 1" >>confdefs.h - - $as_echo "#define HAVE_TANF 1" >>confdefs.h - - $as_echo "#define HAVE_TANHF 1" >>confdefs.h - - ;; - - mips*-sde-elf*) - # These definitions are for the SDE C library rather than newlib. - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - - # All these tests are for C++; save the language and the compiler flags. - # The CXXFLAGS thing is suspicious, but based on similar bits previously - # found in GLIBCXX_CONFIGURE. - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - - # Check for -ffunction-sections -fdata-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 -$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; } - CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int foo; void bar() { }; -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - ac_fdsections=yes -else - ac_fdsections=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS="$ac_save_CXXFLAGS" - else - # this is the suspicious part - CXXFLAGS='' - fi - if test x"$ac_fdsections" = x"yes"; then - SECTION_FLAGS='-ffunction-sections -fdata-sections' - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5 -$as_echo "$ac_fdsections" >&6; } - - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi - fi - - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - glibcxx_ld_is_mold=no - if test x"$with_gnu_ld" = x"yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 -$as_echo_n "checking for ld version... " >&6; } - - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then - glibcxx_ld_is_mold=yes - fi - ldver=`$LD --version 2>/dev/null | - sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 -$as_echo "$glibcxx_gnu_ld_version" >&6; } - fi - - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' - - # Check for -Wl,--gc-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 -$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } - -int -main () -{ - two(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_gcsections=yes -else - ac_gcsections=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 -$as_echo "$ac_gcsections" >&6; } - - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - # cygwin and mingw uses PE, which has no ELF relro support, - # multi target ld may confuse configure machinery - case "$host" in - *-*-cygwin*) - ;; - *-*-mingw*) - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 -$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 -$as_echo "$ac_ld_relro" >&6; } - esac - fi - - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" - fi - - - - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 -$as_echo_n "checking for sin in -lm... " >&6; } -if ${ac_cv_lib_m_sin+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sin (); -int -main () -{ -return sin (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_sin=yes -else - ac_cv_lib_m_sin=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 -$as_echo "$ac_cv_lib_m_sin" >&6; } -if test "x$ac_cv_lib_m_sin" = xyes; then : - libm="-lm" -fi - - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 -$as_echo_n "checking for isinf declaration... " >&6; } - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if ${glibcxx_cv_func_isinf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinf_use=yes -else - glibcxx_cv_func_isinf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 -$as_echo "$glibcxx_cv_func_isinf_use" >&6; } - - if test x$glibcxx_cv_func_isinf_use = x"yes"; then - for ac_func in isinf -do : - ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" -if test "x$ac_cv_func_isinf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5 -$as_echo_n "checking for _isinf declaration... " >&6; } - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if ${glibcxx_cv_func__isinf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinf_use=yes -else - glibcxx_cv_func__isinf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5 -$as_echo "$glibcxx_cv_func__isinf_use" >&6; } - - if test x$glibcxx_cv_func__isinf_use = x"yes"; then - for ac_func in _isinf -do : - ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf" -if test "x$ac_cv_func__isinf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 -$as_echo_n "checking for isnan declaration... " >&6; } - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if ${glibcxx_cv_func_isnan_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnan(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnan_use=yes -else - glibcxx_cv_func_isnan_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 -$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - - if test x$glibcxx_cv_func_isnan_use = x"yes"; then - for ac_func in isnan -do : - ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" -if test "x$ac_cv_func_isnan" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNAN 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5 -$as_echo_n "checking for _isnan declaration... " >&6; } - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if ${glibcxx_cv_func__isnan_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnan(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnan_use=yes -else - glibcxx_cv_func__isnan_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5 -$as_echo "$glibcxx_cv_func__isnan_use" >&6; } - - if test x$glibcxx_cv_func__isnan_use = x"yes"; then - for ac_func in _isnan -do : - ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan" -if test "x$ac_cv_func__isnan" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNAN 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 -$as_echo_n "checking for finite declaration... " >&6; } - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if ${glibcxx_cv_func_finite_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finite(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finite_use=yes -else - glibcxx_cv_func_finite_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 -$as_echo "$glibcxx_cv_func_finite_use" >&6; } - - if test x$glibcxx_cv_func_finite_use = x"yes"; then - for ac_func in finite -do : - ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" -if test "x$ac_cv_func_finite" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITE 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5 -$as_echo_n "checking for _finite declaration... " >&6; } - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if ${glibcxx_cv_func__finite_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finite(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finite_use=yes -else - glibcxx_cv_func__finite_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5 -$as_echo "$glibcxx_cv_func__finite_use" >&6; } - - if test x$glibcxx_cv_func__finite_use = x"yes"; then - for ac_func in _finite -do : - ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite" -if test "x$ac_cv_func__finite" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITE 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 -$as_echo_n "checking for sincos declaration... " >&6; } - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if ${glibcxx_cv_func_sincos_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincos(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincos_use=yes -else - glibcxx_cv_func_sincos_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 -$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - - if test x$glibcxx_cv_func_sincos_use = x"yes"; then - for ac_func in sincos -do : - ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" -if test "x$ac_cv_func_sincos" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5 -$as_echo_n "checking for _sincos declaration... " >&6; } - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if ${glibcxx_cv_func__sincos_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincos(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincos_use=yes -else - glibcxx_cv_func__sincos_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5 -$as_echo "$glibcxx_cv_func__sincos_use" >&6; } - - if test x$glibcxx_cv_func__sincos_use = x"yes"; then - for ac_func in _sincos -do : - ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos" -if test "x$ac_cv_func__sincos" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 -$as_echo_n "checking for fpclass declaration... " >&6; } - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if ${glibcxx_cv_func_fpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fpclass_use=yes -else - glibcxx_cv_func_fpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 -$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then - for ac_func in fpclass -do : - ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" -if test "x$ac_cv_func_fpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FPCLASS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5 -$as_echo_n "checking for _fpclass declaration... " >&6; } - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if ${glibcxx_cv_func__fpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fpclass_use=yes -else - glibcxx_cv_func__fpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5 -$as_echo "$glibcxx_cv_func__fpclass_use" >&6; } - - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then - for ac_func in _fpclass -do : - ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass" -if test "x$ac_cv_func__fpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FPCLASS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 -$as_echo_n "checking for qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if ${glibcxx_cv_func_qfpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - qfpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_qfpclass_use=yes -else - glibcxx_cv_func_qfpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - for ac_func in qfpclass -do : - ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" -if test "x$ac_cv_func_qfpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_QFPCLASS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5 -$as_echo_n "checking for _qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if ${glibcxx_cv_func__qfpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _qfpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__qfpclass_use=yes -else - glibcxx_cv_func__qfpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; } - - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then - for ac_func in _qfpclass -do : - ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass" -if test "x$ac_cv_func__qfpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__QFPCLASS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 -$as_echo_n "checking for hypot declaration... " >&6; } - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if ${glibcxx_cv_func_hypot_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypot(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypot_use=yes -else - glibcxx_cv_func_hypot_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 -$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - - if test x$glibcxx_cv_func_hypot_use = x"yes"; then - for ac_func in hypot -do : - ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" -if test "x$ac_cv_func_hypot" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOT 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5 -$as_echo_n "checking for _hypot declaration... " >&6; } - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if ${glibcxx_cv_func__hypot_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypot(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypot_use=yes -else - glibcxx_cv_func__hypot_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5 -$as_echo "$glibcxx_cv_func__hypot_use" >&6; } - - if test x$glibcxx_cv_func__hypot_use = x"yes"; then - for ac_func in _hypot -do : - ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot" -if test "x$ac_cv_func__hypot" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOT 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 -$as_echo_n "checking for float trig functions... " >&6; } - if ${glibcxx_cv_func_float_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_trig_use=yes -else - glibcxx_cv_func_float_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 -$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5 -$as_echo_n "checking for _float trig functions... " >&6; } - if ${glibcxx_cv_func__float_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_trig_use=yes -else - glibcxx_cv_func__float_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5 -$as_echo "$glibcxx_cv_func__float_trig_use" >&6; } - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 -$as_echo_n "checking for float round functions... " >&6; } - if ${glibcxx_cv_func_float_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -ceilf (0); floorf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_round_use=yes -else - glibcxx_cv_func_float_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 -$as_echo "$glibcxx_cv_func_float_round_use" >&6; } - if test x$glibcxx_cv_func_float_round_use = x"yes"; then - for ac_func in ceilf floorf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5 -$as_echo_n "checking for _float round functions... " >&6; } - if ${glibcxx_cv_func__float_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_ceilf (0); _floorf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_round_use=yes -else - glibcxx_cv_func__float_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5 -$as_echo "$glibcxx_cv_func__float_round_use" >&6; } - if test x$glibcxx_cv_func__float_round_use = x"yes"; then - for ac_func in _ceilf _floorf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 -$as_echo_n "checking for expf declaration... " >&6; } - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if ${glibcxx_cv_func_expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - expf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expf_use=yes -else - glibcxx_cv_func_expf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 -$as_echo "$glibcxx_cv_func_expf_use" >&6; } - - if test x$glibcxx_cv_func_expf_use = x"yes"; then - for ac_func in expf -do : - ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" -if test "x$ac_cv_func_expf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5 -$as_echo_n "checking for _expf declaration... " >&6; } - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if ${glibcxx_cv_func__expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _expf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expf_use=yes -else - glibcxx_cv_func__expf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5 -$as_echo "$glibcxx_cv_func__expf_use" >&6; } - - if test x$glibcxx_cv_func__expf_use = x"yes"; then - for ac_func in _expf -do : - ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf" -if test "x$ac_cv_func__expf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__EXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 -$as_echo_n "checking for isnanf declaration... " >&6; } - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if ${glibcxx_cv_func_isnanf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnanf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanf_use=yes -else - glibcxx_cv_func_isnanf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 -$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then - for ac_func in isnanf -do : - ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" -if test "x$ac_cv_func_isnanf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5 -$as_echo_n "checking for _isnanf declaration... " >&6; } - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if ${glibcxx_cv_func__isnanf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnanf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanf_use=yes -else - glibcxx_cv_func__isnanf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5 -$as_echo "$glibcxx_cv_func__isnanf_use" >&6; } - - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then - for ac_func in _isnanf -do : - ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf" -if test "x$ac_cv_func__isnanf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 -$as_echo_n "checking for isinff declaration... " >&6; } - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if ${glibcxx_cv_func_isinff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinff(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinff_use=yes -else - glibcxx_cv_func_isinff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 -$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - - if test x$glibcxx_cv_func_isinff_use = x"yes"; then - for ac_func in isinff -do : - ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" -if test "x$ac_cv_func_isinff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5 -$as_echo_n "checking for _isinff declaration... " >&6; } - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if ${glibcxx_cv_func__isinff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinff(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinff_use=yes -else - glibcxx_cv_func__isinff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5 -$as_echo "$glibcxx_cv_func__isinff_use" >&6; } - - if test x$glibcxx_cv_func__isinff_use = x"yes"; then - for ac_func in _isinff -do : - ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff" -if test "x$ac_cv_func__isinff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 -$as_echo_n "checking for atan2f declaration... " >&6; } - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if ${glibcxx_cv_func_atan2f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - atan2f(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2f_use=yes -else - glibcxx_cv_func_atan2f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 -$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then - for ac_func in atan2f -do : - ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" -if test "x$ac_cv_func_atan2f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2F 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5 -$as_echo_n "checking for _atan2f declaration... " >&6; } - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if ${glibcxx_cv_func__atan2f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _atan2f(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2f_use=yes -else - glibcxx_cv_func__atan2f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5 -$as_echo "$glibcxx_cv_func__atan2f_use" >&6; } - - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then - for ac_func in _atan2f -do : - ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f" -if test "x$ac_cv_func__atan2f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2F 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 -$as_echo_n "checking for fabsf declaration... " >&6; } - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if ${glibcxx_cv_func_fabsf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fabsf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsf_use=yes -else - glibcxx_cv_func_fabsf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 -$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then - for ac_func in fabsf -do : - ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" -if test "x$ac_cv_func_fabsf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5 -$as_echo_n "checking for _fabsf declaration... " >&6; } - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if ${glibcxx_cv_func__fabsf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fabsf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsf_use=yes -else - glibcxx_cv_func__fabsf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5 -$as_echo "$glibcxx_cv_func__fabsf_use" >&6; } - - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then - for ac_func in _fabsf -do : - ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf" -if test "x$ac_cv_func__fabsf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FABSF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 -$as_echo_n "checking for fmodf declaration... " >&6; } - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if ${glibcxx_cv_func_fmodf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - fmodf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodf_use=yes -else - glibcxx_cv_func_fmodf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 -$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then - for ac_func in fmodf -do : - ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" -if test "x$ac_cv_func_fmodf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5 -$as_echo_n "checking for _fmodf declaration... " >&6; } - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if ${glibcxx_cv_func__fmodf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _fmodf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodf_use=yes -else - glibcxx_cv_func__fmodf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5 -$as_echo "$glibcxx_cv_func__fmodf_use" >&6; } - - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then - for ac_func in _fmodf -do : - ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf" -if test "x$ac_cv_func__fmodf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FMODF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 -$as_echo_n "checking for frexpf declaration... " >&6; } - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if ${glibcxx_cv_func_frexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - frexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpf_use=yes -else - glibcxx_cv_func_frexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 -$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } - - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then - for ac_func in frexpf -do : - ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" -if test "x$ac_cv_func_frexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5 -$as_echo_n "checking for _frexpf declaration... " >&6; } - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if ${glibcxx_cv_func__frexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _frexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpf_use=yes -else - glibcxx_cv_func__frexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5 -$as_echo "$glibcxx_cv_func__frexpf_use" >&6; } - - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then - for ac_func in _frexpf -do : - ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf" -if test "x$ac_cv_func__frexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 -$as_echo_n "checking for hypotf declaration... " >&6; } - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if ${glibcxx_cv_func_hypotf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypotf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotf_use=yes -else - glibcxx_cv_func_hypotf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 -$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } - - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then - for ac_func in hypotf -do : - ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" -if test "x$ac_cv_func_hypotf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5 -$as_echo_n "checking for _hypotf declaration... " >&6; } - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if ${glibcxx_cv_func__hypotf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypotf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotf_use=yes -else - glibcxx_cv_func__hypotf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5 -$as_echo "$glibcxx_cv_func__hypotf_use" >&6; } - - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then - for ac_func in _hypotf -do : - ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf" -if test "x$ac_cv_func__hypotf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 -$as_echo_n "checking for ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if ${glibcxx_cv_func_ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - ldexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpf_use=yes -else - glibcxx_cv_func_ldexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } - - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then - for ac_func in ldexpf -do : - ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" -if test "x$ac_cv_func_ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5 -$as_echo_n "checking for _ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if ${glibcxx_cv_func__ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _ldexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpf_use=yes -else - glibcxx_cv_func__ldexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; } - - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then - for ac_func in _ldexpf -do : - ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf" -if test "x$ac_cv_func__ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 -$as_echo_n "checking for logf declaration... " >&6; } - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if ${glibcxx_cv_func_logf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - logf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logf_use=yes -else - glibcxx_cv_func_logf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 -$as_echo "$glibcxx_cv_func_logf_use" >&6; } - - if test x$glibcxx_cv_func_logf_use = x"yes"; then - for ac_func in logf -do : - ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" -if test "x$ac_cv_func_logf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOGF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5 -$as_echo_n "checking for _logf declaration... " >&6; } - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if ${glibcxx_cv_func__logf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _logf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logf_use=yes -else - glibcxx_cv_func__logf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5 -$as_echo "$glibcxx_cv_func__logf_use" >&6; } - - if test x$glibcxx_cv_func__logf_use = x"yes"; then - for ac_func in _logf -do : - ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf" -if test "x$ac_cv_func__logf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOGF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 -$as_echo_n "checking for log10f declaration... " >&6; } - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if ${glibcxx_cv_func_log10f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - log10f(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10f_use=yes -else - glibcxx_cv_func_log10f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 -$as_echo "$glibcxx_cv_func_log10f_use" >&6; } - - if test x$glibcxx_cv_func_log10f_use = x"yes"; then - for ac_func in log10f -do : - ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" -if test "x$ac_cv_func_log10f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10F 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5 -$as_echo_n "checking for _log10f declaration... " >&6; } - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if ${glibcxx_cv_func__log10f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _log10f(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10f_use=yes -else - glibcxx_cv_func__log10f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5 -$as_echo "$glibcxx_cv_func__log10f_use" >&6; } - - if test x$glibcxx_cv_func__log10f_use = x"yes"; then - for ac_func in _log10f -do : - ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f" -if test "x$ac_cv_func__log10f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10F 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 -$as_echo_n "checking for modff declaration... " >&6; } - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if ${glibcxx_cv_func_modff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - modff(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modff_use=yes -else - glibcxx_cv_func_modff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 -$as_echo "$glibcxx_cv_func_modff_use" >&6; } - - if test x$glibcxx_cv_func_modff_use = x"yes"; then - for ac_func in modff -do : - ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" -if test "x$ac_cv_func_modff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODFF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5 -$as_echo_n "checking for _modff declaration... " >&6; } - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if ${glibcxx_cv_func__modff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _modff(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modff_use=yes -else - glibcxx_cv_func__modff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5 -$as_echo "$glibcxx_cv_func__modff_use" >&6; } - - if test x$glibcxx_cv_func__modff_use = x"yes"; then - for ac_func in _modff -do : - ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff" -if test "x$ac_cv_func__modff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODFF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 -$as_echo_n "checking for modf declaration... " >&6; } - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if ${glibcxx_cv_func_modf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - modf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modf_use=yes -else - glibcxx_cv_func_modf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 -$as_echo "$glibcxx_cv_func_modf_use" >&6; } - - if test x$glibcxx_cv_func_modf_use = x"yes"; then - for ac_func in modf -do : - ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" -if test "x$ac_cv_func_modf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5 -$as_echo_n "checking for _modf declaration... " >&6; } - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if ${glibcxx_cv_func__modf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _modf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modf_use=yes -else - glibcxx_cv_func__modf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5 -$as_echo "$glibcxx_cv_func__modf_use" >&6; } - - if test x$glibcxx_cv_func__modf_use = x"yes"; then - for ac_func in _modf -do : - ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf" -if test "x$ac_cv_func__modf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 -$as_echo_n "checking for powf declaration... " >&6; } - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if ${glibcxx_cv_func_powf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - powf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powf_use=yes -else - glibcxx_cv_func_powf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 -$as_echo "$glibcxx_cv_func_powf_use" >&6; } - - if test x$glibcxx_cv_func_powf_use = x"yes"; then - for ac_func in powf -do : - ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" -if test "x$ac_cv_func_powf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POWF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5 -$as_echo_n "checking for _powf declaration... " >&6; } - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if ${glibcxx_cv_func__powf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _powf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powf_use=yes -else - glibcxx_cv_func__powf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5 -$as_echo "$glibcxx_cv_func__powf_use" >&6; } - - if test x$glibcxx_cv_func__powf_use = x"yes"; then - for ac_func in _powf -do : - ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf" -if test "x$ac_cv_func__powf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__POWF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 -$as_echo_n "checking for sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if ${glibcxx_cv_func_sqrtf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - sqrtf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtf_use=yes -else - glibcxx_cv_func_sqrtf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then - for ac_func in sqrtf -do : - ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" -if test "x$ac_cv_func_sqrtf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5 -$as_echo_n "checking for _sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if ${glibcxx_cv_func__sqrtf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _sqrtf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtf_use=yes -else - glibcxx_cv_func__sqrtf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; } - - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then - for ac_func in _sqrtf -do : - ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf" -if test "x$ac_cv_func__sqrtf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 -$as_echo_n "checking for sincosf declaration... " >&6; } - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if ${glibcxx_cv_func_sincosf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincosf(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosf_use=yes -else - glibcxx_cv_func_sincosf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 -$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then - for ac_func in sincosf -do : - ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" -if test "x$ac_cv_func_sincosf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5 -$as_echo_n "checking for _sincosf declaration... " >&6; } - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if ${glibcxx_cv_func__sincosf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincosf(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosf_use=yes -else - glibcxx_cv_func__sincosf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5 -$as_echo "$glibcxx_cv_func__sincosf_use" >&6; } - - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then - for ac_func in _sincosf -do : - ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf" -if test "x$ac_cv_func__sincosf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 -$as_echo_n "checking for finitef declaration... " >&6; } - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if ${glibcxx_cv_func_finitef_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finitef(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitef_use=yes -else - glibcxx_cv_func_finitef_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 -$as_echo "$glibcxx_cv_func_finitef_use" >&6; } - - if test x$glibcxx_cv_func_finitef_use = x"yes"; then - for ac_func in finitef -do : - ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" -if test "x$ac_cv_func_finitef" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5 -$as_echo_n "checking for _finitef declaration... " >&6; } - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if ${glibcxx_cv_func__finitef_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finitef(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitef_use=yes -else - glibcxx_cv_func__finitef_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5 -$as_echo "$glibcxx_cv_func__finitef_use" >&6; } - - if test x$glibcxx_cv_func__finitef_use = x"yes"; then - for ac_func in _finitef -do : - ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef" -if test "x$ac_cv_func__finitef" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 -$as_echo_n "checking for long double trig functions... " >&6; } - if ${glibcxx_cv_func_long_double_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_trig_use=yes -else - glibcxx_cv_func_long_double_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5 -$as_echo_n "checking for _long double trig functions... " >&6; } - if ${glibcxx_cv_func__long_double_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_trig_use=yes -else - glibcxx_cv_func__long_double_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; } - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 -$as_echo_n "checking for long double round functions... " >&6; } - if ${glibcxx_cv_func_long_double_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -ceill (0); floorl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_round_use=yes -else - glibcxx_cv_func_long_double_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then - for ac_func in ceill floorl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5 -$as_echo_n "checking for _long double round functions... " >&6; } - if ${glibcxx_cv_func__long_double_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_ceill (0); _floorl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_round_use=yes -else - glibcxx_cv_func__long_double_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; } - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - for ac_func in _ceill _floorl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 -$as_echo_n "checking for isnanl declaration... " >&6; } - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if ${glibcxx_cv_func_isnanl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnanl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanl_use=yes -else - glibcxx_cv_func_isnanl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 -$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } - - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then - for ac_func in isnanl -do : - ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" -if test "x$ac_cv_func_isnanl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5 -$as_echo_n "checking for _isnanl declaration... " >&6; } - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if ${glibcxx_cv_func__isnanl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnanl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanl_use=yes -else - glibcxx_cv_func__isnanl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5 -$as_echo "$glibcxx_cv_func__isnanl_use" >&6; } - - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then - for ac_func in _isnanl -do : - ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl" -if test "x$ac_cv_func__isnanl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 -$as_echo_n "checking for isinfl declaration... " >&6; } - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if ${glibcxx_cv_func_isinfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinfl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinfl_use=yes -else - glibcxx_cv_func_isinfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 -$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then - for ac_func in isinfl -do : - ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" -if test "x$ac_cv_func_isinfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5 -$as_echo_n "checking for _isinfl declaration... " >&6; } - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if ${glibcxx_cv_func__isinfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinfl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinfl_use=yes -else - glibcxx_cv_func__isinfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5 -$as_echo "$glibcxx_cv_func__isinfl_use" >&6; } - - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then - for ac_func in _isinfl -do : - ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl" -if test "x$ac_cv_func__isinfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 -$as_echo_n "checking for atan2l declaration... " >&6; } - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if ${glibcxx_cv_func_atan2l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - atan2l(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2l_use=yes -else - glibcxx_cv_func_atan2l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 -$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then - for ac_func in atan2l -do : - ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" -if test "x$ac_cv_func_atan2l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2L 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5 -$as_echo_n "checking for _atan2l declaration... " >&6; } - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if ${glibcxx_cv_func__atan2l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _atan2l(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2l_use=yes -else - glibcxx_cv_func__atan2l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5 -$as_echo "$glibcxx_cv_func__atan2l_use" >&6; } - - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then - for ac_func in _atan2l -do : - ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l" -if test "x$ac_cv_func__atan2l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2L 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 -$as_echo_n "checking for expl declaration... " >&6; } - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if ${glibcxx_cv_func_expl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - expl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expl_use=yes -else - glibcxx_cv_func_expl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 -$as_echo "$glibcxx_cv_func_expl_use" >&6; } - - if test x$glibcxx_cv_func_expl_use = x"yes"; then - for ac_func in expl -do : - ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" -if test "x$ac_cv_func_expl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5 -$as_echo_n "checking for _expl declaration... " >&6; } - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if ${glibcxx_cv_func__expl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _expl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expl_use=yes -else - glibcxx_cv_func__expl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5 -$as_echo "$glibcxx_cv_func__expl_use" >&6; } - - if test x$glibcxx_cv_func__expl_use = x"yes"; then - for ac_func in _expl -do : - ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl" -if test "x$ac_cv_func__expl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__EXPL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 -$as_echo_n "checking for fabsl declaration... " >&6; } - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if ${glibcxx_cv_func_fabsl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fabsl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsl_use=yes -else - glibcxx_cv_func_fabsl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 -$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then - for ac_func in fabsl -do : - ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" -if test "x$ac_cv_func_fabsl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5 -$as_echo_n "checking for _fabsl declaration... " >&6; } - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if ${glibcxx_cv_func__fabsl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fabsl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsl_use=yes -else - glibcxx_cv_func__fabsl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5 -$as_echo "$glibcxx_cv_func__fabsl_use" >&6; } - - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then - for ac_func in _fabsl -do : - ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl" -if test "x$ac_cv_func__fabsl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FABSL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 -$as_echo_n "checking for fmodl declaration... " >&6; } - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if ${glibcxx_cv_func_fmodl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - fmodl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodl_use=yes -else - glibcxx_cv_func_fmodl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 -$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then - for ac_func in fmodl -do : - ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" -if test "x$ac_cv_func_fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5 -$as_echo_n "checking for _fmodl declaration... " >&6; } - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if ${glibcxx_cv_func__fmodl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _fmodl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodl_use=yes -else - glibcxx_cv_func__fmodl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5 -$as_echo "$glibcxx_cv_func__fmodl_use" >&6; } - - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then - for ac_func in _fmodl -do : - ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl" -if test "x$ac_cv_func__fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FMODL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 -$as_echo_n "checking for frexpl declaration... " >&6; } - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if ${glibcxx_cv_func_frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - frexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpl_use=yes -else - glibcxx_cv_func_frexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 -$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then - for ac_func in frexpl -do : - ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" -if test "x$ac_cv_func_frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5 -$as_echo_n "checking for _frexpl declaration... " >&6; } - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if ${glibcxx_cv_func__frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _frexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpl_use=yes -else - glibcxx_cv_func__frexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5 -$as_echo "$glibcxx_cv_func__frexpl_use" >&6; } - - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then - for ac_func in _frexpl -do : - ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl" -if test "x$ac_cv_func__frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 -$as_echo_n "checking for hypotl declaration... " >&6; } - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if ${glibcxx_cv_func_hypotl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypotl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotl_use=yes -else - glibcxx_cv_func_hypotl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 -$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then - for ac_func in hypotl -do : - ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" -if test "x$ac_cv_func_hypotl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5 -$as_echo_n "checking for _hypotl declaration... " >&6; } - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if ${glibcxx_cv_func__hypotl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypotl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotl_use=yes -else - glibcxx_cv_func__hypotl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5 -$as_echo "$glibcxx_cv_func__hypotl_use" >&6; } - - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then - for ac_func in _hypotl -do : - ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl" -if test "x$ac_cv_func__hypotl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 -$as_echo_n "checking for ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if ${glibcxx_cv_func_ldexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - ldexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpl_use=yes -else - glibcxx_cv_func_ldexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then - for ac_func in ldexpl -do : - ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" -if test "x$ac_cv_func_ldexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5 -$as_echo_n "checking for _ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if ${glibcxx_cv_func__ldexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _ldexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpl_use=yes -else - glibcxx_cv_func__ldexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; } - - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then - for ac_func in _ldexpl -do : - ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl" -if test "x$ac_cv_func__ldexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 -$as_echo_n "checking for logl declaration... " >&6; } - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if ${glibcxx_cv_func_logl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - logl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logl_use=yes -else - glibcxx_cv_func_logl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 -$as_echo "$glibcxx_cv_func_logl_use" >&6; } - - if test x$glibcxx_cv_func_logl_use = x"yes"; then - for ac_func in logl -do : - ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" -if test "x$ac_cv_func_logl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOGL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5 -$as_echo_n "checking for _logl declaration... " >&6; } - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if ${glibcxx_cv_func__logl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _logl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logl_use=yes -else - glibcxx_cv_func__logl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5 -$as_echo "$glibcxx_cv_func__logl_use" >&6; } - - if test x$glibcxx_cv_func__logl_use = x"yes"; then - for ac_func in _logl -do : - ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl" -if test "x$ac_cv_func__logl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOGL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 -$as_echo_n "checking for log10l declaration... " >&6; } - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if ${glibcxx_cv_func_log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - log10l(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10l_use=yes -else - glibcxx_cv_func_log10l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 -$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - - if test x$glibcxx_cv_func_log10l_use = x"yes"; then - for ac_func in log10l -do : - ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" -if test "x$ac_cv_func_log10l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10L 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5 -$as_echo_n "checking for _log10l declaration... " >&6; } - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if ${glibcxx_cv_func__log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _log10l(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10l_use=yes -else - glibcxx_cv_func__log10l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5 -$as_echo "$glibcxx_cv_func__log10l_use" >&6; } - - if test x$glibcxx_cv_func__log10l_use = x"yes"; then - for ac_func in _log10l -do : - ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l" -if test "x$ac_cv_func__log10l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10L 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 -$as_echo_n "checking for modfl declaration... " >&6; } - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if ${glibcxx_cv_func_modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - modfl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modfl_use=yes -else - glibcxx_cv_func_modfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 -$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - - if test x$glibcxx_cv_func_modfl_use = x"yes"; then - for ac_func in modfl -do : - ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" -if test "x$ac_cv_func_modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODFL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5 -$as_echo_n "checking for _modfl declaration... " >&6; } - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if ${glibcxx_cv_func__modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _modfl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modfl_use=yes -else - glibcxx_cv_func__modfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5 -$as_echo "$glibcxx_cv_func__modfl_use" >&6; } - - if test x$glibcxx_cv_func__modfl_use = x"yes"; then - for ac_func in _modfl -do : - ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl" -if test "x$ac_cv_func__modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODFL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 -$as_echo_n "checking for powl declaration... " >&6; } - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if ${glibcxx_cv_func_powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - powl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powl_use=yes -else - glibcxx_cv_func_powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 -$as_echo "$glibcxx_cv_func_powl_use" >&6; } - - if test x$glibcxx_cv_func_powl_use = x"yes"; then - for ac_func in powl -do : - ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" -if test "x$ac_cv_func_powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POWL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5 -$as_echo_n "checking for _powl declaration... " >&6; } - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if ${glibcxx_cv_func__powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _powl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powl_use=yes -else - glibcxx_cv_func__powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5 -$as_echo "$glibcxx_cv_func__powl_use" >&6; } - - if test x$glibcxx_cv_func__powl_use = x"yes"; then - for ac_func in _powl -do : - ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl" -if test "x$ac_cv_func__powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__POWL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 -$as_echo_n "checking for sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if ${glibcxx_cv_func_sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - sqrtl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtl_use=yes -else - glibcxx_cv_func_sqrtl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then - for ac_func in sqrtl -do : - ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" -if test "x$ac_cv_func_sqrtl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5 -$as_echo_n "checking for _sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if ${glibcxx_cv_func__sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _sqrtl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtl_use=yes -else - glibcxx_cv_func__sqrtl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; } - - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then - for ac_func in _sqrtl -do : - ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl" -if test "x$ac_cv_func__sqrtl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 -$as_echo_n "checking for sincosl declaration... " >&6; } - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if ${glibcxx_cv_func_sincosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincosl(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosl_use=yes -else - glibcxx_cv_func_sincosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 -$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then - for ac_func in sincosl -do : - ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" -if test "x$ac_cv_func_sincosl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5 -$as_echo_n "checking for _sincosl declaration... " >&6; } - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if ${glibcxx_cv_func__sincosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincosl(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosl_use=yes -else - glibcxx_cv_func__sincosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5 -$as_echo "$glibcxx_cv_func__sincosl_use" >&6; } - - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then - for ac_func in _sincosl -do : - ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl" -if test "x$ac_cv_func__sincosl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 -$as_echo_n "checking for finitel declaration... " >&6; } - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if ${glibcxx_cv_func_finitel_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finitel(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitel_use=yes -else - glibcxx_cv_func_finitel_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 -$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - - if test x$glibcxx_cv_func_finitel_use = x"yes"; then - for ac_func in finitel -do : - ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" -if test "x$ac_cv_func_finitel" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5 -$as_echo_n "checking for _finitel declaration... " >&6; } - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if ${glibcxx_cv_func__finitel_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finitel(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitel_use=yes -else - glibcxx_cv_func__finitel_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5 -$as_echo "$glibcxx_cv_func__finitel_use" >&6; } - - if test x$glibcxx_cv_func__finitel_use = x"yes"; then - for ac_func in _finitel -do : - ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel" -if test "x$ac_cv_func__finitel" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEL 1 -_ACEOF - -fi -done - - fi - fi - - - - - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 -$as_echo_n "checking for at_quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - at_quick_exit(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_at_quick_exit_use=yes -else - glibcxx_cv_func_at_quick_exit_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then - for ac_func in at_quick_exit -do : - ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" -if test "x$ac_cv_func_at_quick_exit" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_AT_QUICK_EXIT 1 -_ACEOF - -fi -done - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 -$as_echo_n "checking for quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_quick_exit_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - quick_exit(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_quick_exit_use=yes -else - glibcxx_cv_func_quick_exit_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then - for ac_func in quick_exit -do : - ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" -if test "x$ac_cv_func_quick_exit" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_QUICK_EXIT 1 -_ACEOF - -fi -done - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 -$as_echo_n "checking for strtold declaration... " >&6; } - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if ${glibcxx_cv_func_strtold_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - strtold(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtold_use=yes -else - glibcxx_cv_func_strtold_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 -$as_echo "$glibcxx_cv_func_strtold_use" >&6; } - if test x$glibcxx_cv_func_strtold_use = x"yes"; then - for ac_func in strtold -do : - ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" -if test "x$ac_cv_func_strtold" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOLD 1 -_ACEOF - -fi -done - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 -$as_echo_n "checking for strtof declaration... " >&6; } - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if ${glibcxx_cv_func_strtof_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - strtof(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtof_use=yes -else - glibcxx_cv_func_strtof_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 -$as_echo "$glibcxx_cv_func_strtof_use" >&6; } - if test x$glibcxx_cv_func_strtof_use = x"yes"; then - for ac_func in strtof -do : - ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" -if test "x$ac_cv_func_strtof" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOF 1 -_ACEOF - -fi -done - - fi - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - - - $as_echo "#define HAVE_FINITE 1" >>confdefs.h - - $as_echo "#define HAVE_HYPOT 1" >>confdefs.h - - $as_echo "#define HAVE_ISNAN 1" >>confdefs.h - - $as_echo "#define HAVE_ISINF 1" >>confdefs.h - - - $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h - - $as_echo "#define HAVE_MODF 1" >>confdefs.h - - $as_echo "#define HAVE_SQRTF 1" >>confdefs.h - - ;; - - *-aix*) - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi - fi - - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - glibcxx_ld_is_mold=no - if test x"$with_gnu_ld" = x"yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 -$as_echo_n "checking for ld version... " >&6; } - - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then - glibcxx_ld_is_mold=yes - fi - ldver=`$LD --version 2>/dev/null | - sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 -$as_echo "$glibcxx_gnu_ld_version" >&6; } - fi - - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' - - # Check for -Wl,--gc-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 -$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } - -int -main () -{ - two(); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_gcsections=yes -else - ac_gcsections=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 -$as_echo "$ac_gcsections" >&6; } - - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - # cygwin and mingw uses PE, which has no ELF relro support, - # multi target ld may confuse configure machinery - case "$host" in - *-*-cygwin*) - ;; - *-*-mingw*) - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 -$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 -$as_echo "$ac_ld_relro" >&6; } - esac - fi - - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" - fi - - - - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 -$as_echo_n "checking for sin in -lm... " >&6; } -if ${ac_cv_lib_m_sin+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sin (); -int -main () -{ -return sin (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_sin=yes -else - ac_cv_lib_m_sin=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 -$as_echo "$ac_cv_lib_m_sin" >&6; } -if test "x$ac_cv_lib_m_sin" = xyes; then : - libm="-lm" -fi - - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 -$as_echo_n "checking for isinf declaration... " >&6; } - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if ${glibcxx_cv_func_isinf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinf_use=yes -else - glibcxx_cv_func_isinf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 -$as_echo "$glibcxx_cv_func_isinf_use" >&6; } - - if test x$glibcxx_cv_func_isinf_use = x"yes"; then - for ac_func in isinf -do : - ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" -if test "x$ac_cv_func_isinf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5 -$as_echo_n "checking for _isinf declaration... " >&6; } - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if ${glibcxx_cv_func__isinf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinf_use=yes -else - glibcxx_cv_func__isinf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5 -$as_echo "$glibcxx_cv_func__isinf_use" >&6; } - - if test x$glibcxx_cv_func__isinf_use = x"yes"; then - for ac_func in _isinf -do : - ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf" -if test "x$ac_cv_func__isinf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 -$as_echo_n "checking for isnan declaration... " >&6; } - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if ${glibcxx_cv_func_isnan_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnan(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnan_use=yes -else - glibcxx_cv_func_isnan_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 -$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - - if test x$glibcxx_cv_func_isnan_use = x"yes"; then - for ac_func in isnan -do : - ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" -if test "x$ac_cv_func_isnan" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNAN 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5 -$as_echo_n "checking for _isnan declaration... " >&6; } - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if ${glibcxx_cv_func__isnan_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnan(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnan_use=yes -else - glibcxx_cv_func__isnan_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5 -$as_echo "$glibcxx_cv_func__isnan_use" >&6; } - - if test x$glibcxx_cv_func__isnan_use = x"yes"; then - for ac_func in _isnan -do : - ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan" -if test "x$ac_cv_func__isnan" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNAN 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 -$as_echo_n "checking for finite declaration... " >&6; } - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if ${glibcxx_cv_func_finite_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finite(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finite_use=yes -else - glibcxx_cv_func_finite_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 -$as_echo "$glibcxx_cv_func_finite_use" >&6; } - - if test x$glibcxx_cv_func_finite_use = x"yes"; then - for ac_func in finite -do : - ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" -if test "x$ac_cv_func_finite" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITE 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5 -$as_echo_n "checking for _finite declaration... " >&6; } - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if ${glibcxx_cv_func__finite_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finite(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finite_use=yes -else - glibcxx_cv_func__finite_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5 -$as_echo "$glibcxx_cv_func__finite_use" >&6; } - - if test x$glibcxx_cv_func__finite_use = x"yes"; then - for ac_func in _finite -do : - ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite" -if test "x$ac_cv_func__finite" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITE 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 -$as_echo_n "checking for sincos declaration... " >&6; } - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if ${glibcxx_cv_func_sincos_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincos(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincos_use=yes -else - glibcxx_cv_func_sincos_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 -$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - - if test x$glibcxx_cv_func_sincos_use = x"yes"; then - for ac_func in sincos -do : - ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" -if test "x$ac_cv_func_sincos" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5 -$as_echo_n "checking for _sincos declaration... " >&6; } - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if ${glibcxx_cv_func__sincos_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincos(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincos_use=yes -else - glibcxx_cv_func__sincos_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5 -$as_echo "$glibcxx_cv_func__sincos_use" >&6; } - - if test x$glibcxx_cv_func__sincos_use = x"yes"; then - for ac_func in _sincos -do : - ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos" -if test "x$ac_cv_func__sincos" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 -$as_echo_n "checking for fpclass declaration... " >&6; } - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if ${glibcxx_cv_func_fpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fpclass_use=yes -else - glibcxx_cv_func_fpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 -$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then - for ac_func in fpclass -do : - ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" -if test "x$ac_cv_func_fpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FPCLASS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5 -$as_echo_n "checking for _fpclass declaration... " >&6; } - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if ${glibcxx_cv_func__fpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fpclass_use=yes -else - glibcxx_cv_func__fpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5 -$as_echo "$glibcxx_cv_func__fpclass_use" >&6; } - - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then - for ac_func in _fpclass -do : - ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass" -if test "x$ac_cv_func__fpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FPCLASS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 -$as_echo_n "checking for qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if ${glibcxx_cv_func_qfpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - qfpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_qfpclass_use=yes -else - glibcxx_cv_func_qfpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - for ac_func in qfpclass -do : - ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" -if test "x$ac_cv_func_qfpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_QFPCLASS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5 -$as_echo_n "checking for _qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if ${glibcxx_cv_func__qfpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _qfpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__qfpclass_use=yes -else - glibcxx_cv_func__qfpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; } - - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then - for ac_func in _qfpclass -do : - ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass" -if test "x$ac_cv_func__qfpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__QFPCLASS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 -$as_echo_n "checking for hypot declaration... " >&6; } - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if ${glibcxx_cv_func_hypot_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypot(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypot_use=yes -else - glibcxx_cv_func_hypot_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 -$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - - if test x$glibcxx_cv_func_hypot_use = x"yes"; then - for ac_func in hypot -do : - ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" -if test "x$ac_cv_func_hypot" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOT 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5 -$as_echo_n "checking for _hypot declaration... " >&6; } - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if ${glibcxx_cv_func__hypot_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypot(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypot_use=yes -else - glibcxx_cv_func__hypot_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5 -$as_echo "$glibcxx_cv_func__hypot_use" >&6; } - - if test x$glibcxx_cv_func__hypot_use = x"yes"; then - for ac_func in _hypot -do : - ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot" -if test "x$ac_cv_func__hypot" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOT 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 -$as_echo_n "checking for float trig functions... " >&6; } - if ${glibcxx_cv_func_float_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_trig_use=yes -else - glibcxx_cv_func_float_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 -$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5 -$as_echo_n "checking for _float trig functions... " >&6; } - if ${glibcxx_cv_func__float_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_trig_use=yes -else - glibcxx_cv_func__float_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5 -$as_echo "$glibcxx_cv_func__float_trig_use" >&6; } - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 -$as_echo_n "checking for float round functions... " >&6; } - if ${glibcxx_cv_func_float_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -ceilf (0); floorf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_round_use=yes -else - glibcxx_cv_func_float_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 -$as_echo "$glibcxx_cv_func_float_round_use" >&6; } - if test x$glibcxx_cv_func_float_round_use = x"yes"; then - for ac_func in ceilf floorf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5 -$as_echo_n "checking for _float round functions... " >&6; } - if ${glibcxx_cv_func__float_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_ceilf (0); _floorf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_round_use=yes -else - glibcxx_cv_func__float_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5 -$as_echo "$glibcxx_cv_func__float_round_use" >&6; } - if test x$glibcxx_cv_func__float_round_use = x"yes"; then - for ac_func in _ceilf _floorf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 -$as_echo_n "checking for expf declaration... " >&6; } - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if ${glibcxx_cv_func_expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - expf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expf_use=yes -else - glibcxx_cv_func_expf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 -$as_echo "$glibcxx_cv_func_expf_use" >&6; } - - if test x$glibcxx_cv_func_expf_use = x"yes"; then - for ac_func in expf -do : - ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" -if test "x$ac_cv_func_expf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5 -$as_echo_n "checking for _expf declaration... " >&6; } - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if ${glibcxx_cv_func__expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _expf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expf_use=yes -else - glibcxx_cv_func__expf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5 -$as_echo "$glibcxx_cv_func__expf_use" >&6; } - - if test x$glibcxx_cv_func__expf_use = x"yes"; then - for ac_func in _expf -do : - ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf" -if test "x$ac_cv_func__expf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__EXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 -$as_echo_n "checking for isnanf declaration... " >&6; } - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if ${glibcxx_cv_func_isnanf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnanf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanf_use=yes -else - glibcxx_cv_func_isnanf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 -$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then - for ac_func in isnanf -do : - ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" -if test "x$ac_cv_func_isnanf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5 -$as_echo_n "checking for _isnanf declaration... " >&6; } - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if ${glibcxx_cv_func__isnanf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnanf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanf_use=yes -else - glibcxx_cv_func__isnanf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5 -$as_echo "$glibcxx_cv_func__isnanf_use" >&6; } - - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then - for ac_func in _isnanf -do : - ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf" -if test "x$ac_cv_func__isnanf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 -$as_echo_n "checking for isinff declaration... " >&6; } - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if ${glibcxx_cv_func_isinff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinff(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinff_use=yes -else - glibcxx_cv_func_isinff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 -$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - - if test x$glibcxx_cv_func_isinff_use = x"yes"; then - for ac_func in isinff -do : - ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" -if test "x$ac_cv_func_isinff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5 -$as_echo_n "checking for _isinff declaration... " >&6; } - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if ${glibcxx_cv_func__isinff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinff(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinff_use=yes -else - glibcxx_cv_func__isinff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5 -$as_echo "$glibcxx_cv_func__isinff_use" >&6; } - - if test x$glibcxx_cv_func__isinff_use = x"yes"; then - for ac_func in _isinff -do : - ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff" -if test "x$ac_cv_func__isinff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 -$as_echo_n "checking for atan2f declaration... " >&6; } - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if ${glibcxx_cv_func_atan2f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - atan2f(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2f_use=yes -else - glibcxx_cv_func_atan2f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 -$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then - for ac_func in atan2f -do : - ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" -if test "x$ac_cv_func_atan2f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2F 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5 -$as_echo_n "checking for _atan2f declaration... " >&6; } - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if ${glibcxx_cv_func__atan2f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _atan2f(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2f_use=yes -else - glibcxx_cv_func__atan2f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5 -$as_echo "$glibcxx_cv_func__atan2f_use" >&6; } - - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then - for ac_func in _atan2f -do : - ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f" -if test "x$ac_cv_func__atan2f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2F 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 -$as_echo_n "checking for fabsf declaration... " >&6; } - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if ${glibcxx_cv_func_fabsf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fabsf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsf_use=yes -else - glibcxx_cv_func_fabsf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 -$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then - for ac_func in fabsf -do : - ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" -if test "x$ac_cv_func_fabsf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5 -$as_echo_n "checking for _fabsf declaration... " >&6; } - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if ${glibcxx_cv_func__fabsf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fabsf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsf_use=yes -else - glibcxx_cv_func__fabsf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5 -$as_echo "$glibcxx_cv_func__fabsf_use" >&6; } - - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then - for ac_func in _fabsf -do : - ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf" -if test "x$ac_cv_func__fabsf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FABSF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 -$as_echo_n "checking for fmodf declaration... " >&6; } - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if ${glibcxx_cv_func_fmodf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - fmodf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodf_use=yes -else - glibcxx_cv_func_fmodf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 -$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then - for ac_func in fmodf -do : - ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" -if test "x$ac_cv_func_fmodf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5 -$as_echo_n "checking for _fmodf declaration... " >&6; } - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if ${glibcxx_cv_func__fmodf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _fmodf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodf_use=yes -else - glibcxx_cv_func__fmodf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5 -$as_echo "$glibcxx_cv_func__fmodf_use" >&6; } - - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then - for ac_func in _fmodf -do : - ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf" -if test "x$ac_cv_func__fmodf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FMODF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 -$as_echo_n "checking for frexpf declaration... " >&6; } - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if ${glibcxx_cv_func_frexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - frexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpf_use=yes -else - glibcxx_cv_func_frexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 -$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } - - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then - for ac_func in frexpf -do : - ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" -if test "x$ac_cv_func_frexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5 -$as_echo_n "checking for _frexpf declaration... " >&6; } - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if ${glibcxx_cv_func__frexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _frexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpf_use=yes -else - glibcxx_cv_func__frexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5 -$as_echo "$glibcxx_cv_func__frexpf_use" >&6; } - - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then - for ac_func in _frexpf -do : - ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf" -if test "x$ac_cv_func__frexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 -$as_echo_n "checking for hypotf declaration... " >&6; } - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if ${glibcxx_cv_func_hypotf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypotf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotf_use=yes -else - glibcxx_cv_func_hypotf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 -$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } - - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then - for ac_func in hypotf -do : - ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" -if test "x$ac_cv_func_hypotf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5 -$as_echo_n "checking for _hypotf declaration... " >&6; } - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if ${glibcxx_cv_func__hypotf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypotf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotf_use=yes -else - glibcxx_cv_func__hypotf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5 -$as_echo "$glibcxx_cv_func__hypotf_use" >&6; } - - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then - for ac_func in _hypotf -do : - ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf" -if test "x$ac_cv_func__hypotf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 -$as_echo_n "checking for ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if ${glibcxx_cv_func_ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - ldexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpf_use=yes -else - glibcxx_cv_func_ldexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } - - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then - for ac_func in ldexpf -do : - ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" -if test "x$ac_cv_func_ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5 -$as_echo_n "checking for _ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if ${glibcxx_cv_func__ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _ldexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpf_use=yes -else - glibcxx_cv_func__ldexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; } - - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then - for ac_func in _ldexpf -do : - ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf" -if test "x$ac_cv_func__ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 -$as_echo_n "checking for logf declaration... " >&6; } - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if ${glibcxx_cv_func_logf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - logf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logf_use=yes -else - glibcxx_cv_func_logf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 -$as_echo "$glibcxx_cv_func_logf_use" >&6; } - - if test x$glibcxx_cv_func_logf_use = x"yes"; then - for ac_func in logf -do : - ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" -if test "x$ac_cv_func_logf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOGF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5 -$as_echo_n "checking for _logf declaration... " >&6; } - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if ${glibcxx_cv_func__logf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _logf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logf_use=yes -else - glibcxx_cv_func__logf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5 -$as_echo "$glibcxx_cv_func__logf_use" >&6; } - - if test x$glibcxx_cv_func__logf_use = x"yes"; then - for ac_func in _logf -do : - ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf" -if test "x$ac_cv_func__logf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOGF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 -$as_echo_n "checking for log10f declaration... " >&6; } - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if ${glibcxx_cv_func_log10f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - log10f(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10f_use=yes -else - glibcxx_cv_func_log10f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 -$as_echo "$glibcxx_cv_func_log10f_use" >&6; } - - if test x$glibcxx_cv_func_log10f_use = x"yes"; then - for ac_func in log10f -do : - ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" -if test "x$ac_cv_func_log10f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10F 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5 -$as_echo_n "checking for _log10f declaration... " >&6; } - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if ${glibcxx_cv_func__log10f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _log10f(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10f_use=yes -else - glibcxx_cv_func__log10f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5 -$as_echo "$glibcxx_cv_func__log10f_use" >&6; } - - if test x$glibcxx_cv_func__log10f_use = x"yes"; then - for ac_func in _log10f -do : - ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f" -if test "x$ac_cv_func__log10f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10F 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 -$as_echo_n "checking for modff declaration... " >&6; } - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if ${glibcxx_cv_func_modff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - modff(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modff_use=yes -else - glibcxx_cv_func_modff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 -$as_echo "$glibcxx_cv_func_modff_use" >&6; } - - if test x$glibcxx_cv_func_modff_use = x"yes"; then - for ac_func in modff -do : - ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" -if test "x$ac_cv_func_modff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODFF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5 -$as_echo_n "checking for _modff declaration... " >&6; } - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if ${glibcxx_cv_func__modff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _modff(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modff_use=yes -else - glibcxx_cv_func__modff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5 -$as_echo "$glibcxx_cv_func__modff_use" >&6; } - - if test x$glibcxx_cv_func__modff_use = x"yes"; then - for ac_func in _modff -do : - ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff" -if test "x$ac_cv_func__modff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODFF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 -$as_echo_n "checking for modf declaration... " >&6; } - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if ${glibcxx_cv_func_modf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - modf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modf_use=yes -else - glibcxx_cv_func_modf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 -$as_echo "$glibcxx_cv_func_modf_use" >&6; } - - if test x$glibcxx_cv_func_modf_use = x"yes"; then - for ac_func in modf -do : - ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" -if test "x$ac_cv_func_modf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5 -$as_echo_n "checking for _modf declaration... " >&6; } - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if ${glibcxx_cv_func__modf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _modf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modf_use=yes -else - glibcxx_cv_func__modf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5 -$as_echo "$glibcxx_cv_func__modf_use" >&6; } - - if test x$glibcxx_cv_func__modf_use = x"yes"; then - for ac_func in _modf -do : - ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf" -if test "x$ac_cv_func__modf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 -$as_echo_n "checking for powf declaration... " >&6; } - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if ${glibcxx_cv_func_powf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - powf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powf_use=yes -else - glibcxx_cv_func_powf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 -$as_echo "$glibcxx_cv_func_powf_use" >&6; } - - if test x$glibcxx_cv_func_powf_use = x"yes"; then - for ac_func in powf -do : - ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" -if test "x$ac_cv_func_powf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POWF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5 -$as_echo_n "checking for _powf declaration... " >&6; } - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if ${glibcxx_cv_func__powf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _powf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powf_use=yes -else - glibcxx_cv_func__powf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5 -$as_echo "$glibcxx_cv_func__powf_use" >&6; } - - if test x$glibcxx_cv_func__powf_use = x"yes"; then - for ac_func in _powf -do : - ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf" -if test "x$ac_cv_func__powf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__POWF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 -$as_echo_n "checking for sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if ${glibcxx_cv_func_sqrtf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - sqrtf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtf_use=yes -else - glibcxx_cv_func_sqrtf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then - for ac_func in sqrtf -do : - ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" -if test "x$ac_cv_func_sqrtf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5 -$as_echo_n "checking for _sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if ${glibcxx_cv_func__sqrtf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _sqrtf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtf_use=yes -else - glibcxx_cv_func__sqrtf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; } - - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then - for ac_func in _sqrtf -do : - ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf" -if test "x$ac_cv_func__sqrtf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 -$as_echo_n "checking for sincosf declaration... " >&6; } - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if ${glibcxx_cv_func_sincosf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincosf(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosf_use=yes -else - glibcxx_cv_func_sincosf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 -$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then - for ac_func in sincosf -do : - ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" -if test "x$ac_cv_func_sincosf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5 -$as_echo_n "checking for _sincosf declaration... " >&6; } - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if ${glibcxx_cv_func__sincosf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincosf(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosf_use=yes -else - glibcxx_cv_func__sincosf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5 -$as_echo "$glibcxx_cv_func__sincosf_use" >&6; } - - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then - for ac_func in _sincosf -do : - ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf" -if test "x$ac_cv_func__sincosf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 -$as_echo_n "checking for finitef declaration... " >&6; } - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if ${glibcxx_cv_func_finitef_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finitef(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitef_use=yes -else - glibcxx_cv_func_finitef_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 -$as_echo "$glibcxx_cv_func_finitef_use" >&6; } - - if test x$glibcxx_cv_func_finitef_use = x"yes"; then - for ac_func in finitef -do : - ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" -if test "x$ac_cv_func_finitef" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5 -$as_echo_n "checking for _finitef declaration... " >&6; } - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if ${glibcxx_cv_func__finitef_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finitef(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitef_use=yes -else - glibcxx_cv_func__finitef_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5 -$as_echo "$glibcxx_cv_func__finitef_use" >&6; } - - if test x$glibcxx_cv_func__finitef_use = x"yes"; then - for ac_func in _finitef -do : - ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef" -if test "x$ac_cv_func__finitef" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 -$as_echo_n "checking for long double trig functions... " >&6; } - if ${glibcxx_cv_func_long_double_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_trig_use=yes -else - glibcxx_cv_func_long_double_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5 -$as_echo_n "checking for _long double trig functions... " >&6; } - if ${glibcxx_cv_func__long_double_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_trig_use=yes -else - glibcxx_cv_func__long_double_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; } - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 -$as_echo_n "checking for long double round functions... " >&6; } - if ${glibcxx_cv_func_long_double_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -ceill (0); floorl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_round_use=yes -else - glibcxx_cv_func_long_double_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then - for ac_func in ceill floorl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5 -$as_echo_n "checking for _long double round functions... " >&6; } - if ${glibcxx_cv_func__long_double_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_ceill (0); _floorl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_round_use=yes -else - glibcxx_cv_func__long_double_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; } - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - for ac_func in _ceill _floorl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 -$as_echo_n "checking for isnanl declaration... " >&6; } - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if ${glibcxx_cv_func_isnanl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnanl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanl_use=yes -else - glibcxx_cv_func_isnanl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 -$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } - - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then - for ac_func in isnanl -do : - ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" -if test "x$ac_cv_func_isnanl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5 -$as_echo_n "checking for _isnanl declaration... " >&6; } - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if ${glibcxx_cv_func__isnanl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnanl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanl_use=yes -else - glibcxx_cv_func__isnanl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5 -$as_echo "$glibcxx_cv_func__isnanl_use" >&6; } - - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then - for ac_func in _isnanl -do : - ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl" -if test "x$ac_cv_func__isnanl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 -$as_echo_n "checking for isinfl declaration... " >&6; } - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if ${glibcxx_cv_func_isinfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinfl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinfl_use=yes -else - glibcxx_cv_func_isinfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 -$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then - for ac_func in isinfl -do : - ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" -if test "x$ac_cv_func_isinfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5 -$as_echo_n "checking for _isinfl declaration... " >&6; } - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if ${glibcxx_cv_func__isinfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinfl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinfl_use=yes -else - glibcxx_cv_func__isinfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5 -$as_echo "$glibcxx_cv_func__isinfl_use" >&6; } - - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then - for ac_func in _isinfl -do : - ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl" -if test "x$ac_cv_func__isinfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 -$as_echo_n "checking for atan2l declaration... " >&6; } - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if ${glibcxx_cv_func_atan2l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - atan2l(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2l_use=yes -else - glibcxx_cv_func_atan2l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 -$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then - for ac_func in atan2l -do : - ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" -if test "x$ac_cv_func_atan2l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2L 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5 -$as_echo_n "checking for _atan2l declaration... " >&6; } - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if ${glibcxx_cv_func__atan2l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _atan2l(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2l_use=yes -else - glibcxx_cv_func__atan2l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5 -$as_echo "$glibcxx_cv_func__atan2l_use" >&6; } - - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then - for ac_func in _atan2l -do : - ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l" -if test "x$ac_cv_func__atan2l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2L 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 -$as_echo_n "checking for expl declaration... " >&6; } - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if ${glibcxx_cv_func_expl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - expl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expl_use=yes -else - glibcxx_cv_func_expl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 -$as_echo "$glibcxx_cv_func_expl_use" >&6; } - - if test x$glibcxx_cv_func_expl_use = x"yes"; then - for ac_func in expl -do : - ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" -if test "x$ac_cv_func_expl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5 -$as_echo_n "checking for _expl declaration... " >&6; } - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if ${glibcxx_cv_func__expl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _expl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expl_use=yes -else - glibcxx_cv_func__expl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5 -$as_echo "$glibcxx_cv_func__expl_use" >&6; } - - if test x$glibcxx_cv_func__expl_use = x"yes"; then - for ac_func in _expl -do : - ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl" -if test "x$ac_cv_func__expl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__EXPL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 -$as_echo_n "checking for fabsl declaration... " >&6; } - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if ${glibcxx_cv_func_fabsl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fabsl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsl_use=yes -else - glibcxx_cv_func_fabsl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 -$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then - for ac_func in fabsl -do : - ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" -if test "x$ac_cv_func_fabsl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5 -$as_echo_n "checking for _fabsl declaration... " >&6; } - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if ${glibcxx_cv_func__fabsl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fabsl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsl_use=yes -else - glibcxx_cv_func__fabsl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5 -$as_echo "$glibcxx_cv_func__fabsl_use" >&6; } - - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then - for ac_func in _fabsl -do : - ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl" -if test "x$ac_cv_func__fabsl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FABSL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 -$as_echo_n "checking for fmodl declaration... " >&6; } - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if ${glibcxx_cv_func_fmodl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - fmodl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodl_use=yes -else - glibcxx_cv_func_fmodl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 -$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then - for ac_func in fmodl -do : - ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" -if test "x$ac_cv_func_fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5 -$as_echo_n "checking for _fmodl declaration... " >&6; } - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if ${glibcxx_cv_func__fmodl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _fmodl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodl_use=yes -else - glibcxx_cv_func__fmodl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5 -$as_echo "$glibcxx_cv_func__fmodl_use" >&6; } - - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then - for ac_func in _fmodl -do : - ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl" -if test "x$ac_cv_func__fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FMODL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 -$as_echo_n "checking for frexpl declaration... " >&6; } - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if ${glibcxx_cv_func_frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - frexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpl_use=yes -else - glibcxx_cv_func_frexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 -$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then - for ac_func in frexpl -do : - ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" -if test "x$ac_cv_func_frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5 -$as_echo_n "checking for _frexpl declaration... " >&6; } - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if ${glibcxx_cv_func__frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _frexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpl_use=yes -else - glibcxx_cv_func__frexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5 -$as_echo "$glibcxx_cv_func__frexpl_use" >&6; } - - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then - for ac_func in _frexpl -do : - ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl" -if test "x$ac_cv_func__frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 -$as_echo_n "checking for hypotl declaration... " >&6; } - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if ${glibcxx_cv_func_hypotl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypotl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotl_use=yes -else - glibcxx_cv_func_hypotl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 -$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then - for ac_func in hypotl -do : - ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" -if test "x$ac_cv_func_hypotl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5 -$as_echo_n "checking for _hypotl declaration... " >&6; } - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if ${glibcxx_cv_func__hypotl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypotl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotl_use=yes -else - glibcxx_cv_func__hypotl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5 -$as_echo "$glibcxx_cv_func__hypotl_use" >&6; } - - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then - for ac_func in _hypotl -do : - ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl" -if test "x$ac_cv_func__hypotl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 -$as_echo_n "checking for ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if ${glibcxx_cv_func_ldexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - ldexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpl_use=yes -else - glibcxx_cv_func_ldexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then - for ac_func in ldexpl -do : - ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" -if test "x$ac_cv_func_ldexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5 -$as_echo_n "checking for _ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if ${glibcxx_cv_func__ldexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _ldexpl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpl_use=yes -else - glibcxx_cv_func__ldexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; } - - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then - for ac_func in _ldexpl -do : - ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl" -if test "x$ac_cv_func__ldexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 -$as_echo_n "checking for logl declaration... " >&6; } - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if ${glibcxx_cv_func_logl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - logl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logl_use=yes -else - glibcxx_cv_func_logl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 -$as_echo "$glibcxx_cv_func_logl_use" >&6; } - - if test x$glibcxx_cv_func_logl_use = x"yes"; then - for ac_func in logl -do : - ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" -if test "x$ac_cv_func_logl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOGL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5 -$as_echo_n "checking for _logl declaration... " >&6; } - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if ${glibcxx_cv_func__logl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _logl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logl_use=yes -else - glibcxx_cv_func__logl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5 -$as_echo "$glibcxx_cv_func__logl_use" >&6; } - - if test x$glibcxx_cv_func__logl_use = x"yes"; then - for ac_func in _logl -do : - ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl" -if test "x$ac_cv_func__logl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOGL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 -$as_echo_n "checking for log10l declaration... " >&6; } - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if ${glibcxx_cv_func_log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - log10l(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10l_use=yes -else - glibcxx_cv_func_log10l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 -$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - - if test x$glibcxx_cv_func_log10l_use = x"yes"; then - for ac_func in log10l -do : - ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" -if test "x$ac_cv_func_log10l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10L 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5 -$as_echo_n "checking for _log10l declaration... " >&6; } - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if ${glibcxx_cv_func__log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _log10l(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10l_use=yes -else - glibcxx_cv_func__log10l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5 -$as_echo "$glibcxx_cv_func__log10l_use" >&6; } - - if test x$glibcxx_cv_func__log10l_use = x"yes"; then - for ac_func in _log10l -do : - ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l" -if test "x$ac_cv_func__log10l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10L 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 -$as_echo_n "checking for modfl declaration... " >&6; } - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if ${glibcxx_cv_func_modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - modfl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modfl_use=yes -else - glibcxx_cv_func_modfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 -$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - - if test x$glibcxx_cv_func_modfl_use = x"yes"; then - for ac_func in modfl -do : - ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" -if test "x$ac_cv_func_modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODFL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5 -$as_echo_n "checking for _modfl declaration... " >&6; } - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if ${glibcxx_cv_func__modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _modfl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modfl_use=yes -else - glibcxx_cv_func__modfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5 -$as_echo "$glibcxx_cv_func__modfl_use" >&6; } - - if test x$glibcxx_cv_func__modfl_use = x"yes"; then - for ac_func in _modfl -do : - ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl" -if test "x$ac_cv_func__modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODFL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 -$as_echo_n "checking for powl declaration... " >&6; } - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if ${glibcxx_cv_func_powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - powl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powl_use=yes -else - glibcxx_cv_func_powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 -$as_echo "$glibcxx_cv_func_powl_use" >&6; } - - if test x$glibcxx_cv_func_powl_use = x"yes"; then - for ac_func in powl -do : - ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" -if test "x$ac_cv_func_powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POWL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5 -$as_echo_n "checking for _powl declaration... " >&6; } - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if ${glibcxx_cv_func__powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _powl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powl_use=yes -else - glibcxx_cv_func__powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5 -$as_echo "$glibcxx_cv_func__powl_use" >&6; } - - if test x$glibcxx_cv_func__powl_use = x"yes"; then - for ac_func in _powl -do : - ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl" -if test "x$ac_cv_func__powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__POWL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 -$as_echo_n "checking for sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if ${glibcxx_cv_func_sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - sqrtl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtl_use=yes -else - glibcxx_cv_func_sqrtl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then - for ac_func in sqrtl -do : - ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" -if test "x$ac_cv_func_sqrtl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5 -$as_echo_n "checking for _sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if ${glibcxx_cv_func__sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _sqrtl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtl_use=yes -else - glibcxx_cv_func__sqrtl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; } - - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then - for ac_func in _sqrtl -do : - ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl" -if test "x$ac_cv_func__sqrtl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 -$as_echo_n "checking for sincosl declaration... " >&6; } - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if ${glibcxx_cv_func_sincosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincosl(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosl_use=yes -else - glibcxx_cv_func_sincosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 -$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then - for ac_func in sincosl -do : - ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" -if test "x$ac_cv_func_sincosl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5 -$as_echo_n "checking for _sincosl declaration... " >&6; } - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if ${glibcxx_cv_func__sincosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincosl(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosl_use=yes -else - glibcxx_cv_func__sincosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5 -$as_echo "$glibcxx_cv_func__sincosl_use" >&6; } - - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then - for ac_func in _sincosl -do : - ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl" -if test "x$ac_cv_func__sincosl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSL 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 -$as_echo_n "checking for finitel declaration... " >&6; } - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if ${glibcxx_cv_func_finitel_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finitel(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitel_use=yes -else - glibcxx_cv_func_finitel_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 -$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - - if test x$glibcxx_cv_func_finitel_use = x"yes"; then - for ac_func in finitel -do : - ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" -if test "x$ac_cv_func_finitel" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEL 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5 -$as_echo_n "checking for _finitel declaration... " >&6; } - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if ${glibcxx_cv_func__finitel_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finitel(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitel_use=yes -else - glibcxx_cv_func__finitel_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5 -$as_echo "$glibcxx_cv_func__finitel_use" >&6; } - - if test x$glibcxx_cv_func__finitel_use = x"yes"; then - for ac_func in _finitel -do : - ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel" -if test "x$ac_cv_func__finitel" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEL 1 -_ACEOF - -fi -done - - fi - fi - - - - - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 -$as_echo_n "checking for at_quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - at_quick_exit(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_at_quick_exit_use=yes -else - glibcxx_cv_func_at_quick_exit_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then - for ac_func in at_quick_exit -do : - ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" -if test "x$ac_cv_func_at_quick_exit" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_AT_QUICK_EXIT 1 -_ACEOF - -fi -done - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 -$as_echo_n "checking for quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_quick_exit_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - quick_exit(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_quick_exit_use=yes -else - glibcxx_cv_func_quick_exit_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then - for ac_func in quick_exit -do : - ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" -if test "x$ac_cv_func_quick_exit" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_QUICK_EXIT 1 -_ACEOF - -fi -done - - fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 -$as_echo_n "checking for strtold declaration... " >&6; } - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if ${glibcxx_cv_func_strtold_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - strtold(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtold_use=yes -else - glibcxx_cv_func_strtold_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 -$as_echo "$glibcxx_cv_func_strtold_use" >&6; } - if test x$glibcxx_cv_func_strtold_use = x"yes"; then - for ac_func in strtold -do : - ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" -if test "x$ac_cv_func_strtold" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOLD 1 -_ACEOF - -fi -done - - fi - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 -$as_echo_n "checking for strtof declaration... " >&6; } - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if ${glibcxx_cv_func_strtof_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - strtof(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtof_use=yes -else - glibcxx_cv_func_strtof_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 -$as_echo "$glibcxx_cv_func_strtof_use" >&6; } - if test x$glibcxx_cv_func_strtof_use = x"yes"; then - for ac_func in strtof -do : - ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" -if test "x$ac_cv_func_strtof" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOF 1 -_ACEOF - -fi -done - - fi - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - - $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h - - $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h - - # We don't yet support AIX's TLS ABI. - #GCC_CHECK_TLS - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -$as_echo_n "checking for iconv... " >&6; } -if ${am_cv_func_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else - - am_cv_func_iconv="no, consider installing GNU libiconv" - am_cv_lib_iconv=no - am_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCICONV" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - - if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then - for _libs in .libs _libs; do - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS -I../libiconv/include" - LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - INCICONV="-I../libiconv/include" - LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a - LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la - am_cv_lib_iconv=yes - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - if test "$am_cv_func_iconv" = "yes"; then - break - fi - done - fi - - if test "$am_cv_func_iconv" != yes; then - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS $INCICONV" - LIBS="$LIBS $LIBICONV" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_lib_iconv=yes - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - fi - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -$as_echo "$am_cv_func_iconv" >&6; } - if test "$am_cv_func_iconv" = yes; then - -$as_echo "#define HAVE_ICONV 1" >>confdefs.h - - fi - if test "$am_cv_lib_iconv" = yes; then - - for element in $INCICONV; do - haveit= - for x in $CPPFLAGS; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" - fi - done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -$as_echo_n "checking how to link with libiconv... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -$as_echo "$LIBICONV" >&6; } - else - LIBICONV= - LTLIBICONV= - fi - - - - if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 -$as_echo_n "checking for iconv declaration... " >&6; } - if ${am_cv_proto_iconv+:} false; then : - $as_echo_n "(cached) " >&6 -else - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -#include -#include -extern -#ifdef __cplusplus -"C" -#endif -#if defined(__STDC__) || defined(__cplusplus) -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif - -int -main () -{ - - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - am_cv_proto_iconv_arg1="" -else - am_cv_proto_iconv_arg1="const" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" -fi - - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- - }$am_cv_proto_iconv" >&5 -$as_echo "${ac_t:- - }$am_cv_proto_iconv" >&6; } - -cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $am_cv_proto_iconv_arg1 -_ACEOF - - fi - - - $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h - - ;; - - *-darwin*) - # Darwin versions vary, but the linker should work in a cross environment, - # so we just check for all the features here. - # Check for available headers. - - # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 -$as_echo_n "checking for sin in -lm... " >&6; } -if ${ac_cv_lib_m_sin+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sin (); -int -main () -{ -return sin (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_sin=yes -else - ac_cv_lib_m_sin=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 -$as_echo "$ac_cv_lib_m_sin" >&6; } -if test "x$ac_cv_lib_m_sin" = xyes; then : - libm="-lm" -fi - - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 -$as_echo_n "checking for isinf declaration... " >&6; } - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if ${glibcxx_cv_func_isinf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinf_use=yes -else - glibcxx_cv_func_isinf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 -$as_echo "$glibcxx_cv_func_isinf_use" >&6; } - - if test x$glibcxx_cv_func_isinf_use = x"yes"; then - for ac_func in isinf -do : - ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" -if test "x$ac_cv_func_isinf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5 -$as_echo_n "checking for _isinf declaration... " >&6; } - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if ${glibcxx_cv_func__isinf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinf_use=yes -else - glibcxx_cv_func__isinf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5 -$as_echo "$glibcxx_cv_func__isinf_use" >&6; } - - if test x$glibcxx_cv_func__isinf_use = x"yes"; then - for ac_func in _isinf -do : - ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf" -if test "x$ac_cv_func__isinf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 -$as_echo_n "checking for isnan declaration... " >&6; } - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if ${glibcxx_cv_func_isnan_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnan(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnan_use=yes -else - glibcxx_cv_func_isnan_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 -$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - - if test x$glibcxx_cv_func_isnan_use = x"yes"; then - for ac_func in isnan -do : - ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" -if test "x$ac_cv_func_isnan" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNAN 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5 -$as_echo_n "checking for _isnan declaration... " >&6; } - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if ${glibcxx_cv_func__isnan_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnan(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnan_use=yes -else - glibcxx_cv_func__isnan_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5 -$as_echo "$glibcxx_cv_func__isnan_use" >&6; } - - if test x$glibcxx_cv_func__isnan_use = x"yes"; then - for ac_func in _isnan -do : - ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan" -if test "x$ac_cv_func__isnan" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNAN 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 -$as_echo_n "checking for finite declaration... " >&6; } - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if ${glibcxx_cv_func_finite_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - finite(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finite_use=yes -else - glibcxx_cv_func_finite_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 -$as_echo "$glibcxx_cv_func_finite_use" >&6; } - - if test x$glibcxx_cv_func_finite_use = x"yes"; then - for ac_func in finite -do : - ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" -if test "x$ac_cv_func_finite" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITE 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5 -$as_echo_n "checking for _finite declaration... " >&6; } - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if ${glibcxx_cv_func__finite_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finite(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finite_use=yes -else - glibcxx_cv_func__finite_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5 -$as_echo "$glibcxx_cv_func__finite_use" >&6; } - - if test x$glibcxx_cv_func__finite_use = x"yes"; then - for ac_func in _finite -do : - ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite" -if test "x$ac_cv_func__finite" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITE 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 -$as_echo_n "checking for sincos declaration... " >&6; } - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if ${glibcxx_cv_func_sincos_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - sincos(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincos_use=yes -else - glibcxx_cv_func_sincos_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 -$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - - if test x$glibcxx_cv_func_sincos_use = x"yes"; then - for ac_func in sincos -do : - ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" -if test "x$ac_cv_func_sincos" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5 -$as_echo_n "checking for _sincos declaration... " >&6; } - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if ${glibcxx_cv_func__sincos_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincos(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincos_use=yes -else - glibcxx_cv_func__sincos_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5 -$as_echo "$glibcxx_cv_func__sincos_use" >&6; } - - if test x$glibcxx_cv_func__sincos_use = x"yes"; then - for ac_func in _sincos -do : - ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos" -if test "x$ac_cv_func__sincos" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 -$as_echo_n "checking for fpclass declaration... " >&6; } - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if ${glibcxx_cv_func_fpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fpclass_use=yes -else - glibcxx_cv_func_fpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 -$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then - for ac_func in fpclass -do : - ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" -if test "x$ac_cv_func_fpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FPCLASS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5 -$as_echo_n "checking for _fpclass declaration... " >&6; } - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if ${glibcxx_cv_func__fpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fpclass_use=yes -else - glibcxx_cv_func__fpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5 -$as_echo "$glibcxx_cv_func__fpclass_use" >&6; } - - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then - for ac_func in _fpclass -do : - ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass" -if test "x$ac_cv_func__fpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FPCLASS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 -$as_echo_n "checking for qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if ${glibcxx_cv_func_qfpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - qfpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_qfpclass_use=yes -else - glibcxx_cv_func_qfpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - for ac_func in qfpclass -do : - ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" -if test "x$ac_cv_func_qfpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_QFPCLASS 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5 -$as_echo_n "checking for _qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if ${glibcxx_cv_func__qfpclass_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _qfpclass(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__qfpclass_use=yes -else - glibcxx_cv_func__qfpclass_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; } - - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then - for ac_func in _qfpclass -do : - ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass" -if test "x$ac_cv_func__qfpclass" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__QFPCLASS 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 -$as_echo_n "checking for hypot declaration... " >&6; } - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if ${glibcxx_cv_func_hypot_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypot(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypot_use=yes -else - glibcxx_cv_func_hypot_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 -$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - - if test x$glibcxx_cv_func_hypot_use = x"yes"; then - for ac_func in hypot -do : - ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" -if test "x$ac_cv_func_hypot" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOT 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5 -$as_echo_n "checking for _hypot declaration... " >&6; } - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if ${glibcxx_cv_func__hypot_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypot(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypot_use=yes -else - glibcxx_cv_func__hypot_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5 -$as_echo "$glibcxx_cv_func__hypot_use" >&6; } - - if test x$glibcxx_cv_func__hypot_use = x"yes"; then - for ac_func in _hypot -do : - ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot" -if test "x$ac_cv_func__hypot" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOT 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 -$as_echo_n "checking for float trig functions... " >&6; } - if ${glibcxx_cv_func_float_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_trig_use=yes -else - glibcxx_cv_func_float_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 -$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5 -$as_echo_n "checking for _float trig functions... " >&6; } - if ${glibcxx_cv_func__float_trig_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_trig_use=yes -else - glibcxx_cv_func__float_trig_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5 -$as_echo "$glibcxx_cv_func__float_trig_use" >&6; } - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 -$as_echo_n "checking for float round functions... " >&6; } - if ${glibcxx_cv_func_float_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -ceilf (0); floorf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_round_use=yes -else - glibcxx_cv_func_float_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 -$as_echo "$glibcxx_cv_func_float_round_use" >&6; } - if test x$glibcxx_cv_func_float_round_use = x"yes"; then - for ac_func in ceilf floorf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5 -$as_echo_n "checking for _float round functions... " >&6; } - if ${glibcxx_cv_func__float_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_ceilf (0); _floorf (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_round_use=yes -else - glibcxx_cv_func__float_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5 -$as_echo "$glibcxx_cv_func__float_round_use" >&6; } - if test x$glibcxx_cv_func__float_round_use = x"yes"; then - for ac_func in _ceilf _floorf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi - fi - - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 -$as_echo_n "checking for expf declaration... " >&6; } - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if ${glibcxx_cv_func_expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - expf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expf_use=yes -else - glibcxx_cv_func_expf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 -$as_echo "$glibcxx_cv_func_expf_use" >&6; } - - if test x$glibcxx_cv_func_expf_use = x"yes"; then - for ac_func in expf -do : - ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" -if test "x$ac_cv_func_expf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5 -$as_echo_n "checking for _expf declaration... " >&6; } - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if ${glibcxx_cv_func__expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _expf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expf_use=yes -else - glibcxx_cv_func__expf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5 -$as_echo "$glibcxx_cv_func__expf_use" >&6; } - - if test x$glibcxx_cv_func__expf_use = x"yes"; then - for ac_func in _expf -do : - ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf" -if test "x$ac_cv_func__expf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__EXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 -$as_echo_n "checking for isnanf declaration... " >&6; } - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if ${glibcxx_cv_func_isnanf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isnanf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanf_use=yes -else - glibcxx_cv_func_isnanf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 -$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then - for ac_func in isnanf -do : - ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" -if test "x$ac_cv_func_isnanf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5 -$as_echo_n "checking for _isnanf declaration... " >&6; } - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if ${glibcxx_cv_func__isnanf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isnanf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanf_use=yes -else - glibcxx_cv_func__isnanf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5 -$as_echo "$glibcxx_cv_func__isnanf_use" >&6; } - - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then - for ac_func in _isnanf -do : - ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf" -if test "x$ac_cv_func__isnanf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 -$as_echo_n "checking for isinff declaration... " >&6; } - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if ${glibcxx_cv_func_isinff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - isinff(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinff_use=yes -else - glibcxx_cv_func_isinff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 -$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - - if test x$glibcxx_cv_func_isinff_use = x"yes"; then - for ac_func in isinff -do : - ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" -if test "x$ac_cv_func_isinff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5 -$as_echo_n "checking for _isinff declaration... " >&6; } - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if ${glibcxx_cv_func__isinff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _isinff(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinff_use=yes -else - glibcxx_cv_func__isinff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5 -$as_echo "$glibcxx_cv_func__isinff_use" >&6; } - - if test x$glibcxx_cv_func__isinff_use = x"yes"; then - for ac_func in _isinff -do : - ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff" -if test "x$ac_cv_func__isinff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 -$as_echo_n "checking for atan2f declaration... " >&6; } - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if ${glibcxx_cv_func_atan2f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - atan2f(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2f_use=yes -else - glibcxx_cv_func_atan2f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 -$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then - for ac_func in atan2f -do : - ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" -if test "x$ac_cv_func_atan2f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2F 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5 -$as_echo_n "checking for _atan2f declaration... " >&6; } - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if ${glibcxx_cv_func__atan2f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _atan2f(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2f_use=yes -else - glibcxx_cv_func__atan2f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5 -$as_echo "$glibcxx_cv_func__atan2f_use" >&6; } - - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then - for ac_func in _atan2f -do : - ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f" -if test "x$ac_cv_func__atan2f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2F 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 -$as_echo_n "checking for fabsf declaration... " >&6; } - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if ${glibcxx_cv_func_fabsf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - fabsf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsf_use=yes -else - glibcxx_cv_func_fabsf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 -$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then - for ac_func in fabsf -do : - ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" -if test "x$ac_cv_func_fabsf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5 -$as_echo_n "checking for _fabsf declaration... " >&6; } - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if ${glibcxx_cv_func__fabsf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _fabsf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsf_use=yes -else - glibcxx_cv_func__fabsf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5 -$as_echo "$glibcxx_cv_func__fabsf_use" >&6; } - - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then - for ac_func in _fabsf -do : - ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf" -if test "x$ac_cv_func__fabsf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FABSF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 -$as_echo_n "checking for fmodf declaration... " >&6; } - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if ${glibcxx_cv_func_fmodf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - fmodf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodf_use=yes -else - glibcxx_cv_func_fmodf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 -$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then - for ac_func in fmodf -do : - ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" -if test "x$ac_cv_func_fmodf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5 -$as_echo_n "checking for _fmodf declaration... " >&6; } - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if ${glibcxx_cv_func__fmodf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _fmodf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodf_use=yes -else - glibcxx_cv_func__fmodf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5 -$as_echo "$glibcxx_cv_func__fmodf_use" >&6; } - - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then - for ac_func in _fmodf -do : - ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf" -if test "x$ac_cv_func__fmodf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FMODF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 -$as_echo_n "checking for frexpf declaration... " >&6; } - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if ${glibcxx_cv_func_frexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - frexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpf_use=yes -else - glibcxx_cv_func_frexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 -$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } - - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then - for ac_func in frexpf -do : - ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" -if test "x$ac_cv_func_frexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5 -$as_echo_n "checking for _frexpf declaration... " >&6; } - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if ${glibcxx_cv_func__frexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _frexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpf_use=yes -else - glibcxx_cv_func__frexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5 -$as_echo "$glibcxx_cv_func__frexpf_use" >&6; } - - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then - for ac_func in _frexpf -do : - ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf" -if test "x$ac_cv_func__frexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 -$as_echo_n "checking for hypotf declaration... " >&6; } - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if ${glibcxx_cv_func_hypotf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypotf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotf_use=yes -else - glibcxx_cv_func_hypotf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 -$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } - - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then - for ac_func in hypotf -do : - ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" -if test "x$ac_cv_func_hypotf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5 -$as_echo_n "checking for _hypotf declaration... " >&6; } - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if ${glibcxx_cv_func__hypotf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypotf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotf_use=yes -else - glibcxx_cv_func__hypotf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5 -$as_echo "$glibcxx_cv_func__hypotf_use" >&6; } - - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then - for ac_func in _hypotf -do : - ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf" -if test "x$ac_cv_func__hypotf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 -$as_echo_n "checking for ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if ${glibcxx_cv_func_ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - ldexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpf_use=yes -else - glibcxx_cv_func_ldexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } - - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then - for ac_func in ldexpf -do : - ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" -if test "x$ac_cv_func_ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5 -$as_echo_n "checking for _ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if ${glibcxx_cv_func__ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _ldexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpf_use=yes -else - glibcxx_cv_func__ldexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; } - - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then - for ac_func in _ldexpf -do : - ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf" -if test "x$ac_cv_func__ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPF 1 -_ACEOF - -fi -done - - fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 -$as_echo_n "checking for logf declaration... " >&6; } - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if ${glibcxx_cv_func_logf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - logf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logf_use=yes -else - glibcxx_cv_func_logf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 -$as_echo "$glibcxx_cv_func_logf_use" >&6; } - - if test x$glibcxx_cv_func_logf_use = x"yes"; then - for ac_func in logf -do : - ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" -if test "x$ac_cv_func_logf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOGF 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5 -$as_echo_n "checking for _logf declaration... " >&6; } - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if ${glibcxx_cv_func__logf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + case "$x" in + -L*) + dir=`echo "X$x" | sed -e 's/^X-L//'` + if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then + found_dir="$dir" + found_so="$dir/lib$name.$shlibext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + elif test x$lib_type != xshared; then + if test -f "$dir/lib$name.$libext"; then + found_dir="$dir" + found_a="$dir/lib$name.$libext" + if test -f "$dir/lib$name.la"; then + found_la="$dir/lib$name.la" + fi + fi + fi + ;; + esac + if test "X$found_dir" != "X"; then + break + fi + done + fi + if test "X$found_dir" != "X"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" + if test "X$found_so" != "X"; then + if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $found_dir" + fi + if test "$hardcode_direct" = yes; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $found_dir" + fi + else + haveit= + for x in $LDFLAGS $LIBICONV; do - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" -int -main () -{ - _logf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logf_use=yes -else - glibcxx_cv_func__logf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test "X$x" = "X-L$found_dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" + fi + if test "$hardcode_minus_L" != no; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + fi + fi + fi + fi + else + if test "X$found_a" != "X"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" + fi + fi + additional_includedir= + case "$found_dir" in + */lib | */lib/) + basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` + additional_includedir="$basedir/include" + ;; + esac + if test "X$additional_includedir" != "X"; then + if test "X$additional_includedir" != "X/usr/include"; then + haveit= + if test "X$additional_includedir" = "X/usr/local/include"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + for x in $CPPFLAGS $INCICONV; do + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" -fi + if test "X$x" = "X-I$additional_includedir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_includedir"; then + INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" + fi + fi + fi + fi + fi + if test -n "$found_la"; then + save_libdir="$libdir" + case "$found_la" in + */* | *\\*) . "$found_la" ;; + *) . "./$found_la" ;; + esac + libdir="$save_libdir" + for dep in $dependency_libs; do + case "$dep" in + -L*) + additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` + if test "X$additional_libdir" != "X/usr/lib"; then + haveit= + if test "X$additional_libdir" = "X/usr/local/lib"; then + if test -n "$GCC"; then + case $host_os in + linux*) haveit=yes;; + esac + fi + fi + if test -z "$haveit"; then + haveit= + for x in $LDFLAGS $LIBICONV; do - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5 -$as_echo "$glibcxx_cv_func__logf_use" >&6; } + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" - if test x$glibcxx_cv_func__logf_use = x"yes"; then - for ac_func in _logf -do : - ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf" -if test "x$ac_cv_func__logf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOGF 1 -_ACEOF + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" + fi + fi + haveit= + for x in $LDFLAGS $LTLIBICONV; do -fi -done + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + if test "X$x" = "X-L$additional_libdir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + if test -d "$additional_libdir"; then + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" + fi + fi + fi + fi + ;; + -R*) + dir=`echo "X$dep" | sed -e 's/^X-R//'` + if test "$enable_rpath" != no; then + haveit= + for x in $rpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + rpathdirs="$rpathdirs $dir" + fi + haveit= + for x in $ltrpathdirs; do + if test "X$x" = "X$dir"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + ltrpathdirs="$ltrpathdirs $dir" + fi + fi + ;; + -l*) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` + ;; + *.la) + names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` + ;; + *) + LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" + ;; + esac + done + fi + else + if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then + LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" + else + LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext" + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext" + fi + fi + fi + fi + done + done + if test "X$rpathdirs" != "X"; then + if test -n "$hardcode_libdir_separator"; then + alldirs= + for found_dir in $rpathdirs; do + alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" + done + acl_save_libdir="$libdir" + libdir="$alldirs" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + else + for found_dir in $rpathdirs; do + acl_save_libdir="$libdir" + libdir="$found_dir" + eval flag=\"$hardcode_libdir_flag_spec\" + libdir="$acl_save_libdir" + LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" + done fi fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 -$as_echo_n "checking for log10f declaration... " >&6; } - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if ${glibcxx_cv_func_log10f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - log10f(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10f_use=yes -else - glibcxx_cv_func_log10f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 -$as_echo "$glibcxx_cv_func_log10f_use" >&6; } - - if test x$glibcxx_cv_func_log10f_use = x"yes"; then - for ac_func in log10f -do : - ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" -if test "x$ac_cv_func_log10f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10F 1 -_ACEOF - -fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5 -$as_echo_n "checking for _log10f declaration... " >&6; } - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if ${glibcxx_cv_func__log10f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _log10f(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10f_use=yes -else - glibcxx_cv_func__log10f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5 -$as_echo "$glibcxx_cv_func__log10f_use" >&6; } - - if test x$glibcxx_cv_func__log10f_use = x"yes"; then - for ac_func in _log10f -do : - ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f" -if test "x$ac_cv_func__log10f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10F 1 -_ACEOF - -fi -done - - fi + if test "X$ltrpathdirs" != "X"; then + for found_dir in $ltrpathdirs; do + LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" + done fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 -$as_echo_n "checking for modff declaration... " >&6; } - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if ${glibcxx_cv_func_modff_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - modff(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modff_use=yes -else - glibcxx_cv_func_modff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 -$as_echo "$glibcxx_cv_func_modff_use" >&6; } - - if test x$glibcxx_cv_func_modff_use = x"yes"; then - for ac_func in modff -do : - ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" -if test "x$ac_cv_func_modff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODFF 1 -_ACEOF - -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5 -$as_echo_n "checking for _modff declaration... " >&6; } - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if ${glibcxx_cv_func__modff_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + am_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCICONV" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include +#include int main () { - _modff(0, 0); +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modff_use=yes -else - glibcxx_cv_func__modff_use=no +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" + if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then + for _libs in .libs _libs; do + am_save_CPPFLAGS="$CPPFLAGS" + am_save_LIBS="$LIBS" + CPPFLAGS="$CPPFLAGS -I../libiconv/include" + LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5 -$as_echo "$glibcxx_cv_func__modff_use" >&6; } - - if test x$glibcxx_cv_func__modff_use = x"yes"; then - for ac_func in _modff -do : - ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff" -if test "x$ac_cv_func__modff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODFF 1 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} _ACEOF - +if ac_fn_c_try_link "$LINENO"; then : + INCICONV="-I../libiconv/include" + LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a + LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la + am_cv_lib_iconv=yes + am_cv_func_iconv=yes fi -done - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" + LIBS="$am_save_LIBS" + if test "$am_cv_func_iconv" = "yes"; then + break + fi + done fi - fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 -$as_echo_n "checking for modf declaration... " >&6; } - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if ${glibcxx_cv_func_modf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_CPPFLAGS="$CPPFLAGS" + am_save_LIBS="$LIBS" + CPPFLAGS="$CPPFLAGS $INCICONV" + LIBS="$LIBS $LIBICONV" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include +#include int main () { - modf(0, 0); +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modf_use=yes -else - glibcxx_cv_func_modf_use=no +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" + LIBS="$am_save_LIBS" + fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 -$as_echo "$glibcxx_cv_func_modf_use" >&6; } + if test "$am_cv_lib_iconv" = yes; then - if test x$glibcxx_cv_func_modf_use = x"yes"; then - for ac_func in modf -do : - ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" -if test "x$ac_cv_func_modf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODF 1 -_ACEOF + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do -fi -done + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } else + LIBICONV= + LTLIBICONV= + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5 -$as_echo_n "checking for _modf declaration... " >&6; } - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if ${glibcxx_cv_func__modf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 +$as_echo_n "checking for iconv declaration... " >&6; } + if ${am_cv_proto_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif + int main () { - _modf(0, 0); + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modf_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + am_cv_proto_iconv_arg1="" else - glibcxx_cv_func__modf_use=no + am_cv_proto_iconv_arg1="const" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" +fi + am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- + }$am_cv_proto_iconv" >&5 +$as_echo "${ac_t:- + }$am_cv_proto_iconv" >&6; } -fi +cat >>confdefs.h <<_ACEOF +#define ICONV_CONST $am_cv_proto_iconv_arg1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5 -$as_echo "$glibcxx_cv_func__modf_use" >&6; } - if test x$glibcxx_cv_func__modf_use = x"yes"; then - for ac_func in _modf -do : - ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf" -if test "x$ac_cv_func__modf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODF 1 -_ACEOF -fi -done +else - fi + # This lets us hard-code the functionality we know we'll have in the cross + # target environment. "Let" is a sugar-coated word placed on an especially + # dull and tedious hack, actually. + # + # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros + # that involve linking, can't be used: + # "cannot open sim-crt0.o" + # "cannot open crt0.o" + # etc. All this is because there currently exists no unified, consistent + # way for top level CC information to be passed down to target directories: + # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc. + # When all of that is done, all of this hokey, excessive AC_DEFINE junk for + # crosses can be removed. + + # If Canadian cross, then don't pick up tools from the build directory. + # Used only in GLIBCXX_EXPORT_INCLUDES. + if test -n "$with_cross_host" && + test x"$build_alias" != x"$with_cross_host" && + test x"$build" != x"$target"; + then + CANADIAN=yes + else + CANADIAN=no fi + # Construct crosses by hand, eliminating bits that need ld... + # GLIBCXX_CHECK_MATH_SUPPORT + # First, test for "known" system libraries. We may be using newlib even + # on a hosted environment. + if test "x${with_newlib}" = "xyes"; then + os_include_dir="os/newlib" + $as_echo "#define HAVE_HYPOT 1" >>confdefs.h + # GLIBCXX_CHECK_STDLIB_SUPPORT + $as_echo "#define HAVE_STRTOF 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 -$as_echo_n "checking for powf declaration... " >&6; } - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if ${glibcxx_cv_func_powf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + $as_echo "#define HAVE_ACOSF 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_ASINF 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - powf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powf_use=yes -else - glibcxx_cv_func_powf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h + $as_echo "#define HAVE_ATANF 1" >>confdefs.h -fi + $as_echo "#define HAVE_CEILF 1" >>confdefs.h - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 -$as_echo "$glibcxx_cv_func_powf_use" >&6; } + $as_echo "#define HAVE_COSF 1" >>confdefs.h - if test x$glibcxx_cv_func_powf_use = x"yes"; then - for ac_func in powf -do : - ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" -if test "x$ac_cv_func_powf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POWF 1 -_ACEOF + $as_echo "#define HAVE_COSHF 1" >>confdefs.h -fi -done + $as_echo "#define HAVE_EXPF 1" >>confdefs.h - else + $as_echo "#define HAVE_FABSF 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5 -$as_echo_n "checking for _powf declaration... " >&6; } - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if ${glibcxx_cv_func__powf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + $as_echo "#define HAVE_FLOORF 1" >>confdefs.h + $as_echo "#define HAVE_FMODF 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _powf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powf_use=yes -else - glibcxx_cv_func__powf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h + $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h -fi + $as_echo "#define HAVE_LOG10F 1" >>confdefs.h - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5 -$as_echo "$glibcxx_cv_func__powf_use" >&6; } + $as_echo "#define HAVE_LOGF 1" >>confdefs.h - if test x$glibcxx_cv_func__powf_use = x"yes"; then - for ac_func in _powf -do : - ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf" -if test "x$ac_cv_func__powf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__POWF 1 -_ACEOF + $as_echo "#define HAVE_MODFF 1" >>confdefs.h -fi -done + $as_echo "#define HAVE_POWF 1" >>confdefs.h - fi - fi + $as_echo "#define HAVE_SINF 1" >>confdefs.h + + $as_echo "#define HAVE_SINHF 1" >>confdefs.h + + $as_echo "#define HAVE_SQRTF 1" >>confdefs.h + $as_echo "#define HAVE_TANF 1" >>confdefs.h + $as_echo "#define HAVE_TANHF 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 -$as_echo_n "checking for sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if ${glibcxx_cv_func_sqrtf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5 +$as_echo_n "checking for acosl declaration... " >&6; } +if ${glibcxx_cv_func_acosl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef acosl int main () { - sqrtf(0); + + void (*f)(void) = (void (*)(void))acosl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtf_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_acosl_use=yes + else - glibcxx_cv_func_sqrtf_use=no + glibcxx_cv_func_acosl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5 +$as_echo "$glibcxx_cv_func_acosl_use" >&6; } + if test "x$glibcxx_cv_func_acosl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_ACOSL 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then - for ac_func in sqrtf -do : - ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" -if test "x$ac_cv_func_sqrtf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTF 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5 -$as_echo_n "checking for _sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if ${glibcxx_cv_func__sqrtf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5 +$as_echo_n "checking for asinl declaration... " >&6; } +if ${glibcxx_cv_func_asinl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef asinl int main () { - _sqrtf(0); + + void (*f)(void) = (void (*)(void))asinl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtf_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_asinl_use=yes + else - glibcxx_cv_func__sqrtf_use=no + glibcxx_cv_func_asinl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; } - - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then - for ac_func in _sqrtf -do : - ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf" -if test "x$ac_cv_func__sqrtf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTF 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5 +$as_echo "$glibcxx_cv_func_asinl_use" >&6; } + if test "x$glibcxx_cv_func_asinl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_ASINL 1 _ACEOF -fi -done - - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 -$as_echo_n "checking for sincosf declaration... " >&6; } - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if ${glibcxx_cv_func_sincosf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 +$as_echo_n "checking for atan2l declaration... " >&6; } +if ${glibcxx_cv_func_atan2l_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef atan2l + int main () { - sincosf(0, 0, 0); + + void (*f)(void) = (void (*)(void))atan2l; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosf_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_atan2l_use=yes + else - glibcxx_cv_func_sincosf_use=no + glibcxx_cv_func_atan2l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } + if test "x$glibcxx_cv_func_atan2l_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_ATAN2L 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 -$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then - for ac_func in sincosf -do : - ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" -if test "x$ac_cv_func_sincosf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSF 1 -_ACEOF -fi -done - - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5 -$as_echo_n "checking for _sincosf declaration... " >&6; } - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if ${glibcxx_cv_func__sincosf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5 +$as_echo_n "checking for atanl declaration... " >&6; } +if ${glibcxx_cv_func_atanl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef atanl + int main () { - _sincosf(0, 0, 0); + + void (*f)(void) = (void (*)(void))atanl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosf_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_atanl_use=yes + else - glibcxx_cv_func__sincosf_use=no + glibcxx_cv_func_atanl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5 -$as_echo "$glibcxx_cv_func__sincosf_use" >&6; } - - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then - for ac_func in _sincosf -do : - ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf" -if test "x$ac_cv_func__sincosf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSF 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5 +$as_echo "$glibcxx_cv_func_atanl_use" >&6; } + if test "x$glibcxx_cv_func_atanl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_ATANL 1 _ACEOF -fi -done - - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 -$as_echo_n "checking for finitef declaration... " >&6; } - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if ${glibcxx_cv_func_finitef_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5 +$as_echo_n "checking for ceill declaration... " >&6; } +if ${glibcxx_cv_func_ceill_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef ceill int main () { - finitef(0); + + void (*f)(void) = (void (*)(void))ceill; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitef_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_ceill_use=yes + else - glibcxx_cv_func_finitef_use=no + glibcxx_cv_func_ceill_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5 +$as_echo "$glibcxx_cv_func_ceill_use" >&6; } + if test "x$glibcxx_cv_func_ceill_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_CEILL 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 -$as_echo "$glibcxx_cv_func_finitef_use" >&6; } - - if test x$glibcxx_cv_func_finitef_use = x"yes"; then - for ac_func in finitef -do : - ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" -if test "x$ac_cv_func_finitef" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEF 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5 -$as_echo_n "checking for _finitef declaration... " >&6; } - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if ${glibcxx_cv_func__finitef_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5 +$as_echo_n "checking for coshl declaration... " >&6; } +if ${glibcxx_cv_func_coshl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef coshl int main () { - _finitef(0); + + void (*f)(void) = (void (*)(void))coshl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitef_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_coshl_use=yes + else - glibcxx_cv_func__finitef_use=no + glibcxx_cv_func_coshl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5 -$as_echo "$glibcxx_cv_func__finitef_use" >&6; } - - if test x$glibcxx_cv_func__finitef_use = x"yes"; then - for ac_func in _finitef -do : - ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef" -if test "x$ac_cv_func__finitef" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEF 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5 +$as_echo "$glibcxx_cv_func_coshl_use" >&6; } + if test "x$glibcxx_cv_func_coshl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_COSHL 1 _ACEOF -fi -done - - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 -$as_echo_n "checking for long double trig functions... " >&6; } - if ${glibcxx_cv_func_long_double_trig_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5 +$as_echo_n "checking for cosl declaration... " >&6; } +if ${glibcxx_cv_func_cosl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef cosl + int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); + + void (*f)(void) = (void (*)(void))cosl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_trig_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_cosl_use=yes + else - glibcxx_cv_func_long_double_trig_use=no + glibcxx_cv_func_cosl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5 +$as_echo "$glibcxx_cv_func_cosl_use" >&6; } + if test "x$glibcxx_cv_func_cosl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_COSL 1 _ACEOF -fi -done + fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5 -$as_echo_n "checking for _long double trig functions... " >&6; } - if ${glibcxx_cv_func__long_double_trig_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 +$as_echo_n "checking for expl declaration... " >&6; } +if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef expl + int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); + + void (*f)(void) = (void (*)(void))expl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_trig_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_expl_use=yes + else - glibcxx_cv_func__long_double_trig_use=no + glibcxx_cv_func_expl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; } - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 +$as_echo "$glibcxx_cv_func_expl_use" >&6; } + if test "x$glibcxx_cv_func_expl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_EXPL 1 _ACEOF -fi -done - - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 -$as_echo_n "checking for long double round functions... " >&6; } - if ${glibcxx_cv_func_long_double_round_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 +$as_echo_n "checking for fabsl declaration... " >&6; } +if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef fabsl + int main () { -ceill (0); floorl (0); + + void (*f)(void) = (void (*)(void))fabsl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_round_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_fabsl_use=yes + else - glibcxx_cv_func_long_double_round_use=no + glibcxx_cv_func_fabsl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then - for ac_func in ceill floorl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } + if test "x$glibcxx_cv_func_fabsl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_FABSL 1 _ACEOF -fi -done + fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5 -$as_echo_n "checking for _long double round functions... " >&6; } - if ${glibcxx_cv_func__long_double_round_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5 +$as_echo_n "checking for floorl declaration... " >&6; } +if ${glibcxx_cv_func_floorl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef floorl + int main () { -_ceill (0); _floorl (0); + + void (*f)(void) = (void (*)(void))floorl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_round_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_floorl_use=yes + else - glibcxx_cv_func__long_double_round_use=no + glibcxx_cv_func_floorl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; } - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - for ac_func in _ceill _floorl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5 +$as_echo "$glibcxx_cv_func_floorl_use" >&6; } + if test "x$glibcxx_cv_func_floorl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_FLOORL 1 _ACEOF -fi -done - - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 -$as_echo_n "checking for isnanl declaration... " >&6; } - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if ${glibcxx_cv_func_isnanl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 +$as_echo_n "checking for fmodl declaration... " >&6; } +if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef fmodl int main () { - isnanl(0); + + void (*f)(void) = (void (*)(void))fmodl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_fmodl_use=yes + else - glibcxx_cv_func_isnanl_use=no + glibcxx_cv_func_fmodl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } + if test "x$glibcxx_cv_func_fmodl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_FMODL 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 -$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } - - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then - for ac_func in isnanl -do : - ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" -if test "x$ac_cv_func_isnanl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANL 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5 -$as_echo_n "checking for _isnanl declaration... " >&6; } - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if ${glibcxx_cv_func__isnanl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 +$as_echo_n "checking for frexpl declaration... " >&6; } +if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +else + + + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef frexpl int main () { - _isnanl(0); + + void (*f)(void) = (void (*)(void))frexpl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_frexpl_use=yes + else - glibcxx_cv_func__isnanl_use=no + glibcxx_cv_func_frexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5 -$as_echo "$glibcxx_cv_func__isnanl_use" >&6; } - - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then - for ac_func in _isnanl -do : - ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl" -if test "x$ac_cv_func__isnanl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANL 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } + if test "x$glibcxx_cv_func_frexpl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_FREXPL 1 _ACEOF -fi -done - - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 -$as_echo_n "checking for isinfl declaration... " >&6; } - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if ${glibcxx_cv_func_isinfl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 +$as_echo_n "checking for hypotl declaration... " >&6; } +if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef hypotl int main () { - isinfl(0); + + void (*f)(void) = (void (*)(void))hypotl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinfl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_hypotl_use=yes + else - glibcxx_cv_func_isinfl_use=no + glibcxx_cv_func_hypotl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } + if test "x$glibcxx_cv_func_hypotl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_HYPOTL 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 -$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then - for ac_func in isinfl -do : - ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" -if test "x$ac_cv_func_isinfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFL 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5 -$as_echo_n "checking for _isinfl declaration... " >&6; } - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if ${glibcxx_cv_func__isinfl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 +$as_echo_n "checking for ldexpl declaration... " >&6; } +if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef ldexpl int main () { - _isinfl(0); + + void (*f)(void) = (void (*)(void))ldexpl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinfl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_ldexpl_use=yes + else - glibcxx_cv_func__isinfl_use=no + glibcxx_cv_func_ldexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5 -$as_echo "$glibcxx_cv_func__isinfl_use" >&6; } - - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then - for ac_func in _isinfl -do : - ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl" -if test "x$ac_cv_func__isinfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFL 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } + if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LDEXPL 1 _ACEOF -fi -done - - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 -$as_echo_n "checking for atan2l declaration... " >&6; } - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if ${glibcxx_cv_func_atan2l_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 +$as_echo_n "checking for log10l declaration... " >&6; } +if ${glibcxx_cv_func_log10l_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef log10l + int main () { - atan2l(0, 0); + + void (*f)(void) = (void (*)(void))log10l; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2l_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_log10l_use=yes + else - glibcxx_cv_func_atan2l_use=no + glibcxx_cv_func_log10l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; } + if test "x$glibcxx_cv_func_log10l_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LOG10L 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 -$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then - for ac_func in atan2l -do : - ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" -if test "x$ac_cv_func_atan2l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2L 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5 -$as_echo_n "checking for _atan2l declaration... " >&6; } - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if ${glibcxx_cv_func__atan2l_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 +$as_echo_n "checking for logl declaration... " >&6; } +if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef logl + int main () { - _atan2l(0, 0); + + void (*f)(void) = (void (*)(void))logl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2l_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_logl_use=yes + else - glibcxx_cv_func__atan2l_use=no + glibcxx_cv_func_logl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5 -$as_echo "$glibcxx_cv_func__atan2l_use" >&6; } - - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then - for ac_func in _atan2l -do : - ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l" -if test "x$ac_cv_func__atan2l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2L 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 +$as_echo "$glibcxx_cv_func_logl_use" >&6; } + if test "x$glibcxx_cv_func_logl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_LOGL 1 _ACEOF -fi -done - - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 -$as_echo_n "checking for expl declaration... " >&6; } - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if ${glibcxx_cv_func_expl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 +$as_echo_n "checking for modfl declaration... " >&6; } +if ${glibcxx_cv_func_modfl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef modfl int main () { - expl(0); + + void (*f)(void) = (void (*)(void))modfl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_modfl_use=yes + else - glibcxx_cv_func_expl_use=no + glibcxx_cv_func_modfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; } + if test "x$glibcxx_cv_func_modfl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_MODFL 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 -$as_echo "$glibcxx_cv_func_expl_use" >&6; } - - if test x$glibcxx_cv_func_expl_use = x"yes"; then - for ac_func in expl -do : - ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" -if test "x$ac_cv_func_expl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPL 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5 -$as_echo_n "checking for _expl declaration... " >&6; } - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if ${glibcxx_cv_func__expl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 +$as_echo_n "checking for powl declaration... " >&6; } +if ${glibcxx_cv_func_powl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef powl int main () { - _expl(0); + + void (*f)(void) = (void (*)(void))powl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_powl_use=yes + else - glibcxx_cv_func__expl_use=no + glibcxx_cv_func_powl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5 -$as_echo "$glibcxx_cv_func__expl_use" >&6; } - - if test x$glibcxx_cv_func__expl_use = x"yes"; then - for ac_func in _expl -do : - ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl" -if test "x$ac_cv_func__expl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__EXPL 1 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 +$as_echo "$glibcxx_cv_func_powl_use" >&6; } + if test "x$glibcxx_cv_func_powl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_POWL 1 _ACEOF -fi -done - - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 -$as_echo_n "checking for fabsl declaration... " >&6; } - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if ${glibcxx_cv_func_fabsl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5 +$as_echo_n "checking for sinhl declaration... " >&6; } +if ${glibcxx_cv_func_sinhl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef sinhl int main () { - fabsl(0); + + void (*f)(void) = (void (*)(void))sinhl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_sinhl_use=yes + else - glibcxx_cv_func_fabsl_use=no + glibcxx_cv_func_sinhl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5 +$as_echo "$glibcxx_cv_func_sinhl_use" >&6; } + if test "x$glibcxx_cv_func_sinhl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_SINHL 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 -$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then - for ac_func in fabsl -do : - ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" -if test "x$ac_cv_func_fabsl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSL 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5 -$as_echo_n "checking for _fabsl declaration... " >&6; } - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if ${glibcxx_cv_func__fabsl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5 +$as_echo_n "checking for sinl declaration... " >&6; } +if ${glibcxx_cv_func_sinl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include - #ifdef HAVE_IEEEFP_H - #include - #endif +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef sinl int main () { - _fabsl(0); + + void (*f)(void) = (void (*)(void))sinl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_sinl_use=yes + else - glibcxx_cv_func__fabsl_use=no + glibcxx_cv_func_sinl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5 +$as_echo "$glibcxx_cv_func_sinl_use" >&6; } + if test "x$glibcxx_cv_func_sinl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_SINL 1 +_ACEOF + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 +$as_echo_n "checking for sqrtl declaration... " >&6; } +if ${glibcxx_cv_func_sqrtl_use+:} false; then : + $as_echo_n "(cached) " >&6 +else + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ -fi +#include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef sqrtl - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5 -$as_echo "$glibcxx_cv_func__fabsl_use" >&6; } +int +main () +{ + + void (*f)(void) = (void (*)(void))sqrtl; - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then - for ac_func in _fabsl -do : - ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl" -if test "x$ac_cv_func__fabsl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FABSL 1 + ; + return 0; +} _ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_sqrtl_use=yes +else + glibcxx_cv_func_sqrtl_use=no fi -done +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } + if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_SQRTL 1 +_ACEOF - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 -$as_echo_n "checking for fmodl declaration... " >&6; } - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if ${glibcxx_cv_func_fmodl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5 +$as_echo_n "checking for tanhl declaration... " >&6; } +if ${glibcxx_cv_func_tanhl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef tanhl + int main () { - fmodl(0, 0); + + void (*f)(void) = (void (*)(void))tanhl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_tanhl_use=yes + else - glibcxx_cv_func_fmodl_use=no + glibcxx_cv_func_tanhl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5 +$as_echo "$glibcxx_cv_func_tanhl_use" >&6; } + if test "x$glibcxx_cv_func_tanhl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_TANHL 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 -$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then - for ac_func in fmodl -do : - ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" -if test "x$ac_cv_func_fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODL 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5 -$as_echo_n "checking for _fmodl declaration... " >&6; } - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if ${glibcxx_cv_func__fmodl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5 +$as_echo_n "checking for tanl declaration... " >&6; } +if ${glibcxx_cv_func_tanl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ + #include +#ifdef HAVE_IEEEFP_H +# include +#endif +#undef tanl + int main () { - _fmodl(0, 0); + + void (*f)(void) = (void (*)(void))tanl; + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + glibcxx_cv_func_tanl_use=yes + else - glibcxx_cv_func__fmodl_use=no + glibcxx_cv_func_tanl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5 +$as_echo "$glibcxx_cv_func_tanl_use" >&6; } + if test "x$glibcxx_cv_func_tanl_use" = xyes; then + cat >>confdefs.h <<_ACEOF +#define HAVE_TANL 1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5 -$as_echo "$glibcxx_cv_func__fmodl_use" >&6; } - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then - for ac_func in _fmodl -do : - ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl" -if test "x$ac_cv_func__fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FMODL 1 -_ACEOF -fi -done - fi - fi + $as_echo "#define HAVE_ICONV 1" >>confdefs.h + $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h + case "${target}" in + *-rtems*) + case "${target}" in + bfin* | lm32* | mips* | moxie* | or1k* | v850*) + ;; + *) + $as_echo "#define HAVE_TLS 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 -$as_echo_n "checking for frexpl declaration... " >&6; } - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if ${glibcxx_cv_func_frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + ;; + esac + $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h + $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h - ac_ext=cpp + $as_echo "#define HAVE_LINK 1" >>confdefs.h + + $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h + + $as_echo "#define HAVE_READLINK 1" >>confdefs.h + + $as_echo "#define HAVE_SETENV 1" >>confdefs.h + + $as_echo "#define HAVE_SLEEP 1" >>confdefs.h + + $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h + + $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h + + $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h + + $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h + + $as_echo "#define HAVE_USLEEP 1" >>confdefs.h + + ;; + esac + elif test "x$with_headers" != "xno"; then + +# Base decisions on target environment. +case "${host}" in + arm*-*-symbianelf*) + # This is a freestanding configuration; there is nothing to do here. + ;; + + avr*-*-*) + $as_echo "#define HAVE_ACOSF 1" >>confdefs.h + + $as_echo "#define HAVE_ASINF 1" >>confdefs.h + + $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h + + $as_echo "#define HAVE_ATANF 1" >>confdefs.h + + $as_echo "#define HAVE_CEILF 1" >>confdefs.h + + $as_echo "#define HAVE_COSF 1" >>confdefs.h + + $as_echo "#define HAVE_COSHF 1" >>confdefs.h + + $as_echo "#define HAVE_EXPF 1" >>confdefs.h + + $as_echo "#define HAVE_FABSF 1" >>confdefs.h + + $as_echo "#define HAVE_FLOORF 1" >>confdefs.h + + $as_echo "#define HAVE_FMODF 1" >>confdefs.h + + $as_echo "#define HAVE_FREXPF 1" >>confdefs.h + + $as_echo "#define HAVE_SQRTF 1" >>confdefs.h + + $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h + + $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h + + $as_echo "#define HAVE_LOG10F 1" >>confdefs.h + + $as_echo "#define HAVE_LOGF 1" >>confdefs.h + + $as_echo "#define HAVE_MODFF 1" >>confdefs.h + + $as_echo "#define HAVE_POWF 1" >>confdefs.h + + $as_echo "#define HAVE_SINF 1" >>confdefs.h + + $as_echo "#define HAVE_SINHF 1" >>confdefs.h + + $as_echo "#define HAVE_TANF 1" >>confdefs.h + + $as_echo "#define HAVE_TANHF 1" >>confdefs.h + + ;; + + mips*-sde-elf*) + # These definitions are for the SDE C library rather than newlib. + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + + # All these tests are for C++; save the language and the compiler flags. + # The CXXFLAGS thing is suspicious, but based on similar bits previously + # found in GLIBCXX_CONFIGURE. + + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + + # Check for -ffunction-sections -fdata-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 +$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; } + CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +int foo; void bar() { }; int main () { - frexpl(0, 0); + ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpl_use=yes + ac_fdsections=yes else - glibcxx_cv_func_frexpl_use=no + ac_fdsections=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS="$ac_save_CXXFLAGS" + else + # this is the suspicious part + CXXFLAGS='' + fi + if test x"$ac_fdsections" = x"yes"; then + SECTION_FLAGS='-ffunction-sections -fdata-sections' + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5 +$as_echo "$ac_fdsections" >&6; } + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 -$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then - for ac_func in frexpl -do : - ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" -if test "x$ac_cv_func_frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPL 1 -_ACEOF + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5 -$as_echo_n "checking for _frexpl declaration... " >&6; } - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if ${glibcxx_cv_func__frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi + fi + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + glibcxx_ld_is_mold=no + if test x"$with_gnu_ld" = x"yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 +$as_echo_n "checking for ld version... " >&6; } - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then + glibcxx_ld_is_mold=yes + fi + ldver=`$LD --version 2>/dev/null | + sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 +$as_echo "$glibcxx_gnu_ld_version" >&6; } + fi + + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + int one(void) { return 1; } + int two(void) { return 2; } + int main () { - _frexpl(0, 0); + two(); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpl_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_gcsections=yes else - glibcxx_cv_func__frexpl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + ac_gcsections=no fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 +$as_echo "$ac_gcsections" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5 -$as_echo "$glibcxx_cv_func__frexpl_use" >&6; } - - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then - for ac_func in _frexpl -do : - ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl" -if test "x$ac_cv_func__frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPL 1 -_ACEOF -fi -done + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + # cygwin and mingw uses PE, which has no ELF relro support, + # multi target ld may confuse configure machinery + case "$host" in + *-*-cygwin*) + ;; + *-*-mingw*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 +$as_echo "$ac_ld_relro" >&6; } + esac + fi - fi + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 -$as_echo_n "checking for hypotl declaration... " >&6; } - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if ${glibcxx_cv_func_hypotl_use+:} false; then : + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 +$as_echo_n "checking for sin in -lm... " >&6; } +if ${ac_cv_lib_m_sin+:} false; then : $as_echo_n "(cached) " >&6 else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sin (); int main () { - hypotl(0, 0); +return sin (); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotl_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_sin=yes else - glibcxx_cv_func_hypotl_use=no + ac_cv_lib_m_sin=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 -$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then - for ac_func in hypotl -do : - ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" -if test "x$ac_cv_func_hypotl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTL 1 -_ACEOF - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 +$as_echo "$ac_cv_lib_m_sin" >&6; } +if test "x$ac_cv_lib_m_sin" = xyes; then : + libm="-lm" fi -done - else + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5 -$as_echo_n "checking for _hypotl declaration... " >&6; } - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if ${glibcxx_cv_func__hypotl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 +$as_echo_n "checking for isinf declaration... " >&6; } + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if ${glibcxx_cv_func_isinf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -47878,18 +28797,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypotl(0, 0); + isinf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotl_use=yes + glibcxx_cv_func_isinf_use=yes else - glibcxx_cv_func__hypotl_use=no + glibcxx_cv_func_isinf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -47902,32 +28825,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5 -$as_echo "$glibcxx_cv_func__hypotl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; } - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then - for ac_func in _hypotl + if test x$glibcxx_cv_func_isinf_use = x"yes"; then + for ac_func in isinf do : - ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl" -if test "x$ac_cv_func__hypotl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" +if test "x$ac_cv_func_isinf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTL 1 +#define HAVE_ISINF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 -$as_echo_n "checking for ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if ${glibcxx_cv_func_ldexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 +$as_echo_n "checking for isnan declaration... " >&6; } + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if ${glibcxx_cv_func_isnan_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -47941,18 +28861,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - ldexpl(0, 0); + isnan(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpl_use=yes + glibcxx_cv_func_isnan_use=yes else - glibcxx_cv_func_ldexpl_use=no + glibcxx_cv_func_isnan_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -47965,27 +28889,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then - for ac_func in ldexpl + if test x$glibcxx_cv_func_isnan_use = x"yes"; then + for ac_func in isnan do : - ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" -if test "x$ac_cv_func_ldexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +if test "x$ac_cv_func_isnan" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPL 1 +#define HAVE_ISNAN 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5 -$as_echo_n "checking for _ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if ${glibcxx_cv_func__ldexpl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 +$as_echo_n "checking for finite declaration... " >&6; } + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if ${glibcxx_cv_func_finite_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -47999,18 +28925,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _ldexpl(0, 0); + finite(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpl_use=yes + glibcxx_cv_func_finite_use=yes else - glibcxx_cv_func__ldexpl_use=no + glibcxx_cv_func_finite_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48023,32 +28953,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 +$as_echo "$glibcxx_cv_func_finite_use" >&6; } - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then - for ac_func in _ldexpl + if test x$glibcxx_cv_func_finite_use = x"yes"; then + for ac_func in finite do : - ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl" -if test "x$ac_cv_func__ldexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" +if test "x$ac_cv_func_finite" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPL 1 +#define HAVE_FINITE 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 -$as_echo_n "checking for logl declaration... " >&6; } - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if ${glibcxx_cv_func_logl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 +$as_echo_n "checking for sincos declaration... " >&6; } + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if ${glibcxx_cv_func_sincos_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48062,22 +28989,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - logl(0); + sincos(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logl_use=yes + glibcxx_cv_func_sincos_use=yes else - glibcxx_cv_func_logl_use=no + glibcxx_cv_func_sincos_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48090,27 +29013,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 -$as_echo "$glibcxx_cv_func_logl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - if test x$glibcxx_cv_func_logl_use = x"yes"; then - for ac_func in logl + if test x$glibcxx_cv_func_sincos_use = x"yes"; then + for ac_func in sincos do : - ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" -if test "x$ac_cv_func_logl" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" +if test "x$ac_cv_func_sincos" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOGL 1 +#define HAVE_SINCOS 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5 -$as_echo_n "checking for _logl declaration... " >&6; } - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if ${glibcxx_cv_func__logl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 +$as_echo_n "checking for fpclass declaration... " >&6; } + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if ${glibcxx_cv_func_fpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48131,15 +29056,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _logl(0); + fpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logl_use=yes + glibcxx_cv_func_fpclass_use=yes else - glibcxx_cv_func__logl_use=no + glibcxx_cv_func_fpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48152,32 +29077,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5 -$as_echo "$glibcxx_cv_func__logl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - if test x$glibcxx_cv_func__logl_use = x"yes"; then - for ac_func in _logl + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then + for ac_func in fpclass do : - ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl" -if test "x$ac_cv_func__logl" = xyes; then : + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" +if test "x$ac_cv_func_fpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOGL 1 +#define HAVE_FPCLASS 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 -$as_echo_n "checking for log10l declaration... " >&6; } - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if ${glibcxx_cv_func_log10l_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 +$as_echo_n "checking for qfpclass declaration... " >&6; } + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if ${glibcxx_cv_func_qfpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48198,15 +29120,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - log10l(0); + qfpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10l_use=yes + glibcxx_cv_func_qfpclass_use=yes else - glibcxx_cv_func_log10l_use=no + glibcxx_cv_func_qfpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48219,27 +29141,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 -$as_echo "$glibcxx_cv_func_log10l_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - if test x$glibcxx_cv_func_log10l_use = x"yes"; then - for ac_func in log10l + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then + for ac_func in qfpclass do : - ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" -if test "x$ac_cv_func_log10l" = xyes; then : + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" +if test "x$ac_cv_func_qfpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10L 1 +#define HAVE_QFPCLASS 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5 -$as_echo_n "checking for _log10l declaration... " >&6; } - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if ${glibcxx_cv_func__log10l_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 +$as_echo_n "checking for hypot declaration... " >&6; } + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if ${glibcxx_cv_func_hypot_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48253,22 +29177,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10l(0); + hypot(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10l_use=yes + glibcxx_cv_func_hypot_use=yes else - glibcxx_cv_func__log10l_use=no + glibcxx_cv_func_hypot_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48281,153 +29201,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5 -$as_echo "$glibcxx_cv_func__log10l_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - if test x$glibcxx_cv_func__log10l_use = x"yes"; then - for ac_func in _log10l + if test x$glibcxx_cv_func_hypot_use = x"yes"; then + for ac_func in hypot do : - ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l" -if test "x$ac_cv_func__log10l" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" +if test "x$ac_cv_func_hypot" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10L 1 +#define HAVE_HYPOT 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 -$as_echo_n "checking for modfl declaration... " >&6; } - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if ${glibcxx_cv_func_modfl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 +$as_echo_n "checking for float trig functions... " >&6; } + if ${glibcxx_cv_func_float_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - modfl(0, 0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modfl_use=yes + glibcxx_cv_func_float_trig_use=yes else - glibcxx_cv_func_modfl_use=no + glibcxx_cv_func_float_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 -$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - - if test x$glibcxx_cv_func_modfl_use = x"yes"; then - for ac_func in modfl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do : - ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" -if test "x$ac_cv_func_modfl" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODFL 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5 -$as_echo_n "checking for _modfl declaration... " >&6; } - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if ${glibcxx_cv_func__modfl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 +$as_echo_n "checking for float round functions... " >&6; } + if ${glibcxx_cv_func_float_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - _modfl(0, 0); +ceilf (0); floorf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modfl_use=yes + glibcxx_cv_func_float_round_use=yes else - glibcxx_cv_func__modfl_use=no + glibcxx_cv_func_float_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5 -$as_echo "$glibcxx_cv_func__modfl_use" >&6; } - - if test x$glibcxx_cv_func__modfl_use = x"yes"; then - for ac_func in _modfl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; } + if test x$glibcxx_cv_func_float_round_use = x"yes"; then + for ac_func in ceilf floorf do : - ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl" -if test "x$ac_cv_func__modfl" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODFL 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 -$as_echo_n "checking for powl declaration... " >&6; } - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if ${glibcxx_cv_func_powl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 +$as_echo_n "checking for expf declaration... " >&6; } + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if ${glibcxx_cv_func_expf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48441,18 +29352,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - powl(0, 0); + expf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powl_use=yes + glibcxx_cv_func_expf_use=yes else - glibcxx_cv_func_powl_use=no + glibcxx_cv_func_expf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48465,27 +29380,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 -$as_echo "$glibcxx_cv_func_powl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 +$as_echo "$glibcxx_cv_func_expf_use" >&6; } - if test x$glibcxx_cv_func_powl_use = x"yes"; then - for ac_func in powl + if test x$glibcxx_cv_func_expf_use = x"yes"; then + for ac_func in expf do : - ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" -if test "x$ac_cv_func_powl" = xyes; then : + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" +if test "x$ac_cv_func_expf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_POWL 1 +#define HAVE_EXPF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5 -$as_echo_n "checking for _powl declaration... " >&6; } - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if ${glibcxx_cv_func__powl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 +$as_echo_n "checking for isnanf declaration... " >&6; } + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if ${glibcxx_cv_func_isnanf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48499,18 +29416,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _powl(0, 0); + isnanf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powl_use=yes + glibcxx_cv_func_isnanf_use=yes else - glibcxx_cv_func__powl_use=no + glibcxx_cv_func_isnanf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48523,32 +29444,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5 -$as_echo "$glibcxx_cv_func__powl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - if test x$glibcxx_cv_func__powl_use = x"yes"; then - for ac_func in _powl + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + for ac_func in isnanf do : - ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl" -if test "x$ac_cv_func__powl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" +if test "x$ac_cv_func_isnanf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__POWL 1 +#define HAVE_ISNANF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 -$as_echo_n "checking for sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if ${glibcxx_cv_func_sqrtl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 +$as_echo_n "checking for isinff declaration... " >&6; } + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if ${glibcxx_cv_func_isinff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48569,15 +29487,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sqrtl(0); + isinff(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtl_use=yes + glibcxx_cv_func_isinff_use=yes else - glibcxx_cv_func_sqrtl_use=no + glibcxx_cv_func_isinff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48590,27 +29508,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then - for ac_func in sqrtl + if test x$glibcxx_cv_func_isinff_use = x"yes"; then + for ac_func in isinff do : - ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" -if test "x$ac_cv_func_sqrtl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" +if test "x$ac_cv_func_isinff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTL 1 +#define HAVE_ISINFF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5 -$as_echo_n "checking for _sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if ${glibcxx_cv_func__sqrtl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 +$as_echo_n "checking for atan2f declaration... " >&6; } + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if ${glibcxx_cv_func_atan2f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48624,22 +29544,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _sqrtl(0); + atan2f(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtl_use=yes + glibcxx_cv_func_atan2f_use=yes else - glibcxx_cv_func__sqrtl_use=no + glibcxx_cv_func_atan2f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48652,32 +29568,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then - for ac_func in _sqrtl + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + for ac_func in atan2f do : - ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl" -if test "x$ac_cv_func__sqrtl" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" +if test "x$ac_cv_func_atan2f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTL 1 +#define HAVE_ATAN2F 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 -$as_echo_n "checking for sincosl declaration... " >&6; } - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if ${glibcxx_cv_func_sincosl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 +$as_echo_n "checking for fabsf declaration... " >&6; } + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if ${glibcxx_cv_func_fabsf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48691,18 +29604,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - sincosl(0, 0, 0); + fabsf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosl_use=yes + glibcxx_cv_func_fabsf_use=yes else - glibcxx_cv_func_sincosl_use=no + glibcxx_cv_func_fabsf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48715,27 +29632,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 -$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then - for ac_func in sincosl + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + for ac_func in fabsf do : - ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" -if test "x$ac_cv_func_sincosl" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" +if test "x$ac_cv_func_fabsf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSL 1 +#define HAVE_FABSF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5 -$as_echo_n "checking for _sincosl declaration... " >&6; } - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if ${glibcxx_cv_func__sincosl_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 +$as_echo_n "checking for fmodf declaration... " >&6; } + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if ${glibcxx_cv_func_fmodf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48752,15 +29671,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _sincosl(0, 0, 0); + fmodf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosl_use=yes + glibcxx_cv_func_fmodf_use=yes else - glibcxx_cv_func__sincosl_use=no + glibcxx_cv_func_fmodf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48773,32 +29692,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5 -$as_echo "$glibcxx_cv_func__sincosl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then - for ac_func in _sincosl + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then + for ac_func in fmodf do : - ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl" -if test "x$ac_cv_func__sincosl" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" +if test "x$ac_cv_func_fmodf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSL 1 +#define HAVE_FMODF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 -$as_echo_n "checking for finitel declaration... " >&6; } - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if ${glibcxx_cv_func_finitel_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 +$as_echo_n "checking for frexpf declaration... " >&6; } + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if ${glibcxx_cv_func_frexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48812,22 +29728,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finitel(0); + frexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitel_use=yes + glibcxx_cv_func_frexpf_use=yes else - glibcxx_cv_func_finitel_use=no + glibcxx_cv_func_frexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48840,27 +29752,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 -$as_echo "$glibcxx_cv_func_finitel_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } - if test x$glibcxx_cv_func_finitel_use = x"yes"; then - for ac_func in finitel + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then + for ac_func in frexpf do : - ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" -if test "x$ac_cv_func_finitel" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" +if test "x$ac_cv_func_frexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEL 1 +#define HAVE_FREXPF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5 -$as_echo_n "checking for _finitel declaration... " >&6; } - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if ${glibcxx_cv_func__finitel_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 +$as_echo_n "checking for hypotf declaration... " >&6; } + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if ${glibcxx_cv_func_hypotf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48874,22 +29788,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finitel(0); + hypotf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitel_use=yes + glibcxx_cv_func_hypotf_use=yes else - glibcxx_cv_func__finitel_use=no + glibcxx_cv_func_hypotf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48902,40 +29812,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5 -$as_echo "$glibcxx_cv_func__finitel_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } - if test x$glibcxx_cv_func__finitel_use = x"yes"; then - for ac_func in _finitel + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + for ac_func in hypotf do : - ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel" -if test "x$ac_cv_func__finitel" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" +if test "x$ac_cv_func_hypotf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEL 1 +#define HAVE_HYPOTF 1 _ACEOF fi done - fi fi - - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 -$as_echo_n "checking for at_quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 +$as_echo_n "checking for ldexpf declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if ${glibcxx_cv_func_ldexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -48948,19 +29847,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - at_quick_exit(0); + ldexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_at_quick_exit_use=yes + glibcxx_cv_func_ldexpf_use=yes else - glibcxx_cv_func_at_quick_exit_use=no + glibcxx_cv_func_ldexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -48973,15 +29872,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then - for ac_func in at_quick_exit + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } + + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + for ac_func in ldexpf do : - ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" -if test "x$ac_cv_func_at_quick_exit" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" +if test "x$ac_cv_func_ldexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_AT_QUICK_EXIT 1 +#define HAVE_LDEXPF 1 _ACEOF fi @@ -48990,10 +29890,11 @@ done fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 -$as_echo_n "checking for quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_quick_exit_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 +$as_echo_n "checking for logf declaration... " >&6; } + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if ${glibcxx_cv_func_logf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -49006,19 +29907,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - quick_exit(0); + logf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_quick_exit_use=yes + glibcxx_cv_func_logf_use=yes else - glibcxx_cv_func_quick_exit_use=no + glibcxx_cv_func_logf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -49031,15 +29936,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then - for ac_func in quick_exit + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 +$as_echo "$glibcxx_cv_func_logf_use" >&6; } + + if test x$glibcxx_cv_func_logf_use = x"yes"; then + for ac_func in logf do : - ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" -if test "x$ac_cv_func_quick_exit" = xyes; then : + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" +if test "x$ac_cv_func_logf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_QUICK_EXIT 1 +#define HAVE_LOGF 1 _ACEOF fi @@ -49048,10 +29954,11 @@ done fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 -$as_echo_n "checking for strtold declaration... " >&6; } - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if ${glibcxx_cv_func_strtold_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 +$as_echo_n "checking for log10f declaration... " >&6; } + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if ${glibcxx_cv_func_log10f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -49064,19 +29971,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - strtold(0, 0); + log10f(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtold_use=yes + glibcxx_cv_func_log10f_use=yes else - glibcxx_cv_func_strtold_use=no + glibcxx_cv_func_log10f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -49089,15 +30000,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 -$as_echo "$glibcxx_cv_func_strtold_use" >&6; } - if test x$glibcxx_cv_func_strtold_use = x"yes"; then - for ac_func in strtold + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; } + + if test x$glibcxx_cv_func_log10f_use = x"yes"; then + for ac_func in log10f do : - ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" -if test "x$ac_cv_func_strtold" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" +if test "x$ac_cv_func_log10f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOLD 1 +#define HAVE_LOG10F 1 _ACEOF fi @@ -49107,11 +30019,10 @@ done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 -$as_echo_n "checking for strtof declaration... " >&6; } - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if ${glibcxx_cv_func_strtof_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 +$as_echo_n "checking for modff declaration... " >&6; } + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if ${glibcxx_cv_func_modff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -49124,19 +30035,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - strtof(0, 0); + modff(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtof_use=yes + glibcxx_cv_func_modff_use=yes else - glibcxx_cv_func_strtof_use=no + glibcxx_cv_func_modff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -49149,1019 +30060,704 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 -$as_echo "$glibcxx_cv_func_strtof_use" >&6; } - if test x$glibcxx_cv_func_strtof_use = x"yes"; then - for ac_func in strtof -do : - ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" -if test "x$ac_cv_func_strtof" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOF 1 -_ACEOF - -fi -done - - fi - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 +$as_echo "$glibcxx_cv_func_modff_use" >&6; } - for ac_func in uselocale + if test x$glibcxx_cv_func_modff_use = x"yes"; then + for ac_func in modff do : - ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" -if test "x$ac_cv_func_uselocale" = xyes; then : + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" +if test "x$ac_cv_func_modff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_USELOCALE 1 +#define HAVE_MODFF 1 _ACEOF fi done - ;; - - *djgpp) - # GLIBCXX_CHECK_MATH_SUPPORT - $as_echo "#define HAVE_ISINF 1" >>confdefs.h - - $as_echo "#define HAVE_ISNAN 1" >>confdefs.h - - $as_echo "#define HAVE_FINITE 1" >>confdefs.h - - $as_echo "#define HAVE_SINCOS 1" >>confdefs.h - - $as_echo "#define HAVE_HYPOT 1" >>confdefs.h - - ;; - - *-freebsd*) - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi fi - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - glibcxx_ld_is_mold=no - if test x"$with_gnu_ld" = x"yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 -$as_echo_n "checking for ld version... " >&6; } - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then - glibcxx_ld_is_mold=yes - fi - ldver=`$LD --version 2>/dev/null | - sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 -$as_echo "$glibcxx_gnu_ld_version" >&6; } - fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 +$as_echo_n "checking for modf declaration... " >&6; } + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if ${glibcxx_cv_func_modf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Check for -Wl,--gc-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 -$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } - +#include int main () { - two(); + modf(0, 0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_gcsections=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_modf_use=yes else - ac_gcsections=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 -$as_echo "$ac_gcsections" >&6; } - - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - # cygwin and mingw uses PE, which has no ELF relro support, - # multi target ld may confuse configure machinery - case "$host" in - *-*-cygwin*) - ;; - *-*-mingw*) - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 -$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 -$as_echo "$ac_ld_relro" >&6; } - esac - fi - - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" - fi - - - - - $as_echo "#define HAVE_SETENV 1" >>confdefs.h - - $as_echo "#define HAVE_FINITEF 1" >>confdefs.h - - $as_echo "#define HAVE_FINITE 1" >>confdefs.h - - $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - - $as_echo "#define HAVE_HYPOT 1" >>confdefs.h - - $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h - - $as_echo "#define HAVE_ISINF 1" >>confdefs.h - - $as_echo "#define HAVE_ISNAN 1" >>confdefs.h - - $as_echo "#define HAVE_ISNANF 1" >>confdefs.h - - - $as_echo "#define HAVE_ACOSF 1" >>confdefs.h - - $as_echo "#define HAVE_ASINF 1" >>confdefs.h - - $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h - - $as_echo "#define HAVE_ATANF 1" >>confdefs.h - - $as_echo "#define HAVE_CEILF 1" >>confdefs.h - - $as_echo "#define HAVE_COSF 1" >>confdefs.h - - $as_echo "#define HAVE_COSHF 1" >>confdefs.h - - $as_echo "#define HAVE_EXPF 1" >>confdefs.h - - $as_echo "#define HAVE_FABSF 1" >>confdefs.h - - $as_echo "#define HAVE_FLOORF 1" >>confdefs.h - - $as_echo "#define HAVE_FMODF 1" >>confdefs.h - - $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - - $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h - - $as_echo "#define HAVE_LOG10F 1" >>confdefs.h - - $as_echo "#define HAVE_LOGF 1" >>confdefs.h - - $as_echo "#define HAVE_MODFF 1" >>confdefs.h - - $as_echo "#define HAVE_POWF 1" >>confdefs.h - - $as_echo "#define HAVE_SINF 1" >>confdefs.h - - $as_echo "#define HAVE_SINHF 1" >>confdefs.h - - $as_echo "#define HAVE_SQRTF 1" >>confdefs.h - - $as_echo "#define HAVE_TANF 1" >>confdefs.h - - $as_echo "#define HAVE_TANHF 1" >>confdefs.h - - if test x"long_double_math_on_this_cpu" = x"yes"; then - $as_echo "#define HAVE_FINITEL 1" >>confdefs.h - - $as_echo "#define HAVE_ISINFL 1" >>confdefs.h - - $as_echo "#define HAVE_ISNANL 1" >>confdefs.h - - fi - for ac_func in __cxa_thread_atexit -do : - ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit" -if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE___CXA_THREAD_ATEXIT 1 -_ACEOF - -fi -done - - for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - + glibcxx_cv_func_modf_use=no fi -done +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - for ac_func in timespec_get -do : - ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" -if test "x$ac_cv_func_timespec_get" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_TIMESPEC_GET 1 -_ACEOF fi -done - - for ac_func in sockatmark -do : - ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" -if test "x$ac_cv_func_sockatmark" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SOCKATMARK 1 -_ACEOF -fi -done + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 +$as_echo "$glibcxx_cv_func_modf_use" >&6; } - for ac_func in uselocale + if test x$glibcxx_cv_func_modf_use = x"yes"; then + for ac_func in modf do : - ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" -if test "x$ac_cv_func_uselocale" = xyes; then : + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" +if test "x$ac_cv_func_modf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_USELOCALE 1 +#define HAVE_MODF 1 _ACEOF fi done - ;; - - *-fuchsia*) - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - ;; - - *-hpux*) - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi fi - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - glibcxx_ld_is_mold=no - if test x"$with_gnu_ld" = x"yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 -$as_echo_n "checking for ld version... " >&6; } - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then - glibcxx_ld_is_mold=yes - fi - ldver=`$LD --version 2>/dev/null | - sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 -$as_echo "$glibcxx_gnu_ld_version" >&6; } - fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 +$as_echo_n "checking for powf declaration... " >&6; } + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if ${glibcxx_cv_func_powf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Check for -Wl,--gc-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 -$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } - +#include int main () { - two(); + powf(0, 0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_gcsections=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_powf_use=yes else - ac_gcsections=no + glibcxx_cv_func_powf_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 -$as_echo "$ac_gcsections" >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - # cygwin and mingw uses PE, which has no ELF relro support, - # multi target ld may confuse configure machinery - case "$host" in - *-*-cygwin*) - ;; - *-*-mingw*) - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 -$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 -$as_echo "$ac_ld_relro" >&6; } - esac - fi +fi - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 +$as_echo "$glibcxx_cv_func_powf_use" >&6; } + if test x$glibcxx_cv_func_powf_use = x"yes"; then + for ac_func in powf +do : + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" +if test "x$ac_cv_func_powf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_POWF 1 +_ACEOF +fi +done + fi - # GLIBCXX_CHECK_MATH_SUPPORT - $as_echo "#define HAVE_ISNAN 1" >>confdefs.h - - $as_echo "#define HAVE_HYPOT 1" >>confdefs.h - $as_echo "#define HAVE_ACOSF 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 +$as_echo_n "checking for sqrtf declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if ${glibcxx_cv_func_sqrtf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - $as_echo "#define HAVE_ASINF 1" >>confdefs.h - $as_echo "#define HAVE_ATANF 1" >>confdefs.h + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - $as_echo "#define HAVE_COSF 1" >>confdefs.h + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #ifdef HAVE_IEEEFP_H + #include + #endif - $as_echo "#define HAVE_COSHF 1" >>confdefs.h +int +main () +{ + sqrtf(0); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_sqrtf_use=yes +else + glibcxx_cv_func_sqrtf_use=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - $as_echo "#define HAVE_SINF 1" >>confdefs.h - $as_echo "#define HAVE_SINHF 1" >>confdefs.h +fi - $as_echo "#define HAVE_TANF 1" >>confdefs.h + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - $as_echo "#define HAVE_TANHF 1" >>confdefs.h + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + for ac_func in sqrtf +do : + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" +if test "x$ac_cv_func_sqrtf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SQRTF 1 +_ACEOF - $as_echo "#define HAVE_EXPF 1" >>confdefs.h +fi +done - $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h + fi - $as_echo "#define HAVE_FABSF 1" >>confdefs.h - $as_echo "#define HAVE_FMODF 1" >>confdefs.h - $as_echo "#define HAVE_FREXPF 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 +$as_echo_n "checking for sincosf declaration... " >&6; } + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if ${glibcxx_cv_func_sincosf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - $as_echo "#define HAVE_LOGF 1" >>confdefs.h - $as_echo "#define HAVE_LOG10F 1" >>confdefs.h + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - $as_echo "#define HAVE_MODF 1" >>confdefs.h + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + sincosf(0, 0, 0); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_sincosf_use=yes +else + glibcxx_cv_func_sincosf_use=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - $as_echo "#define HAVE_POWF 1" >>confdefs.h - $as_echo "#define HAVE_SQRTF 1" >>confdefs.h +fi + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - # GLIBCXX_CHECK_STDLIB_SUPPORT - $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + for ac_func in sincosf +do : + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" +if test "x$ac_cv_func_sincosf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SINCOSF 1 +_ACEOF +fi +done + fi - # Check whether --enable-tls was given. -if test "${enable_tls+set}" = set; then : - enableval=$enable_tls; - case "$enableval" in - yes|no) ;; - *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; - esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 +$as_echo_n "checking for finitef declaration... " >&6; } + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if ${glibcxx_cv_func_finitef_use+:} false; then : + $as_echo_n "(cached) " >&6 else - enable_tls=yes -fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 -$as_echo_n "checking whether the target supports thread-local storage... " >&6; } -if ${gcc_cv_have_tls+:} false; then : - $as_echo_n "(cached) " >&6 -else + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - if test "$cross_compiling" = yes; then : - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - chktls_save_LDFLAGS="$LDFLAGS" - case $host in - *-*-linux* | -*-uclinuxfdpic*) - LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" - ;; - esac - chktls_save_CFLAGS="$CFLAGS" - CFLAGS="-fPIC $CFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int f() { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -__thread int a; int b; int f() { return a = b; } +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + +int +main () +{ + finitef(0); + ; + return 0; +} _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_have_tls=yes -else - gcc_cv_have_tls=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_finitef_use=yes else - gcc_cv_have_tls=yes + glibcxx_cv_func_finitef_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS="$chktls_save_CFLAGS" - LDFLAGS="$chktls_save_LDFLAGS" -else - gcc_cv_have_tls=no +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } + if test x$glibcxx_cv_func_finitef_use = x"yes"; then + for ac_func in finitef +do : + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" +if test "x$ac_cv_func_finitef" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_FINITEF 1 _ACEOF -if ac_fn_c_try_run "$LINENO"; then : - chktls_save_LDFLAGS="$LDFLAGS" - LDFLAGS="-static $LDFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 + fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int main() { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } +done + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 +$as_echo_n "checking for long double trig functions... " >&6; } + if ${glibcxx_cv_func_long_double_trig_use+:} false; then : + $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } +#include +int +main () +{ +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); + ; + return 0; +} _ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_have_tls=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_long_double_trig_use=yes else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + glibcxx_cv_func_long_double_trig_use=no fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu -else - gcc_cv_have_tls=yes fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$chktls_save_LDFLAGS" - if test $gcc_cv_have_tls = yes; then - chktls_save_CFLAGS="$CFLAGS" - thread_CFLAGS=failed - for flag in '' '-pthread' '-lpthread'; do - CFLAGS="$flag $chktls_save_CFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +done + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 +$as_echo_n "checking for long double round functions... " >&6; } + if ${glibcxx_cv_func_long_double_round_use+:} false; then : + $as_echo_n "(cached) " >&6 +else + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - void *g(void *d) { return NULL; } +#include int main () { -pthread_t t; pthread_create(&t,NULL,g,NULL); +ceill (0); floorl (0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - thread_CFLAGS="$flag" +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_long_double_round_use=yes +else + glibcxx_cv_func_long_double_round_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "X$thread_CFLAGS" != Xfailed; then - break - fi - done - CFLAGS="$chktls_save_CFLAGS" - if test "X$thread_CFLAGS" != Xfailed; then - CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +fi + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + for ac_func in ceill floorl +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + fi + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 +$as_echo_n "checking for isnanl declaration... " >&6; } + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if ${glibcxx_cv_func_isnanl_use+:} false; then : + $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - __thread int a; - static int *volatile a_in_other_thread; - static void * - thread_func (void *arg) - { - a_in_other_thread = &a; - return (void *)0; - } +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () -{ -pthread_t thread; - void *thread_retval; - int *volatile a_in_main_thread; - a_in_main_thread = &a; - if (pthread_create (&thread, (pthread_attr_t *)0, - thread_func, (void *)0)) - return 0; - if (pthread_join (thread, &thread_retval)) - return 0; - return (a_in_other_thread == a_in_main_thread); +{ + isnanl(0); ; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_have_tls=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_isnanl_use=yes else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + glibcxx_cv_func_isnanl_use=no fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - CFLAGS="$chktls_save_CFLAGS" - fi - fi -else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5 -$as_echo "$gcc_cv_have_tls" >&6; } - if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then -$as_echo "#define HAVE_TLS 1" >>confdefs.h + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } + + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + for ac_func in isnanl +do : + ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" +if test "x$ac_cv_func_isnanl" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ISNANL 1 +_ACEOF + +fi +done fi - ;; - *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*) - # All these tests are for C++; save the language and the compiler flags. - # The CXXFLAGS thing is suspicious, but based on similar bits previously - # found in GLIBCXX_CONFIGURE. - ac_ext=cpp + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 +$as_echo_n "checking for isinfl declaration... " >&6; } + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if ${glibcxx_cv_func_isinfl_use+:} false; then : + $as_echo_n "(cached) " >&6 +else + + + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - - # Check for -ffunction-sections -fdata-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 -$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; } - CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -int foo; void bar() { }; +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - + isinfl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - ac_fdsections=yes + glibcxx_cv_func_isinfl_use=yes else - ac_fdsections=no + glibcxx_cv_func_isinfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - if test "$ac_test_CXXFLAGS" = set; then - CXXFLAGS="$ac_save_CXXFLAGS" - else - # this is the suspicious part - CXXFLAGS='' - fi - if test x"$ac_fdsections" = x"yes"; then - SECTION_FLAGS='-ffunction-sections -fdata-sections' - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5 -$as_echo "$ac_fdsections" >&6; } - - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu +fi + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + for ac_func in isinfl +do : + ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" +if test "x$ac_cv_func_isinfl" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ISINFL 1 +_ACEOF +fi +done - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi fi - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - glibcxx_ld_is_mold=no - if test x"$with_gnu_ld" = x"yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 -$as_echo_n "checking for ld version... " >&6; } - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then - glibcxx_ld_is_mold=yes - fi - ldver=`$LD --version 2>/dev/null | - sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 -$as_echo "$glibcxx_gnu_ld_version" >&6; } - fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 +$as_echo_n "checking for atan2l declaration... " >&6; } + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if ${glibcxx_cv_func_atan2l_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Check for -Wl,--gc-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 -$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } - +#include int main () { - two(); + atan2l(0, 0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_gcsections=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_atan2l_use=yes else - ac_gcsections=no + glibcxx_cv_func_atan2l_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 -$as_echo "$ac_gcsections" >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - # cygwin and mingw uses PE, which has no ELF relro support, - # multi target ld may confuse configure machinery - case "$host" in - *-*-cygwin*) - ;; - *-*-mingw*) - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 -$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 -$as_echo "$ac_ld_relro" >&6; } - esac - fi +fi - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + for ac_func in atan2l +do : + ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" +if test "x$ac_cv_func_atan2l" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ATAN2L 1 +_ACEOF +fi +done + fi - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 -$as_echo_n "checking for sin in -lm... " >&6; } -if ${ac_cv_lib_m_sin+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 +$as_echo_n "checking for expl declaration... " >&6; } + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include + #ifdef HAVE_IEEEFP_H + #include + #endif -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sin (); int main () { -return sin (); + expl(0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_sin=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_expl_use=yes else - ac_cv_lib_m_sin=no + glibcxx_cv_func_expl_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 -$as_echo "$ac_cv_lib_m_sin" >&6; } -if test "x$ac_cv_lib_m_sin" = xyes; then : - libm="-lm" + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 +$as_echo "$glibcxx_cv_func_expl_use" >&6; } + + if test x$glibcxx_cv_func_expl_use = x"yes"; then + for ac_func in expl +do : + ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" +if test "x$ac_cv_func_expl" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_EXPL 1 +_ACEOF + fi +done - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 -$as_echo_n "checking for isinf declaration... " >&6; } - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if ${glibcxx_cv_func_isinf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 +$as_echo_n "checking for fabsl declaration... " >&6; } + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50182,15 +30778,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - isinf(0); + fabsl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinf_use=yes + glibcxx_cv_func_fabsl_use=yes else - glibcxx_cv_func_isinf_use=no + glibcxx_cv_func_fabsl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50203,27 +30799,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 -$as_echo "$glibcxx_cv_func_isinf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - if test x$glibcxx_cv_func_isinf_use = x"yes"; then - for ac_func in isinf + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + for ac_func in fabsl do : - ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" -if test "x$ac_cv_func_isinf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" +if test "x$ac_cv_func_fabsl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINF 1 +#define HAVE_FABSL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5 -$as_echo_n "checking for _isinf declaration... " >&6; } - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if ${glibcxx_cv_func__isinf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 +$as_echo_n "checking for fmodl declaration... " >&6; } + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50237,22 +30835,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isinf(0); + fmodl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinf_use=yes + glibcxx_cv_func_fmodl_use=yes else - glibcxx_cv_func__isinf_use=no + glibcxx_cv_func_fmodl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50265,32 +30859,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5 -$as_echo "$glibcxx_cv_func__isinf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - if test x$glibcxx_cv_func__isinf_use = x"yes"; then - for ac_func in _isinf + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + for ac_func in fmodl do : - ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf" -if test "x$ac_cv_func__isinf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" +if test "x$ac_cv_func_fmodl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINF 1 +#define HAVE_FMODL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 -$as_echo_n "checking for isnan declaration... " >&6; } - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if ${glibcxx_cv_func_isnan_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 +$as_echo_n "checking for frexpl declaration... " >&6; } + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50304,22 +30895,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isnan(0); + frexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnan_use=yes + glibcxx_cv_func_frexpl_use=yes else - glibcxx_cv_func_isnan_use=no + glibcxx_cv_func_frexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50332,27 +30919,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 -$as_echo "$glibcxx_cv_func_isnan_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - if test x$glibcxx_cv_func_isnan_use = x"yes"; then - for ac_func in isnan + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + for ac_func in frexpl do : - ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" -if test "x$ac_cv_func_isnan" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" +if test "x$ac_cv_func_frexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNAN 1 +#define HAVE_FREXPL 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5 -$as_echo_n "checking for _isnan declaration... " >&6; } - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if ${glibcxx_cv_func__isnan_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 +$as_echo_n "checking for hypotl declaration... " >&6; } + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50366,22 +30955,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnan(0); + hypotl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnan_use=yes + glibcxx_cv_func_hypotl_use=yes else - glibcxx_cv_func__isnan_use=no + glibcxx_cv_func_hypotl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50394,32 +30979,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5 -$as_echo "$glibcxx_cv_func__isnan_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - if test x$glibcxx_cv_func__isnan_use = x"yes"; then - for ac_func in _isnan + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + for ac_func in hypotl do : - ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan" -if test "x$ac_cv_func__isnan" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" +if test "x$ac_cv_func_hypotl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNAN 1 +#define HAVE_HYPOTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 -$as_echo_n "checking for finite declaration... " >&6; } - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if ${glibcxx_cv_func_finite_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 +$as_echo_n "checking for ldexpl declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50433,22 +31015,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finite(0); + ldexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finite_use=yes + glibcxx_cv_func_ldexpl_use=yes else - glibcxx_cv_func_finite_use=no + glibcxx_cv_func_ldexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50461,27 +31039,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 -$as_echo "$glibcxx_cv_func_finite_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - if test x$glibcxx_cv_func_finite_use = x"yes"; then - for ac_func in finite + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + for ac_func in ldexpl do : - ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" -if test "x$ac_cv_func_finite" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" +if test "x$ac_cv_func_ldexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITE 1 +#define HAVE_LDEXPL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5 -$as_echo_n "checking for _finite declaration... " >&6; } - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if ${glibcxx_cv_func__finite_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 +$as_echo_n "checking for logl declaration... " >&6; } + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50502,15 +31082,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _finite(0); + logl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finite_use=yes + glibcxx_cv_func_logl_use=yes else - glibcxx_cv_func__finite_use=no + glibcxx_cv_func_logl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50523,32 +31103,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5 -$as_echo "$glibcxx_cv_func__finite_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 +$as_echo "$glibcxx_cv_func_logl_use" >&6; } - if test x$glibcxx_cv_func__finite_use = x"yes"; then - for ac_func in _finite + if test x$glibcxx_cv_func_logl_use = x"yes"; then + for ac_func in logl do : - ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite" -if test "x$ac_cv_func__finite" = xyes; then : + ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" +if test "x$ac_cv_func_logl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITE 1 +#define HAVE_LOGL 1 _ACEOF fi -done - - fi - fi - +done + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 -$as_echo_n "checking for sincos declaration... " >&6; } - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if ${glibcxx_cv_func_sincos_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 +$as_echo_n "checking for log10l declaration... " >&6; } + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if ${glibcxx_cv_func_log10l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50562,18 +31139,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - sincos(0, 0, 0); + log10l(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincos_use=yes + glibcxx_cv_func_log10l_use=yes else - glibcxx_cv_func_sincos_use=no + glibcxx_cv_func_log10l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50586,27 +31167,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 -$as_echo "$glibcxx_cv_func_sincos_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - if test x$glibcxx_cv_func_sincos_use = x"yes"; then - for ac_func in sincos + if test x$glibcxx_cv_func_log10l_use = x"yes"; then + for ac_func in log10l do : - ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" -if test "x$ac_cv_func_sincos" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" +if test "x$ac_cv_func_log10l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOS 1 +#define HAVE_LOG10L 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5 -$as_echo_n "checking for _sincos declaration... " >&6; } - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if ${glibcxx_cv_func__sincos_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 +$as_echo_n "checking for modfl declaration... " >&6; } + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if ${glibcxx_cv_func_modfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50623,15 +31206,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _sincos(0, 0, 0); + modfl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincos_use=yes + glibcxx_cv_func_modfl_use=yes else - glibcxx_cv_func__sincos_use=no + glibcxx_cv_func_modfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50644,32 +31227,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5 -$as_echo "$glibcxx_cv_func__sincos_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - if test x$glibcxx_cv_func__sincos_use = x"yes"; then - for ac_func in _sincos + if test x$glibcxx_cv_func_modfl_use = x"yes"; then + for ac_func in modfl do : - ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos" -if test "x$ac_cv_func__sincos" = xyes; then : + ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" +if test "x$ac_cv_func_modfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOS 1 +#define HAVE_MODFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 -$as_echo_n "checking for fpclass declaration... " >&6; } - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if ${glibcxx_cv_func_fpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 +$as_echo_n "checking for powl declaration... " >&6; } + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if ${glibcxx_cv_func_powl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50683,22 +31263,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fpclass(0); + powl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fpclass_use=yes + glibcxx_cv_func_powl_use=yes else - glibcxx_cv_func_fpclass_use=no + glibcxx_cv_func_powl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50711,27 +31287,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 -$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 +$as_echo "$glibcxx_cv_func_powl_use" >&6; } - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then - for ac_func in fpclass + if test x$glibcxx_cv_func_powl_use = x"yes"; then + for ac_func in powl do : - ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" -if test "x$ac_cv_func_fpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" +if test "x$ac_cv_func_powl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FPCLASS 1 +#define HAVE_POWL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5 -$as_echo_n "checking for _fpclass declaration... " >&6; } - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if ${glibcxx_cv_func__fpclass_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 +$as_echo_n "checking for sqrtl declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if ${glibcxx_cv_func_sqrtl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50752,15 +31330,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _fpclass(0); + sqrtl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fpclass_use=yes + glibcxx_cv_func_sqrtl_use=yes else - glibcxx_cv_func__fpclass_use=no + glibcxx_cv_func_sqrtl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50773,32 +31351,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5 -$as_echo "$glibcxx_cv_func__fpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then - for ac_func in _fpclass + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + for ac_func in sqrtl do : - ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass" -if test "x$ac_cv_func__fpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" +if test "x$ac_cv_func_sqrtl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FPCLASS 1 +#define HAVE_SQRTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 -$as_echo_n "checking for qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if ${glibcxx_cv_func_qfpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 +$as_echo_n "checking for sincosl declaration... " >&6; } + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if ${glibcxx_cv_func_sincosl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50812,22 +31387,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - qfpclass(0); + sincosl(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_qfpclass_use=yes + glibcxx_cv_func_sincosl_use=yes else - glibcxx_cv_func_qfpclass_use=no + glibcxx_cv_func_sincosl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50840,27 +31411,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 +$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - for ac_func in qfpclass + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + for ac_func in sincosl do : - ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" -if test "x$ac_cv_func_qfpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" +if test "x$ac_cv_func_sincosl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_QFPCLASS 1 +#define HAVE_SINCOSL 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5 -$as_echo_n "checking for _qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if ${glibcxx_cv_func__qfpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 +$as_echo_n "checking for finitel declaration... " >&6; } + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if ${glibcxx_cv_func_finitel_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50881,15 +31454,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _qfpclass(0); + finitel(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__qfpclass_use=yes + glibcxx_cv_func_finitel_use=yes else - glibcxx_cv_func__qfpclass_use=no + glibcxx_cv_func_finitel_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50902,32 +31475,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 +$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then - for ac_func in _qfpclass + if test x$glibcxx_cv_func_finitel_use = x"yes"; then + for ac_func in finitel do : - ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass" -if test "x$ac_cv_func__qfpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" +if test "x$ac_cv_func_finitel" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__QFPCLASS 1 +#define HAVE_FINITEL 1 _ACEOF fi done - fi fi + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 -$as_echo_n "checking for hypot declaration... " >&6; } - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if ${glibcxx_cv_func_hypot_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 +$as_echo_n "checking for at_quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50940,19 +31518,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - hypot(0, 0); + at_quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypot_use=yes + glibcxx_cv_func_at_quick_exit_use=yes else - glibcxx_cv_func_hypot_use=no + glibcxx_cv_func_at_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -50965,27 +31543,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 -$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - - if test x$glibcxx_cv_func_hypot_use = x"yes"; then - for ac_func in hypot + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then + for ac_func in at_quick_exit do : - ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" -if test "x$ac_cv_func_hypot" = xyes; then : + ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" +if test "x$ac_cv_func_at_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOT 1 +#define HAVE_AT_QUICK_EXIT 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5 -$as_echo_n "checking for _hypot declaration... " >&6; } - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if ${glibcxx_cv_func__hypot_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 +$as_echo_n "checking for quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -50998,19 +31576,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - _hypot(0, 0); + quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypot_use=yes + glibcxx_cv_func_quick_exit_use=yes else - glibcxx_cv_func__hypot_use=no + glibcxx_cv_func_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51023,85 +31601,85 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5 -$as_echo "$glibcxx_cv_func__hypot_use" >&6; } - - if test x$glibcxx_cv_func__hypot_use = x"yes"; then - for ac_func in _hypot + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then + for ac_func in quick_exit do : - ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot" -if test "x$ac_cv_func__hypot" = xyes; then : + ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" +if test "x$ac_cv_func_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOT 1 +#define HAVE_QUICK_EXIT 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 -$as_echo_n "checking for float trig functions... " >&6; } - if ${glibcxx_cv_func_float_trig_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 +$as_echo_n "checking for strtold declaration... " >&6; } + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if ${glibcxx_cv_func_strtold_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); + strtold(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_trig_use=yes + glibcxx_cv_func_strtold_use=yes else - glibcxx_cv_func_float_trig_use=no + glibcxx_cv_func_strtold_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 -$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 +$as_echo "$glibcxx_cv_func_strtold_use" >&6; } + if test x$glibcxx_cv_func_strtold_use = x"yes"; then + for ac_func in strtold do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" +if test "x$ac_cv_func_strtold" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_STRTOLD 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5 -$as_echo_n "checking for _float trig functions... " >&6; } - if ${glibcxx_cv_func__float_trig_use+:} false; then : + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 +$as_echo_n "checking for strtof declaration... " >&6; } + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if ${glibcxx_cv_func_strtof_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51114,19 +31692,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); + strtof(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_trig_use=yes + glibcxx_cv_func_strtof_use=yes else - glibcxx_cv_func__float_trig_use=no + glibcxx_cv_func_strtof_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51135,87 +31713,256 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5 -$as_echo "$glibcxx_cv_func__float_trig_use" >&6; } - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 +$as_echo "$glibcxx_cv_func_strtof_use" >&6; } + if test x$glibcxx_cv_func_strtof_use = x"yes"; then + for ac_func in strtof do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" +if test "x$ac_cv_func_strtof" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_STRTOF 1 _ACEOF fi done - fi fi + CXXFLAGS="$ac_save_CXXFLAGS" + $as_echo "#define HAVE_FINITE 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 -$as_echo_n "checking for float round functions... " >&6; } - if ${glibcxx_cv_func_float_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + $as_echo "#define HAVE_HYPOT 1" >>confdefs.h + $as_echo "#define HAVE_ISNAN 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_ISINF 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h + + $as_echo "#define HAVE_MODF 1" >>confdefs.h + + $as_echo "#define HAVE_SQRTF 1" >>confdefs.h + + ;; + + *-aix*) + + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + + + + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi + fi + + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + glibcxx_ld_is_mold=no + if test x"$with_gnu_ld" = x"yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 +$as_echo_n "checking for ld version... " >&6; } + + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then + glibcxx_ld_is_mold=yes + fi + ldver=`$LD --version 2>/dev/null | + sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` + + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 +$as_echo "$glibcxx_gnu_ld_version" >&6; } + fi + + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + int one(void) { return 1; } + int two(void) { return 2; } + int main () { -ceilf (0); floorf (0); + two(); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_round_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_gcsections=yes else - glibcxx_cv_func_float_round_use=no + ac_gcsections=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 +$as_echo "$ac_gcsections" >&6; } + + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi + + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + # cygwin and mingw uses PE, which has no ELF relro support, + # multi target ld may confuse configure machinery + case "$host" in + *-*-cygwin*) + ;; + *-*-mingw*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 +$as_echo "$ac_ld_relro" >&6; } + esac + fi + + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" + fi + + + + + + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 +$as_echo_n "checking for sin in -lm... " >&6; } +if ${ac_cv_lib_m_sin+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 -$as_echo "$glibcxx_cv_func_float_round_use" >&6; } - if test x$glibcxx_cv_func_float_round_use = x"yes"; then - for ac_func in ceilf floorf -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sin (); +int +main () +{ +return sin (); + ; + return 0; +} _ACEOF - +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_sin=yes +else + ac_cv_lib_m_sin=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 +$as_echo "$ac_cv_lib_m_sin" >&6; } +if test "x$ac_cv_lib_m_sin" = xyes; then : + libm="-lm" fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5 -$as_echo_n "checking for _float round functions... " >&6; } - if ${glibcxx_cv_func__float_round_use+:} false; then : + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 +$as_echo_n "checking for isinf declaration... " >&6; } + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if ${glibcxx_cv_func_isinf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51229,18 +31976,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -_ceilf (0); _floorf (0); + isinf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_round_use=yes + glibcxx_cv_func_isinf_use=yes else - glibcxx_cv_func__float_round_use=no + glibcxx_cv_func_isinf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51249,35 +32000,33 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5 -$as_echo "$glibcxx_cv_func__float_round_use" >&6; } - if test x$glibcxx_cv_func__float_round_use = x"yes"; then - for ac_func in _ceilf _floorf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; } + + if test x$glibcxx_cv_func_isinf_use = x"yes"; then + for ac_func in isinf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" +if test "x$ac_cv_func_isinf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_ISINF 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 -$as_echo_n "checking for expf declaration... " >&6; } - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if ${glibcxx_cv_func_expf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 +$as_echo_n "checking for isnan declaration... " >&6; } + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if ${glibcxx_cv_func_isnan_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51298,15 +32047,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - expf(0); + isnan(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expf_use=yes + glibcxx_cv_func_isnan_use=yes else - glibcxx_cv_func_expf_use=no + glibcxx_cv_func_isnan_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51319,27 +32068,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 -$as_echo "$glibcxx_cv_func_expf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - if test x$glibcxx_cv_func_expf_use = x"yes"; then - for ac_func in expf + if test x$glibcxx_cv_func_isnan_use = x"yes"; then + for ac_func in isnan do : - ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" -if test "x$ac_cv_func_expf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +if test "x$ac_cv_func_isnan" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_EXPF 1 +#define HAVE_ISNAN 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5 -$as_echo_n "checking for _expf declaration... " >&6; } - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if ${glibcxx_cv_func__expf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 +$as_echo_n "checking for finite declaration... " >&6; } + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if ${glibcxx_cv_func_finite_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51360,15 +32111,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _expf(0); + finite(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expf_use=yes + glibcxx_cv_func_finite_use=yes else - glibcxx_cv_func__expf_use=no + glibcxx_cv_func_finite_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51381,32 +32132,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5 -$as_echo "$glibcxx_cv_func__expf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 +$as_echo "$glibcxx_cv_func_finite_use" >&6; } - if test x$glibcxx_cv_func__expf_use = x"yes"; then - for ac_func in _expf + if test x$glibcxx_cv_func_finite_use = x"yes"; then + for ac_func in finite do : - ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf" -if test "x$ac_cv_func__expf" = xyes; then : + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" +if test "x$ac_cv_func_finite" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__EXPF 1 +#define HAVE_FINITE 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 -$as_echo_n "checking for isnanf declaration... " >&6; } - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if ${glibcxx_cv_func_isnanf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 +$as_echo_n "checking for sincos declaration... " >&6; } + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if ${glibcxx_cv_func_sincos_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51420,22 +32168,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isnanf(0); + sincos(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanf_use=yes + glibcxx_cv_func_sincos_use=yes else - glibcxx_cv_func_isnanf_use=no + glibcxx_cv_func_sincos_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51448,27 +32192,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 -$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then - for ac_func in isnanf + if test x$glibcxx_cv_func_sincos_use = x"yes"; then + for ac_func in sincos do : - ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" -if test "x$ac_cv_func_isnanf" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" +if test "x$ac_cv_func_sincos" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANF 1 +#define HAVE_SINCOS 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5 -$as_echo_n "checking for _isnanf declaration... " >&6; } - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if ${glibcxx_cv_func__isnanf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 +$as_echo_n "checking for fpclass declaration... " >&6; } + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if ${glibcxx_cv_func_fpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51489,15 +32235,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isnanf(0); + fpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanf_use=yes + glibcxx_cv_func_fpclass_use=yes else - glibcxx_cv_func__isnanf_use=no + glibcxx_cv_func_fpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51510,32 +32256,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5 -$as_echo "$glibcxx_cv_func__isnanf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then - for ac_func in _isnanf + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then + for ac_func in fpclass do : - ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf" -if test "x$ac_cv_func__isnanf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" +if test "x$ac_cv_func_fpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANF 1 +#define HAVE_FPCLASS 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 -$as_echo_n "checking for isinff declaration... " >&6; } - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if ${glibcxx_cv_func_isinff_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 +$as_echo_n "checking for qfpclass declaration... " >&6; } + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if ${glibcxx_cv_func_qfpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51556,15 +32299,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - isinff(0); + qfpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinff_use=yes + glibcxx_cv_func_qfpclass_use=yes else - glibcxx_cv_func_isinff_use=no + glibcxx_cv_func_qfpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51577,27 +32320,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 -$as_echo "$glibcxx_cv_func_isinff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - if test x$glibcxx_cv_func_isinff_use = x"yes"; then - for ac_func in isinff + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then + for ac_func in qfpclass do : - ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" -if test "x$ac_cv_func_isinff" = xyes; then : + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" +if test "x$ac_cv_func_qfpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFF 1 +#define HAVE_QFPCLASS 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5 -$as_echo_n "checking for _isinff declaration... " >&6; } - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if ${glibcxx_cv_func__isinff_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 +$as_echo_n "checking for hypot declaration... " >&6; } + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if ${glibcxx_cv_func_hypot_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51611,22 +32356,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isinff(0); + hypot(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinff_use=yes + glibcxx_cv_func_hypot_use=yes else - glibcxx_cv_func__isinff_use=no + glibcxx_cv_func_hypot_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51639,153 +32380,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5 -$as_echo "$glibcxx_cv_func__isinff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - if test x$glibcxx_cv_func__isinff_use = x"yes"; then - for ac_func in _isinff + if test x$glibcxx_cv_func_hypot_use = x"yes"; then + for ac_func in hypot do : - ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff" -if test "x$ac_cv_func__isinff" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" +if test "x$ac_cv_func_hypot" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFF 1 +#define HAVE_HYPOT 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 -$as_echo_n "checking for atan2f declaration... " >&6; } - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if ${glibcxx_cv_func_atan2f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 +$as_echo_n "checking for float trig functions... " >&6; } + if ${glibcxx_cv_func_float_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - atan2f(0, 0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2f_use=yes + glibcxx_cv_func_float_trig_use=yes else - glibcxx_cv_func_atan2f_use=no + glibcxx_cv_func_float_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 -$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then - for ac_func in atan2f + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do : - ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" -if test "x$ac_cv_func_atan2f" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2F 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5 -$as_echo_n "checking for _atan2f declaration... " >&6; } - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if ${glibcxx_cv_func__atan2f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 +$as_echo_n "checking for float round functions... " >&6; } + if ${glibcxx_cv_func_float_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - _atan2f(0, 0); +ceilf (0); floorf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2f_use=yes + glibcxx_cv_func_float_round_use=yes else - glibcxx_cv_func__atan2f_use=no + glibcxx_cv_func_float_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5 -$as_echo "$glibcxx_cv_func__atan2f_use" >&6; } - - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then - for ac_func in _atan2f + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; } + if test x$glibcxx_cv_func_float_round_use = x"yes"; then + for ac_func in ceilf floorf do : - ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f" -if test "x$ac_cv_func__atan2f" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2F 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 -$as_echo_n "checking for fabsf declaration... " >&6; } - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if ${glibcxx_cv_func_fabsf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 +$as_echo_n "checking for expf declaration... " >&6; } + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if ${glibcxx_cv_func_expf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51806,15 +32538,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - fabsf(0); + expf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsf_use=yes + glibcxx_cv_func_expf_use=yes else - glibcxx_cv_func_fabsf_use=no + glibcxx_cv_func_expf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51827,27 +32559,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 -$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 +$as_echo "$glibcxx_cv_func_expf_use" >&6; } - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then - for ac_func in fabsf + if test x$glibcxx_cv_func_expf_use = x"yes"; then + for ac_func in expf do : - ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" -if test "x$ac_cv_func_fabsf" = xyes; then : + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" +if test "x$ac_cv_func_expf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FABSF 1 +#define HAVE_EXPF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5 -$as_echo_n "checking for _fabsf declaration... " >&6; } - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if ${glibcxx_cv_func__fabsf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 +$as_echo_n "checking for isnanf declaration... " >&6; } + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if ${glibcxx_cv_func_isnanf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51868,15 +32602,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _fabsf(0); + isnanf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsf_use=yes + glibcxx_cv_func_isnanf_use=yes else - glibcxx_cv_func__fabsf_use=no + glibcxx_cv_func_isnanf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51889,32 +32623,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5 -$as_echo "$glibcxx_cv_func__fabsf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then - for ac_func in _fabsf + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + for ac_func in isnanf do : - ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf" -if test "x$ac_cv_func__fabsf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" +if test "x$ac_cv_func_isnanf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FABSF 1 +#define HAVE_ISNANF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 -$as_echo_n "checking for fmodf declaration... " >&6; } - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if ${glibcxx_cv_func_fmodf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 +$as_echo_n "checking for isinff declaration... " >&6; } + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if ${glibcxx_cv_func_isinff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51928,18 +32659,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - fmodf(0, 0); + isinff(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodf_use=yes + glibcxx_cv_func_isinff_use=yes else - glibcxx_cv_func_fmodf_use=no + glibcxx_cv_func_isinff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -51952,27 +32687,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 -$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then - for ac_func in fmodf + if test x$glibcxx_cv_func_isinff_use = x"yes"; then + for ac_func in isinff do : - ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" -if test "x$ac_cv_func_fmodf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" +if test "x$ac_cv_func_isinff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FMODF 1 +#define HAVE_ISINFF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5 -$as_echo_n "checking for _fmodf declaration... " >&6; } - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if ${glibcxx_cv_func__fmodf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 +$as_echo_n "checking for atan2f declaration... " >&6; } + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if ${glibcxx_cv_func_atan2f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -51989,15 +32726,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _fmodf(0, 0); + atan2f(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodf_use=yes + glibcxx_cv_func_atan2f_use=yes else - glibcxx_cv_func__fmodf_use=no + glibcxx_cv_func_atan2f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52010,32 +32747,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5 -$as_echo "$glibcxx_cv_func__fmodf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then - for ac_func in _fmodf + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + for ac_func in atan2f do : - ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf" -if test "x$ac_cv_func__fmodf" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" +if test "x$ac_cv_func_atan2f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FMODF 1 +#define HAVE_ATAN2F 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 -$as_echo_n "checking for frexpf declaration... " >&6; } - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if ${glibcxx_cv_func_frexpf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 +$as_echo_n "checking for fabsf declaration... " >&6; } + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if ${glibcxx_cv_func_fabsf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52049,18 +32783,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - frexpf(0, 0); + fabsf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpf_use=yes + glibcxx_cv_func_fabsf_use=yes else - glibcxx_cv_func_frexpf_use=no + glibcxx_cv_func_fabsf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52073,27 +32811,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 -$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then - for ac_func in frexpf + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + for ac_func in fabsf do : - ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" -if test "x$ac_cv_func_frexpf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" +if test "x$ac_cv_func_fabsf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPF 1 +#define HAVE_FABSF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5 -$as_echo_n "checking for _frexpf declaration... " >&6; } - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if ${glibcxx_cv_func__frexpf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 +$as_echo_n "checking for fmodf declaration... " >&6; } + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if ${glibcxx_cv_func_fmodf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52110,15 +32850,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _frexpf(0, 0); + fmodf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpf_use=yes + glibcxx_cv_func_fmodf_use=yes else - glibcxx_cv_func__frexpf_use=no + glibcxx_cv_func_fmodf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52131,32 +32871,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5 -$as_echo "$glibcxx_cv_func__frexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then - for ac_func in _frexpf + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then + for ac_func in fmodf do : - ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf" -if test "x$ac_cv_func__frexpf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" +if test "x$ac_cv_func_fmodf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPF 1 +#define HAVE_FMODF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 -$as_echo_n "checking for hypotf declaration... " >&6; } - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if ${glibcxx_cv_func_hypotf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 +$as_echo_n "checking for frexpf declaration... " >&6; } + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if ${glibcxx_cv_func_frexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52173,15 +32910,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - hypotf(0, 0); + frexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotf_use=yes + glibcxx_cv_func_frexpf_use=yes else - glibcxx_cv_func_hypotf_use=no + glibcxx_cv_func_frexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52194,27 +32931,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 -$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then - for ac_func in hypotf + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then + for ac_func in frexpf do : - ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" -if test "x$ac_cv_func_hypotf" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" +if test "x$ac_cv_func_frexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTF 1 +#define HAVE_FREXPF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5 -$as_echo_n "checking for _hypotf declaration... " >&6; } - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if ${glibcxx_cv_func__hypotf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 +$as_echo_n "checking for hypotf declaration... " >&6; } + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if ${glibcxx_cv_func_hypotf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52231,15 +32970,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _hypotf(0, 0); + hypotf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotf_use=yes + glibcxx_cv_func_hypotf_use=yes else - glibcxx_cv_func__hypotf_use=no + glibcxx_cv_func_hypotf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52252,28 +32991,25 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5 -$as_echo "$glibcxx_cv_func__hypotf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then - for ac_func in _hypotf + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + for ac_func in hypotf do : - ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf" -if test "x$ac_cv_func__hypotf" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" +if test "x$ac_cv_func_hypotf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTF 1 +#define HAVE_HYPOTF 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 $as_echo_n "checking for ldexpf declaration... " >&6; } if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then @@ -52330,71 +33066,10 @@ _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5 -$as_echo_n "checking for _ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if ${glibcxx_cv_func__ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _ldexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpf_use=yes -else - glibcxx_cv_func__ldexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; } - - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then - for ac_func in _ldexpf -do : - ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf" -if test "x$ac_cv_func__ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPF 1 -_ACEOF - -fi -done - - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 $as_echo_n "checking for logf declaration... " >&6; } if test x${glibcxx_cv_func_logf_use+set} != xset; then @@ -52455,12 +33130,14 @@ _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5 -$as_echo_n "checking for _logf declaration... " >&6; } - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if ${glibcxx_cv_func__logf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 +$as_echo_n "checking for log10f declaration... " >&6; } + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if ${glibcxx_cv_func_log10f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52481,15 +33158,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _logf(0); + log10f(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logf_use=yes + glibcxx_cv_func_log10f_use=yes else - glibcxx_cv_func__logf_use=no + glibcxx_cv_func_log10f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52502,32 +33179,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5 -$as_echo "$glibcxx_cv_func__logf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; } - if test x$glibcxx_cv_func__logf_use = x"yes"; then - for ac_func in _logf + if test x$glibcxx_cv_func_log10f_use = x"yes"; then + for ac_func in log10f do : - ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf" -if test "x$ac_cv_func__logf" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" +if test "x$ac_cv_func_log10f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOGF 1 +#define HAVE_LOG10F 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 -$as_echo_n "checking for log10f declaration... " >&6; } - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if ${glibcxx_cv_func_log10f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 +$as_echo_n "checking for modff declaration... " >&6; } + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if ${glibcxx_cv_func_modff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52541,22 +33215,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - log10f(0); + modff(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10f_use=yes + glibcxx_cv_func_modff_use=yes else - glibcxx_cv_func_log10f_use=no + glibcxx_cv_func_modff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52569,27 +33239,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 -$as_echo "$glibcxx_cv_func_log10f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 +$as_echo "$glibcxx_cv_func_modff_use" >&6; } - if test x$glibcxx_cv_func_log10f_use = x"yes"; then - for ac_func in log10f + if test x$glibcxx_cv_func_modff_use = x"yes"; then + for ac_func in modff do : - ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" -if test "x$ac_cv_func_log10f" = xyes; then : + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" +if test "x$ac_cv_func_modff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10F 1 +#define HAVE_MODFF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5 -$as_echo_n "checking for _log10f declaration... " >&6; } - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if ${glibcxx_cv_func__log10f_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 +$as_echo_n "checking for modf declaration... " >&6; } + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if ${glibcxx_cv_func_modf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52603,22 +33275,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10f(0); + modf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10f_use=yes + glibcxx_cv_func_modf_use=yes else - glibcxx_cv_func__log10f_use=no + glibcxx_cv_func_modf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52631,32 +33299,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5 -$as_echo "$glibcxx_cv_func__log10f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 +$as_echo "$glibcxx_cv_func_modf_use" >&6; } - if test x$glibcxx_cv_func__log10f_use = x"yes"; then - for ac_func in _log10f + if test x$glibcxx_cv_func_modf_use = x"yes"; then + for ac_func in modf do : - ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f" -if test "x$ac_cv_func__log10f" = xyes; then : + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" +if test "x$ac_cv_func_modf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10F 1 +#define HAVE_MODF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 -$as_echo_n "checking for modff declaration... " >&6; } - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if ${glibcxx_cv_func_modff_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 +$as_echo_n "checking for powf declaration... " >&6; } + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if ${glibcxx_cv_func_powf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52673,15 +33338,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - modff(0, 0); + powf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modff_use=yes + glibcxx_cv_func_powf_use=yes else - glibcxx_cv_func_modff_use=no + glibcxx_cv_func_powf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52694,27 +33359,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 -$as_echo "$glibcxx_cv_func_modff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 +$as_echo "$glibcxx_cv_func_powf_use" >&6; } - if test x$glibcxx_cv_func_modff_use = x"yes"; then - for ac_func in modff + if test x$glibcxx_cv_func_powf_use = x"yes"; then + for ac_func in powf do : - ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" -if test "x$ac_cv_func_modff" = xyes; then : + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" +if test "x$ac_cv_func_powf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODFF 1 +#define HAVE_POWF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5 -$as_echo_n "checking for _modff declaration... " >&6; } - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if ${glibcxx_cv_func__modff_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 +$as_echo_n "checking for sqrtf declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if ${glibcxx_cv_func_sqrtf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52728,18 +33395,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modff(0, 0); + sqrtf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modff_use=yes + glibcxx_cv_func_sqrtf_use=yes else - glibcxx_cv_func__modff_use=no + glibcxx_cv_func_sqrtf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52752,32 +33423,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5 -$as_echo "$glibcxx_cv_func__modff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - if test x$glibcxx_cv_func__modff_use = x"yes"; then - for ac_func in _modff + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + for ac_func in sqrtf do : - ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff" -if test "x$ac_cv_func__modff" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" +if test "x$ac_cv_func_sqrtf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODFF 1 +#define HAVE_SQRTF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 -$as_echo_n "checking for modf declaration... " >&6; } - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if ${glibcxx_cv_func_modf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 +$as_echo_n "checking for sincosf declaration... " >&6; } + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if ${glibcxx_cv_func_sincosf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52794,15 +33462,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - modf(0, 0); + sincosf(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modf_use=yes + glibcxx_cv_func_sincosf_use=yes else - glibcxx_cv_func_modf_use=no + glibcxx_cv_func_sincosf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52815,27 +33483,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 -$as_echo "$glibcxx_cv_func_modf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - if test x$glibcxx_cv_func_modf_use = x"yes"; then - for ac_func in modf + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + for ac_func in sincosf do : - ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" -if test "x$ac_cv_func_modf" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" +if test "x$ac_cv_func_sincosf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODF 1 +#define HAVE_SINCOSF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5 -$as_echo_n "checking for _modf declaration... " >&6; } - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if ${glibcxx_cv_func__modf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 +$as_echo_n "checking for finitef declaration... " >&6; } + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if ${glibcxx_cv_func_finitef_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -52849,18 +33519,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modf(0, 0); + finitef(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modf_use=yes + glibcxx_cv_func_finitef_use=yes else - glibcxx_cv_func__modf_use=no + glibcxx_cv_func_finitef_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -52873,153 +33547,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5 -$as_echo "$glibcxx_cv_func__modf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; } - if test x$glibcxx_cv_func__modf_use = x"yes"; then - for ac_func in _modf + if test x$glibcxx_cv_func_finitef_use = x"yes"; then + for ac_func in finitef do : - ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf" -if test "x$ac_cv_func__modf" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" +if test "x$ac_cv_func_finitef" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODF 1 +#define HAVE_FINITEF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 -$as_echo_n "checking for powf declaration... " >&6; } - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if ${glibcxx_cv_func_powf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 +$as_echo_n "checking for long double trig functions... " >&6; } + if ${glibcxx_cv_func_long_double_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - powf(0, 0); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powf_use=yes + glibcxx_cv_func_long_double_trig_use=yes else - glibcxx_cv_func_powf_use=no + glibcxx_cv_func_long_double_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 -$as_echo "$glibcxx_cv_func_powf_use" >&6; } - - if test x$glibcxx_cv_func_powf_use = x"yes"; then - for ac_func in powf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl do : - ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" -if test "x$ac_cv_func_powf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_POWF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5 -$as_echo_n "checking for _powf declaration... " >&6; } - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if ${glibcxx_cv_func__powf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 +$as_echo_n "checking for long double round functions... " >&6; } + if ${glibcxx_cv_func_long_double_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - _powf(0, 0); +ceill (0); floorl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powf_use=yes + glibcxx_cv_func_long_double_round_use=yes else - glibcxx_cv_func__powf_use=no + glibcxx_cv_func_long_double_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5 -$as_echo "$glibcxx_cv_func__powf_use" >&6; } - - if test x$glibcxx_cv_func__powf_use = x"yes"; then - for ac_func in _powf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + for ac_func in ceill floorl do : - ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf" -if test "x$ac_cv_func__powf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__POWF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 -$as_echo_n "checking for sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if ${glibcxx_cv_func_sqrtf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 +$as_echo_n "checking for isnanl declaration... " >&6; } + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if ${glibcxx_cv_func_isnanl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53040,15 +33705,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sqrtf(0); + isnanl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtf_use=yes + glibcxx_cv_func_isnanl_use=yes else - glibcxx_cv_func_sqrtf_use=no + glibcxx_cv_func_isnanl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53061,27 +33726,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then - for ac_func in sqrtf + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + for ac_func in isnanl do : - ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" -if test "x$ac_cv_func_sqrtf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" +if test "x$ac_cv_func_isnanl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTF 1 +#define HAVE_ISNANL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5 -$as_echo_n "checking for _sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if ${glibcxx_cv_func__sqrtf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 +$as_echo_n "checking for isinfl declaration... " >&6; } + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if ${glibcxx_cv_func_isinfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53102,15 +33769,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _sqrtf(0); + isinfl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtf_use=yes + glibcxx_cv_func_isinfl_use=yes else - glibcxx_cv_func__sqrtf_use=no + glibcxx_cv_func_isinfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53123,32 +33790,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then - for ac_func in _sqrtf + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + for ac_func in isinfl do : - ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf" -if test "x$ac_cv_func__sqrtf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" +if test "x$ac_cv_func_isinfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTF 1 +#define HAVE_ISINFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 -$as_echo_n "checking for sincosf declaration... " >&6; } - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if ${glibcxx_cv_func_sincosf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 +$as_echo_n "checking for atan2l declaration... " >&6; } + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if ${glibcxx_cv_func_atan2l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53165,15 +33829,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sincosf(0, 0, 0); + atan2l(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosf_use=yes + glibcxx_cv_func_atan2l_use=yes else - glibcxx_cv_func_sincosf_use=no + glibcxx_cv_func_atan2l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53186,27 +33850,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 -$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then - for ac_func in sincosf + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + for ac_func in atan2l do : - ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" -if test "x$ac_cv_func_sincosf" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" +if test "x$ac_cv_func_atan2l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSF 1 +#define HAVE_ATAN2L 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5 -$as_echo_n "checking for _sincosf declaration... " >&6; } - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if ${glibcxx_cv_func__sincosf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 +$as_echo_n "checking for expl declaration... " >&6; } + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53220,18 +33886,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _sincosf(0, 0, 0); + expl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosf_use=yes + glibcxx_cv_func_expl_use=yes else - glibcxx_cv_func__sincosf_use=no + glibcxx_cv_func_expl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53244,32 +33914,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5 -$as_echo "$glibcxx_cv_func__sincosf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 +$as_echo "$glibcxx_cv_func_expl_use" >&6; } - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then - for ac_func in _sincosf + if test x$glibcxx_cv_func_expl_use = x"yes"; then + for ac_func in expl do : - ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf" -if test "x$ac_cv_func__sincosf" = xyes; then : + ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" +if test "x$ac_cv_func_expl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSF 1 +#define HAVE_EXPL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 -$as_echo_n "checking for finitef declaration... " >&6; } - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if ${glibcxx_cv_func_finitef_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 +$as_echo_n "checking for fabsl declaration... " >&6; } + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53290,15 +33957,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - finitef(0); + fabsl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitef_use=yes + glibcxx_cv_func_fabsl_use=yes else - glibcxx_cv_func_finitef_use=no + glibcxx_cv_func_fabsl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53311,27 +33978,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 -$as_echo "$glibcxx_cv_func_finitef_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - if test x$glibcxx_cv_func_finitef_use = x"yes"; then - for ac_func in finitef + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + for ac_func in fabsl do : - ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" -if test "x$ac_cv_func_finitef" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" +if test "x$ac_cv_func_fabsl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEF 1 +#define HAVE_FABSL 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5 -$as_echo_n "checking for _finitef declaration... " >&6; } - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if ${glibcxx_cv_func__finitef_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 +$as_echo_n "checking for fmodl declaration... " >&6; } + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53345,22 +34014,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finitef(0); + fmodl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitef_use=yes + glibcxx_cv_func_fmodl_use=yes else - glibcxx_cv_func__finitef_use=no + glibcxx_cv_func_fmodl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53373,85 +34038,89 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5 -$as_echo "$glibcxx_cv_func__finitef_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - if test x$glibcxx_cv_func__finitef_use = x"yes"; then - for ac_func in _finitef + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + for ac_func in fmodl do : - ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef" -if test "x$ac_cv_func__finitef" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" +if test "x$ac_cv_func_fmodl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEF 1 +#define HAVE_FMODL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 -$as_echo_n "checking for long double trig functions... " >&6; } - if ${glibcxx_cv_func_long_double_trig_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 +$as_echo_n "checking for frexpl declaration... " >&6; } + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); + frexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_trig_use=yes + glibcxx_cv_func_frexpl_use=yes else - glibcxx_cv_func_long_double_trig_use=no + glibcxx_cv_func_frexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } + + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + for ac_func in frexpl do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" +if test "x$ac_cv_func_frexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FREXPL 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5 -$as_echo_n "checking for _long double trig functions... " >&6; } - if ${glibcxx_cv_func__long_double_trig_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 +$as_echo_n "checking for hypotl declaration... " >&6; } + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53468,15 +34137,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); + hypotl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_trig_use=yes + glibcxx_cv_func_hypotl_use=yes else - glibcxx_cv_func__long_double_trig_use=no + glibcxx_cv_func_hypotl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53485,87 +34154,93 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; } - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } + + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + for ac_func in hypotl do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" +if test "x$ac_cv_func_hypotl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_HYPOTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 -$as_echo_n "checking for long double round functions... " >&6; } - if ${glibcxx_cv_func_long_double_round_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 +$as_echo_n "checking for ldexpl declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { -ceill (0); floorl (0); + ldexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_round_use=yes + glibcxx_cv_func_ldexpl_use=yes else - glibcxx_cv_func_long_double_round_use=no + glibcxx_cv_func_ldexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then - for ac_func in ceill floorl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } + + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + for ac_func in ldexpl do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" +if test "x$ac_cv_func_ldexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_LDEXPL 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5 -$as_echo_n "checking for _long double round functions... " >&6; } - if ${glibcxx_cv_func__long_double_round_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 +$as_echo_n "checking for logl declaration... " >&6; } + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53579,18 +34254,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -_ceill (0); _floorl (0); + logl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_round_use=yes + glibcxx_cv_func_logl_use=yes else - glibcxx_cv_func__long_double_round_use=no + glibcxx_cv_func_logl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53599,35 +34278,33 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; } - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - for ac_func in _ceill _floorl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 +$as_echo "$glibcxx_cv_func_logl_use" >&6; } + + if test x$glibcxx_cv_func_logl_use = x"yes"; then + for ac_func in logl do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" +if test "x$ac_cv_func_logl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_LOGL 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 -$as_echo_n "checking for isnanl declaration... " >&6; } - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if ${glibcxx_cv_func_isnanl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 +$as_echo_n "checking for log10l declaration... " >&6; } + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if ${glibcxx_cv_func_log10l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53648,15 +34325,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - isnanl(0); + log10l(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanl_use=yes + glibcxx_cv_func_log10l_use=yes else - glibcxx_cv_func_isnanl_use=no + glibcxx_cv_func_log10l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53669,27 +34346,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 -$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then - for ac_func in isnanl + if test x$glibcxx_cv_func_log10l_use = x"yes"; then + for ac_func in log10l do : - ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" -if test "x$ac_cv_func_isnanl" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" +if test "x$ac_cv_func_log10l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANL 1 +#define HAVE_LOG10L 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5 -$as_echo_n "checking for _isnanl declaration... " >&6; } - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if ${glibcxx_cv_func__isnanl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 +$as_echo_n "checking for modfl declaration... " >&6; } + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if ${glibcxx_cv_func_modfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53703,22 +34382,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnanl(0); + modfl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanl_use=yes + glibcxx_cv_func_modfl_use=yes else - glibcxx_cv_func__isnanl_use=no + glibcxx_cv_func_modfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53731,32 +34406,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5 -$as_echo "$glibcxx_cv_func__isnanl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then - for ac_func in _isnanl + if test x$glibcxx_cv_func_modfl_use = x"yes"; then + for ac_func in modfl do : - ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl" -if test "x$ac_cv_func__isnanl" = xyes; then : + ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" +if test "x$ac_cv_func_modfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANL 1 +#define HAVE_MODFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 -$as_echo_n "checking for isinfl declaration... " >&6; } - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if ${glibcxx_cv_func_isinfl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 +$as_echo_n "checking for powl declaration... " >&6; } + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if ${glibcxx_cv_func_powl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53770,22 +34442,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinfl(0); + powl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinfl_use=yes + glibcxx_cv_func_powl_use=yes else - glibcxx_cv_func_isinfl_use=no + glibcxx_cv_func_powl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53798,27 +34466,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 -$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 +$as_echo "$glibcxx_cv_func_powl_use" >&6; } - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then - for ac_func in isinfl + if test x$glibcxx_cv_func_powl_use = x"yes"; then + for ac_func in powl do : - ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" -if test "x$ac_cv_func_isinfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" +if test "x$ac_cv_func_powl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFL 1 +#define HAVE_POWL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5 -$as_echo_n "checking for _isinfl declaration... " >&6; } - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if ${glibcxx_cv_func__isinfl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 +$as_echo_n "checking for sqrtl declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if ${glibcxx_cv_func_sqrtl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53839,15 +34509,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isinfl(0); + sqrtl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinfl_use=yes + glibcxx_cv_func_sqrtl_use=yes else - glibcxx_cv_func__isinfl_use=no + glibcxx_cv_func_sqrtl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53860,32 +34530,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5 -$as_echo "$glibcxx_cv_func__isinfl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then - for ac_func in _isinfl + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + for ac_func in sqrtl do : - ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl" -if test "x$ac_cv_func__isinfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" +if test "x$ac_cv_func_sqrtl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFL 1 +#define HAVE_SQRTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 -$as_echo_n "checking for atan2l declaration... " >&6; } - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if ${glibcxx_cv_func_atan2l_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 +$as_echo_n "checking for sincosl declaration... " >&6; } + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if ${glibcxx_cv_func_sincosl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53902,15 +34569,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - atan2l(0, 0); + sincosl(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2l_use=yes + glibcxx_cv_func_sincosl_use=yes else - glibcxx_cv_func_atan2l_use=no + glibcxx_cv_func_sincosl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53923,27 +34590,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 -$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 +$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then - for ac_func in atan2l + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + for ac_func in sincosl do : - ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" -if test "x$ac_cv_func_atan2l" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" +if test "x$ac_cv_func_sincosl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2L 1 +#define HAVE_SINCOSL 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5 -$as_echo_n "checking for _atan2l declaration... " >&6; } - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if ${glibcxx_cv_func__atan2l_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 +$as_echo_n "checking for finitel declaration... " >&6; } + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if ${glibcxx_cv_func_finitel_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -53957,18 +34626,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _atan2l(0, 0); + finitel(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2l_use=yes + glibcxx_cv_func_finitel_use=yes else - glibcxx_cv_func__atan2l_use=no + glibcxx_cv_func_finitel_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -53981,32 +34654,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5 -$as_echo "$glibcxx_cv_func__atan2l_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 +$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then - for ac_func in _atan2l + if test x$glibcxx_cv_func_finitel_use = x"yes"; then + for ac_func in finitel do : - ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l" -if test "x$ac_cv_func__atan2l" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" +if test "x$ac_cv_func_finitel" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2L 1 +#define HAVE_FINITEL 1 _ACEOF fi done - fi fi + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 -$as_echo_n "checking for expl declaration... " >&6; } - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if ${glibcxx_cv_func_expl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 +$as_echo_n "checking for at_quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54019,23 +34697,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - expl(0); + at_quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expl_use=yes + glibcxx_cv_func_at_quick_exit_use=yes else - glibcxx_cv_func_expl_use=no + glibcxx_cv_func_at_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54048,27 +34722,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 -$as_echo "$glibcxx_cv_func_expl_use" >&6; } - - if test x$glibcxx_cv_func_expl_use = x"yes"; then - for ac_func in expl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then + for ac_func in at_quick_exit do : - ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" -if test "x$ac_cv_func_expl" = xyes; then : + ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" +if test "x$ac_cv_func_at_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_EXPL 1 +#define HAVE_AT_QUICK_EXIT 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5 -$as_echo_n "checking for _expl declaration... " >&6; } - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if ${glibcxx_cv_func__expl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 +$as_echo_n "checking for quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54081,23 +34755,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - _expl(0); + quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expl_use=yes + glibcxx_cv_func_quick_exit_use=yes else - glibcxx_cv_func__expl_use=no + glibcxx_cv_func_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54110,32 +34780,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5 -$as_echo "$glibcxx_cv_func__expl_use" >&6; } - - if test x$glibcxx_cv_func__expl_use = x"yes"; then - for ac_func in _expl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then + for ac_func in quick_exit do : - ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl" -if test "x$ac_cv_func__expl" = xyes; then : + ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" +if test "x$ac_cv_func_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__EXPL 1 +#define HAVE_QUICK_EXIT 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 -$as_echo_n "checking for fabsl declaration... " >&6; } - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if ${glibcxx_cv_func_fabsl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 +$as_echo_n "checking for strtold declaration... " >&6; } + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if ${glibcxx_cv_func_strtold_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54148,23 +34813,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - fabsl(0); + strtold(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsl_use=yes + glibcxx_cv_func_strtold_use=yes else - glibcxx_cv_func_fabsl_use=no + glibcxx_cv_func_strtold_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54177,27 +34838,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 -$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then - for ac_func in fabsl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 +$as_echo "$glibcxx_cv_func_strtold_use" >&6; } + if test x$glibcxx_cv_func_strtold_use = x"yes"; then + for ac_func in strtold do : - ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" -if test "x$ac_cv_func_fabsl" = xyes; then : + ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" +if test "x$ac_cv_func_strtold" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FABSL 1 +#define HAVE_STRTOLD 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5 -$as_echo_n "checking for _fabsl declaration... " >&6; } - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if ${glibcxx_cv_func__fabsl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 +$as_echo_n "checking for strtof declaration... " >&6; } + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if ${glibcxx_cv_func_strtof_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54210,23 +34871,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - _fabsl(0); + strtof(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsl_use=yes + glibcxx_cv_func_strtof_use=yes else - glibcxx_cv_func__fabsl_use=no + glibcxx_cv_func_strtof_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54239,211 +34896,304 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5 -$as_echo "$glibcxx_cv_func__fabsl_use" >&6; } - - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then - for ac_func in _fabsl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 +$as_echo "$glibcxx_cv_func_strtof_use" >&6; } + if test x$glibcxx_cv_func_strtof_use = x"yes"; then + for ac_func in strtof do : - ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl" -if test "x$ac_cv_func__fabsl" = xyes; then : + ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" +if test "x$ac_cv_func_strtof" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FABSL 1 +#define HAVE_STRTOF 1 _ACEOF fi done - fi fi + CXXFLAGS="$ac_save_CXXFLAGS" + $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h + $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 -$as_echo_n "checking for fmodl declaration... " >&6; } - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if ${glibcxx_cv_func_fmodl_use+:} false; then : + # We don't yet support AIX's TLS ABI. + #GCC_CHECK_TLS + + + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + am_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCICONV" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then + for _libs in .libs _libs; do + am_save_CPPFLAGS="$CPPFLAGS" + am_save_LIBS="$LIBS" + CPPFLAGS="$CPPFLAGS -I../libiconv/include" + LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + INCICONV="-I../libiconv/include" + LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a + LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la + am_cv_lib_iconv=yes + am_cv_func_iconv=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" + LIBS="$am_save_LIBS" + if test "$am_cv_func_iconv" = "yes"; then + break + fi + done + fi - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_CPPFLAGS="$CPPFLAGS" + am_save_LIBS="$LIBS" + CPPFLAGS="$CPPFLAGS $INCICONV" + LIBS="$LIBS $LIBICONV" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include +#include int main () { - fmodl(0, 0); +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodl_use=yes -else - glibcxx_cv_func_fmodl_use=no +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" + LIBS="$am_save_LIBS" + fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 -$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } + if test "$am_cv_lib_iconv" = yes; then - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then - for ac_func in fmodl -do : - ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" -if test "x$ac_cv_func_fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FMODL 1 -_ACEOF + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do -fi -done + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi + done + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } else + LIBICONV= + LTLIBICONV= + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5 -$as_echo_n "checking for _fmodl declaration... " >&6; } - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if ${glibcxx_cv_func__fmodl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 +$as_echo_n "checking for iconv declaration... " >&6; } + if ${am_cv_proto_iconv+:} false; then : + $as_echo_n "(cached) " >&6 +else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif + int main () { - _fmodl(0, 0); + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + am_cv_proto_iconv_arg1="" else - glibcxx_cv_func__fmodl_use=no + am_cv_proto_iconv_arg1="const" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5 -$as_echo "$glibcxx_cv_func__fmodl_use" >&6; } + am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- + }$am_cv_proto_iconv" >&5 +$as_echo "${ac_t:- + }$am_cv_proto_iconv" >&6; } - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then - for ac_func in _fmodl -do : - ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl" -if test "x$ac_cv_func__fmodl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FMODL 1 +cat >>confdefs.h <<_ACEOF +#define ICONV_CONST $am_cv_proto_iconv_arg1 _ACEOF -fi -done - - fi fi + $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h + ;; + *-darwin*) + # Darwin versions vary, but the linker should work in a cross environment, + # so we just check for all the features here. + # Check for available headers. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 -$as_echo_n "checking for frexpl declaration... " >&6; } - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if ${glibcxx_cv_func_frexpl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - + # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 +$as_echo_n "checking for sin in -lm... " >&6; } +if ${ac_cv_lib_m_sin+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sin (); int main () { - frexpl(0, 0); +return sin (); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpl_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_sin=yes else - glibcxx_cv_func_frexpl_use=no + ac_cv_lib_m_sin=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 +$as_echo "$ac_cv_lib_m_sin" >&6; } +if test "x$ac_cv_lib_m_sin" = xyes; then : + libm="-lm" fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 -$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then - for ac_func in frexpl -do : - ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" -if test "x$ac_cv_func_frexpl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPL 1 -_ACEOF + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5 -$as_echo_n "checking for _frexpl declaration... " >&6; } - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if ${glibcxx_cv_func__frexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 +$as_echo_n "checking for isinf declaration... " >&6; } + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if ${glibcxx_cv_func_isinf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54457,18 +35207,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _frexpl(0, 0); + isinf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpl_use=yes + glibcxx_cv_func_isinf_use=yes else - glibcxx_cv_func__frexpl_use=no + glibcxx_cv_func_isinf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54481,32 +35235,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5 -$as_echo "$glibcxx_cv_func__frexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; } - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then - for ac_func in _frexpl + if test x$glibcxx_cv_func_isinf_use = x"yes"; then + for ac_func in isinf do : - ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl" -if test "x$ac_cv_func__frexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" +if test "x$ac_cv_func_isinf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPL 1 +#define HAVE_ISINF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 -$as_echo_n "checking for hypotl declaration... " >&6; } - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if ${glibcxx_cv_func_hypotl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 +$as_echo_n "checking for isnan declaration... " >&6; } + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if ${glibcxx_cv_func_isnan_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54520,18 +35271,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypotl(0, 0); + isnan(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotl_use=yes + glibcxx_cv_func_isnan_use=yes else - glibcxx_cv_func_hypotl_use=no + glibcxx_cv_func_isnan_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54544,27 +35299,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 -$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then - for ac_func in hypotl + if test x$glibcxx_cv_func_isnan_use = x"yes"; then + for ac_func in isnan do : - ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" -if test "x$ac_cv_func_hypotl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +if test "x$ac_cv_func_isnan" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTL 1 +#define HAVE_ISNAN 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5 -$as_echo_n "checking for _hypotl declaration... " >&6; } - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if ${glibcxx_cv_func__hypotl_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 +$as_echo_n "checking for finite declaration... " >&6; } + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if ${glibcxx_cv_func_finite_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54578,18 +35335,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypotl(0, 0); + finite(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotl_use=yes + glibcxx_cv_func_finite_use=yes else - glibcxx_cv_func__hypotl_use=no + glibcxx_cv_func_finite_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54602,32 +35363,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5 -$as_echo "$glibcxx_cv_func__hypotl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 +$as_echo "$glibcxx_cv_func_finite_use" >&6; } - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then - for ac_func in _hypotl + if test x$glibcxx_cv_func_finite_use = x"yes"; then + for ac_func in finite do : - ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl" -if test "x$ac_cv_func__hypotl" = xyes; then : + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" +if test "x$ac_cv_func_finite" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTL 1 +#define HAVE_FINITE 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 -$as_echo_n "checking for ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if ${glibcxx_cv_func_ldexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 +$as_echo_n "checking for sincos declaration... " >&6; } + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if ${glibcxx_cv_func_sincos_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54644,15 +35402,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - ldexpl(0, 0); + sincos(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpl_use=yes + glibcxx_cv_func_sincos_use=yes else - glibcxx_cv_func_ldexpl_use=no + glibcxx_cv_func_sincos_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54665,27 +35423,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then - for ac_func in ldexpl + if test x$glibcxx_cv_func_sincos_use = x"yes"; then + for ac_func in sincos do : - ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" -if test "x$ac_cv_func_ldexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" +if test "x$ac_cv_func_sincos" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPL 1 +#define HAVE_SINCOS 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5 -$as_echo_n "checking for _ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if ${glibcxx_cv_func__ldexpl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 +$as_echo_n "checking for fpclass declaration... " >&6; } + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if ${glibcxx_cv_func_fpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54699,18 +35459,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _ldexpl(0, 0); + fpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpl_use=yes + glibcxx_cv_func_fpclass_use=yes else - glibcxx_cv_func__ldexpl_use=no + glibcxx_cv_func_fpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54723,32 +35487,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then - for ac_func in _ldexpl + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then + for ac_func in fpclass do : - ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl" -if test "x$ac_cv_func__ldexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" +if test "x$ac_cv_func_fpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPL 1 +#define HAVE_FPCLASS 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 -$as_echo_n "checking for logl declaration... " >&6; } - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if ${glibcxx_cv_func_logl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 +$as_echo_n "checking for qfpclass declaration... " >&6; } + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if ${glibcxx_cv_func_qfpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54769,15 +35530,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - logl(0); + qfpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logl_use=yes + glibcxx_cv_func_qfpclass_use=yes else - glibcxx_cv_func_logl_use=no + glibcxx_cv_func_qfpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54790,27 +35551,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 -$as_echo "$glibcxx_cv_func_logl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - if test x$glibcxx_cv_func_logl_use = x"yes"; then - for ac_func in logl + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then + for ac_func in qfpclass do : - ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" -if test "x$ac_cv_func_logl" = xyes; then : + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" +if test "x$ac_cv_func_qfpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOGL 1 +#define HAVE_QFPCLASS 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5 -$as_echo_n "checking for _logl declaration... " >&6; } - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if ${glibcxx_cv_func__logl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 +$as_echo_n "checking for hypot declaration... " >&6; } + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if ${glibcxx_cv_func_hypot_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -54824,22 +35587,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _logl(0); + hypot(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logl_use=yes + glibcxx_cv_func_hypot_use=yes else - glibcxx_cv_func__logl_use=no + glibcxx_cv_func_hypot_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -54852,161 +35611,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5 -$as_echo "$glibcxx_cv_func__logl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - if test x$glibcxx_cv_func__logl_use = x"yes"; then - for ac_func in _logl + if test x$glibcxx_cv_func_hypot_use = x"yes"; then + for ac_func in hypot do : - ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl" -if test "x$ac_cv_func__logl" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" +if test "x$ac_cv_func_hypot" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOGL 1 +#define HAVE_HYPOT 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 -$as_echo_n "checking for log10l declaration... " >&6; } - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if ${glibcxx_cv_func_log10l_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 +$as_echo_n "checking for float trig functions... " >&6; } + if ${glibcxx_cv_func_float_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - log10l(0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10l_use=yes + glibcxx_cv_func_float_trig_use=yes else - glibcxx_cv_func_log10l_use=no + glibcxx_cv_func_float_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 -$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - - if test x$glibcxx_cv_func_log10l_use = x"yes"; then - for ac_func in log10l + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do : - ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" -if test "x$ac_cv_func_log10l" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10L 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5 -$as_echo_n "checking for _log10l declaration... " >&6; } - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if ${glibcxx_cv_func__log10l_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 +$as_echo_n "checking for float round functions... " >&6; } + if ${glibcxx_cv_func_float_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10l(0); +ceilf (0); floorf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10l_use=yes + glibcxx_cv_func_float_round_use=yes else - glibcxx_cv_func__log10l_use=no + glibcxx_cv_func_float_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5 -$as_echo "$glibcxx_cv_func__log10l_use" >&6; } - - if test x$glibcxx_cv_func__log10l_use = x"yes"; then - for ac_func in _log10l + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; } + if test x$glibcxx_cv_func_float_round_use = x"yes"; then + for ac_func in ceilf floorf do : - ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l" -if test "x$ac_cv_func__log10l" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10L 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 -$as_echo_n "checking for modfl declaration... " >&6; } - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if ${glibcxx_cv_func_modfl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 +$as_echo_n "checking for expf declaration... " >&6; } + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if ${glibcxx_cv_func_expf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55020,18 +35762,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - modfl(0, 0); + expf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modfl_use=yes + glibcxx_cv_func_expf_use=yes else - glibcxx_cv_func_modfl_use=no + glibcxx_cv_func_expf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55044,27 +35790,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 -$as_echo "$glibcxx_cv_func_modfl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 +$as_echo "$glibcxx_cv_func_expf_use" >&6; } - if test x$glibcxx_cv_func_modfl_use = x"yes"; then - for ac_func in modfl + if test x$glibcxx_cv_func_expf_use = x"yes"; then + for ac_func in expf do : - ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" -if test "x$ac_cv_func_modfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" +if test "x$ac_cv_func_expf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODFL 1 +#define HAVE_EXPF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5 -$as_echo_n "checking for _modfl declaration... " >&6; } - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if ${glibcxx_cv_func__modfl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 +$as_echo_n "checking for isnanf declaration... " >&6; } + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if ${glibcxx_cv_func_isnanf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55078,18 +35826,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modfl(0, 0); + isnanf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modfl_use=yes + glibcxx_cv_func_isnanf_use=yes else - glibcxx_cv_func__modfl_use=no + glibcxx_cv_func_isnanf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55102,32 +35854,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5 -$as_echo "$glibcxx_cv_func__modfl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - if test x$glibcxx_cv_func__modfl_use = x"yes"; then - for ac_func in _modfl + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + for ac_func in isnanf do : - ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl" -if test "x$ac_cv_func__modfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" +if test "x$ac_cv_func_isnanf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODFL 1 +#define HAVE_ISNANF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 -$as_echo_n "checking for powl declaration... " >&6; } - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if ${glibcxx_cv_func_powl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 +$as_echo_n "checking for isinff declaration... " >&6; } + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if ${glibcxx_cv_func_isinff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55141,18 +35890,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - powl(0, 0); + isinff(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powl_use=yes + glibcxx_cv_func_isinff_use=yes else - glibcxx_cv_func_powl_use=no + glibcxx_cv_func_isinff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55165,27 +35918,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 -$as_echo "$glibcxx_cv_func_powl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - if test x$glibcxx_cv_func_powl_use = x"yes"; then - for ac_func in powl + if test x$glibcxx_cv_func_isinff_use = x"yes"; then + for ac_func in isinff do : - ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" -if test "x$ac_cv_func_powl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" +if test "x$ac_cv_func_isinff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_POWL 1 +#define HAVE_ISINFF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5 -$as_echo_n "checking for _powl declaration... " >&6; } - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if ${glibcxx_cv_func__powl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 +$as_echo_n "checking for atan2f declaration... " >&6; } + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if ${glibcxx_cv_func_atan2f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55202,15 +35957,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _powl(0, 0); + atan2f(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powl_use=yes + glibcxx_cv_func_atan2f_use=yes else - glibcxx_cv_func__powl_use=no + glibcxx_cv_func_atan2f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55223,32 +35978,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5 -$as_echo "$glibcxx_cv_func__powl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - if test x$glibcxx_cv_func__powl_use = x"yes"; then - for ac_func in _powl + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + for ac_func in atan2f do : - ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl" -if test "x$ac_cv_func__powl" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" +if test "x$ac_cv_func_atan2f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__POWL 1 +#define HAVE_ATAN2F 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 -$as_echo_n "checking for sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if ${glibcxx_cv_func_sqrtl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 +$as_echo_n "checking for fabsf declaration... " >&6; } + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if ${glibcxx_cv_func_fabsf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55269,15 +36021,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sqrtl(0); + fabsf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtl_use=yes + glibcxx_cv_func_fabsf_use=yes else - glibcxx_cv_func_sqrtl_use=no + glibcxx_cv_func_fabsf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55290,27 +36042,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then - for ac_func in sqrtl + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + for ac_func in fabsf do : - ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" -if test "x$ac_cv_func_sqrtl" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" +if test "x$ac_cv_func_fabsf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTL 1 +#define HAVE_FABSF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5 -$as_echo_n "checking for _sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if ${glibcxx_cv_func__sqrtl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 +$as_echo_n "checking for fmodf declaration... " >&6; } + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if ${glibcxx_cv_func_fmodf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55324,22 +36078,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _sqrtl(0); + fmodf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtl_use=yes + glibcxx_cv_func_fmodf_use=yes else - glibcxx_cv_func__sqrtl_use=no + glibcxx_cv_func_fmodf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55352,32 +36102,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then - for ac_func in _sqrtl + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then + for ac_func in fmodf do : - ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl" -if test "x$ac_cv_func__sqrtl" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" +if test "x$ac_cv_func_fmodf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTL 1 +#define HAVE_FMODF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 -$as_echo_n "checking for sincosl declaration... " >&6; } - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if ${glibcxx_cv_func_sincosl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 +$as_echo_n "checking for frexpf declaration... " >&6; } + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if ${glibcxx_cv_func_frexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55394,15 +36141,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sincosl(0, 0, 0); + frexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosl_use=yes + glibcxx_cv_func_frexpf_use=yes else - glibcxx_cv_func_sincosl_use=no + glibcxx_cv_func_frexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55415,27 +36162,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 -$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then - for ac_func in sincosl + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then + for ac_func in frexpf do : - ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" -if test "x$ac_cv_func_sincosl" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" +if test "x$ac_cv_func_frexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSL 1 +#define HAVE_FREXPF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5 -$as_echo_n "checking for _sincosl declaration... " >&6; } - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if ${glibcxx_cv_func__sincosl_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 +$as_echo_n "checking for hypotf declaration... " >&6; } + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if ${glibcxx_cv_func_hypotf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55452,15 +36201,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _sincosl(0, 0, 0); + hypotf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosl_use=yes + glibcxx_cv_func_hypotf_use=yes else - glibcxx_cv_func__sincosl_use=no + glibcxx_cv_func_hypotf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55473,32 +36222,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5 -$as_echo "$glibcxx_cv_func__sincosl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then - for ac_func in _sincosl + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + for ac_func in hypotf do : - ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl" -if test "x$ac_cv_func__sincosl" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" +if test "x$ac_cv_func_hypotf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSL 1 +#define HAVE_HYPOTF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 -$as_echo_n "checking for finitel declaration... " >&6; } - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if ${glibcxx_cv_func_finitel_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 +$as_echo_n "checking for ldexpf declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if ${glibcxx_cv_func_ldexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55512,22 +36258,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finitel(0); + ldexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitel_use=yes + glibcxx_cv_func_ldexpf_use=yes else - glibcxx_cv_func_finitel_use=no + glibcxx_cv_func_ldexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55540,27 +36282,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 -$as_echo "$glibcxx_cv_func_finitel_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } - if test x$glibcxx_cv_func_finitel_use = x"yes"; then - for ac_func in finitel + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + for ac_func in ldexpf do : - ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" -if test "x$ac_cv_func_finitel" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" +if test "x$ac_cv_func_ldexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEL 1 +#define HAVE_LDEXPF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5 -$as_echo_n "checking for _finitel declaration... " >&6; } - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if ${glibcxx_cv_func__finitel_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 +$as_echo_n "checking for logf declaration... " >&6; } + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if ${glibcxx_cv_func_logf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55581,15 +36325,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _finitel(0); + logf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitel_use=yes + glibcxx_cv_func_logf_use=yes else - glibcxx_cv_func__finitel_use=no + glibcxx_cv_func_logf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55602,40 +36346,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5 -$as_echo "$glibcxx_cv_func__finitel_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 +$as_echo "$glibcxx_cv_func_logf_use" >&6; } - if test x$glibcxx_cv_func__finitel_use = x"yes"; then - for ac_func in _finitel + if test x$glibcxx_cv_func_logf_use = x"yes"; then + for ac_func in logf do : - ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel" -if test "x$ac_cv_func__finitel" = xyes; then : + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" +if test "x$ac_cv_func_logf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEL 1 +#define HAVE_LOGF 1 _ACEOF fi done - fi fi - - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 -$as_echo_n "checking for at_quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 +$as_echo_n "checking for log10f declaration... " >&6; } + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if ${glibcxx_cv_func_log10f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55648,19 +36381,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - at_quick_exit(0); + log10f(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_at_quick_exit_use=yes + glibcxx_cv_func_log10f_use=yes else - glibcxx_cv_func_at_quick_exit_use=no + glibcxx_cv_func_log10f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55673,15 +36410,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then - for ac_func in at_quick_exit + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; } + + if test x$glibcxx_cv_func_log10f_use = x"yes"; then + for ac_func in log10f do : - ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" -if test "x$ac_cv_func_at_quick_exit" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" +if test "x$ac_cv_func_log10f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_AT_QUICK_EXIT 1 +#define HAVE_LOG10F 1 _ACEOF fi @@ -55690,10 +36428,11 @@ done fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 -$as_echo_n "checking for quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_quick_exit_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 +$as_echo_n "checking for modff declaration... " >&6; } + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if ${glibcxx_cv_func_modff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55706,19 +36445,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - quick_exit(0); + modff(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_quick_exit_use=yes + glibcxx_cv_func_modff_use=yes else - glibcxx_cv_func_quick_exit_use=no + glibcxx_cv_func_modff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55731,15 +36470,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then - for ac_func in quick_exit + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 +$as_echo "$glibcxx_cv_func_modff_use" >&6; } + + if test x$glibcxx_cv_func_modff_use = x"yes"; then + for ac_func in modff do : - ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" -if test "x$ac_cv_func_quick_exit" = xyes; then : + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" +if test "x$ac_cv_func_modff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_QUICK_EXIT 1 +#define HAVE_MODFF 1 _ACEOF fi @@ -55748,10 +36488,11 @@ done fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 -$as_echo_n "checking for strtold declaration... " >&6; } - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if ${glibcxx_cv_func_strtold_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 +$as_echo_n "checking for modf declaration... " >&6; } + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if ${glibcxx_cv_func_modf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55764,19 +36505,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - strtold(0, 0); + modf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtold_use=yes + glibcxx_cv_func_modf_use=yes else - glibcxx_cv_func_strtold_use=no + glibcxx_cv_func_modf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55789,15 +36530,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 -$as_echo "$glibcxx_cv_func_strtold_use" >&6; } - if test x$glibcxx_cv_func_strtold_use = x"yes"; then - for ac_func in strtold + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 +$as_echo "$glibcxx_cv_func_modf_use" >&6; } + + if test x$glibcxx_cv_func_modf_use = x"yes"; then + for ac_func in modf do : - ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" -if test "x$ac_cv_func_strtold" = xyes; then : + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" +if test "x$ac_cv_func_modf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOLD 1 +#define HAVE_MODF 1 _ACEOF fi @@ -55807,11 +36549,10 @@ done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 -$as_echo_n "checking for strtof declaration... " >&6; } - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if ${glibcxx_cv_func_strtof_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 +$as_echo_n "checking for powf declaration... " >&6; } + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if ${glibcxx_cv_func_powf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -55824,19 +36565,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - strtof(0, 0); + powf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtof_use=yes + glibcxx_cv_func_powf_use=yes else - glibcxx_cv_func_strtof_use=no + glibcxx_cv_func_powf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -55849,721 +36590,460 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 -$as_echo "$glibcxx_cv_func_strtof_use" >&6; } - if test x$glibcxx_cv_func_strtof_use = x"yes"; then - for ac_func in strtof + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 +$as_echo "$glibcxx_cv_func_powf_use" >&6; } + + if test x$glibcxx_cv_func_powf_use = x"yes"; then + for ac_func in powf do : - ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" -if test "x$ac_cv_func_strtof" = xyes; then : + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" +if test "x$ac_cv_func_powf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOF 1 -_ACEOF - -fi -done - - fi - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - - $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h - - $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h - - - - # Check whether --enable-tls was given. -if test "${enable_tls+set}" = set; then : - enableval=$enable_tls; - case "$enableval" in - yes|no) ;; - *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; - esac - -else - enable_tls=yes -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 -$as_echo_n "checking whether the target supports thread-local storage... " >&6; } -if ${gcc_cv_have_tls+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - chktls_save_LDFLAGS="$LDFLAGS" - case $host in - *-*-linux* | -*-uclinuxfdpic*) - LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" - ;; - esac - chktls_save_CFLAGS="$CFLAGS" - CFLAGS="-fPIC $CFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int f() { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int f() { return a = b; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_have_tls=yes -else - gcc_cv_have_tls=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -else - gcc_cv_have_tls=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS="$chktls_save_CFLAGS" - LDFLAGS="$chktls_save_LDFLAGS" -else - gcc_cv_have_tls=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - - -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - chktls_save_LDFLAGS="$LDFLAGS" - LDFLAGS="-static $LDFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int main() { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } +#define HAVE_POWF 1 _ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_have_tls=yes -else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi -else - gcc_cv_have_tls=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$chktls_save_LDFLAGS" - if test $gcc_cv_have_tls = yes; then - chktls_save_CFLAGS="$CFLAGS" - thread_CFLAGS=failed - for flag in '' '-pthread' '-lpthread'; do - CFLAGS="$flag $chktls_save_CFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - void *g(void *d) { return NULL; } -int -main () -{ -pthread_t t; pthread_create(&t,NULL,g,NULL); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - thread_CFLAGS="$flag" fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "X$thread_CFLAGS" != Xfailed; then - break - fi - done - CFLAGS="$chktls_save_CFLAGS" - if test "X$thread_CFLAGS" != Xfailed; then - CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } +done + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 +$as_echo_n "checking for sqrtf declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if ${glibcxx_cv_func_sqrtf_use+:} false; then : + $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - __thread int a; - static int *volatile a_in_other_thread; - static void * - thread_func (void *arg) - { - a_in_other_thread = &a; - return (void *)0; - } +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -pthread_t thread; - void *thread_retval; - int *volatile a_in_main_thread; - a_in_main_thread = &a; - if (pthread_create (&thread, (pthread_attr_t *)0, - thread_func, (void *)0)) - return 0; - if (pthread_join (thread, &thread_retval)) - return 0; - return (a_in_other_thread == a_in_main_thread); + sqrtf(0); ; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_have_tls=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_sqrtf_use=yes else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + glibcxx_cv_func_sqrtf_use=no fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - CFLAGS="$chktls_save_CFLAGS" - fi - fi -else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5 -$as_echo "$gcc_cv_have_tls" >&6; } - if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then - -$as_echo "#define HAVE_TLS 1" >>confdefs.h fi - for ac_func in __cxa_thread_atexit_impl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } + + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + for ac_func in sqrtf do : - ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl" -if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" +if test "x$ac_cv_func_sqrtf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE___CXA_THREAD_ATEXIT_IMPL 1 +#define HAVE_SQRTF 1 _ACEOF fi done - for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF + fi -fi -done - for ac_func in timespec_get -do : - ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" -if test "x$ac_cv_func_timespec_get" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_TIMESPEC_GET 1 -_ACEOF -fi -done + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 +$as_echo_n "checking for sincosf declaration... " >&6; } + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if ${glibcxx_cv_func_sincosf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - for ac_func in sockatmark -do : - ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" -if test "x$ac_cv_func_sockatmark" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SOCKATMARK 1 -_ACEOF -fi -done + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - for ac_func in uselocale -do : - ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" -if test "x$ac_cv_func_uselocale" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_USELOCALE 1 + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + sincosf(0, 0, 0); + ; + return 0; +} _ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_sincosf_use=yes +else + glibcxx_cv_func_sincosf_use=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi -done - for ac_func in secure_getenv + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } + + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + for ac_func in sincosf do : - ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv" -if test "x$ac_cv_func_secure_getenv" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" +if test "x$ac_cv_func_sincosf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SECURE_GETENV 1 +#define HAVE_SINCOSF 1 _ACEOF fi done + fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 -$as_echo_n "checking for iconv... " >&6; } -if ${am_cv_func_iconv+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 +$as_echo_n "checking for finitef declaration... " >&6; } + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if ${glibcxx_cv_func_finitef_use+:} false; then : $as_echo_n "(cached) " >&6 else - am_cv_func_iconv="no, consider installing GNU libiconv" - am_cv_lib_iconv=no - am_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$CPPFLAGS $INCICONV" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); + finitef(0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_func_iconv=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_finitef_use=yes +else + glibcxx_cv_func_finitef_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + - if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then - for _libs in .libs _libs; do - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS -I../libiconv/include" - LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -int -main () -{ -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); - ; - return 0; -} + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; } + + if test x$glibcxx_cv_func_finitef_use = x"yes"; then + for ac_func in finitef +do : + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" +if test "x$ac_cv_func_finitef" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_FINITEF 1 _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - INCICONV="-I../libiconv/include" - LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a - LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la - am_cv_lib_iconv=yes - am_cv_func_iconv=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - if test "$am_cv_func_iconv" = "yes"; then - break - fi - done - fi - if test "$am_cv_func_iconv" != yes; then - am_save_CPPFLAGS="$CPPFLAGS" - am_save_LIBS="$LIBS" - CPPFLAGS="$CPPFLAGS $INCICONV" - LIBS="$LIBS $LIBICONV" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext +done + + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 +$as_echo_n "checking for long double trig functions... " >&6; } + if ${glibcxx_cv_func_long_double_trig_use+:} false; then : + $as_echo_n "(cached) " >&6 +else + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include -#include +#include int main () { -iconv_t cd = iconv_open("",""); - iconv(cd,NULL,NULL,NULL,NULL); - iconv_close(cd); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - am_cv_lib_iconv=yes - am_cv_func_iconv=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_long_double_trig_use=yes +else + glibcxx_cv_func_long_double_trig_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CPPFLAGS="$am_save_CPPFLAGS" - LIBS="$am_save_LIBS" - fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 -$as_echo "$am_cv_func_iconv" >&6; } - if test "$am_cv_func_iconv" = yes; then - -$as_echo "#define HAVE_ICONV 1" >>confdefs.h - - fi - if test "$am_cv_lib_iconv" = yes; then - - for element in $INCICONV; do - haveit= - for x in $CPPFLAGS; do - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" - fi - done +fi +done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 -$as_echo_n "checking how to link with libiconv... " >&6; } - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 -$as_echo "$LIBICONV" >&6; } - else - LIBICONV= - LTLIBICONV= fi - if test "$am_cv_func_iconv" = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 -$as_echo_n "checking for iconv declaration... " >&6; } - if ${am_cv_proto_iconv+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 +$as_echo_n "checking for long double round functions... " >&6; } + if ${glibcxx_cv_func_long_double_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -#include -extern -#ifdef __cplusplus -"C" -#endif -#if defined(__STDC__) || defined(__cplusplus) -size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); -#else -size_t iconv(); -#endif + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include int main () { - +ceill (0); floorl (0); ; return 0; } _ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - am_cv_proto_iconv_arg1="" +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_long_double_round_use=yes else - am_cv_proto_iconv_arg1="const" + glibcxx_cv_func_long_double_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" -fi + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- - }$am_cv_proto_iconv" >&5 -$as_echo "${ac_t:- - }$am_cv_proto_iconv" >&6; } +fi -cat >>confdefs.h <<_ACEOF -#define ICONV_CONST $am_cv_proto_iconv_arg1 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + for ac_func in ceill floorl +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF - fi - - ;; - *-mingw32*) - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - +fi +done - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi fi - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - glibcxx_ld_is_mold=no - if test x"$with_gnu_ld" = x"yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 -$as_echo_n "checking for ld version... " >&6; } - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then - glibcxx_ld_is_mold=yes - fi - ldver=`$LD --version 2>/dev/null | - sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 -$as_echo "$glibcxx_gnu_ld_version" >&6; } - fi - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 +$as_echo_n "checking for isnanl declaration... " >&6; } + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if ${glibcxx_cv_func_isnanl_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' - # Check for -Wl,--gc-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 -$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } +#include + #ifdef HAVE_IEEEFP_H + #include + #endif int main () { - two(); + isnanl(0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_gcsections=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_isnanl_use=yes else - ac_gcsections=no + glibcxx_cv_func_isnanl_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 -$as_echo "$ac_gcsections" >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - # cygwin and mingw uses PE, which has no ELF relro support, - # multi target ld may confuse configure machinery - case "$host" in - *-*-cygwin*) - ;; - *-*-mingw*) - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 -$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 -$as_echo "$ac_ld_relro" >&6; } - esac - fi +fi - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + for ac_func in isnanl +do : + ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" +if test "x$ac_cv_func_isnanl" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ISNANL 1 +_ACEOF +fi +done + fi - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 -$as_echo_n "checking for sin in -lm... " >&6; } -if ${ac_cv_lib_m_sin+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 +$as_echo_n "checking for isinfl declaration... " >&6; } + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if ${glibcxx_cv_func_isinfl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ +#include + #ifdef HAVE_IEEEFP_H + #include + #endif -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sin (); int main () { -return sin (); + isinfl(0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_sin=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_isinfl_use=yes else - ac_cv_lib_m_sin=no + glibcxx_cv_func_isinfl_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 -$as_echo "$ac_cv_lib_m_sin" >&6; } -if test "x$ac_cv_lib_m_sin" = xyes; then : - libm="-lm" + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } + + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + for ac_func in isinfl +do : + ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" +if test "x$ac_cv_func_isinfl" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ISINFL 1 +_ACEOF + fi +done - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 -$as_echo_n "checking for isinf declaration... " >&6; } - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if ${glibcxx_cv_func_isinf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 +$as_echo_n "checking for atan2l declaration... " >&6; } + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if ${glibcxx_cv_func_atan2l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -56577,22 +37057,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinf(0); + atan2l(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinf_use=yes + glibcxx_cv_func_atan2l_use=yes else - glibcxx_cv_func_isinf_use=no + glibcxx_cv_func_atan2l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56605,27 +37081,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 -$as_echo "$glibcxx_cv_func_isinf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - if test x$glibcxx_cv_func_isinf_use = x"yes"; then - for ac_func in isinf + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + for ac_func in atan2l do : - ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" -if test "x$ac_cv_func_isinf" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" +if test "x$ac_cv_func_atan2l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINF 1 +#define HAVE_ATAN2L 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5 -$as_echo_n "checking for _isinf declaration... " >&6; } - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if ${glibcxx_cv_func__isinf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 +$as_echo_n "checking for expl declaration... " >&6; } + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -56646,15 +37124,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isinf(0); + expl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinf_use=yes + glibcxx_cv_func_expl_use=yes else - glibcxx_cv_func__isinf_use=no + glibcxx_cv_func_expl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56667,32 +37145,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5 -$as_echo "$glibcxx_cv_func__isinf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 +$as_echo "$glibcxx_cv_func_expl_use" >&6; } - if test x$glibcxx_cv_func__isinf_use = x"yes"; then - for ac_func in _isinf + if test x$glibcxx_cv_func_expl_use = x"yes"; then + for ac_func in expl do : - ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf" -if test "x$ac_cv_func__isinf" = xyes; then : + ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" +if test "x$ac_cv_func_expl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINF 1 +#define HAVE_EXPL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 -$as_echo_n "checking for isnan declaration... " >&6; } - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if ${glibcxx_cv_func_isnan_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 +$as_echo_n "checking for fabsl declaration... " >&6; } + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -56713,15 +37188,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - isnan(0); + fabsl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnan_use=yes + glibcxx_cv_func_fabsl_use=yes else - glibcxx_cv_func_isnan_use=no + glibcxx_cv_func_fabsl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56734,27 +37209,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 -$as_echo "$glibcxx_cv_func_isnan_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - if test x$glibcxx_cv_func_isnan_use = x"yes"; then - for ac_func in isnan + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + for ac_func in fabsl do : - ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" -if test "x$ac_cv_func_isnan" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" +if test "x$ac_cv_func_fabsl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNAN 1 +#define HAVE_FABSL 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5 -$as_echo_n "checking for _isnan declaration... " >&6; } - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if ${glibcxx_cv_func__isnan_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 +$as_echo_n "checking for fmodl declaration... " >&6; } + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -56768,22 +37245,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnan(0); + fmodl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnan_use=yes + glibcxx_cv_func_fmodl_use=yes else - glibcxx_cv_func__isnan_use=no + glibcxx_cv_func_fmodl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56796,32 +37269,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5 -$as_echo "$glibcxx_cv_func__isnan_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - if test x$glibcxx_cv_func__isnan_use = x"yes"; then - for ac_func in _isnan + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + for ac_func in fmodl do : - ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan" -if test "x$ac_cv_func__isnan" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" +if test "x$ac_cv_func_fmodl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNAN 1 +#define HAVE_FMODL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 -$as_echo_n "checking for finite declaration... " >&6; } - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if ${glibcxx_cv_func_finite_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 +$as_echo_n "checking for frexpl declaration... " >&6; } + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -56835,22 +37305,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finite(0); + frexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finite_use=yes + glibcxx_cv_func_frexpl_use=yes else - glibcxx_cv_func_finite_use=no + glibcxx_cv_func_frexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56863,27 +37329,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 -$as_echo "$glibcxx_cv_func_finite_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - if test x$glibcxx_cv_func_finite_use = x"yes"; then - for ac_func in finite + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + for ac_func in frexpl do : - ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" -if test "x$ac_cv_func_finite" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" +if test "x$ac_cv_func_frexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITE 1 +#define HAVE_FREXPL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5 -$as_echo_n "checking for _finite declaration... " >&6; } - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if ${glibcxx_cv_func__finite_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 +$as_echo_n "checking for hypotl declaration... " >&6; } + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -56897,22 +37365,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finite(0); + hypotl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finite_use=yes + glibcxx_cv_func_hypotl_use=yes else - glibcxx_cv_func__finite_use=no + glibcxx_cv_func_hypotl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56925,32 +37389,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5 -$as_echo "$glibcxx_cv_func__finite_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - if test x$glibcxx_cv_func__finite_use = x"yes"; then - for ac_func in _finite + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + for ac_func in hypotl do : - ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite" -if test "x$ac_cv_func__finite" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" +if test "x$ac_cv_func_hypotl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITE 1 +#define HAVE_HYPOTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 -$as_echo_n "checking for sincos declaration... " >&6; } - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if ${glibcxx_cv_func_sincos_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 +$as_echo_n "checking for ldexpl declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -56967,15 +37428,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sincos(0, 0, 0); + ldexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincos_use=yes + glibcxx_cv_func_ldexpl_use=yes else - glibcxx_cv_func_sincos_use=no + glibcxx_cv_func_ldexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -56988,27 +37449,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 -$as_echo "$glibcxx_cv_func_sincos_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - if test x$glibcxx_cv_func_sincos_use = x"yes"; then - for ac_func in sincos + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + for ac_func in ldexpl do : - ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" -if test "x$ac_cv_func_sincos" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" +if test "x$ac_cv_func_ldexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOS 1 +#define HAVE_LDEXPL 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5 -$as_echo_n "checking for _sincos declaration... " >&6; } - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if ${glibcxx_cv_func__sincos_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 +$as_echo_n "checking for logl declaration... " >&6; } + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57022,18 +37485,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _sincos(0, 0, 0); + logl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincos_use=yes + glibcxx_cv_func_logl_use=yes else - glibcxx_cv_func__sincos_use=no + glibcxx_cv_func_logl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57046,32 +37513,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5 -$as_echo "$glibcxx_cv_func__sincos_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 +$as_echo "$glibcxx_cv_func_logl_use" >&6; } - if test x$glibcxx_cv_func__sincos_use = x"yes"; then - for ac_func in _sincos + if test x$glibcxx_cv_func_logl_use = x"yes"; then + for ac_func in logl do : - ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos" -if test "x$ac_cv_func__sincos" = xyes; then : + ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" +if test "x$ac_cv_func_logl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOS 1 +#define HAVE_LOGL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 -$as_echo_n "checking for fpclass declaration... " >&6; } - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if ${glibcxx_cv_func_fpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 +$as_echo_n "checking for log10l declaration... " >&6; } + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if ${glibcxx_cv_func_log10l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57092,15 +37556,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - fpclass(0); + log10l(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fpclass_use=yes + glibcxx_cv_func_log10l_use=yes else - glibcxx_cv_func_fpclass_use=no + glibcxx_cv_func_log10l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57113,27 +37577,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 -$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then - for ac_func in fpclass + if test x$glibcxx_cv_func_log10l_use = x"yes"; then + for ac_func in log10l do : - ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" -if test "x$ac_cv_func_fpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" +if test "x$ac_cv_func_log10l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FPCLASS 1 +#define HAVE_LOG10L 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5 -$as_echo_n "checking for _fpclass declaration... " >&6; } - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if ${glibcxx_cv_func__fpclass_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 +$as_echo_n "checking for modfl declaration... " >&6; } + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if ${glibcxx_cv_func_modfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57147,22 +37613,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fpclass(0); + modfl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fpclass_use=yes + glibcxx_cv_func_modfl_use=yes else - glibcxx_cv_func__fpclass_use=no + glibcxx_cv_func_modfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57175,32 +37637,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5 -$as_echo "$glibcxx_cv_func__fpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then - for ac_func in _fpclass + if test x$glibcxx_cv_func_modfl_use = x"yes"; then + for ac_func in modfl do : - ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass" -if test "x$ac_cv_func__fpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" +if test "x$ac_cv_func_modfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FPCLASS 1 +#define HAVE_MODFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 -$as_echo_n "checking for qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if ${glibcxx_cv_func_qfpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 +$as_echo_n "checking for powl declaration... " >&6; } + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if ${glibcxx_cv_func_powl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57214,22 +37673,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - qfpclass(0); + powl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_qfpclass_use=yes + glibcxx_cv_func_powl_use=yes else - glibcxx_cv_func_qfpclass_use=no + glibcxx_cv_func_powl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57242,27 +37697,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 +$as_echo "$glibcxx_cv_func_powl_use" >&6; } - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - for ac_func in qfpclass + if test x$glibcxx_cv_func_powl_use = x"yes"; then + for ac_func in powl do : - ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" -if test "x$ac_cv_func_qfpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" +if test "x$ac_cv_func_powl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_QFPCLASS 1 +#define HAVE_POWL 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5 -$as_echo_n "checking for _qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if ${glibcxx_cv_func__qfpclass_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 +$as_echo_n "checking for sqrtl declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if ${glibcxx_cv_func_sqrtl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57283,15 +37740,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _qfpclass(0); + sqrtl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__qfpclass_use=yes + glibcxx_cv_func_sqrtl_use=yes else - glibcxx_cv_func__qfpclass_use=no + glibcxx_cv_func_sqrtl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57304,32 +37761,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then - for ac_func in _qfpclass + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + for ac_func in sqrtl do : - ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass" -if test "x$ac_cv_func__qfpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" +if test "x$ac_cv_func_sqrtl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__QFPCLASS 1 +#define HAVE_SQRTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 -$as_echo_n "checking for hypot declaration... " >&6; } - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if ${glibcxx_cv_func_hypot_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 +$as_echo_n "checking for sincosl declaration... " >&6; } + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if ${glibcxx_cv_func_sincosl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57346,15 +37800,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - hypot(0, 0); + sincosl(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypot_use=yes + glibcxx_cv_func_sincosl_use=yes else - glibcxx_cv_func_hypot_use=no + glibcxx_cv_func_sincosl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57367,27 +37821,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 -$as_echo "$glibcxx_cv_func_hypot_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 +$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - if test x$glibcxx_cv_func_hypot_use = x"yes"; then - for ac_func in hypot + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + for ac_func in sincosl do : - ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" -if test "x$ac_cv_func_hypot" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" +if test "x$ac_cv_func_sincosl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOT 1 +#define HAVE_SINCOSL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5 -$as_echo_n "checking for _hypot declaration... " >&6; } - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if ${glibcxx_cv_func__hypot_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 +$as_echo_n "checking for finitel declaration... " >&6; } + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if ${glibcxx_cv_func_finitel_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57401,18 +37857,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypot(0, 0); + finitel(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypot_use=yes + glibcxx_cv_func_finitel_use=yes else - glibcxx_cv_func__hypot_use=no + glibcxx_cv_func_finitel_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57425,85 +37885,95 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5 -$as_echo "$glibcxx_cv_func__hypot_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 +$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - if test x$glibcxx_cv_func__hypot_use = x"yes"; then - for ac_func in _hypot + if test x$glibcxx_cv_func_finitel_use = x"yes"; then + for ac_func in finitel do : - ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot" -if test "x$ac_cv_func__hypot" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" +if test "x$ac_cv_func_finitel" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOT 1 +#define HAVE_FINITEL 1 _ACEOF fi done - fi fi + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 -$as_echo_n "checking for float trig functions... " >&6; } - if ${glibcxx_cv_func_float_trig_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 +$as_echo_n "checking for at_quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); + at_quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_trig_use=yes + glibcxx_cv_func_at_quick_exit_use=yes else - glibcxx_cv_func_float_trig_use=no + glibcxx_cv_func_at_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 -$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then + for ac_func in at_quick_exit do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" +if test "x$ac_cv_func_at_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_AT_QUICK_EXIT 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5 -$as_echo_n "checking for _float trig functions... " >&6; } - if ${glibcxx_cv_func__float_trig_use+:} false; then : + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 +$as_echo_n "checking for quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57516,19 +37986,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); + quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_trig_use=yes + glibcxx_cv_func_quick_exit_use=yes else - glibcxx_cv_func__float_trig_use=no + glibcxx_cv_func_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57537,87 +38007,89 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5 -$as_echo "$glibcxx_cv_func__float_trig_use" >&6; } - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then + for ac_func in quick_exit do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" +if test "x$ac_cv_func_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_QUICK_EXIT 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 -$as_echo_n "checking for float round functions... " >&6; } - if ${glibcxx_cv_func_float_round_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 +$as_echo_n "checking for strtold declaration... " >&6; } + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if ${glibcxx_cv_func_strtold_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { -ceilf (0); floorf (0); + strtold(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_round_use=yes + glibcxx_cv_func_strtold_use=yes else - glibcxx_cv_func_float_round_use=no + glibcxx_cv_func_strtold_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 -$as_echo "$glibcxx_cv_func_float_round_use" >&6; } - if test x$glibcxx_cv_func_float_round_use = x"yes"; then - for ac_func in ceilf floorf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 +$as_echo "$glibcxx_cv_func_strtold_use" >&6; } + if test x$glibcxx_cv_func_strtold_use = x"yes"; then + for ac_func in strtold do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" +if test "x$ac_cv_func_strtold" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_STRTOLD 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5 -$as_echo_n "checking for _float round functions... " >&6; } - if ${glibcxx_cv_func__float_round_use+:} false; then : + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 +$as_echo_n "checking for strtof declaration... " >&6; } + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if ${glibcxx_cv_func_strtof_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -57630,19 +38102,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { -_ceilf (0); _floorf (0); + strtof(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_round_use=yes + glibcxx_cv_func_strtof_use=yes else - glibcxx_cv_func__float_round_use=no + glibcxx_cv_func_strtof_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -57651,605 +38123,1021 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5 -$as_echo "$glibcxx_cv_func__float_round_use" >&6; } - if test x$glibcxx_cv_func__float_round_use = x"yes"; then - for ac_func in _ceilf _floorf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 +$as_echo "$glibcxx_cv_func_strtof_use" >&6; } + if test x$glibcxx_cv_func_strtof_use = x"yes"; then + for ac_func in strtof do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" +if test "x$ac_cv_func_strtof" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_STRTOF 1 _ACEOF fi done - fi fi + CXXFLAGS="$ac_save_CXXFLAGS" + for ac_func in uselocale +do : + ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" +if test "x$ac_cv_func_uselocale" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_USELOCALE 1 +_ACEOF +fi +done - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 -$as_echo_n "checking for expf declaration... " >&6; } - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if ${glibcxx_cv_func_expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + ;; + *djgpp) + # GLIBCXX_CHECK_MATH_SUPPORT + $as_echo "#define HAVE_ISINF 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_ISNAN 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + $as_echo "#define HAVE_FINITE 1" >>confdefs.h + + $as_echo "#define HAVE_SINCOS 1" >>confdefs.h + + $as_echo "#define HAVE_HYPOT 1" >>confdefs.h + + ;; + + *-freebsd*) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + + + + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi + fi + + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + glibcxx_ld_is_mold=no + if test x"$with_gnu_ld" = x"yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 +$as_echo_n "checking for ld version... " >&6; } + + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then + glibcxx_ld_is_mold=yes + fi + ldver=`$LD --version 2>/dev/null | + sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` + + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 +$as_echo "$glibcxx_gnu_ld_version" >&6; } + fi + + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif + int one(void) { return 1; } + int two(void) { return 2; } int main () { - expf(0); + two(); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expf_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_gcsections=yes else - glibcxx_cv_func_expf_use=no + ac_gcsections=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 +$as_echo "$ac_gcsections" >&6; } + + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi + + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + # cygwin and mingw uses PE, which has no ELF relro support, + # multi target ld may confuse configure machinery + case "$host" in + *-*-cygwin*) + ;; + *-*-mingw*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 +$as_echo "$ac_ld_relro" >&6; } + esac + fi + + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" + fi + + + + + $as_echo "#define HAVE_SETENV 1" >>confdefs.h + + $as_echo "#define HAVE_FINITEF 1" >>confdefs.h + + $as_echo "#define HAVE_FINITE 1" >>confdefs.h + + $as_echo "#define HAVE_FREXPF 1" >>confdefs.h + + $as_echo "#define HAVE_HYPOT 1" >>confdefs.h + + $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h + + $as_echo "#define HAVE_ISINF 1" >>confdefs.h + + $as_echo "#define HAVE_ISNAN 1" >>confdefs.h + + $as_echo "#define HAVE_ISNANF 1" >>confdefs.h + + + $as_echo "#define HAVE_ACOSF 1" >>confdefs.h + + $as_echo "#define HAVE_ASINF 1" >>confdefs.h + + $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h + + $as_echo "#define HAVE_ATANF 1" >>confdefs.h + + $as_echo "#define HAVE_CEILF 1" >>confdefs.h + + $as_echo "#define HAVE_COSF 1" >>confdefs.h + + $as_echo "#define HAVE_COSHF 1" >>confdefs.h + + $as_echo "#define HAVE_EXPF 1" >>confdefs.h + + $as_echo "#define HAVE_FABSF 1" >>confdefs.h + + $as_echo "#define HAVE_FLOORF 1" >>confdefs.h + + $as_echo "#define HAVE_FMODF 1" >>confdefs.h + + $as_echo "#define HAVE_FREXPF 1" >>confdefs.h + + $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h + + $as_echo "#define HAVE_LOG10F 1" >>confdefs.h + + $as_echo "#define HAVE_LOGF 1" >>confdefs.h + + $as_echo "#define HAVE_MODFF 1" >>confdefs.h + + $as_echo "#define HAVE_POWF 1" >>confdefs.h + + $as_echo "#define HAVE_SINF 1" >>confdefs.h + + $as_echo "#define HAVE_SINHF 1" >>confdefs.h + + $as_echo "#define HAVE_SQRTF 1" >>confdefs.h + + $as_echo "#define HAVE_TANF 1" >>confdefs.h + + $as_echo "#define HAVE_TANHF 1" >>confdefs.h + + if test x"long_double_math_on_this_cpu" = x"yes"; then + $as_echo "#define HAVE_FINITEL 1" >>confdefs.h + + $as_echo "#define HAVE_ISINFL 1" >>confdefs.h + + $as_echo "#define HAVE_ISNANL 1" >>confdefs.h + + fi + for ac_func in __cxa_thread_atexit +do : + ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit" +if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE___CXA_THREAD_ATEXIT 1 +_ACEOF + +fi +done + + for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + for ac_func in timespec_get +do : + ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" +if test "x$ac_cv_func_timespec_get" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_TIMESPEC_GET 1 +_ACEOF + +fi +done + + for ac_func in sockatmark +do : + ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" +if test "x$ac_cv_func_sockatmark" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SOCKATMARK 1 +_ACEOF + +fi +done + + for ac_func in uselocale +do : + ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" +if test "x$ac_cv_func_uselocale" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_USELOCALE 1 +_ACEOF + +fi +done + + ;; + + *-fuchsia*) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + ;; + + *-hpux*) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + + + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + + + + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi + fi + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + glibcxx_ld_is_mold=no + if test x"$with_gnu_ld" = x"yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 +$as_echo_n "checking for ld version... " >&6; } -fi + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then + glibcxx_ld_is_mold=yes + fi + ldver=`$LD --version 2>/dev/null | + sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 +$as_echo "$glibcxx_gnu_ld_version" >&6; } fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 -$as_echo "$glibcxx_cv_func_expf_use" >&6; } - - if test x$glibcxx_cv_func_expf_use = x"yes"; then - for ac_func in expf -do : - ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" -if test "x$ac_cv_func_expf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_EXPF 1 -_ACEOF - -fi -done + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5 -$as_echo_n "checking for _expf declaration... " >&6; } - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if ${glibcxx_cv_func__expf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + # Check for -Wl,--gc-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif + int one(void) { return 1; } + int two(void) { return 2; } int main () { - _expf(0); + two(); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expf_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_gcsections=yes else - glibcxx_cv_func__expf_use=no + ac_gcsections=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 +$as_echo "$ac_gcsections" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi -fi + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + # cygwin and mingw uses PE, which has no ELF relro support, + # multi target ld may confuse configure machinery + case "$host" in + *-*-cygwin*) + ;; + *-*-mingw*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 +$as_echo "$ac_ld_relro" >&6; } + esac + fi + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5 -$as_echo "$glibcxx_cv_func__expf_use" >&6; } - if test x$glibcxx_cv_func__expf_use = x"yes"; then - for ac_func in _expf -do : - ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf" -if test "x$ac_cv_func__expf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__EXPF 1 -_ACEOF -fi -done - fi - fi + # GLIBCXX_CHECK_MATH_SUPPORT + $as_echo "#define HAVE_ISNAN 1" >>confdefs.h + $as_echo "#define HAVE_HYPOT 1" >>confdefs.h + $as_echo "#define HAVE_ACOSF 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 -$as_echo_n "checking for isnanf declaration... " >&6; } - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if ${glibcxx_cv_func_isnanf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + $as_echo "#define HAVE_ASINF 1" >>confdefs.h + $as_echo "#define HAVE_ATANF 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_COSF 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif + $as_echo "#define HAVE_COSHF 1" >>confdefs.h -int -main () -{ - isnanf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanf_use=yes -else - glibcxx_cv_func_isnanf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + $as_echo "#define HAVE_SINF 1" >>confdefs.h + $as_echo "#define HAVE_SINHF 1" >>confdefs.h -fi + $as_echo "#define HAVE_TANF 1" >>confdefs.h - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 -$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } + $as_echo "#define HAVE_TANHF 1" >>confdefs.h - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then - for ac_func in isnanf -do : - ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" -if test "x$ac_cv_func_isnanf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANF 1 -_ACEOF + $as_echo "#define HAVE_EXPF 1" >>confdefs.h -fi -done + $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h - else + $as_echo "#define HAVE_FABSF 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5 -$as_echo_n "checking for _isnanf declaration... " >&6; } - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if ${glibcxx_cv_func__isnanf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + $as_echo "#define HAVE_FMODF 1" >>confdefs.h + $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_LOGF 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif + $as_echo "#define HAVE_LOG10F 1" >>confdefs.h -int -main () -{ - _isnanf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanf_use=yes -else - glibcxx_cv_func__isnanf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + $as_echo "#define HAVE_MODF 1" >>confdefs.h + $as_echo "#define HAVE_POWF 1" >>confdefs.h -fi + $as_echo "#define HAVE_SQRTF 1" >>confdefs.h - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5 -$as_echo "$glibcxx_cv_func__isnanf_use" >&6; } - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then - for ac_func in _isnanf -do : - ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf" -if test "x$ac_cv_func__isnanf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANF 1 -_ACEOF + # GLIBCXX_CHECK_STDLIB_SUPPORT + $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h -fi -done - fi - fi + # Check whether --enable-tls was given. +if test "${enable_tls+set}" = set; then : + enableval=$enable_tls; + case "$enableval" in + yes|no) ;; + *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; + esac +else + enable_tls=yes +fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 -$as_echo_n "checking for isinff declaration... " >&6; } - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if ${glibcxx_cv_func_isinff_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 +$as_echo_n "checking whether the target supports thread-local storage... " >&6; } +if ${gcc_cv_have_tls+:} false; then : $as_echo_n "(cached) " >&6 else + if test "$cross_compiling" = yes; then : + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + case $host in + *-*-linux* | -*-uclinuxfdpic*) + LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" + ;; + esac + chktls_save_CFLAGS="$CFLAGS" + CFLAGS="-fPIC $CFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int f() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int f() { return a = b; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gcc_cv_have_tls=yes +else + gcc_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +else + gcc_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$chktls_save_CFLAGS" + LDFLAGS="$chktls_save_LDFLAGS" +else + gcc_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + LDFLAGS="-static $LDFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int main() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gcc_cv_have_tls=yes +else + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +else + gcc_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$chktls_save_LDFLAGS" + if test $gcc_cv_have_tls = yes; then + chktls_save_CFLAGS="$CFLAGS" + thread_CFLAGS=failed + for flag in '' '-pthread' '-lpthread'; do + CFLAGS="$flag $chktls_save_CFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + void *g(void *d) { return NULL; } int main () { - isinff(0); +pthread_t t; pthread_create(&t,NULL,g,NULL); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinff_use=yes -else - glibcxx_cv_func_isinff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 -$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - - if test x$glibcxx_cv_func_isinff_use = x"yes"; then - for ac_func in isinff -do : - ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" -if test "x$ac_cv_func_isinff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFF 1 -_ACEOF - +if ac_fn_c_try_link "$LINENO"; then : + thread_CFLAGS="$flag" fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5 -$as_echo_n "checking for _isinff declaration... " >&6; } - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if ${glibcxx_cv_func__isinff_use+:} false; then : - $as_echo_n "(cached) " >&6 +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "X$thread_CFLAGS" != Xfailed; then + break + fi + done + CFLAGS="$chktls_save_CFLAGS" + if test "X$thread_CFLAGS" != Xfailed; then + CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include + __thread int a; + static int *volatile a_in_other_thread; + static void * + thread_func (void *arg) + { + a_in_other_thread = &a; + return (void *)0; + } int main () { - _isinff(0); +pthread_t thread; + void *thread_retval; + int *volatile a_in_main_thread; + a_in_main_thread = &a; + if (pthread_create (&thread, (pthread_attr_t *)0, + thread_func, (void *)0)) + return 0; + if (pthread_join (thread, &thread_retval)) + return 0; + return (a_in_other_thread == a_in_main_thread); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinff_use=yes +if ac_fn_c_try_run "$LINENO"; then : + gcc_cv_have_tls=yes else - glibcxx_cv_func__isinff_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + gcc_cv_have_tls=no fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5 -$as_echo "$glibcxx_cv_func__isinff_use" >&6; } - - if test x$glibcxx_cv_func__isinff_use = x"yes"; then - for ac_func in _isinff -do : - ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff" -if test "x$ac_cv_func__isinff" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFF 1 -_ACEOF - +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi -done - - fi - fi - + CFLAGS="$chktls_save_CFLAGS" + fi + fi +else + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5 +$as_echo "$gcc_cv_have_tls" >&6; } + if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then +$as_echo "#define HAVE_TLS 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 -$as_echo_n "checking for atan2f declaration... " >&6; } - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if ${glibcxx_cv_func_atan2f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + fi + ;; + *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*) + # All these tests are for C++; save the language and the compiler flags. + # The CXXFLAGS thing is suspicious, but based on similar bits previously + # found in GLIBCXX_CONFIGURE. - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + + # Check for -ffunction-sections -fdata-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5 +$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; } + CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections' + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +int foo; void bar() { }; int main () { - atan2f(0, 0); + ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2f_use=yes + ac_fdsections=yes else - glibcxx_cv_func_atan2f_use=no + ac_fdsections=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS="$ac_save_CXXFLAGS" + else + # this is the suspicious part + CXXFLAGS='' + fi + if test x"$ac_fdsections" = x"yes"; then + SECTION_FLAGS='-ffunction-sections -fdata-sections' + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5 +$as_echo "$ac_fdsections" >&6; } + + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu -fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 -$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then - for ac_func in atan2f -do : - ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" -if test "x$ac_cv_func_atan2f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2F 1 -_ACEOF + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5 -$as_echo_n "checking for _atan2f declaration... " >&6; } - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if ${glibcxx_cv_func__atan2f_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi + fi + + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + glibcxx_ld_is_mold=no + if test x"$with_gnu_ld" = x"yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 +$as_echo_n "checking for ld version... " >&6; } + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then + glibcxx_ld_is_mold=yes + fi + ldver=`$LD --version 2>/dev/null | + sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 +$as_echo "$glibcxx_gnu_ld_version" >&6; } + fi - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + int one(void) { return 1; } + int two(void) { return 2; } + int main () { - _atan2f(0, 0); + two(); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2f_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_gcsections=yes else - glibcxx_cv_func__atan2f_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - + ac_gcsections=no fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 +$as_echo "$ac_gcsections" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5 -$as_echo "$glibcxx_cv_func__atan2f_use" >&6; } - - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then - for ac_func in _atan2f -do : - ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f" -if test "x$ac_cv_func__atan2f" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2F 1 -_ACEOF -fi -done + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + # cygwin and mingw uses PE, which has no ELF relro support, + # multi target ld may confuse configure machinery + case "$host" in + *-*-cygwin*) + ;; + *-*-mingw*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 +$as_echo "$ac_ld_relro" >&6; } + esac + fi - fi + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 -$as_echo_n "checking for fabsf declaration... " >&6; } - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if ${glibcxx_cv_func_fabsf_use+:} false; then : + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 +$as_echo_n "checking for sin in -lm... " >&6; } +if ${ac_cv_lib_m_sin+:} false; then : $as_echo_n "(cached) " >&6 else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sin (); int main () { - fabsf(0); +return sin (); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsf_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_sin=yes else - glibcxx_cv_func_fabsf_use=no + ac_cv_lib_m_sin=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 +$as_echo "$ac_cv_lib_m_sin" >&6; } +if test "x$ac_cv_lib_m_sin" = xyes; then : + libm="-lm" fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 -$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then - for ac_func in fabsf -do : - ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" -if test "x$ac_cv_func_fabsf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_FABSF 1 -_ACEOF + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5 -$as_echo_n "checking for _fabsf declaration... " >&6; } - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if ${glibcxx_cv_func__fabsf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 +$as_echo_n "checking for isinf declaration... " >&6; } + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if ${glibcxx_cv_func_isinf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58270,15 +39158,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _fabsf(0); + isinf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsf_use=yes + glibcxx_cv_func_isinf_use=yes else - glibcxx_cv_func__fabsf_use=no + glibcxx_cv_func_isinf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58291,32 +39179,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5 -$as_echo "$glibcxx_cv_func__fabsf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; } - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then - for ac_func in _fabsf + if test x$glibcxx_cv_func_isinf_use = x"yes"; then + for ac_func in isinf do : - ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf" -if test "x$ac_cv_func__fabsf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" +if test "x$ac_cv_func_isinf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FABSF 1 +#define HAVE_ISINF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 -$as_echo_n "checking for fmodf declaration... " >&6; } - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if ${glibcxx_cv_func_fmodf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 +$as_echo_n "checking for isnan declaration... " >&6; } + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if ${glibcxx_cv_func_isnan_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58330,18 +39215,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - fmodf(0, 0); + isnan(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodf_use=yes + glibcxx_cv_func_isnan_use=yes else - glibcxx_cv_func_fmodf_use=no + glibcxx_cv_func_isnan_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58354,27 +39243,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 -$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then - for ac_func in fmodf + if test x$glibcxx_cv_func_isnan_use = x"yes"; then + for ac_func in isnan do : - ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" -if test "x$ac_cv_func_fmodf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +if test "x$ac_cv_func_isnan" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FMODF 1 +#define HAVE_ISNAN 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5 -$as_echo_n "checking for _fmodf declaration... " >&6; } - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if ${glibcxx_cv_func__fmodf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 +$as_echo_n "checking for finite declaration... " >&6; } + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if ${glibcxx_cv_func_finite_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58388,18 +39279,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _fmodf(0, 0); + finite(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodf_use=yes + glibcxx_cv_func_finite_use=yes else - glibcxx_cv_func__fmodf_use=no + glibcxx_cv_func_finite_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58412,32 +39307,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5 -$as_echo "$glibcxx_cv_func__fmodf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 +$as_echo "$glibcxx_cv_func_finite_use" >&6; } - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then - for ac_func in _fmodf + if test x$glibcxx_cv_func_finite_use = x"yes"; then + for ac_func in finite do : - ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf" -if test "x$ac_cv_func__fmodf" = xyes; then : + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" +if test "x$ac_cv_func_finite" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FMODF 1 +#define HAVE_FINITE 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 -$as_echo_n "checking for frexpf declaration... " >&6; } - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if ${glibcxx_cv_func_frexpf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 +$as_echo_n "checking for sincos declaration... " >&6; } + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if ${glibcxx_cv_func_sincos_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58454,15 +39346,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - frexpf(0, 0); + sincos(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpf_use=yes + glibcxx_cv_func_sincos_use=yes else - glibcxx_cv_func_frexpf_use=no + glibcxx_cv_func_sincos_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58475,27 +39367,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 -$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then - for ac_func in frexpf + if test x$glibcxx_cv_func_sincos_use = x"yes"; then + for ac_func in sincos do : - ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" -if test "x$ac_cv_func_frexpf" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" +if test "x$ac_cv_func_sincos" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPF 1 +#define HAVE_SINCOS 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5 -$as_echo_n "checking for _frexpf declaration... " >&6; } - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if ${glibcxx_cv_func__frexpf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 +$as_echo_n "checking for fpclass declaration... " >&6; } + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if ${glibcxx_cv_func_fpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58509,18 +39403,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _frexpf(0, 0); + fpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpf_use=yes + glibcxx_cv_func_fpclass_use=yes else - glibcxx_cv_func__frexpf_use=no + glibcxx_cv_func_fpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58533,32 +39431,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5 -$as_echo "$glibcxx_cv_func__frexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then - for ac_func in _frexpf + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then + for ac_func in fpclass do : - ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf" -if test "x$ac_cv_func__frexpf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" +if test "x$ac_cv_func_fpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPF 1 +#define HAVE_FPCLASS 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 -$as_echo_n "checking for hypotf declaration... " >&6; } - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if ${glibcxx_cv_func_hypotf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 +$as_echo_n "checking for qfpclass declaration... " >&6; } + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if ${glibcxx_cv_func_qfpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58572,18 +39467,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypotf(0, 0); + qfpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotf_use=yes + glibcxx_cv_func_qfpclass_use=yes else - glibcxx_cv_func_hypotf_use=no + glibcxx_cv_func_qfpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58596,27 +39495,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 -$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then - for ac_func in hypotf + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then + for ac_func in qfpclass do : - ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" -if test "x$ac_cv_func_hypotf" = xyes; then : + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" +if test "x$ac_cv_func_qfpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTF 1 +#define HAVE_QFPCLASS 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5 -$as_echo_n "checking for _hypotf declaration... " >&6; } - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if ${glibcxx_cv_func__hypotf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 +$as_echo_n "checking for hypot declaration... " >&6; } + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if ${glibcxx_cv_func_hypot_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58633,15 +39534,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _hypotf(0, 0); + hypot(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotf_use=yes + glibcxx_cv_func_hypot_use=yes else - glibcxx_cv_func__hypotf_use=no + glibcxx_cv_func_hypot_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58654,153 +39555,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5 -$as_echo "$glibcxx_cv_func__hypotf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then - for ac_func in _hypotf + if test x$glibcxx_cv_func_hypot_use = x"yes"; then + for ac_func in hypot do : - ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf" -if test "x$ac_cv_func__hypotf" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" +if test "x$ac_cv_func_hypot" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTF 1 +#define HAVE_HYPOT 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 -$as_echo_n "checking for ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if ${glibcxx_cv_func_ldexpf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 +$as_echo_n "checking for float trig functions... " >&6; } + if ${glibcxx_cv_func_float_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - ldexpf(0, 0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpf_use=yes + glibcxx_cv_func_float_trig_use=yes else - glibcxx_cv_func_ldexpf_use=no + glibcxx_cv_func_float_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } - - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then - for ac_func in ldexpf -do : - ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" -if test "x$ac_cv_func_ldexpf" = xyes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5 -$as_echo_n "checking for _ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if ${glibcxx_cv_func__ldexpf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 +$as_echo_n "checking for float round functions... " >&6; } + if ${glibcxx_cv_func_float_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - _ldexpf(0, 0); +ceilf (0); floorf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpf_use=yes + glibcxx_cv_func_float_round_use=yes else - glibcxx_cv_func__ldexpf_use=no + glibcxx_cv_func_float_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; } - - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then - for ac_func in _ldexpf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; } + if test x$glibcxx_cv_func_float_round_use = x"yes"; then + for ac_func in ceilf floorf do : - ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf" -if test "x$ac_cv_func__ldexpf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 -$as_echo_n "checking for logf declaration... " >&6; } - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if ${glibcxx_cv_func_logf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 +$as_echo_n "checking for expf declaration... " >&6; } + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if ${glibcxx_cv_func_expf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58821,15 +39713,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - logf(0); + expf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logf_use=yes + glibcxx_cv_func_expf_use=yes else - glibcxx_cv_func_logf_use=no + glibcxx_cv_func_expf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58842,27 +39734,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 -$as_echo "$glibcxx_cv_func_logf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 +$as_echo "$glibcxx_cv_func_expf_use" >&6; } - if test x$glibcxx_cv_func_logf_use = x"yes"; then - for ac_func in logf + if test x$glibcxx_cv_func_expf_use = x"yes"; then + for ac_func in expf do : - ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" -if test "x$ac_cv_func_logf" = xyes; then : + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" +if test "x$ac_cv_func_expf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOGF 1 +#define HAVE_EXPF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5 -$as_echo_n "checking for _logf declaration... " >&6; } - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if ${glibcxx_cv_func__logf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 +$as_echo_n "checking for isnanf declaration... " >&6; } + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if ${glibcxx_cv_func_isnanf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58883,15 +39777,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _logf(0); + isnanf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logf_use=yes + glibcxx_cv_func_isnanf_use=yes else - glibcxx_cv_func__logf_use=no + glibcxx_cv_func_isnanf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58904,32 +39798,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5 -$as_echo "$glibcxx_cv_func__logf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - if test x$glibcxx_cv_func__logf_use = x"yes"; then - for ac_func in _logf + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + for ac_func in isnanf do : - ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf" -if test "x$ac_cv_func__logf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" +if test "x$ac_cv_func_isnanf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOGF 1 +#define HAVE_ISNANF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 -$as_echo_n "checking for log10f declaration... " >&6; } - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if ${glibcxx_cv_func_log10f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 +$as_echo_n "checking for isinff declaration... " >&6; } + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if ${glibcxx_cv_func_isinff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -58950,15 +39841,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - log10f(0); + isinff(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10f_use=yes + glibcxx_cv_func_isinff_use=yes else - glibcxx_cv_func_log10f_use=no + glibcxx_cv_func_isinff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -58971,27 +39862,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 -$as_echo "$glibcxx_cv_func_log10f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - if test x$glibcxx_cv_func_log10f_use = x"yes"; then - for ac_func in log10f + if test x$glibcxx_cv_func_isinff_use = x"yes"; then + for ac_func in isinff do : - ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" -if test "x$ac_cv_func_log10f" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" +if test "x$ac_cv_func_isinff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10F 1 +#define HAVE_ISINFF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5 -$as_echo_n "checking for _log10f declaration... " >&6; } - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if ${glibcxx_cv_func__log10f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 +$as_echo_n "checking for atan2f declaration... " >&6; } + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if ${glibcxx_cv_func_atan2f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59005,22 +39898,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _log10f(0); + atan2f(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10f_use=yes + glibcxx_cv_func_atan2f_use=yes else - glibcxx_cv_func__log10f_use=no + glibcxx_cv_func_atan2f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59033,32 +39922,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5 -$as_echo "$glibcxx_cv_func__log10f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - if test x$glibcxx_cv_func__log10f_use = x"yes"; then - for ac_func in _log10f + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + for ac_func in atan2f do : - ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f" -if test "x$ac_cv_func__log10f" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" +if test "x$ac_cv_func_atan2f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10F 1 +#define HAVE_ATAN2F 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 -$as_echo_n "checking for modff declaration... " >&6; } - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if ${glibcxx_cv_func_modff_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 +$as_echo_n "checking for fabsf declaration... " >&6; } + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if ${glibcxx_cv_func_fabsf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59072,18 +39958,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - modff(0, 0); + fabsf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modff_use=yes + glibcxx_cv_func_fabsf_use=yes else - glibcxx_cv_func_modff_use=no + glibcxx_cv_func_fabsf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59096,27 +39986,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 -$as_echo "$glibcxx_cv_func_modff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - if test x$glibcxx_cv_func_modff_use = x"yes"; then - for ac_func in modff + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + for ac_func in fabsf do : - ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" -if test "x$ac_cv_func_modff" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" +if test "x$ac_cv_func_fabsf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODFF 1 +#define HAVE_FABSF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5 -$as_echo_n "checking for _modff declaration... " >&6; } - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if ${glibcxx_cv_func__modff_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 +$as_echo_n "checking for fmodf declaration... " >&6; } + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if ${glibcxx_cv_func_fmodf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59133,15 +40025,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _modff(0, 0); + fmodf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modff_use=yes + glibcxx_cv_func_fmodf_use=yes else - glibcxx_cv_func__modff_use=no + glibcxx_cv_func_fmodf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59154,32 +40046,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5 -$as_echo "$glibcxx_cv_func__modff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - if test x$glibcxx_cv_func__modff_use = x"yes"; then - for ac_func in _modff + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then + for ac_func in fmodf do : - ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff" -if test "x$ac_cv_func__modff" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" +if test "x$ac_cv_func_fmodf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODFF 1 +#define HAVE_FMODF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 -$as_echo_n "checking for modf declaration... " >&6; } - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if ${glibcxx_cv_func_modf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 +$as_echo_n "checking for frexpf declaration... " >&6; } + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if ${glibcxx_cv_func_frexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59196,15 +40085,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - modf(0, 0); + frexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modf_use=yes + glibcxx_cv_func_frexpf_use=yes else - glibcxx_cv_func_modf_use=no + glibcxx_cv_func_frexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59217,27 +40106,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 -$as_echo "$glibcxx_cv_func_modf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } - if test x$glibcxx_cv_func_modf_use = x"yes"; then - for ac_func in modf + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then + for ac_func in frexpf do : - ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" -if test "x$ac_cv_func_modf" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" +if test "x$ac_cv_func_frexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODF 1 +#define HAVE_FREXPF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5 -$as_echo_n "checking for _modf declaration... " >&6; } - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if ${glibcxx_cv_func__modf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 +$as_echo_n "checking for hypotf declaration... " >&6; } + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if ${glibcxx_cv_func_hypotf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59254,15 +40145,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _modf(0, 0); + hypotf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modf_use=yes + glibcxx_cv_func_hypotf_use=yes else - glibcxx_cv_func__modf_use=no + glibcxx_cv_func_hypotf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59275,32 +40166,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5 -$as_echo "$glibcxx_cv_func__modf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } - if test x$glibcxx_cv_func__modf_use = x"yes"; then - for ac_func in _modf + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + for ac_func in hypotf do : - ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf" -if test "x$ac_cv_func__modf" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" +if test "x$ac_cv_func_hypotf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODF 1 +#define HAVE_HYPOTF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 -$as_echo_n "checking for powf declaration... " >&6; } - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if ${glibcxx_cv_func_powf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 +$as_echo_n "checking for ldexpf declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if ${glibcxx_cv_func_ldexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59317,15 +40205,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - powf(0, 0); + ldexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powf_use=yes + glibcxx_cv_func_ldexpf_use=yes else - glibcxx_cv_func_powf_use=no + glibcxx_cv_func_ldexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59338,27 +40226,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 -$as_echo "$glibcxx_cv_func_powf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } - if test x$glibcxx_cv_func_powf_use = x"yes"; then - for ac_func in powf + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + for ac_func in ldexpf do : - ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" -if test "x$ac_cv_func_powf" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" +if test "x$ac_cv_func_ldexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_POWF 1 +#define HAVE_LDEXPF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5 -$as_echo_n "checking for _powf declaration... " >&6; } - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if ${glibcxx_cv_func__powf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 +$as_echo_n "checking for logf declaration... " >&6; } + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if ${glibcxx_cv_func_logf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59372,18 +40262,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _powf(0, 0); + logf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powf_use=yes + glibcxx_cv_func_logf_use=yes else - glibcxx_cv_func__powf_use=no + glibcxx_cv_func_logf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59396,32 +40290,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5 -$as_echo "$glibcxx_cv_func__powf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 +$as_echo "$glibcxx_cv_func_logf_use" >&6; } - if test x$glibcxx_cv_func__powf_use = x"yes"; then - for ac_func in _powf + if test x$glibcxx_cv_func_logf_use = x"yes"; then + for ac_func in logf do : - ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf" -if test "x$ac_cv_func__powf" = xyes; then : + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" +if test "x$ac_cv_func_logf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__POWF 1 +#define HAVE_LOGF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 -$as_echo_n "checking for sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if ${glibcxx_cv_func_sqrtf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 +$as_echo_n "checking for log10f declaration... " >&6; } + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if ${glibcxx_cv_func_log10f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59442,15 +40333,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sqrtf(0); + log10f(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtf_use=yes + glibcxx_cv_func_log10f_use=yes else - glibcxx_cv_func_sqrtf_use=no + glibcxx_cv_func_log10f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59463,27 +40354,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; } - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then - for ac_func in sqrtf + if test x$glibcxx_cv_func_log10f_use = x"yes"; then + for ac_func in log10f do : - ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" -if test "x$ac_cv_func_sqrtf" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" +if test "x$ac_cv_func_log10f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTF 1 +#define HAVE_LOG10F 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5 -$as_echo_n "checking for _sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if ${glibcxx_cv_func__sqrtf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 +$as_echo_n "checking for modff declaration... " >&6; } + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if ${glibcxx_cv_func_modff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59497,22 +40390,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _sqrtf(0); + modff(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtf_use=yes + glibcxx_cv_func_modff_use=yes else - glibcxx_cv_func__sqrtf_use=no + glibcxx_cv_func_modff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59525,32 +40414,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 +$as_echo "$glibcxx_cv_func_modff_use" >&6; } - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then - for ac_func in _sqrtf + if test x$glibcxx_cv_func_modff_use = x"yes"; then + for ac_func in modff do : - ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf" -if test "x$ac_cv_func__sqrtf" = xyes; then : + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" +if test "x$ac_cv_func_modff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTF 1 +#define HAVE_MODFF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 -$as_echo_n "checking for sincosf declaration... " >&6; } - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if ${glibcxx_cv_func_sincosf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 +$as_echo_n "checking for modf declaration... " >&6; } + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if ${glibcxx_cv_func_modf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59567,15 +40453,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - sincosf(0, 0, 0); + modf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosf_use=yes + glibcxx_cv_func_modf_use=yes else - glibcxx_cv_func_sincosf_use=no + glibcxx_cv_func_modf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59588,27 +40474,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 -$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 +$as_echo "$glibcxx_cv_func_modf_use" >&6; } - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then - for ac_func in sincosf + if test x$glibcxx_cv_func_modf_use = x"yes"; then + for ac_func in modf do : - ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" -if test "x$ac_cv_func_sincosf" = xyes; then : + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" +if test "x$ac_cv_func_modf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSF 1 +#define HAVE_MODF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5 -$as_echo_n "checking for _sincosf declaration... " >&6; } - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if ${glibcxx_cv_func__sincosf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 +$as_echo_n "checking for powf declaration... " >&6; } + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if ${glibcxx_cv_func_powf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59625,15 +40513,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _sincosf(0, 0, 0); + powf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosf_use=yes + glibcxx_cv_func_powf_use=yes else - glibcxx_cv_func__sincosf_use=no + glibcxx_cv_func_powf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59646,32 +40534,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5 -$as_echo "$glibcxx_cv_func__sincosf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 +$as_echo "$glibcxx_cv_func_powf_use" >&6; } - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then - for ac_func in _sincosf + if test x$glibcxx_cv_func_powf_use = x"yes"; then + for ac_func in powf do : - ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf" -if test "x$ac_cv_func__sincosf" = xyes; then : + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" +if test "x$ac_cv_func_powf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSF 1 +#define HAVE_POWF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 -$as_echo_n "checking for finitef declaration... " >&6; } - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if ${glibcxx_cv_func_finitef_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 +$as_echo_n "checking for sqrtf declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if ${glibcxx_cv_func_sqrtf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59692,15 +40577,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - finitef(0); + sqrtf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitef_use=yes + glibcxx_cv_func_sqrtf_use=yes else - glibcxx_cv_func_finitef_use=no + glibcxx_cv_func_sqrtf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59713,27 +40598,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 -$as_echo "$glibcxx_cv_func_finitef_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - if test x$glibcxx_cv_func_finitef_use = x"yes"; then - for ac_func in finitef + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + for ac_func in sqrtf do : - ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" -if test "x$ac_cv_func_finitef" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" +if test "x$ac_cv_func_sqrtf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEF 1 +#define HAVE_SQRTF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5 -$as_echo_n "checking for _finitef declaration... " >&6; } - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if ${glibcxx_cv_func__finitef_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 +$as_echo_n "checking for sincosf declaration... " >&6; } + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if ${glibcxx_cv_func_sincosf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -59747,22 +40634,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finitef(0); + sincosf(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitef_use=yes + glibcxx_cv_func_sincosf_use=yes else - glibcxx_cv_func__finitef_use=no + glibcxx_cv_func_sincosf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -59775,113 +40658,120 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5 -$as_echo "$glibcxx_cv_func__finitef_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - if test x$glibcxx_cv_func__finitef_use = x"yes"; then - for ac_func in _finitef + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + for ac_func in sincosf do : - ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef" -if test "x$ac_cv_func__finitef" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" +if test "x$ac_cv_func_sincosf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEF 1 +#define HAVE_SINCOSF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 -$as_echo_n "checking for long double trig functions... " >&6; } - if ${glibcxx_cv_func_long_double_trig_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 +$as_echo_n "checking for finitef declaration... " >&6; } + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if ${glibcxx_cv_func_finitef_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); + finitef(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_trig_use=yes + glibcxx_cv_func_finitef_use=yes else - glibcxx_cv_func_long_double_trig_use=no + glibcxx_cv_func_finitef_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; } + + if test x$glibcxx_cv_func_finitef_use = x"yes"; then + for ac_func in finitef do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" +if test "x$ac_cv_func_finitef" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FINITEF 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5 -$as_echo_n "checking for _long double trig functions... " >&6; } - if ${glibcxx_cv_func__long_double_trig_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 +$as_echo_n "checking for long double trig functions... " >&6; } + if ${glibcxx_cv_func_long_double_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_trig_use=yes + glibcxx_cv_func_long_double_trig_use=yes else - glibcxx_cv_func__long_double_trig_use=no + glibcxx_cv_func_long_double_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' @@ -59889,10 +40779,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; } - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -59904,13 +40794,10 @@ _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 $as_echo_n "checking for long double round functions... " >&6; } if ${glibcxx_cv_func_long_double_round_use+:} false; then : @@ -59964,68 +40851,11 @@ _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5 -$as_echo_n "checking for _long double round functions... " >&6; } - if ${glibcxx_cv_func__long_double_round_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ -_ceill (0); _floorl (0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_round_use=yes -else - glibcxx_cv_func__long_double_round_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; } - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - for ac_func in _ceill _floorl -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 $as_echo_n "checking for isnanl declaration... " >&6; } if test x${glibcxx_cv_func_isnanl_use+set} != xset; then @@ -60086,12 +40916,14 @@ _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5 -$as_echo_n "checking for _isnanl declaration... " >&6; } - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if ${glibcxx_cv_func__isnanl_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 +$as_echo_n "checking for isinfl declaration... " >&6; } + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if ${glibcxx_cv_func_isinfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60112,15 +40944,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isnanl(0); + isinfl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanl_use=yes + glibcxx_cv_func_isinfl_use=yes else - glibcxx_cv_func__isnanl_use=no + glibcxx_cv_func_isinfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60133,32 +40965,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5 -$as_echo "$glibcxx_cv_func__isnanl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then - for ac_func in _isnanl + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + for ac_func in isinfl do : - ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl" -if test "x$ac_cv_func__isnanl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" +if test "x$ac_cv_func_isinfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANL 1 +#define HAVE_ISINFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 -$as_echo_n "checking for isinfl declaration... " >&6; } - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if ${glibcxx_cv_func_isinfl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 +$as_echo_n "checking for atan2l declaration... " >&6; } + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if ${glibcxx_cv_func_atan2l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60172,22 +41001,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinfl(0); + atan2l(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinfl_use=yes + glibcxx_cv_func_atan2l_use=yes else - glibcxx_cv_func_isinfl_use=no + glibcxx_cv_func_atan2l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60200,27 +41025,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 -$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then - for ac_func in isinfl + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + for ac_func in atan2l do : - ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" -if test "x$ac_cv_func_isinfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" +if test "x$ac_cv_func_atan2l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFL 1 +#define HAVE_ATAN2L 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5 -$as_echo_n "checking for _isinfl declaration... " >&6; } - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if ${glibcxx_cv_func__isinfl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 +$as_echo_n "checking for expl declaration... " >&6; } + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60241,15 +41068,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isinfl(0); + expl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinfl_use=yes + glibcxx_cv_func_expl_use=yes else - glibcxx_cv_func__isinfl_use=no + glibcxx_cv_func_expl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60262,32 +41089,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5 -$as_echo "$glibcxx_cv_func__isinfl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 +$as_echo "$glibcxx_cv_func_expl_use" >&6; } - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then - for ac_func in _isinfl + if test x$glibcxx_cv_func_expl_use = x"yes"; then + for ac_func in expl do : - ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl" -if test "x$ac_cv_func__isinfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" +if test "x$ac_cv_func_expl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFL 1 +#define HAVE_EXPL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 -$as_echo_n "checking for atan2l declaration... " >&6; } - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if ${glibcxx_cv_func_atan2l_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 +$as_echo_n "checking for fabsl declaration... " >&6; } + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60301,18 +41125,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - atan2l(0, 0); + fabsl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2l_use=yes + glibcxx_cv_func_fabsl_use=yes else - glibcxx_cv_func_atan2l_use=no + glibcxx_cv_func_fabsl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60325,27 +41153,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 -$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then - for ac_func in atan2l + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + for ac_func in fabsl do : - ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" -if test "x$ac_cv_func_atan2l" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" +if test "x$ac_cv_func_fabsl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2L 1 +#define HAVE_FABSL 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5 -$as_echo_n "checking for _atan2l declaration... " >&6; } - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if ${glibcxx_cv_func__atan2l_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 +$as_echo_n "checking for fmodl declaration... " >&6; } + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60362,15 +41192,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _atan2l(0, 0); + fmodl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2l_use=yes + glibcxx_cv_func_fmodl_use=yes else - glibcxx_cv_func__atan2l_use=no + glibcxx_cv_func_fmodl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60383,32 +41213,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5 -$as_echo "$glibcxx_cv_func__atan2l_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then - for ac_func in _atan2l + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + for ac_func in fmodl do : - ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l" -if test "x$ac_cv_func__atan2l" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" +if test "x$ac_cv_func_fmodl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2L 1 +#define HAVE_FMODL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 -$as_echo_n "checking for expl declaration... " >&6; } - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if ${glibcxx_cv_func_expl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 +$as_echo_n "checking for frexpl declaration... " >&6; } + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60422,22 +41249,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - expl(0); + frexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expl_use=yes + glibcxx_cv_func_frexpl_use=yes else - glibcxx_cv_func_expl_use=no + glibcxx_cv_func_frexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60450,27 +41273,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 -$as_echo "$glibcxx_cv_func_expl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - if test x$glibcxx_cv_func_expl_use = x"yes"; then - for ac_func in expl + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + for ac_func in frexpl do : - ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" -if test "x$ac_cv_func_expl" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" +if test "x$ac_cv_func_frexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_EXPL 1 +#define HAVE_FREXPL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5 -$as_echo_n "checking for _expl declaration... " >&6; } - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if ${glibcxx_cv_func__expl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 +$as_echo_n "checking for hypotl declaration... " >&6; } + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60484,22 +41309,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _expl(0); + hypotl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expl_use=yes + glibcxx_cv_func_hypotl_use=yes else - glibcxx_cv_func__expl_use=no + glibcxx_cv_func_hypotl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60512,32 +41333,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5 -$as_echo "$glibcxx_cv_func__expl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - if test x$glibcxx_cv_func__expl_use = x"yes"; then - for ac_func in _expl + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + for ac_func in hypotl do : - ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl" -if test "x$ac_cv_func__expl" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" +if test "x$ac_cv_func_hypotl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__EXPL 1 +#define HAVE_HYPOTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 -$as_echo_n "checking for fabsl declaration... " >&6; } - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if ${glibcxx_cv_func_fabsl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 +$as_echo_n "checking for ldexpl declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60551,22 +41369,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fabsl(0); + ldexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsl_use=yes + glibcxx_cv_func_ldexpl_use=yes else - glibcxx_cv_func_fabsl_use=no + glibcxx_cv_func_ldexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60579,27 +41393,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 -$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then - for ac_func in fabsl + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + for ac_func in ldexpl do : - ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" -if test "x$ac_cv_func_fabsl" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" +if test "x$ac_cv_func_ldexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FABSL 1 +#define HAVE_LDEXPL 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5 -$as_echo_n "checking for _fabsl declaration... " >&6; } - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if ${glibcxx_cv_func__fabsl_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 +$as_echo_n "checking for logl declaration... " >&6; } + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60620,15 +41436,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _fabsl(0); + logl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsl_use=yes + glibcxx_cv_func_logl_use=yes else - glibcxx_cv_func__fabsl_use=no + glibcxx_cv_func_logl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60641,32 +41457,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5 -$as_echo "$glibcxx_cv_func__fabsl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 +$as_echo "$glibcxx_cv_func_logl_use" >&6; } - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then - for ac_func in _fabsl + if test x$glibcxx_cv_func_logl_use = x"yes"; then + for ac_func in logl do : - ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl" -if test "x$ac_cv_func__fabsl" = xyes; then : + ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" +if test "x$ac_cv_func_logl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FABSL 1 +#define HAVE_LOGL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 -$as_echo_n "checking for fmodl declaration... " >&6; } - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if ${glibcxx_cv_func_fmodl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 +$as_echo_n "checking for log10l declaration... " >&6; } + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if ${glibcxx_cv_func_log10l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60680,18 +41493,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - fmodl(0, 0); + log10l(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodl_use=yes + glibcxx_cv_func_log10l_use=yes else - glibcxx_cv_func_fmodl_use=no + glibcxx_cv_func_log10l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60704,27 +41521,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 -$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then - for ac_func in fmodl + if test x$glibcxx_cv_func_log10l_use = x"yes"; then + for ac_func in log10l do : - ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" -if test "x$ac_cv_func_fmodl" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" +if test "x$ac_cv_func_log10l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FMODL 1 +#define HAVE_LOG10L 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5 -$as_echo_n "checking for _fmodl declaration... " >&6; } - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if ${glibcxx_cv_func__fmodl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 +$as_echo_n "checking for modfl declaration... " >&6; } + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if ${glibcxx_cv_func_modfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60741,15 +41560,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _fmodl(0, 0); + modfl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodl_use=yes + glibcxx_cv_func_modfl_use=yes else - glibcxx_cv_func__fmodl_use=no + glibcxx_cv_func_modfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60762,32 +41581,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5 -$as_echo "$glibcxx_cv_func__fmodl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then - for ac_func in _fmodl + if test x$glibcxx_cv_func_modfl_use = x"yes"; then + for ac_func in modfl do : - ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl" -if test "x$ac_cv_func__fmodl" = xyes; then : + ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" +if test "x$ac_cv_func_modfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FMODL 1 +#define HAVE_MODFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 -$as_echo_n "checking for frexpl declaration... " >&6; } - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if ${glibcxx_cv_func_frexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 +$as_echo_n "checking for powl declaration... " >&6; } + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if ${glibcxx_cv_func_powl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60804,15 +41620,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - frexpl(0, 0); + powl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpl_use=yes + glibcxx_cv_func_powl_use=yes else - glibcxx_cv_func_frexpl_use=no + glibcxx_cv_func_powl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60825,27 +41641,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 -$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 +$as_echo "$glibcxx_cv_func_powl_use" >&6; } - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then - for ac_func in frexpl + if test x$glibcxx_cv_func_powl_use = x"yes"; then + for ac_func in powl do : - ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" -if test "x$ac_cv_func_frexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" +if test "x$ac_cv_func_powl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPL 1 +#define HAVE_POWL 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5 -$as_echo_n "checking for _frexpl declaration... " >&6; } - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if ${glibcxx_cv_func__frexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 +$as_echo_n "checking for sqrtl declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if ${glibcxx_cv_func_sqrtl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60859,18 +41677,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _frexpl(0, 0); + sqrtl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpl_use=yes + glibcxx_cv_func_sqrtl_use=yes else - glibcxx_cv_func__frexpl_use=no + glibcxx_cv_func_sqrtl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60883,32 +41705,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5 -$as_echo "$glibcxx_cv_func__frexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then - for ac_func in _frexpl + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + for ac_func in sqrtl do : - ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl" -if test "x$ac_cv_func__frexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" +if test "x$ac_cv_func_sqrtl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPL 1 +#define HAVE_SQRTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 -$as_echo_n "checking for hypotl declaration... " >&6; } - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if ${glibcxx_cv_func_hypotl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 +$as_echo_n "checking for sincosl declaration... " >&6; } + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if ${glibcxx_cv_func_sincosl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60925,15 +41744,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - hypotl(0, 0); + sincosl(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotl_use=yes + glibcxx_cv_func_sincosl_use=yes else - glibcxx_cv_func_hypotl_use=no + glibcxx_cv_func_sincosl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -60946,27 +41765,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 -$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 +$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then - for ac_func in hypotl + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + for ac_func in sincosl do : - ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" -if test "x$ac_cv_func_hypotl" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" +if test "x$ac_cv_func_sincosl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTL 1 +#define HAVE_SINCOSL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5 -$as_echo_n "checking for _hypotl declaration... " >&6; } - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if ${glibcxx_cv_func__hypotl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 +$as_echo_n "checking for finitel declaration... " >&6; } + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if ${glibcxx_cv_func_finitel_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -60980,18 +41801,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _hypotl(0, 0); + finitel(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotl_use=yes + glibcxx_cv_func_finitel_use=yes else - glibcxx_cv_func__hypotl_use=no + glibcxx_cv_func_finitel_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61004,32 +41829,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5 -$as_echo "$glibcxx_cv_func__hypotl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 +$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then - for ac_func in _hypotl + if test x$glibcxx_cv_func_finitel_use = x"yes"; then + for ac_func in finitel do : - ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl" -if test "x$ac_cv_func__hypotl" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" +if test "x$ac_cv_func_finitel" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTL 1 +#define HAVE_FINITEL 1 _ACEOF fi done - fi fi + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 -$as_echo_n "checking for ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if ${glibcxx_cv_func_ldexpl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 +$as_echo_n "checking for at_quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61042,19 +41872,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - ldexpl(0, 0); + at_quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpl_use=yes + glibcxx_cv_func_at_quick_exit_use=yes else - glibcxx_cv_func_ldexpl_use=no + glibcxx_cv_func_at_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61067,27 +41897,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then - for ac_func in ldexpl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then + for ac_func in at_quick_exit do : - ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" -if test "x$ac_cv_func_ldexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" +if test "x$ac_cv_func_at_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPL 1 +#define HAVE_AT_QUICK_EXIT 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5 -$as_echo_n "checking for _ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if ${glibcxx_cv_func__ldexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 +$as_echo_n "checking for quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61100,19 +41930,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - _ldexpl(0, 0); + quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpl_use=yes + glibcxx_cv_func_quick_exit_use=yes else - glibcxx_cv_func__ldexpl_use=no + glibcxx_cv_func_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61125,32 +41955,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; } - - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then - for ac_func in _ldexpl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then + for ac_func in quick_exit do : - ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl" -if test "x$ac_cv_func__ldexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" +if test "x$ac_cv_func_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPL 1 +#define HAVE_QUICK_EXIT 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 -$as_echo_n "checking for logl declaration... " >&6; } - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if ${glibcxx_cv_func_logl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 +$as_echo_n "checking for strtold declaration... " >&6; } + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if ${glibcxx_cv_func_strtold_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61163,23 +41988,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - logl(0); + strtold(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logl_use=yes + glibcxx_cv_func_strtold_use=yes else - glibcxx_cv_func_logl_use=no + glibcxx_cv_func_strtold_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61192,27 +42013,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 -$as_echo "$glibcxx_cv_func_logl_use" >&6; } - - if test x$glibcxx_cv_func_logl_use = x"yes"; then - for ac_func in logl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 +$as_echo "$glibcxx_cv_func_strtold_use" >&6; } + if test x$glibcxx_cv_func_strtold_use = x"yes"; then + for ac_func in strtold do : - ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" -if test "x$ac_cv_func_logl" = xyes; then : + ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" +if test "x$ac_cv_func_strtold" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOGL 1 +#define HAVE_STRTOLD 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5 -$as_echo_n "checking for _logl declaration... " >&6; } - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if ${glibcxx_cv_func__logl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 +$as_echo_n "checking for strtof declaration... " >&6; } + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if ${glibcxx_cv_func_strtof_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61225,23 +42046,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - _logl(0); + strtof(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logl_use=yes + glibcxx_cv_func_strtof_use=yes else - glibcxx_cv_func__logl_use=no + glibcxx_cv_func_strtof_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61254,465 +42071,719 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5 -$as_echo "$glibcxx_cv_func__logl_use" >&6; } - - if test x$glibcxx_cv_func__logl_use = x"yes"; then - for ac_func in _logl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 +$as_echo "$glibcxx_cv_func_strtof_use" >&6; } + if test x$glibcxx_cv_func_strtof_use = x"yes"; then + for ac_func in strtof do : - ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl" -if test "x$ac_cv_func__logl" = xyes; then : + ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" +if test "x$ac_cv_func_strtof" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOGL 1 +#define HAVE_STRTOF 1 _ACEOF fi done - fi fi + CXXFLAGS="$ac_save_CXXFLAGS" + $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h + $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 -$as_echo_n "checking for log10l declaration... " >&6; } - if test x${glibcxx_cv_func_log10l_use+set} != xset; then - if ${glibcxx_cv_func_log10l_use+:} false; then : + + + # Check whether --enable-tls was given. +if test "${enable_tls+set}" = set; then : + enableval=$enable_tls; + case "$enableval" in + yes|no) ;; + *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; + esac + +else + enable_tls=yes +fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 +$as_echo_n "checking whether the target supports thread-local storage... " >&6; } +if ${gcc_cv_have_tls+:} false; then : $as_echo_n "(cached) " >&6 else + if test "$cross_compiling" = yes; then : + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + case $host in + *-*-linux* | -*-uclinuxfdpic*) + LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" + ;; + esac + chktls_save_CFLAGS="$CFLAGS" + CFLAGS="-fPIC $CFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int f() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int f() { return a = b; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gcc_cv_have_tls=yes +else + gcc_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +else + gcc_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$chktls_save_CFLAGS" + LDFLAGS="$chktls_save_LDFLAGS" +else + gcc_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + LDFLAGS="-static $LDFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int main() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gcc_cv_have_tls=yes +else + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi +else + gcc_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$chktls_save_LDFLAGS" + if test $gcc_cv_have_tls = yes; then + chktls_save_CFLAGS="$CFLAGS" + thread_CFLAGS=failed + for flag in '' '-pthread' '-lpthread'; do + CFLAGS="$flag $chktls_save_CFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + void *g(void *d) { return NULL; } int main () { - log10l(0); +pthread_t t; pthread_create(&t,NULL,g,NULL); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10l_use=yes +if ac_fn_c_try_link "$LINENO"; then : + thread_CFLAGS="$flag" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "X$thread_CFLAGS" != Xfailed; then + break + fi + done + CFLAGS="$chktls_save_CFLAGS" + if test "X$thread_CFLAGS" != Xfailed; then + CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } else - glibcxx_cv_func_log10l_use=no + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + __thread int a; + static int *volatile a_in_other_thread; + static void * + thread_func (void *arg) + { + a_in_other_thread = &a; + return (void *)0; + } +int +main () +{ +pthread_t thread; + void *thread_retval; + int *volatile a_in_main_thread; + a_in_main_thread = &a; + if (pthread_create (&thread, (pthread_attr_t *)0, + thread_func, (void *)0)) + return 0; + if (pthread_join (thread, &thread_retval)) + return 0; + return (a_in_other_thread == a_in_main_thread); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gcc_cv_have_tls=yes +else + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + CFLAGS="$chktls_save_CFLAGS" + fi + fi +else + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5 +$as_echo "$gcc_cv_have_tls" >&6; } + if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 -$as_echo "$glibcxx_cv_func_log10l_use" >&6; } +$as_echo "#define HAVE_TLS 1" >>confdefs.h - if test x$glibcxx_cv_func_log10l_use = x"yes"; then - for ac_func in log10l + fi + for ac_func in __cxa_thread_atexit_impl do : - ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" -if test "x$ac_cv_func_log10l" = xyes; then : + ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl" +if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10L 1 +#define HAVE___CXA_THREAD_ATEXIT_IMPL 1 _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5 -$as_echo_n "checking for _log10l declaration... " >&6; } - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if ${glibcxx_cv_func__log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF +fi +done - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + for ac_func in timespec_get +do : + ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" +if test "x$ac_cv_func_timespec_get" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_TIMESPEC_GET 1 +_ACEOF - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif +fi +done -int -main () -{ - _log10l(0); - ; - return 0; -} + for ac_func in sockatmark +do : + ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" +if test "x$ac_cv_func_sockatmark" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_SOCKATMARK 1 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10l_use=yes -else - glibcxx_cv_func__log10l_use=no + fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +done + for ac_func in uselocale +do : + ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale" +if test "x$ac_cv_func_uselocale" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_USELOCALE 1 +_ACEOF fi +done - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5 -$as_echo "$glibcxx_cv_func__log10l_use" >&6; } - - if test x$glibcxx_cv_func__log10l_use = x"yes"; then - for ac_func in _log10l + for ac_func in secure_getenv do : - ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l" -if test "x$ac_cv_func__log10l" = xyes; then : + ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv" +if test "x$ac_cv_func_secure_getenv" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10L 1 +#define HAVE_SECURE_GETENV 1 _ACEOF fi done - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 -$as_echo_n "checking for modfl declaration... " >&6; } - if test x${glibcxx_cv_func_modfl_use+set} != xset; then - if ${glibcxx_cv_func_modfl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : $as_echo_n "(cached) " >&6 else - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no + am_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCICONV" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include +#include int main () { - modfl(0, 0); +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modfl_use=yes -else - glibcxx_cv_func_modfl_use=no +if ac_fn_c_try_link "$LINENO"; then : + am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" + if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then + for _libs in .libs _libs; do + am_save_CPPFLAGS="$CPPFLAGS" + am_save_LIBS="$LIBS" + CPPFLAGS="$CPPFLAGS -I../libiconv/include" + LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 -$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - - if test x$glibcxx_cv_func_modfl_use = x"yes"; then - for ac_func in modfl -do : - ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" -if test "x$ac_cv_func_modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_MODFL 1 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +int +main () +{ +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); + ; + return 0; +} _ACEOF - +if ac_fn_c_try_link "$LINENO"; then : + INCICONV="-I../libiconv/include" + LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a + LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la + am_cv_lib_iconv=yes + am_cv_func_iconv=yes fi -done - - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5 -$as_echo_n "checking for _modfl declaration... " >&6; } - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if ${glibcxx_cv_func__modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" + LIBS="$am_save_LIBS" + if test "$am_cv_func_iconv" = "yes"; then + break + fi + done + fi - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_CPPFLAGS="$CPPFLAGS" + am_save_LIBS="$LIBS" + CPPFLAGS="$CPPFLAGS $INCICONV" + LIBS="$LIBS $LIBICONV" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include +#include int main () { - _modfl(0, 0); +iconv_t cd = iconv_open("",""); + iconv(cd,NULL,NULL,NULL,NULL); + iconv_close(cd); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modfl_use=yes -else - glibcxx_cv_func__modfl_use=no +if ac_fn_c_try_link "$LINENO"; then : + am_cv_lib_iconv=yes + am_cv_func_iconv=yes fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CPPFLAGS="$am_save_CPPFLAGS" + LIBS="$am_save_LIBS" + fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then + +$as_echo "#define HAVE_ICONV 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5 -$as_echo "$glibcxx_cv_func__modfl_use" >&6; } + if test "$am_cv_lib_iconv" = yes; then - if test x$glibcxx_cv_func__modfl_use = x"yes"; then - for ac_func in _modfl -do : - ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl" -if test "x$ac_cv_func__modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODFL 1 -_ACEOF + for element in $INCICONV; do + haveit= + for x in $CPPFLAGS; do -fi -done + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" fi - fi - + done + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } + else + LIBICONV= + LTLIBICONV= + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 -$as_echo_n "checking for powl declaration... " >&6; } - if test x${glibcxx_cv_func_powl_use+set} != xset; then - if ${glibcxx_cv_func_powl_use+:} false; then : + if test "$am_cv_func_iconv" = yes; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 +$as_echo_n "checking for iconv declaration... " >&6; } + if ${am_cv_proto_iconv+:} false; then : $as_echo_n "(cached) " >&6 else - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + +#include +#include +extern +#ifdef __cplusplus +"C" +#endif +#if defined(__STDC__) || defined(__cplusplus) +size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); +#else +size_t iconv(); +#endif + int main () { - powl(0, 0); + ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powl_use=yes +if ac_fn_c_try_compile "$LINENO"; then : + am_cv_proto_iconv_arg1="" else - glibcxx_cv_func_powl_use=no + am_cv_proto_iconv_arg1="const" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" +fi + am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- + }$am_cv_proto_iconv" >&5 +$as_echo "${ac_t:- + }$am_cv_proto_iconv" >&6; } -fi +cat >>confdefs.h <<_ACEOF +#define ICONV_CONST $am_cv_proto_iconv_arg1 +_ACEOF fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 -$as_echo "$glibcxx_cv_func_powl_use" >&6; } - if test x$glibcxx_cv_func_powl_use = x"yes"; then - for ac_func in powl -do : - ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" -if test "x$ac_cv_func_powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_POWL 1 -_ACEOF + ;; + *-mingw32*) -fi -done + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5 -$as_echo_n "checking for _powl declaration... " >&6; } - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if ${glibcxx_cv_func__powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi + fi + + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + glibcxx_ld_is_mold=no + if test x"$with_gnu_ld" = x"yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 +$as_echo_n "checking for ld version... " >&6; } - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then + glibcxx_ld_is_mold=yes + fi + ldver=`$LD --version 2>/dev/null | + sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 +$as_echo "$glibcxx_gnu_ld_version" >&6; } + fi + + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + int one(void) { return 1; } + int two(void) { return 2; } + int main () { - _powl(0, 0); + two(); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powl_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_gcsections=yes else - glibcxx_cv_func__powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5 -$as_echo "$glibcxx_cv_func__powl_use" >&6; } - - if test x$glibcxx_cv_func__powl_use = x"yes"; then - for ac_func in _powl -do : - ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl" -if test "x$ac_cv_func__powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__POWL 1 -_ACEOF - + ac_gcsections=no fi -done +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 +$as_echo "$ac_gcsections" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' fi fi + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + # cygwin and mingw uses PE, which has no ELF relro support, + # multi target ld may confuse configure machinery + case "$host" in + *-*-cygwin*) + ;; + *-*-mingw*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 +$as_echo "$ac_ld_relro" >&6; } + esac + fi + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 -$as_echo_n "checking for sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then - if ${glibcxx_cv_func_sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 +$as_echo_n "checking for sin in -lm... " >&6; } +if ${ac_cv_lib_m_sin+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sin (); int main () { - sqrtl(0); +return sin (); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtl_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_sin=yes else - glibcxx_cv_func_sqrtl_use=no + ac_cv_lib_m_sin=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 +$as_echo "$ac_cv_lib_m_sin" >&6; } +if test "x$ac_cv_lib_m_sin" = xyes; then : + libm="-lm" fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - - if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then - for ac_func in sqrtl -do : - ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" -if test "x$ac_cv_func_sqrtl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTL 1 -_ACEOF + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5 -$as_echo_n "checking for _sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if ${glibcxx_cv_func__sqrtl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 +$as_echo_n "checking for isinf declaration... " >&6; } + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if ${glibcxx_cv_func_isinf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61733,15 +42804,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _sqrtl(0); + isinf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtl_use=yes + glibcxx_cv_func_isinf_use=yes else - glibcxx_cv_func__sqrtl_use=no + glibcxx_cv_func_isinf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61754,32 +42825,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; } - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then - for ac_func in _sqrtl + if test x$glibcxx_cv_func_isinf_use = x"yes"; then + for ac_func in isinf do : - ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl" -if test "x$ac_cv_func__sqrtl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" +if test "x$ac_cv_func_isinf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTL 1 +#define HAVE_ISINF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 -$as_echo_n "checking for sincosl declaration... " >&6; } - if test x${glibcxx_cv_func_sincosl_use+set} != xset; then - if ${glibcxx_cv_func_sincosl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 +$as_echo_n "checking for isnan declaration... " >&6; } + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if ${glibcxx_cv_func_isnan_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61793,18 +42861,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - sincosl(0, 0, 0); + isnan(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosl_use=yes + glibcxx_cv_func_isnan_use=yes else - glibcxx_cv_func_sincosl_use=no + glibcxx_cv_func_isnan_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61817,27 +42889,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 -$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - if test x$glibcxx_cv_func_sincosl_use = x"yes"; then - for ac_func in sincosl + if test x$glibcxx_cv_func_isnan_use = x"yes"; then + for ac_func in isnan do : - ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" -if test "x$ac_cv_func_sincosl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +if test "x$ac_cv_func_isnan" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSL 1 +#define HAVE_ISNAN 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5 -$as_echo_n "checking for _sincosl declaration... " >&6; } - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if ${glibcxx_cv_func__sincosl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 +$as_echo_n "checking for finite declaration... " >&6; } + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if ${glibcxx_cv_func_finite_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61851,18 +42925,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _sincosl(0, 0, 0); + finite(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosl_use=yes + glibcxx_cv_func_finite_use=yes else - glibcxx_cv_func__sincosl_use=no + glibcxx_cv_func_finite_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61875,32 +42953,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5 -$as_echo "$glibcxx_cv_func__sincosl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 +$as_echo "$glibcxx_cv_func_finite_use" >&6; } - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then - for ac_func in _sincosl + if test x$glibcxx_cv_func_finite_use = x"yes"; then + for ac_func in finite do : - ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl" -if test "x$ac_cv_func__sincosl" = xyes; then : + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" +if test "x$ac_cv_func_finite" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSL 1 +#define HAVE_FINITE 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 -$as_echo_n "checking for finitel declaration... " >&6; } - if test x${glibcxx_cv_func_finitel_use+set} != xset; then - if ${glibcxx_cv_func_finitel_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 +$as_echo_n "checking for sincos declaration... " >&6; } + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if ${glibcxx_cv_func_sincos_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61914,22 +42989,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finitel(0); + sincos(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitel_use=yes + glibcxx_cv_func_sincos_use=yes else - glibcxx_cv_func_finitel_use=no + glibcxx_cv_func_sincos_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -61942,27 +43013,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 -$as_echo "$glibcxx_cv_func_finitel_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - if test x$glibcxx_cv_func_finitel_use = x"yes"; then - for ac_func in finitel + if test x$glibcxx_cv_func_sincos_use = x"yes"; then + for ac_func in sincos do : - ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" -if test "x$ac_cv_func_finitel" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" +if test "x$ac_cv_func_sincos" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEL 1 +#define HAVE_SINCOS 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5 -$as_echo_n "checking for _finitel declaration... " >&6; } - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if ${glibcxx_cv_func__finitel_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 +$as_echo_n "checking for fpclass declaration... " >&6; } + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if ${glibcxx_cv_func_fpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -61983,15 +43056,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _finitel(0); + fpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitel_use=yes + glibcxx_cv_func_fpclass_use=yes else - glibcxx_cv_func__finitel_use=no + glibcxx_cv_func_fpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62004,40 +43077,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5 -$as_echo "$glibcxx_cv_func__finitel_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - if test x$glibcxx_cv_func__finitel_use = x"yes"; then - for ac_func in _finitel + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then + for ac_func in fpclass do : - ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel" -if test "x$ac_cv_func__finitel" = xyes; then : + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" +if test "x$ac_cv_func_fpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEL 1 +#define HAVE_FPCLASS 1 _ACEOF fi done - fi fi - - LIBS="$ac_save_LIBS" - CXXFLAGS="$ac_save_CXXFLAGS" - - - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 -$as_echo_n "checking for at_quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 +$as_echo_n "checking for qfpclass declaration... " >&6; } + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if ${glibcxx_cv_func_qfpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -62050,19 +43112,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - at_quick_exit(0); + qfpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_at_quick_exit_use=yes + glibcxx_cv_func_qfpclass_use=yes else - glibcxx_cv_func_at_quick_exit_use=no + glibcxx_cv_func_qfpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62075,15 +43141,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then - for ac_func in at_quick_exit + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } + + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then + for ac_func in qfpclass do : - ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" -if test "x$ac_cv_func_at_quick_exit" = xyes; then : + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" +if test "x$ac_cv_func_qfpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_AT_QUICK_EXIT 1 +#define HAVE_QFPCLASS 1 _ACEOF fi @@ -62092,10 +43159,11 @@ done fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 -$as_echo_n "checking for quick_exit declaration... " >&6; } - if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then - if ${glibcxx_cv_func_quick_exit_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 +$as_echo_n "checking for hypot declaration... " >&6; } + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if ${glibcxx_cv_func_hypot_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -62108,19 +43176,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - quick_exit(0); + hypot(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_quick_exit_use=yes + glibcxx_cv_func_hypot_use=yes else - glibcxx_cv_func_quick_exit_use=no + glibcxx_cv_func_hypot_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -62133,15 +43201,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 -$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } - if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then - for ac_func in quick_exit + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; } + + if test x$glibcxx_cv_func_hypot_use = x"yes"; then + for ac_func in hypot do : - ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" -if test "x$ac_cv_func_quick_exit" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" +if test "x$ac_cv_func_hypot" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_QUICK_EXIT 1 +#define HAVE_HYPOT 1 _ACEOF fi @@ -62150,56 +43219,55 @@ done fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 -$as_echo_n "checking for strtold declaration... " >&6; } - if test x${glibcxx_cv_func_strtold_use+set} != xset; then - if ${glibcxx_cv_func_strtold_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 +$as_echo_n "checking for float trig functions... " >&6; } + if ${glibcxx_cv_func_float_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - strtold(0, 0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtold_use=yes + glibcxx_cv_func_float_trig_use=yes else - glibcxx_cv_func_strtold_use=no + glibcxx_cv_func_float_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 -$as_echo "$glibcxx_cv_func_strtold_use" >&6; } - if test x$glibcxx_cv_func_strtold_use = x"yes"; then - for ac_func in strtold + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do : - ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" -if test "x$ac_cv_func_strtold" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOLD 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi @@ -62209,70 +43277,48 @@ done - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 -$as_echo_n "checking for strtof declaration... " >&6; } - if test x${glibcxx_cv_func_strtof_use+set} != xset; then - if ${glibcxx_cv_func_strtof_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 +$as_echo_n "checking for float round functions... " >&6; } + if ${glibcxx_cv_func_float_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - strtof(0, 0); +ceilf (0); floorf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_strtof_use=yes + glibcxx_cv_func_float_round_use=yes else - glibcxx_cv_func_strtof_use=no + glibcxx_cv_func_float_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 -$as_echo "$glibcxx_cv_func_strtof_use" >&6; } - if test x$glibcxx_cv_func_strtof_use = x"yes"; then - for ac_func in strtof -do : - ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" -if test "x$ac_cv_func_strtof" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_STRTOF 1 -_ACEOF - fi -done - - fi - - - - - CXXFLAGS="$ac_save_CXXFLAGS" - for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; } + if test x$glibcxx_cv_func_float_round_use = x"yes"; then + for ac_func in ceilf floorf do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -62284,713 +43330,511 @@ _ACEOF fi done - for ac_func in _wfopen -do : - ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen" -if test "x$ac_cv_func__wfopen" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__WFOPEN 1 -_ACEOF - -fi -done - - - - # Check whether --enable-tls was given. -if test "${enable_tls+set}" = set; then : - enableval=$enable_tls; - case "$enableval" in - yes|no) ;; - *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; - esac - -else - enable_tls=yes -fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 -$as_echo_n "checking whether the target supports thread-local storage... " >&6; } -if ${gcc_cv_have_tls+:} false; then : - $as_echo_n "(cached) " >&6 -else + fi - if test "$cross_compiling" = yes; then : - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - chktls_save_LDFLAGS="$LDFLAGS" - case $host in - *-*-linux* | -*-uclinuxfdpic*) - LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" - ;; - esac - chktls_save_CFLAGS="$CFLAGS" - CFLAGS="-fPIC $CFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int f() { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int f() { return a = b; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - gcc_cv_have_tls=yes -else - gcc_cv_have_tls=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -else - gcc_cv_have_tls=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - CFLAGS="$chktls_save_CFLAGS" - LDFLAGS="$chktls_save_LDFLAGS" -else - gcc_cv_have_tls=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - chktls_save_LDFLAGS="$LDFLAGS" - LDFLAGS="-static $LDFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -int main() { return 0; } -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -__thread int a; int b; int main() { return a = b; } -_ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_have_tls=yes -else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 +$as_echo_n "checking for expf declaration... " >&6; } + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if ${glibcxx_cv_func_expf_use+:} false; then : + $as_echo_n "(cached) " >&6 else - gcc_cv_have_tls=yes -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - LDFLAGS="$chktls_save_LDFLAGS" - if test $gcc_cv_have_tls = yes; then - chktls_save_CFLAGS="$CFLAGS" - thread_CFLAGS=failed - for flag in '' '-pthread' '-lpthread'; do - CFLAGS="$flag $chktls_save_CFLAGS" - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - void *g(void *d) { return NULL; } -int -main () -{ -pthread_t t; pthread_create(&t,NULL,g,NULL); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - thread_CFLAGS="$flag" -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "X$thread_CFLAGS" != Xfailed; then - break - fi - done - CFLAGS="$chktls_save_CFLAGS" - if test "X$thread_CFLAGS" != Xfailed; then - CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - __thread int a; - static int *volatile a_in_other_thread; - static void * - thread_func (void *arg) - { - a_in_other_thread = &a; - return (void *)0; - } +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -pthread_t thread; - void *thread_retval; - int *volatile a_in_main_thread; - a_in_main_thread = &a; - if (pthread_create (&thread, (pthread_attr_t *)0, - thread_func, (void *)0)) - return 0; - if (pthread_join (thread, &thread_retval)) - return 0; - return (a_in_other_thread == a_in_main_thread); + expf(0); ; return 0; } _ACEOF -if ac_fn_c_try_run "$LINENO"; then : - gcc_cv_have_tls=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_expf_use=yes else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext + glibcxx_cv_func_expf_use=no fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - CFLAGS="$chktls_save_CFLAGS" - fi - fi -else - gcc_cv_have_tls=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5 -$as_echo "$gcc_cv_have_tls" >&6; } - if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then - -$as_echo "#define HAVE_TLS 1" >>confdefs.h fi - ;; - *-netbsd* | *-openbsd*) - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 +$as_echo "$glibcxx_cv_func_expf_use" >&6; } + if test x$glibcxx_cv_func_expf_use = x"yes"; then + for ac_func in expf +do : + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" +if test "x$ac_cv_func_expf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_EXPF 1 +_ACEOF +fi +done - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi fi - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - glibcxx_ld_is_mold=no - if test x"$with_gnu_ld" = x"yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 -$as_echo_n "checking for ld version... " >&6; } - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then - glibcxx_ld_is_mold=yes - fi - ldver=`$LD --version 2>/dev/null | - sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 -$as_echo "$glibcxx_gnu_ld_version" >&6; } - fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 +$as_echo_n "checking for isnanf declaration... " >&6; } + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if ${glibcxx_cv_func_isnanf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Check for -Wl,--gc-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 -$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } +#include + #ifdef HAVE_IEEEFP_H + #include + #endif int main () { - two(); + isnanf(0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_gcsections=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_isnanf_use=yes else - ac_gcsections=no + glibcxx_cv_func_isnanf_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 -$as_echo "$ac_gcsections" >&6; } +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi - fi - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - # cygwin and mingw uses PE, which has no ELF relro support, - # multi target ld may confuse configure machinery - case "$host" in - *-*-cygwin*) - ;; - *-*-mingw*) - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 -$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 -$as_echo "$ac_ld_relro" >&6; } - esac - fi +fi - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + for ac_func in isnanf +do : + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" +if test "x$ac_cv_func_isnanf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ISNANF 1 +_ACEOF +fi +done + fi - $as_echo "#define HAVE_FINITEF 1" >>confdefs.h - - $as_echo "#define HAVE_FINITE 1" >>confdefs.h - - $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - - $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h - - $as_echo "#define HAVE_ISINF 1" >>confdefs.h - - $as_echo "#define HAVE_ISINFF 1" >>confdefs.h - $as_echo "#define HAVE_ISNAN 1" >>confdefs.h - $as_echo "#define HAVE_ISNANF 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 +$as_echo_n "checking for isinff declaration... " >&6; } + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if ${glibcxx_cv_func_isinff_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - if test x"long_double_math_on_this_cpu" = x"yes"; then - $as_echo "#define HAVE_FINITEL 1" >>confdefs.h - $as_echo "#define HAVE_ISINFL 1" >>confdefs.h + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - $as_echo "#define HAVE_ISNANL 1" >>confdefs.h + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #ifdef HAVE_IEEEFP_H + #include + #endif - fi - for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +int +main () +{ + isinff(0); + ; + return 0; +} _ACEOF - +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_isinff_use=yes +else + glibcxx_cv_func_isinff_use=no fi -done +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - for ac_func in timespec_get -do : - ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" -if test "x$ac_cv_func_timespec_get" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_TIMESPEC_GET 1 -_ACEOF fi -done - for ac_func in sockatmark + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; } + + if test x$glibcxx_cv_func_isinff_use = x"yes"; then + for ac_func in isinff do : - ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" -if test "x$ac_cv_func_sockatmark" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" +if test "x$ac_cv_func_isinff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SOCKATMARK 1 +#define HAVE_ISINFF 1 _ACEOF fi done - ;; - *-qnx6.1* | *-qnx6.2*) - SECTION_FLAGS='-ffunction-sections -fdata-sections' - - - # If we're not using GNU ld, then there's no point in even trying these - # tests. Check for that first. We should have already tested for gld - # by now (in libtool), but require it now just to be safe... - test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' - test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - - - - # The name set by libtool depends on the version of libtool. Shame on us - # for depending on an impl detail, but c'est la vie. Older versions used - # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on - # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually - # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't - # set (hence we're using an older libtool), then set it. - if test x${with_gnu_ld+set} != xset; then - if test x${ac_cv_prog_gnu_ld+set} != xset; then - # We got through "ac_require(ac_prog_ld)" and still not set? Huh? - with_gnu_ld=no - else - with_gnu_ld=$ac_cv_prog_gnu_ld - fi fi - # Start by getting the version number. I think the libtool test already - # does some of this, but throws away the result. - glibcxx_ld_is_gold=no - glibcxx_ld_is_mold=no - if test x"$with_gnu_ld" = x"yes"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 -$as_echo_n "checking for ld version... " >&6; } - if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then - glibcxx_ld_is_gold=yes - elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then - glibcxx_ld_is_mold=yes - fi - ldver=`$LD --version 2>/dev/null | - sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - glibcxx_gnu_ld_version=`echo $ldver | \ - $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 -$as_echo "$glibcxx_gnu_ld_version" >&6; } - fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 +$as_echo_n "checking for atan2f declaration... " >&6; } + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if ${glibcxx_cv_func_atan2f_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - # Set --gc-sections. - glibcxx_have_gc_sections=no - if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then - if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then - glibcxx_have_gc_sections=yes - fi - else - glibcxx_gcsections_min_ld=21602 - if test x"$with_gnu_ld" = x"yes" && - test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then - glibcxx_have_gc_sections=yes - fi - fi - if test "$glibcxx_have_gc_sections" = "yes"; then - # Sufficiently young GNU ld it is! Joy and bunny rabbits! - # NB: This flag only works reliably after 2.16.1. Configure tests - # for this are difficult, so hard wire a value that should work. - ac_test_CFLAGS="${CFLAGS+set}" - ac_save_CFLAGS="$CFLAGS" - CFLAGS='-Wl,--gc-sections' + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - # Check for -Wl,--gc-sections - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 -$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } - if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - int one(void) { return 1; } - int two(void) { return 2; } - +#include int main () { - two(); + atan2f(0, 0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_gcsections=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_atan2f_use=yes else - ac_gcsections=no + glibcxx_cv_func_atan2f_use=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext - if test "$ac_gcsections" = "yes"; then - rm -f conftest.c - touch conftest.c - if $CC -c conftest.c; then - if $LD --gc-sections -o conftest conftest.o 2>&1 | \ - grep "Warning: gc-sections option ignored" > /dev/null; then - ac_gcsections=no - fi - fi - rm -f conftest.c conftest.o conftest - fi - if test "$ac_gcsections" = "yes"; then - SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 -$as_echo "$ac_gcsections" >&6; } - if test "$ac_test_CFLAGS" = set; then - CFLAGS="$ac_save_CFLAGS" - else - # this is the suspicious part - CFLAGS='' - fi fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } + + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + for ac_func in atan2f +do : + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" +if test "x$ac_cv_func_atan2f" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_ATAN2F 1 +_ACEOF + +fi +done - # Set -z,relro. - # Note this is only for shared objects. - ac_ld_relro=no - if test x"$with_gnu_ld" = x"yes"; then - # cygwin and mingw uses PE, which has no ELF relro support, - # multi target ld may confuse configure machinery - case "$host" in - *-*-cygwin*) - ;; - *-*-mingw*) - ;; - *) - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 -$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } - cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` - if test -n "$cxx_z_relo"; then - OPT_LDFLAGS="-Wl,-z,relro" - ac_ld_relro=yes - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 -$as_echo "$ac_ld_relro" >&6; } - esac fi - # Set linker optimization flags. - if test x"$with_gnu_ld" = x"yes"; then - OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" - fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 +$as_echo_n "checking for fabsf declaration... " >&6; } + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if ${glibcxx_cv_func_fabsf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else + + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + #ifdef HAVE_IEEEFP_H + #include + #endif + +int +main () +{ + fabsf(0); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_fabsf_use=yes +else + glibcxx_cv_func_fabsf_use=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +fi + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - $as_echo "#define HAVE_COSF 1" >>confdefs.h + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + for ac_func in fabsf +do : + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" +if test "x$ac_cv_func_fabsf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_FABSF 1 +_ACEOF - $as_echo "#define HAVE_COSL 1" >>confdefs.h +fi +done - $as_echo "#define HAVE_COSHF 1" >>confdefs.h + fi - $as_echo "#define HAVE_COSHL 1" >>confdefs.h - $as_echo "#define HAVE_LOGF 1" >>confdefs.h - $as_echo "#define HAVE_LOGL 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 +$as_echo_n "checking for fmodf declaration... " >&6; } + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if ${glibcxx_cv_func_fmodf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - $as_echo "#define HAVE_LOG10F 1" >>confdefs.h - $as_echo "#define HAVE_LOG10L 1" >>confdefs.h + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - $as_echo "#define HAVE_SINF 1" >>confdefs.h + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + fmodf(0, 0); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_fmodf_use=yes +else + glibcxx_cv_func_fmodf_use=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - $as_echo "#define HAVE_SINL 1" >>confdefs.h - $as_echo "#define HAVE_SINHF 1" >>confdefs.h +fi - $as_echo "#define HAVE_SINHL 1" >>confdefs.h + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - ;; - *-tpf) - SECTION_FLAGS='-ffunction-sections -fdata-sections' - SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS' + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then + for ac_func in fmodf +do : + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" +if test "x$ac_cv_func_fmodf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_FMODF 1 +_ACEOF - $as_echo "#define HAVE_FINITE 1" >>confdefs.h +fi +done - $as_echo "#define HAVE_FINITEF 1" >>confdefs.h + fi - $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h - $as_echo "#define HAVE_ISINF 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 +$as_echo_n "checking for frexpf declaration... " >&6; } + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if ${glibcxx_cv_func_frexpf_use+:} false; then : + $as_echo_n "(cached) " >&6 +else - $as_echo "#define HAVE_ISINFF 1" >>confdefs.h - $as_echo "#define HAVE_ISNAN 1" >>confdefs.h + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - $as_echo "#define HAVE_ISNANF 1" >>confdefs.h + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ + frexpf(0, 0); + ; + return 0; +} +_ACEOF +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_frexpf_use=yes +else + glibcxx_cv_func_frexpf_use=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu - $as_echo "#define HAVE_SINCOS 1" >>confdefs.h - $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h +fi - if test x"long_double_math_on_this_cpu" = x"yes"; then - $as_echo "#define HAVE_FINITEL 1" >>confdefs.h + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } - $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then + for ac_func in frexpf +do : + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" +if test "x$ac_cv_func_frexpf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_FREXPF 1 +_ACEOF - $as_echo "#define HAVE_ISINFL 1" >>confdefs.h +fi +done - $as_echo "#define HAVE_ISNANL 1" >>confdefs.h + fi - fi - ;; - *-*vms*) - # Check for available headers. - # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld - ac_test_CXXFLAGS="${CXXFLAGS+set}" - ac_save_CXXFLAGS="$CXXFLAGS" - CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 -$as_echo_n "checking for sin in -lm... " >&6; } -if ${ac_cv_lib_m_sin+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 +$as_echo_n "checking for hypotf declaration... " >&6; } + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if ${glibcxx_cv_func_hypotf_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lm $LIBS" -if test x$gcc_no_link = xyes; then - as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 -fi -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char sin (); + + ac_ext=cpp +ac_cpp='$CXXCPP $CPPFLAGS' +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include int main () { -return sin (); + hypotf(0, 0); ; return 0; } _ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_m_sin=yes +if ac_fn_cxx_try_compile "$LINENO"; then : + glibcxx_cv_func_hypotf_use=yes else - ac_cv_lib_m_sin=no + glibcxx_cv_func_hypotf_use=no fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 -$as_echo "$ac_cv_lib_m_sin" >&6; } -if test "x$ac_cv_lib_m_sin" = xyes; then : - libm="-lm" + + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } + + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + for ac_func in hypotf +do : + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" +if test "x$ac_cv_func_hypotf" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_HYPOTF 1 +_ACEOF + fi +done - ac_save_LIBS="$LIBS" - LIBS="$LIBS $libm" + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 -$as_echo_n "checking for isinf declaration... " >&6; } - if test x${glibcxx_cv_func_isinf_use+set} != xset; then - if ${glibcxx_cv_func_isinf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 +$as_echo_n "checking for ldexpf declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if ${glibcxx_cv_func_ldexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63004,22 +43848,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinf(0); + ldexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinf_use=yes + glibcxx_cv_func_ldexpf_use=yes else - glibcxx_cv_func_isinf_use=no + glibcxx_cv_func_ldexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63032,27 +43872,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 -$as_echo "$glibcxx_cv_func_isinf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } - if test x$glibcxx_cv_func_isinf_use = x"yes"; then - for ac_func in isinf + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + for ac_func in ldexpf do : - ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" -if test "x$ac_cv_func_isinf" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" +if test "x$ac_cv_func_ldexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINF 1 +#define HAVE_LDEXPF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5 -$as_echo_n "checking for _isinf declaration... " >&6; } - if test x${glibcxx_cv_func__isinf_use+set} != xset; then - if ${glibcxx_cv_func__isinf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 +$as_echo_n "checking for logf declaration... " >&6; } + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if ${glibcxx_cv_func_logf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63073,15 +43915,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isinf(0); + logf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinf_use=yes + glibcxx_cv_func_logf_use=yes else - glibcxx_cv_func__isinf_use=no + glibcxx_cv_func_logf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63094,32 +43936,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5 -$as_echo "$glibcxx_cv_func__isinf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 +$as_echo "$glibcxx_cv_func_logf_use" >&6; } - if test x$glibcxx_cv_func__isinf_use = x"yes"; then - for ac_func in _isinf + if test x$glibcxx_cv_func_logf_use = x"yes"; then + for ac_func in logf do : - ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf" -if test "x$ac_cv_func__isinf" = xyes; then : + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" +if test "x$ac_cv_func_logf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINF 1 +#define HAVE_LOGF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 -$as_echo_n "checking for isnan declaration... " >&6; } - if test x${glibcxx_cv_func_isnan_use+set} != xset; then - if ${glibcxx_cv_func_isnan_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 +$as_echo_n "checking for log10f declaration... " >&6; } + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if ${glibcxx_cv_func_log10f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63140,15 +43979,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - isnan(0); + log10f(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnan_use=yes + glibcxx_cv_func_log10f_use=yes else - glibcxx_cv_func_isnan_use=no + glibcxx_cv_func_log10f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63161,27 +44000,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 -$as_echo "$glibcxx_cv_func_isnan_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; } - if test x$glibcxx_cv_func_isnan_use = x"yes"; then - for ac_func in isnan + if test x$glibcxx_cv_func_log10f_use = x"yes"; then + for ac_func in log10f do : - ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" -if test "x$ac_cv_func_isnan" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" +if test "x$ac_cv_func_log10f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNAN 1 +#define HAVE_LOG10F 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5 -$as_echo_n "checking for _isnan declaration... " >&6; } - if test x${glibcxx_cv_func__isnan_use+set} != xset; then - if ${glibcxx_cv_func__isnan_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 +$as_echo_n "checking for modff declaration... " >&6; } + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if ${glibcxx_cv_func_modff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63195,22 +44036,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isnan(0); + modff(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnan_use=yes + glibcxx_cv_func_modff_use=yes else - glibcxx_cv_func__isnan_use=no + glibcxx_cv_func_modff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63223,32 +44060,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5 -$as_echo "$glibcxx_cv_func__isnan_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 +$as_echo "$glibcxx_cv_func_modff_use" >&6; } - if test x$glibcxx_cv_func__isnan_use = x"yes"; then - for ac_func in _isnan + if test x$glibcxx_cv_func_modff_use = x"yes"; then + for ac_func in modff do : - ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan" -if test "x$ac_cv_func__isnan" = xyes; then : + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" +if test "x$ac_cv_func_modff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNAN 1 +#define HAVE_MODFF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 -$as_echo_n "checking for finite declaration... " >&6; } - if test x${glibcxx_cv_func_finite_use+set} != xset; then - if ${glibcxx_cv_func_finite_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 +$as_echo_n "checking for modf declaration... " >&6; } + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if ${glibcxx_cv_func_modf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63262,22 +44096,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finite(0); + modf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finite_use=yes + glibcxx_cv_func_modf_use=yes else - glibcxx_cv_func_finite_use=no + glibcxx_cv_func_modf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63290,27 +44120,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 -$as_echo "$glibcxx_cv_func_finite_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 +$as_echo "$glibcxx_cv_func_modf_use" >&6; } - if test x$glibcxx_cv_func_finite_use = x"yes"; then - for ac_func in finite + if test x$glibcxx_cv_func_modf_use = x"yes"; then + for ac_func in modf do : - ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" -if test "x$ac_cv_func_finite" = xyes; then : + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" +if test "x$ac_cv_func_modf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITE 1 +#define HAVE_MODF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5 -$as_echo_n "checking for _finite declaration... " >&6; } - if test x${glibcxx_cv_func__finite_use+set} != xset; then - if ${glibcxx_cv_func__finite_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 +$as_echo_n "checking for powf declaration... " >&6; } + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if ${glibcxx_cv_func_powf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63324,22 +44156,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _finite(0); + powf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finite_use=yes + glibcxx_cv_func_powf_use=yes else - glibcxx_cv_func__finite_use=no + glibcxx_cv_func_powf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63352,32 +44180,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5 -$as_echo "$glibcxx_cv_func__finite_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 +$as_echo "$glibcxx_cv_func_powf_use" >&6; } - if test x$glibcxx_cv_func__finite_use = x"yes"; then - for ac_func in _finite + if test x$glibcxx_cv_func_powf_use = x"yes"; then + for ac_func in powf do : - ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite" -if test "x$ac_cv_func__finite" = xyes; then : + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" +if test "x$ac_cv_func_powf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITE 1 +#define HAVE_POWF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 -$as_echo_n "checking for sincos declaration... " >&6; } - if test x${glibcxx_cv_func_sincos_use+set} != xset; then - if ${glibcxx_cv_func_sincos_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 +$as_echo_n "checking for sqrtf declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if ${glibcxx_cv_func_sqrtf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63391,18 +44216,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - sincos(0, 0, 0); + sqrtf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincos_use=yes + glibcxx_cv_func_sqrtf_use=yes else - glibcxx_cv_func_sincos_use=no + glibcxx_cv_func_sqrtf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63415,27 +44244,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 -$as_echo "$glibcxx_cv_func_sincos_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - if test x$glibcxx_cv_func_sincos_use = x"yes"; then - for ac_func in sincos + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + for ac_func in sqrtf do : - ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" -if test "x$ac_cv_func_sincos" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" +if test "x$ac_cv_func_sqrtf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOS 1 +#define HAVE_SQRTF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5 -$as_echo_n "checking for _sincos declaration... " >&6; } - if test x${glibcxx_cv_func__sincos_use+set} != xset; then - if ${glibcxx_cv_func__sincos_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 +$as_echo_n "checking for sincosf declaration... " >&6; } + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if ${glibcxx_cv_func_sincosf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63452,15 +44283,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _sincos(0, 0, 0); + sincosf(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincos_use=yes + glibcxx_cv_func_sincosf_use=yes else - glibcxx_cv_func__sincos_use=no + glibcxx_cv_func_sincosf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63473,32 +44304,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5 -$as_echo "$glibcxx_cv_func__sincos_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - if test x$glibcxx_cv_func__sincos_use = x"yes"; then - for ac_func in _sincos + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + for ac_func in sincosf do : - ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos" -if test "x$ac_cv_func__sincos" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" +if test "x$ac_cv_func_sincosf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOS 1 +#define HAVE_SINCOSF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 -$as_echo_n "checking for fpclass declaration... " >&6; } - if test x${glibcxx_cv_func_fpclass_use+set} != xset; then - if ${glibcxx_cv_func_fpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 +$as_echo_n "checking for finitef declaration... " >&6; } + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if ${glibcxx_cv_func_finitef_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63519,15 +44347,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - fpclass(0); + finitef(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fpclass_use=yes + glibcxx_cv_func_finitef_use=yes else - glibcxx_cv_func_fpclass_use=no + glibcxx_cv_func_finitef_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63540,156 +44368,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 -$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; } - if test x$glibcxx_cv_func_fpclass_use = x"yes"; then - for ac_func in fpclass + if test x$glibcxx_cv_func_finitef_use = x"yes"; then + for ac_func in finitef do : - ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" -if test "x$ac_cv_func_fpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" +if test "x$ac_cv_func_finitef" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FPCLASS 1 +#define HAVE_FINITEF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5 -$as_echo_n "checking for _fpclass declaration... " >&6; } - if test x${glibcxx_cv_func__fpclass_use+set} != xset; then - if ${glibcxx_cv_func__fpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 +$as_echo_n "checking for long double trig functions... " >&6; } + if ${glibcxx_cv_func_long_double_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fpclass(0); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fpclass_use=yes + glibcxx_cv_func_long_double_trig_use=yes else - glibcxx_cv_func__fpclass_use=no + glibcxx_cv_func_long_double_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5 -$as_echo "$glibcxx_cv_func__fpclass_use" >&6; } - - if test x$glibcxx_cv_func__fpclass_use = x"yes"; then - for ac_func in _fpclass + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl do : - ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass" -if test "x$ac_cv_func__fpclass" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FPCLASS 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 -$as_echo_n "checking for qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then - if ${glibcxx_cv_func_qfpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 +$as_echo_n "checking for long double round functions... " >&6; } + if ${glibcxx_cv_func_long_double_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - qfpclass(0); +ceill (0); floorl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_qfpclass_use=yes + glibcxx_cv_func_long_double_round_use=yes else - glibcxx_cv_func_qfpclass_use=no + glibcxx_cv_func_long_double_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - - if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then - for ac_func in qfpclass + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + for ac_func in ceill floorl do : - ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" -if test "x$ac_cv_func_qfpclass" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_QFPCLASS 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi + + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5 -$as_echo_n "checking for _qfpclass declaration... " >&6; } - if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then - if ${glibcxx_cv_func__qfpclass_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 +$as_echo_n "checking for isnanl declaration... " >&6; } + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if ${glibcxx_cv_func_isnanl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63710,15 +44526,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _qfpclass(0); + isnanl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__qfpclass_use=yes + glibcxx_cv_func_isnanl_use=yes else - glibcxx_cv_func__qfpclass_use=no + glibcxx_cv_func_isnanl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63731,32 +44547,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5 -$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } - if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then - for ac_func in _qfpclass + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + for ac_func in isnanl do : - ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass" -if test "x$ac_cv_func__qfpclass" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" +if test "x$ac_cv_func_isnanl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__QFPCLASS 1 +#define HAVE_ISNANL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 -$as_echo_n "checking for hypot declaration... " >&6; } - if test x${glibcxx_cv_func_hypot_use+set} != xset; then - if ${glibcxx_cv_func_hypot_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 +$as_echo_n "checking for isinfl declaration... " >&6; } + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if ${glibcxx_cv_func_isinfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63770,18 +44583,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypot(0, 0); + isinfl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypot_use=yes + glibcxx_cv_func_isinfl_use=yes else - glibcxx_cv_func_hypot_use=no + glibcxx_cv_func_isinfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63794,27 +44611,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 -$as_echo "$glibcxx_cv_func_hypot_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - if test x$glibcxx_cv_func_hypot_use = x"yes"; then - for ac_func in hypot + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + for ac_func in isinfl do : - ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" -if test "x$ac_cv_func_hypot" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" +if test "x$ac_cv_func_isinfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOT 1 +#define HAVE_ISINFL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5 -$as_echo_n "checking for _hypot declaration... " >&6; } - if test x${glibcxx_cv_func__hypot_use+set} != xset; then - if ${glibcxx_cv_func__hypot_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 +$as_echo_n "checking for atan2l declaration... " >&6; } + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if ${glibcxx_cv_func_atan2l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63831,15 +44650,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _hypot(0, 0); + atan2l(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypot_use=yes + glibcxx_cv_func_atan2l_use=yes else - glibcxx_cv_func__hypot_use=no + glibcxx_cv_func_atan2l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63852,85 +44671,93 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5 -$as_echo "$glibcxx_cv_func__hypot_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - if test x$glibcxx_cv_func__hypot_use = x"yes"; then - for ac_func in _hypot + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + for ac_func in atan2l do : - ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot" -if test "x$ac_cv_func__hypot" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" +if test "x$ac_cv_func_atan2l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOT 1 +#define HAVE_ATAN2L 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 -$as_echo_n "checking for float trig functions... " >&6; } - if ${glibcxx_cv_func_float_trig_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 +$as_echo_n "checking for expl declaration... " >&6; } + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); + expl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_trig_use=yes + glibcxx_cv_func_expl_use=yes else - glibcxx_cv_func_float_trig_use=no + glibcxx_cv_func_expl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 -$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } - if test x$glibcxx_cv_func_float_trig_use = x"yes"; then - for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 +$as_echo "$glibcxx_cv_func_expl_use" >&6; } + + if test x$glibcxx_cv_func_expl_use = x"yes"; then + for ac_func in expl do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" +if test "x$ac_cv_func_expl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_EXPL 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5 -$as_echo_n "checking for _float trig functions... " >&6; } - if ${glibcxx_cv_func__float_trig_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 +$as_echo_n "checking for fabsl declaration... " >&6; } + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -63944,18 +44771,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { -_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0); + fabsl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_trig_use=yes + glibcxx_cv_func_fabsl_use=yes else - glibcxx_cv_func__float_trig_use=no + glibcxx_cv_func_fabsl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -63964,87 +44795,93 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5 -$as_echo "$glibcxx_cv_func__float_trig_use" >&6; } - if test x$glibcxx_cv_func__float_trig_use = x"yes"; then - for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } + + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + for ac_func in fabsl do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" +if test "x$ac_cv_func_fabsl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FABSL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 -$as_echo_n "checking for float round functions... " >&6; } - if ${glibcxx_cv_func_float_round_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 +$as_echo_n "checking for fmodl declaration... " >&6; } + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { -ceilf (0); floorf (0); + fmodl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_float_round_use=yes + glibcxx_cv_func_fmodl_use=yes else - glibcxx_cv_func_float_round_use=no + glibcxx_cv_func_fmodl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 -$as_echo "$glibcxx_cv_func_float_round_use" >&6; } - if test x$glibcxx_cv_func_float_round_use = x"yes"; then - for ac_func in ceilf floorf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } + + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + for ac_func in fmodl do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" +if test "x$ac_cv_func_fmodl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FMODL 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5 -$as_echo_n "checking for _float round functions... " >&6; } - if ${glibcxx_cv_func__float_round_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 +$as_echo_n "checking for frexpl declaration... " >&6; } + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64061,15 +44898,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceilf (0); _floorf (0); + frexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__float_round_use=yes + glibcxx_cv_func_frexpl_use=yes else - glibcxx_cv_func__float_round_use=no + glibcxx_cv_func_frexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64078,35 +44915,33 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5 -$as_echo "$glibcxx_cv_func__float_round_use" >&6; } - if test x$glibcxx_cv_func__float_round_use = x"yes"; then - for ac_func in _ceilf _floorf + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } + + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + for ac_func in frexpl do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" +if test "x$ac_cv_func_frexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FREXPL 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 -$as_echo_n "checking for expf declaration... " >&6; } - if test x${glibcxx_cv_func_expf_use+set} != xset; then - if ${glibcxx_cv_func_expf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 +$as_echo_n "checking for hypotl declaration... " >&6; } + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64120,22 +44955,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - expf(0); + hypotl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expf_use=yes + glibcxx_cv_func_hypotl_use=yes else - glibcxx_cv_func_expf_use=no + glibcxx_cv_func_hypotl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64148,27 +44979,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 -$as_echo "$glibcxx_cv_func_expf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - if test x$glibcxx_cv_func_expf_use = x"yes"; then - for ac_func in expf + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + for ac_func in hypotl do : - ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" -if test "x$ac_cv_func_expf" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" +if test "x$ac_cv_func_hypotl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_EXPF 1 +#define HAVE_HYPOTL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5 -$as_echo_n "checking for _expf declaration... " >&6; } - if test x${glibcxx_cv_func__expf_use+set} != xset; then - if ${glibcxx_cv_func__expf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 +$as_echo_n "checking for ldexpl declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64182,22 +45015,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _expf(0); + ldexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expf_use=yes + glibcxx_cv_func_ldexpl_use=yes else - glibcxx_cv_func__expf_use=no + glibcxx_cv_func_ldexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64210,32 +45039,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5 -$as_echo "$glibcxx_cv_func__expf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - if test x$glibcxx_cv_func__expf_use = x"yes"; then - for ac_func in _expf + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + for ac_func in ldexpl do : - ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf" -if test "x$ac_cv_func__expf" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" +if test "x$ac_cv_func_ldexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__EXPF 1 +#define HAVE_LDEXPL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 -$as_echo_n "checking for isnanf declaration... " >&6; } - if test x${glibcxx_cv_func_isnanf_use+set} != xset; then - if ${glibcxx_cv_func_isnanf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 +$as_echo_n "checking for logl declaration... " >&6; } + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64256,15 +45082,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - isnanf(0); + logl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanf_use=yes + glibcxx_cv_func_logl_use=yes else - glibcxx_cv_func_isnanf_use=no + glibcxx_cv_func_logl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64277,27 +45103,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 -$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 +$as_echo "$glibcxx_cv_func_logl_use" >&6; } - if test x$glibcxx_cv_func_isnanf_use = x"yes"; then - for ac_func in isnanf + if test x$glibcxx_cv_func_logl_use = x"yes"; then + for ac_func in logl do : - ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" -if test "x$ac_cv_func_isnanf" = xyes; then : + ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" +if test "x$ac_cv_func_logl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANF 1 +#define HAVE_LOGL 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5 -$as_echo_n "checking for _isnanf declaration... " >&6; } - if test x${glibcxx_cv_func__isnanf_use+set} != xset; then - if ${glibcxx_cv_func__isnanf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 +$as_echo_n "checking for log10l declaration... " >&6; } + if test x${glibcxx_cv_func_log10l_use+set} != xset; then + if ${glibcxx_cv_func_log10l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64318,15 +45146,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isnanf(0); + log10l(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanf_use=yes + glibcxx_cv_func_log10l_use=yes else - glibcxx_cv_func__isnanf_use=no + glibcxx_cv_func_log10l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64339,32 +45167,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5 -$as_echo "$glibcxx_cv_func__isnanf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; } - if test x$glibcxx_cv_func__isnanf_use = x"yes"; then - for ac_func in _isnanf + if test x$glibcxx_cv_func_log10l_use = x"yes"; then + for ac_func in log10l do : - ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf" -if test "x$ac_cv_func__isnanf" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l" +if test "x$ac_cv_func_log10l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANF 1 +#define HAVE_LOG10L 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 -$as_echo_n "checking for isinff declaration... " >&6; } - if test x${glibcxx_cv_func_isinff_use+set} != xset; then - if ${glibcxx_cv_func_isinff_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5 +$as_echo_n "checking for modfl declaration... " >&6; } + if test x${glibcxx_cv_func_modfl_use+set} != xset; then + if ${glibcxx_cv_func_modfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64378,22 +45203,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinff(0); + modfl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinff_use=yes + glibcxx_cv_func_modfl_use=yes else - glibcxx_cv_func_isinff_use=no + glibcxx_cv_func_modfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64406,27 +45227,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 -$as_echo "$glibcxx_cv_func_isinff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; } - if test x$glibcxx_cv_func_isinff_use = x"yes"; then - for ac_func in isinff + if test x$glibcxx_cv_func_modfl_use = x"yes"; then + for ac_func in modfl do : - ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" -if test "x$ac_cv_func_isinff" = xyes; then : + ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl" +if test "x$ac_cv_func_modfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFF 1 +#define HAVE_MODFL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5 -$as_echo_n "checking for _isinff declaration... " >&6; } - if test x${glibcxx_cv_func__isinff_use+set} != xset; then - if ${glibcxx_cv_func__isinff_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5 +$as_echo_n "checking for powl declaration... " >&6; } + if test x${glibcxx_cv_func_powl_use+set} != xset; then + if ${glibcxx_cv_func_powl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64440,22 +45263,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isinff(0); + powl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinff_use=yes + glibcxx_cv_func_powl_use=yes else - glibcxx_cv_func__isinff_use=no + glibcxx_cv_func_powl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64468,32 +45287,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5 -$as_echo "$glibcxx_cv_func__isinff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5 +$as_echo "$glibcxx_cv_func_powl_use" >&6; } - if test x$glibcxx_cv_func__isinff_use = x"yes"; then - for ac_func in _isinff + if test x$glibcxx_cv_func_powl_use = x"yes"; then + for ac_func in powl do : - ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff" -if test "x$ac_cv_func__isinff" = xyes; then : + ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl" +if test "x$ac_cv_func_powl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFF 1 +#define HAVE_POWL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 -$as_echo_n "checking for atan2f declaration... " >&6; } - if test x${glibcxx_cv_func_atan2f_use+set} != xset; then - if ${glibcxx_cv_func_atan2f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 +$as_echo_n "checking for sqrtl declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then + if ${glibcxx_cv_func_sqrtl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64507,18 +45323,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - atan2f(0, 0); + sqrtl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2f_use=yes + glibcxx_cv_func_sqrtl_use=yes else - glibcxx_cv_func_atan2f_use=no + glibcxx_cv_func_sqrtl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64531,27 +45351,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 -$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; } - if test x$glibcxx_cv_func_atan2f_use = x"yes"; then - for ac_func in atan2f + if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then + for ac_func in sqrtl do : - ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" -if test "x$ac_cv_func_atan2f" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl" +if test "x$ac_cv_func_sqrtl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2F 1 +#define HAVE_SQRTL 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5 -$as_echo_n "checking for _atan2f declaration... " >&6; } - if test x${glibcxx_cv_func__atan2f_use+set} != xset; then - if ${glibcxx_cv_func__atan2f_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 +$as_echo_n "checking for sincosl declaration... " >&6; } + if test x${glibcxx_cv_func_sincosl_use+set} != xset; then + if ${glibcxx_cv_func_sincosl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64568,15 +45390,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _atan2f(0, 0); + sincosl(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2f_use=yes + glibcxx_cv_func_sincosl_use=yes else - glibcxx_cv_func__atan2f_use=no + glibcxx_cv_func_sincosl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64589,32 +45411,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5 -$as_echo "$glibcxx_cv_func__atan2f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5 +$as_echo "$glibcxx_cv_func_sincosl_use" >&6; } - if test x$glibcxx_cv_func__atan2f_use = x"yes"; then - for ac_func in _atan2f + if test x$glibcxx_cv_func_sincosl_use = x"yes"; then + for ac_func in sincosl do : - ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f" -if test "x$ac_cv_func__atan2f" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl" +if test "x$ac_cv_func_sincosl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2F 1 +#define HAVE_SINCOSL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 -$as_echo_n "checking for fabsf declaration... " >&6; } - if test x${glibcxx_cv_func_fabsf_use+set} != xset; then - if ${glibcxx_cv_func_fabsf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5 +$as_echo_n "checking for finitel declaration... " >&6; } + if test x${glibcxx_cv_func_finitel_use+set} != xset; then + if ${glibcxx_cv_func_finitel_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64635,15 +45454,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - fabsf(0); + finitel(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsf_use=yes + glibcxx_cv_func_finitel_use=yes else - glibcxx_cv_func_fabsf_use=no + glibcxx_cv_func_finitel_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64656,27 +45475,37 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 -$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5 +$as_echo "$glibcxx_cv_func_finitel_use" >&6; } - if test x$glibcxx_cv_func_fabsf_use = x"yes"; then - for ac_func in fabsf + if test x$glibcxx_cv_func_finitel_use = x"yes"; then + for ac_func in finitel do : - ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" -if test "x$ac_cv_func_fabsf" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel" +if test "x$ac_cv_func_finitel" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FABSF 1 +#define HAVE_FINITEL 1 _ACEOF fi done - else + fi + + + LIBS="$ac_save_LIBS" + CXXFLAGS="$ac_save_CXXFLAGS" + + + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5 -$as_echo_n "checking for _fabsf declaration... " >&6; } - if test x${glibcxx_cv_func__fabsf_use+set} != xset; then - if ${glibcxx_cv_func__fabsf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5 +$as_echo_n "checking for at_quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_at_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64689,23 +45518,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - +#include int main () { - _fabsf(0); + at_quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsf_use=yes + glibcxx_cv_func_at_quick_exit_use=yes else - glibcxx_cv_func__fabsf_use=no + glibcxx_cv_func_at_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64718,32 +45543,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5 -$as_echo "$glibcxx_cv_func__fabsf_use" >&6; } - - if test x$glibcxx_cv_func__fabsf_use = x"yes"; then - for ac_func in _fabsf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then + for ac_func in at_quick_exit do : - ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf" -if test "x$ac_cv_func__fabsf" = xyes; then : + ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit" +if test "x$ac_cv_func_at_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FABSF 1 +#define HAVE_AT_QUICK_EXIT 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 -$as_echo_n "checking for fmodf declaration... " >&6; } - if test x${glibcxx_cv_func_fmodf_use+set} != xset; then - if ${glibcxx_cv_func_fmodf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5 +$as_echo_n "checking for quick_exit declaration... " >&6; } + if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then + if ${glibcxx_cv_func_quick_exit_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64756,19 +45576,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - fmodf(0, 0); + quick_exit(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodf_use=yes + glibcxx_cv_func_quick_exit_use=yes else - glibcxx_cv_func_fmodf_use=no + glibcxx_cv_func_quick_exit_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64781,27 +45601,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 -$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } - - if test x$glibcxx_cv_func_fmodf_use = x"yes"; then - for ac_func in fmodf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5 +$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; } + if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then + for ac_func in quick_exit do : - ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" -if test "x$ac_cv_func_fmodf" = xyes; then : + ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit" +if test "x$ac_cv_func_quick_exit" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FMODF 1 +#define HAVE_QUICK_EXIT 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5 -$as_echo_n "checking for _fmodf declaration... " >&6; } - if test x${glibcxx_cv_func__fmodf_use+set} != xset; then - if ${glibcxx_cv_func__fmodf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5 +$as_echo_n "checking for strtold declaration... " >&6; } + if test x${glibcxx_cv_func_strtold_use+set} != xset; then + if ${glibcxx_cv_func_strtold_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64814,19 +45634,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - _fmodf(0, 0); + strtold(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodf_use=yes + glibcxx_cv_func_strtold_use=yes else - glibcxx_cv_func__fmodf_use=no + glibcxx_cv_func_strtold_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64839,32 +45659,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5 -$as_echo "$glibcxx_cv_func__fmodf_use" >&6; } - - if test x$glibcxx_cv_func__fmodf_use = x"yes"; then - for ac_func in _fmodf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5 +$as_echo "$glibcxx_cv_func_strtold_use" >&6; } + if test x$glibcxx_cv_func_strtold_use = x"yes"; then + for ac_func in strtold do : - ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf" -if test "x$ac_cv_func__fmodf" = xyes; then : + ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold" +if test "x$ac_cv_func_strtold" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FMODF 1 +#define HAVE_STRTOLD 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 -$as_echo_n "checking for frexpf declaration... " >&6; } - if test x${glibcxx_cv_func_frexpf_use+set} != xset; then - if ${glibcxx_cv_func_frexpf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 +$as_echo_n "checking for strtof declaration... " >&6; } + if test x${glibcxx_cv_func_strtof_use+set} != xset; then + if ${glibcxx_cv_func_strtof_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -64877,19 +45692,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +#include int main () { - frexpf(0, 0); + strtof(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpf_use=yes + glibcxx_cv_func_strtof_use=yes else - glibcxx_cv_func_frexpf_use=no + glibcxx_cv_func_strtof_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -64902,461 +45717,744 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 -$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5 +$as_echo "$glibcxx_cv_func_strtof_use" >&6; } + if test x$glibcxx_cv_func_strtof_use = x"yes"; then + for ac_func in strtof +do : + ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof" +if test "x$ac_cv_func_strtof" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_STRTOF 1 +_ACEOF - if test x$glibcxx_cv_func_frexpf_use = x"yes"; then - for ac_func in frexpf +fi +done + + fi + + + CXXFLAGS="$ac_save_CXXFLAGS" + + for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc do : - ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" -if test "x$ac_cv_func_frexpf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + for ac_func in _wfopen +do : + ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen" +if test "x$ac_cv_func__wfopen" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE__WFOPEN 1 +_ACEOF + +fi +done + + + + # Check whether --enable-tls was given. +if test "${enable_tls+set}" = set; then : + enableval=$enable_tls; + case "$enableval" in + yes|no) ;; + *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;; + esac + +else + enable_tls=yes +fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5 -$as_echo_n "checking for _frexpf declaration... " >&6; } - if test x${glibcxx_cv_func__frexpf_use+set} != xset; then - if ${glibcxx_cv_func__frexpf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5 +$as_echo_n "checking whether the target supports thread-local storage... " >&6; } +if ${gcc_cv_have_tls+:} false; then : $as_echo_n "(cached) " >&6 else + if test "$cross_compiling" = yes; then : + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + case $host in + *-*-linux* | -*-uclinuxfdpic*) + LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS" + ;; + esac + chktls_save_CFLAGS="$CFLAGS" + CFLAGS="-fPIC $CFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int f() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int f() { return a = b; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + gcc_cv_have_tls=yes +else + gcc_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +else + gcc_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + CFLAGS="$chktls_save_CFLAGS" + LDFLAGS="$chktls_save_LDFLAGS" +else + gcc_cv_have_tls=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + chktls_save_LDFLAGS="$LDFLAGS" + LDFLAGS="-static $LDFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +int main() { return 0; } +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +__thread int a; int b; int main() { return a = b; } +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gcc_cv_have_tls=yes +else + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +else + gcc_cv_have_tls=yes +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$chktls_save_LDFLAGS" + if test $gcc_cv_have_tls = yes; then + chktls_save_CFLAGS="$CFLAGS" + thread_CFLAGS=failed + for flag in '' '-pthread' '-lpthread'; do + CFLAGS="$flag $chktls_save_CFLAGS" + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + void *g(void *d) { return NULL; } int main () { - _frexpf(0, 0); +pthread_t t; pthread_create(&t,NULL,g,NULL); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpf_use=yes +if ac_fn_c_try_link "$LINENO"; then : + thread_CFLAGS="$flag" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "X$thread_CFLAGS" != Xfailed; then + break + fi + done + CFLAGS="$chktls_save_CFLAGS" + if test "X$thread_CFLAGS" != Xfailed; then + CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS" + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + __thread int a; + static int *volatile a_in_other_thread; + static void * + thread_func (void *arg) + { + a_in_other_thread = &a; + return (void *)0; + } +int +main () +{ +pthread_t thread; + void *thread_retval; + int *volatile a_in_main_thread; + a_in_main_thread = &a; + if (pthread_create (&thread, (pthread_attr_t *)0, + thread_func, (void *)0)) + return 0; + if (pthread_join (thread, &thread_retval)) + return 0; + return (a_in_other_thread == a_in_main_thread); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + gcc_cv_have_tls=yes else - glibcxx_cv_func__frexpf_use=no + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + CFLAGS="$chktls_save_CFLAGS" + fi + fi +else + gcc_cv_have_tls=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5 +$as_echo "$gcc_cv_have_tls" >&6; } + if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then + +$as_echo "#define HAVE_TLS 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5 -$as_echo "$glibcxx_cv_func__frexpf_use" >&6; } + ;; + *-netbsd* | *-openbsd*) + SECTION_FLAGS='-ffunction-sections -fdata-sections' - if test x$glibcxx_cv_func__frexpf_use = x"yes"; then - for ac_func in _frexpf -do : - ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf" -if test "x$ac_cv_func__frexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPF 1 -_ACEOF -fi -done + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' + + + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld fi fi + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + glibcxx_ld_is_mold=no + if test x"$with_gnu_ld" = x"yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 +$as_echo_n "checking for ld version... " >&6; } + + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then + glibcxx_ld_is_mold=yes + fi + ldver=`$LD --version 2>/dev/null | + sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` + + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 +$as_echo "$glibcxx_gnu_ld_version" >&6; } + fi + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + # Check for -Wl,--gc-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + int one(void) { return 1; } + int two(void) { return 2; } - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 -$as_echo_n "checking for hypotf declaration... " >&6; } - if test x${glibcxx_cv_func_hypotf_use+set} != xset; then - if ${glibcxx_cv_func_hypotf_use+:} false; then : - $as_echo_n "(cached) " >&6 +int +main () +{ + two(); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_gcsections=yes else + ac_gcsections=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 +$as_echo "$ac_gcsections" >&6; } + + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi + + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + # cygwin and mingw uses PE, which has no ELF relro support, + # multi target ld may confuse configure machinery + case "$host" in + *-*-cygwin*) + ;; + *-*-mingw*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 +$as_echo "$ac_ld_relro" >&6; } + esac + fi + + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" + fi + + + + + $as_echo "#define HAVE_FINITEF 1" >>confdefs.h + + $as_echo "#define HAVE_FINITE 1" >>confdefs.h + + $as_echo "#define HAVE_FREXPF 1" >>confdefs.h + $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_ISINF 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - hypotf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotf_use=yes -else - glibcxx_cv_func_hypotf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + $as_echo "#define HAVE_ISINFF 1" >>confdefs.h + + $as_echo "#define HAVE_ISNAN 1" >>confdefs.h + $as_echo "#define HAVE_ISNANF 1" >>confdefs.h -fi + if test x"long_double_math_on_this_cpu" = x"yes"; then + $as_echo "#define HAVE_FINITEL 1" >>confdefs.h - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 -$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } + $as_echo "#define HAVE_ISINFL 1" >>confdefs.h - if test x$glibcxx_cv_func_hypotf_use = x"yes"; then - for ac_func in hypotf + $as_echo "#define HAVE_ISNANL 1" >>confdefs.h + + fi + for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc do : - ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" -if test "x$ac_cv_func_hypotf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5 -$as_echo_n "checking for _hypotf declaration... " >&6; } - if test x${glibcxx_cv_func__hypotf_use+set} != xset; then - if ${glibcxx_cv_func__hypotf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _hypotf(0, 0); - ; - return 0; -} + for ac_func in timespec_get +do : + ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get" +if test "x$ac_cv_func_timespec_get" = xyes; then : + cat >>confdefs.h <<_ACEOF +#define HAVE_TIMESPEC_GET 1 _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotf_use=yes -else - glibcxx_cv_func__hypotf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi +done - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5 -$as_echo "$glibcxx_cv_func__hypotf_use" >&6; } - - if test x$glibcxx_cv_func__hypotf_use = x"yes"; then - for ac_func in _hypotf + for ac_func in sockatmark do : - ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf" -if test "x$ac_cv_func__hypotf" = xyes; then : + ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark" +if test "x$ac_cv_func_sockatmark" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTF 1 +#define HAVE_SOCKATMARK 1 _ACEOF fi done - fi - fi + ;; + *-qnx6.1* | *-qnx6.2*) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + # If we're not using GNU ld, then there's no point in even trying these + # tests. Check for that first. We should have already tested for gld + # by now (in libtool), but require it now just to be safe... + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS='' + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS='' - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 -$as_echo_n "checking for ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then - if ${glibcxx_cv_func_ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + # The name set by libtool depends on the version of libtool. Shame on us + # for depending on an impl detail, but c'est la vie. Older versions used + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't + # set (hence we're using an older libtool), then set it. + if test x${with_gnu_ld+set} != xset; then + if test x${ac_cv_prog_gnu_ld+set} != xset; then + # We got through "ac_require(ac_prog_ld)" and still not set? Huh? + with_gnu_ld=no + else + with_gnu_ld=$ac_cv_prog_gnu_ld + fi + fi + # Start by getting the version number. I think the libtool test already + # does some of this, but throws away the result. + glibcxx_ld_is_gold=no + glibcxx_ld_is_mold=no + if test x"$with_gnu_ld" = x"yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5 +$as_echo_n "checking for ld version... " >&6; } - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then + glibcxx_ld_is_gold=yes + elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then + glibcxx_ld_is_mold=yes + fi + ldver=`$LD --version 2>/dev/null | + sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'` - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + glibcxx_gnu_ld_version=`echo $ldver | \ + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'` + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5 +$as_echo "$glibcxx_gnu_ld_version" >&6; } + fi + + # Set --gc-sections. + glibcxx_have_gc_sections=no + if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then + if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then + glibcxx_have_gc_sections=yes + fi + else + glibcxx_gcsections_min_ld=21602 + if test x"$with_gnu_ld" = x"yes" && + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then + glibcxx_have_gc_sections=yes + fi + fi + if test "$glibcxx_have_gc_sections" = "yes"; then + # Sufficiently young GNU ld it is! Joy and bunny rabbits! + # NB: This flag only works reliably after 2.16.1. Configure tests + # for this are difficult, so hard wire a value that should work. + + ac_test_CFLAGS="${CFLAGS+set}" + ac_save_CFLAGS="$CFLAGS" + CFLAGS='-Wl,--gc-sections' + + # Check for -Wl,--gc-sections + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; } + if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include + int one(void) { return 1; } + int two(void) { return 2; } + int main () { - ldexpf(0, 0); + two(); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpf_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_gcsections=yes else - glibcxx_cv_func_ldexpf_use=no + ac_gcsections=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "$ac_gcsections" = "yes"; then + rm -f conftest.c + touch conftest.c + if $CC -c conftest.c; then + if $LD --gc-sections -o conftest conftest.o 2>&1 | \ + grep "Warning: gc-sections option ignored" > /dev/null; then + ac_gcsections=no + fi + fi + rm -f conftest.c conftest.o conftest + fi + if test "$ac_gcsections" = "yes"; then + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5 +$as_echo "$ac_gcsections" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS="$ac_save_CFLAGS" + else + # this is the suspicious part + CFLAGS='' + fi + fi -fi + # Set -z,relro. + # Note this is only for shared objects. + ac_ld_relro=no + if test x"$with_gnu_ld" = x"yes"; then + # cygwin and mingw uses PE, which has no ELF relro support, + # multi target ld may confuse configure machinery + case "$host" in + *-*-cygwin*) + ;; + *-*-mingw*) + ;; + *) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; } + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"` + if test -n "$cxx_z_relo"; then + OPT_LDFLAGS="-Wl,-z,relro" + ac_ld_relro=yes + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5 +$as_echo "$ac_ld_relro" >&6; } + esac + fi + # Set linker optimization flags. + if test x"$with_gnu_ld" = x"yes"; then + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS" fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } - if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then - for ac_func in ldexpf -do : - ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" -if test "x$ac_cv_func_ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPF 1 -_ACEOF -fi -done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5 -$as_echo_n "checking for _ldexpf declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then - if ${glibcxx_cv_func__ldexpf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + $as_echo "#define HAVE_COSF 1" >>confdefs.h + $as_echo "#define HAVE_COSL 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_COSHF 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _ldexpf(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpf_use=yes -else - glibcxx_cv_func__ldexpf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + $as_echo "#define HAVE_COSHL 1" >>confdefs.h + $as_echo "#define HAVE_LOGF 1" >>confdefs.h -fi + $as_echo "#define HAVE_LOGL 1" >>confdefs.h - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; } + $as_echo "#define HAVE_LOG10F 1" >>confdefs.h - if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then - for ac_func in _ldexpf -do : - ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf" -if test "x$ac_cv_func__ldexpf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPF 1 -_ACEOF + $as_echo "#define HAVE_LOG10L 1" >>confdefs.h -fi -done + $as_echo "#define HAVE_SINF 1" >>confdefs.h - fi - fi + $as_echo "#define HAVE_SINL 1" >>confdefs.h + $as_echo "#define HAVE_SINHF 1" >>confdefs.h + $as_echo "#define HAVE_SINHL 1" >>confdefs.h + ;; + *-tpf) + SECTION_FLAGS='-ffunction-sections -fdata-sections' + SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS' + $as_echo "#define HAVE_FINITE 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 -$as_echo_n "checking for logf declaration... " >&6; } - if test x${glibcxx_cv_func_logf_use+set} != xset; then - if ${glibcxx_cv_func_logf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + $as_echo "#define HAVE_FINITEF 1" >>confdefs.h + $as_echo "#define HAVE_FREXPF 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif + $as_echo "#define HAVE_ISINF 1" >>confdefs.h -int -main () -{ - logf(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logf_use=yes -else - glibcxx_cv_func_logf_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu + $as_echo "#define HAVE_ISINFF 1" >>confdefs.h + $as_echo "#define HAVE_ISNAN 1" >>confdefs.h -fi + $as_echo "#define HAVE_ISNANF 1" >>confdefs.h - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 -$as_echo "$glibcxx_cv_func_logf_use" >&6; } + $as_echo "#define HAVE_SINCOS 1" >>confdefs.h - if test x$glibcxx_cv_func_logf_use = x"yes"; then - for ac_func in logf -do : - ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" -if test "x$ac_cv_func_logf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LOGF 1 -_ACEOF + $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h -fi -done + if test x"long_double_math_on_this_cpu" = x"yes"; then + $as_echo "#define HAVE_FINITEL 1" >>confdefs.h - else + $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5 -$as_echo_n "checking for _logf declaration... " >&6; } - if test x${glibcxx_cv_func__logf_use+set} != xset; then - if ${glibcxx_cv_func__logf_use+:} false; then : - $as_echo_n "(cached) " >&6 -else + $as_echo "#define HAVE_ISINFL 1" >>confdefs.h + $as_echo "#define HAVE_ISNANL 1" >>confdefs.h - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + fi + ;; + *-*vms*) + # Check for available headers. + # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + ac_test_CXXFLAGS="${CXXFLAGS+set}" + ac_save_CXXFLAGS="$CXXFLAGS" + CXXFLAGS='-fno-builtin -D_GNU_SOURCE' + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5 +$as_echo_n "checking for sin in -lm... " >&6; } +if ${ac_cv_lib_m_sin+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lm $LIBS" +if test x$gcc_no_link = xyes; then + as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5 +fi +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char sin (); int main () { - _logf(0); +return sin (); ; return 0; } _ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logf_use=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_m_sin=yes else - glibcxx_cv_func__logf_use=no + ac_cv_lib_m_sin=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5 -$as_echo "$glibcxx_cv_func__logf_use" >&6; } - - if test x$glibcxx_cv_func__logf_use = x"yes"; then - for ac_func in _logf -do : - ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf" -if test "x$ac_cv_func__logf" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOGF 1 -_ACEOF - +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5 +$as_echo "$ac_cv_lib_m_sin" >&6; } +if test "x$ac_cv_lib_m_sin" = xyes; then : + libm="-lm" fi -done - - fi - fi - + ac_save_LIBS="$LIBS" + LIBS="$LIBS $libm" - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 -$as_echo_n "checking for log10f declaration... " >&6; } - if test x${glibcxx_cv_func_log10f_use+set} != xset; then - if ${glibcxx_cv_func_log10f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5 +$as_echo_n "checking for isinf declaration... " >&6; } + if test x${glibcxx_cv_func_isinf_use+set} != xset; then + if ${glibcxx_cv_func_isinf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65377,15 +46475,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - log10f(0); + isinf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_log10f_use=yes + glibcxx_cv_func_isinf_use=yes else - glibcxx_cv_func_log10f_use=no + glibcxx_cv_func_isinf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65398,27 +46496,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 -$as_echo "$glibcxx_cv_func_log10f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; } - if test x$glibcxx_cv_func_log10f_use = x"yes"; then - for ac_func in log10f + if test x$glibcxx_cv_func_isinf_use = x"yes"; then + for ac_func in isinf do : - ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" -if test "x$ac_cv_func_log10f" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf" +if test "x$ac_cv_func_isinf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOG10F 1 +#define HAVE_ISINF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5 -$as_echo_n "checking for _log10f declaration... " >&6; } - if test x${glibcxx_cv_func__log10f_use+set} != xset; then - if ${glibcxx_cv_func__log10f_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5 +$as_echo_n "checking for isnan declaration... " >&6; } + if test x${glibcxx_cv_func_isnan_use+set} != xset; then + if ${glibcxx_cv_func_isnan_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65439,15 +46539,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _log10f(0); + isnan(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10f_use=yes + glibcxx_cv_func_isnan_use=yes else - glibcxx_cv_func__log10f_use=no + glibcxx_cv_func_isnan_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65460,32 +46560,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5 -$as_echo "$glibcxx_cv_func__log10f_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; } - if test x$glibcxx_cv_func__log10f_use = x"yes"; then - for ac_func in _log10f + if test x$glibcxx_cv_func_isnan_use = x"yes"; then + for ac_func in isnan do : - ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f" -if test "x$ac_cv_func__log10f" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan" +if test "x$ac_cv_func_isnan" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10F 1 +#define HAVE_ISNAN 1 _ACEOF fi done - fi fi - - - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 -$as_echo_n "checking for modff declaration... " >&6; } - if test x${glibcxx_cv_func_modff_use+set} != xset; then - if ${glibcxx_cv_func_modff_use+:} false; then : + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5 +$as_echo_n "checking for finite declaration... " >&6; } + if test x${glibcxx_cv_func_finite_use+set} != xset; then + if ${glibcxx_cv_func_finite_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65499,18 +46596,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - modff(0, 0); + finite(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modff_use=yes + glibcxx_cv_func_finite_use=yes else - glibcxx_cv_func_modff_use=no + glibcxx_cv_func_finite_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65523,27 +46624,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 -$as_echo "$glibcxx_cv_func_modff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5 +$as_echo "$glibcxx_cv_func_finite_use" >&6; } - if test x$glibcxx_cv_func_modff_use = x"yes"; then - for ac_func in modff + if test x$glibcxx_cv_func_finite_use = x"yes"; then + for ac_func in finite do : - ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" -if test "x$ac_cv_func_modff" = xyes; then : + ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite" +if test "x$ac_cv_func_finite" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODFF 1 +#define HAVE_FINITE 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5 -$as_echo_n "checking for _modff declaration... " >&6; } - if test x${glibcxx_cv_func__modff_use+set} != xset; then - if ${glibcxx_cv_func__modff_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5 +$as_echo_n "checking for sincos declaration... " >&6; } + if test x${glibcxx_cv_func_sincos_use+set} != xset; then + if ${glibcxx_cv_func_sincos_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65560,15 +46663,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _modff(0, 0); + sincos(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modff_use=yes + glibcxx_cv_func_sincos_use=yes else - glibcxx_cv_func__modff_use=no + glibcxx_cv_func_sincos_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65581,32 +46684,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5 -$as_echo "$glibcxx_cv_func__modff_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; } - if test x$glibcxx_cv_func__modff_use = x"yes"; then - for ac_func in _modff + if test x$glibcxx_cv_func_sincos_use = x"yes"; then + for ac_func in sincos do : - ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff" -if test "x$ac_cv_func__modff" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos" +if test "x$ac_cv_func_sincos" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODFF 1 +#define HAVE_SINCOS 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 -$as_echo_n "checking for modf declaration... " >&6; } - if test x${glibcxx_cv_func_modf_use+set} != xset; then - if ${glibcxx_cv_func_modf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5 +$as_echo_n "checking for fpclass declaration... " >&6; } + if test x${glibcxx_cv_func_fpclass_use+set} != xset; then + if ${glibcxx_cv_func_fpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65620,18 +46720,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - modf(0, 0); + fpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_modf_use=yes + glibcxx_cv_func_fpclass_use=yes else - glibcxx_cv_func_modf_use=no + glibcxx_cv_func_fpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65644,27 +46748,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 -$as_echo "$glibcxx_cv_func_modf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; } - if test x$glibcxx_cv_func_modf_use = x"yes"; then - for ac_func in modf + if test x$glibcxx_cv_func_fpclass_use = x"yes"; then + for ac_func in fpclass do : - ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" -if test "x$ac_cv_func_modf" = xyes; then : + ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass" +if test "x$ac_cv_func_fpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_MODF 1 +#define HAVE_FPCLASS 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5 -$as_echo_n "checking for _modf declaration... " >&6; } - if test x${glibcxx_cv_func__modf_use+set} != xset; then - if ${glibcxx_cv_func__modf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5 +$as_echo_n "checking for qfpclass declaration... " >&6; } + if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then + if ${glibcxx_cv_func_qfpclass_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65678,18 +46784,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _modf(0, 0); + qfpclass(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modf_use=yes + glibcxx_cv_func_qfpclass_use=yes else - glibcxx_cv_func__modf_use=no + glibcxx_cv_func_qfpclass_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65702,32 +46812,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5 -$as_echo "$glibcxx_cv_func__modf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; } - if test x$glibcxx_cv_func__modf_use = x"yes"; then - for ac_func in _modf + if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then + for ac_func in qfpclass do : - ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf" -if test "x$ac_cv_func__modf" = xyes; then : + ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass" +if test "x$ac_cv_func_qfpclass" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__MODF 1 +#define HAVE_QFPCLASS 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 -$as_echo_n "checking for powf declaration... " >&6; } - if test x${glibcxx_cv_func_powf_use+set} != xset; then - if ${glibcxx_cv_func_powf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5 +$as_echo_n "checking for hypot declaration... " >&6; } + if test x${glibcxx_cv_func_hypot_use+set} != xset; then + if ${glibcxx_cv_func_hypot_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65744,15 +46851,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - powf(0, 0); + hypot(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_powf_use=yes + glibcxx_cv_func_hypot_use=yes else - glibcxx_cv_func_powf_use=no + glibcxx_cv_func_hypot_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65765,152 +46872,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 -$as_echo "$glibcxx_cv_func_powf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; } - if test x$glibcxx_cv_func_powf_use = x"yes"; then - for ac_func in powf + if test x$glibcxx_cv_func_hypot_use = x"yes"; then + for ac_func in hypot do : - ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" -if test "x$ac_cv_func_powf" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot" +if test "x$ac_cv_func_hypot" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_POWF 1 +#define HAVE_HYPOT 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5 -$as_echo_n "checking for _powf declaration... " >&6; } - if test x${glibcxx_cv_func__powf_use+set} != xset; then - if ${glibcxx_cv_func__powf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5 +$as_echo_n "checking for float trig functions... " >&6; } + if ${glibcxx_cv_func_float_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { - _powf(0, 0); +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powf_use=yes + glibcxx_cv_func_float_trig_use=yes else - glibcxx_cv_func__powf_use=no + glibcxx_cv_func_float_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5 -$as_echo "$glibcxx_cv_func__powf_use" >&6; } - - if test x$glibcxx_cv_func__powf_use = x"yes"; then - for ac_func in _powf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; } + if test x$glibcxx_cv_func_float_trig_use = x"yes"; then + for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf do : - ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf" -if test "x$ac_cv_func__powf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__POWF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 -$as_echo_n "checking for sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then - if ${glibcxx_cv_func_sqrtf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5 +$as_echo_n "checking for float round functions... " >&6; } + if ${glibcxx_cv_func_float_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - sqrtf(0); +ceilf (0); floorf (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sqrtf_use=yes + glibcxx_cv_func_float_round_use=yes else - glibcxx_cv_func_sqrtf_use=no + glibcxx_cv_func_float_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - - if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then - for ac_func in sqrtf + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; } + if test x$glibcxx_cv_func_float_round_use = x"yes"; then + for ac_func in ceilf floorf do : - ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" -if test "x$ac_cv_func_sqrtf" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SQRTF 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5 -$as_echo_n "checking for _sqrtf declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then - if ${glibcxx_cv_func__sqrtf_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5 +$as_echo_n "checking for expf declaration... " >&6; } + if test x${glibcxx_cv_func_expf_use+set} != xset; then + if ${glibcxx_cv_func_expf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65931,15 +47030,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _sqrtf(0); + expf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtf_use=yes + glibcxx_cv_func_expf_use=yes else - glibcxx_cv_func__sqrtf_use=no + glibcxx_cv_func_expf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -65952,32 +47051,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5 +$as_echo "$glibcxx_cv_func_expf_use" >&6; } - if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then - for ac_func in _sqrtf + if test x$glibcxx_cv_func_expf_use = x"yes"; then + for ac_func in expf do : - ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf" -if test "x$ac_cv_func__sqrtf" = xyes; then : + ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf" +if test "x$ac_cv_func_expf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTF 1 +#define HAVE_EXPF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 -$as_echo_n "checking for sincosf declaration... " >&6; } - if test x${glibcxx_cv_func_sincosf_use+set} != xset; then - if ${glibcxx_cv_func_sincosf_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5 +$as_echo_n "checking for isnanf declaration... " >&6; } + if test x${glibcxx_cv_func_isnanf_use+set} != xset; then + if ${glibcxx_cv_func_isnanf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -65991,18 +47087,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - sincosf(0, 0, 0); + isnanf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_sincosf_use=yes + glibcxx_cv_func_isnanf_use=yes else - glibcxx_cv_func_sincosf_use=no + glibcxx_cv_func_isnanf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66015,27 +47115,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 -$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; } - if test x$glibcxx_cv_func_sincosf_use = x"yes"; then - for ac_func in sincosf + if test x$glibcxx_cv_func_isnanf_use = x"yes"; then + for ac_func in isnanf do : - ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" -if test "x$ac_cv_func_sincosf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf" +if test "x$ac_cv_func_isnanf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_SINCOSF 1 +#define HAVE_ISNANF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5 -$as_echo_n "checking for _sincosf declaration... " >&6; } - if test x${glibcxx_cv_func__sincosf_use+set} != xset; then - if ${glibcxx_cv_func__sincosf_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5 +$as_echo_n "checking for isinff declaration... " >&6; } + if test x${glibcxx_cv_func_isinff_use+set} != xset; then + if ${glibcxx_cv_func_isinff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66049,18 +47151,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _sincosf(0, 0, 0); + isinff(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosf_use=yes + glibcxx_cv_func_isinff_use=yes else - glibcxx_cv_func__sincosf_use=no + glibcxx_cv_func_isinff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66073,32 +47179,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5 -$as_echo "$glibcxx_cv_func__sincosf_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; } - if test x$glibcxx_cv_func__sincosf_use = x"yes"; then - for ac_func in _sincosf + if test x$glibcxx_cv_func_isinff_use = x"yes"; then + for ac_func in isinff do : - ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf" -if test "x$ac_cv_func__sincosf" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff" +if test "x$ac_cv_func_isinff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSF 1 +#define HAVE_ISINFF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 -$as_echo_n "checking for finitef declaration... " >&6; } - if test x${glibcxx_cv_func_finitef_use+set} != xset; then - if ${glibcxx_cv_func_finitef_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5 +$as_echo_n "checking for atan2f declaration... " >&6; } + if test x${glibcxx_cv_func_atan2f_use+set} != xset; then + if ${glibcxx_cv_func_atan2f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66112,22 +47215,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - finitef(0); + atan2f(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_finitef_use=yes + glibcxx_cv_func_atan2f_use=yes else - glibcxx_cv_func_finitef_use=no + glibcxx_cv_func_atan2f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66140,27 +47239,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 -$as_echo "$glibcxx_cv_func_finitef_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; } - if test x$glibcxx_cv_func_finitef_use = x"yes"; then - for ac_func in finitef + if test x$glibcxx_cv_func_atan2f_use = x"yes"; then + for ac_func in atan2f do : - ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" -if test "x$ac_cv_func_finitef" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f" +if test "x$ac_cv_func_atan2f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FINITEF 1 +#define HAVE_ATAN2F 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5 -$as_echo_n "checking for _finitef declaration... " >&6; } - if test x${glibcxx_cv_func__finitef_use+set} != xset; then - if ${glibcxx_cv_func__finitef_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5 +$as_echo_n "checking for fabsf declaration... " >&6; } + if test x${glibcxx_cv_func_fabsf_use+set} != xset; then + if ${glibcxx_cv_func_fabsf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66181,15 +47282,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _finitef(0); + fabsf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitef_use=yes + glibcxx_cv_func_fabsf_use=yes else - glibcxx_cv_func__finitef_use=no + glibcxx_cv_func_fabsf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66202,85 +47303,89 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5 -$as_echo "$glibcxx_cv_func__finitef_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; } - if test x$glibcxx_cv_func__finitef_use = x"yes"; then - for ac_func in _finitef + if test x$glibcxx_cv_func_fabsf_use = x"yes"; then + for ac_func in fabsf do : - ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef" -if test "x$ac_cv_func__finitef" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf" +if test "x$ac_cv_func_fabsf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEF 1 +#define HAVE_FABSF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 -$as_echo_n "checking for long double trig functions... " >&6; } - if ${glibcxx_cv_func_long_double_trig_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5 +$as_echo_n "checking for fmodf declaration... " >&6; } + if test x${glibcxx_cv_func_fmodf_use+set} != xset; then + if ${glibcxx_cv_func_fmodf_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { -acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); + fmodf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_trig_use=yes + glibcxx_cv_func_fmodf_use=yes else - glibcxx_cv_func_long_double_trig_use=no + glibcxx_cv_func_fmodf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } - if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then - for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; } + + if test x$glibcxx_cv_func_fmodf_use = x"yes"; then + for ac_func in fmodf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf" +if test "x$ac_cv_func_fmodf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FMODF 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5 -$as_echo_n "checking for _long double trig functions... " >&6; } - if ${glibcxx_cv_func__long_double_trig_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5 +$as_echo_n "checking for frexpf declaration... " >&6; } + if test x${glibcxx_cv_func_frexpf_use+set} != xset; then + if ${glibcxx_cv_func_frexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66297,15 +47402,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0); + frexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_trig_use=yes + glibcxx_cv_func_frexpf_use=yes else - glibcxx_cv_func__long_double_trig_use=no + glibcxx_cv_func_frexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66314,87 +47419,93 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; } - if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then - for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; } + + if test x$glibcxx_cv_func_frexpf_use = x"yes"; then + for ac_func in frexpf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf" +if test "x$ac_cv_func_frexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_FREXPF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 -$as_echo_n "checking for long double round functions... " >&6; } - if ${glibcxx_cv_func_long_double_round_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5 +$as_echo_n "checking for hypotf declaration... " >&6; } + if test x${glibcxx_cv_func_hypotf_use+set} != xset; then + if ${glibcxx_cv_func_hypotf_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { -ceill (0); floorl (0); + hypotf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_long_double_round_use=yes + glibcxx_cv_func_hypotf_use=yes else - glibcxx_cv_func_long_double_round_use=no + glibcxx_cv_func_hypotf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } - if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then - for ac_func in ceill floorl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; } + + if test x$glibcxx_cv_func_hypotf_use = x"yes"; then + for ac_func in hypotf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf" +if test "x$ac_cv_func_hypotf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_HYPOTF 1 _ACEOF fi done - else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5 -$as_echo_n "checking for _long double round functions... " >&6; } - if ${glibcxx_cv_func__long_double_round_use+:} false; then : + fi + + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5 +$as_echo_n "checking for ldexpf declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then + if ${glibcxx_cv_func_ldexpf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66411,15 +47522,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { -_ceill (0); _floorl (0); + ldexpf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__long_double_round_use=yes + glibcxx_cv_func_ldexpf_use=yes else - glibcxx_cv_func__long_double_round_use=no + glibcxx_cv_func_ldexpf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66428,35 +47539,33 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5 -$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; } - if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then - for ac_func in _ceill _floorl + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; } + + if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then + for ac_func in ldexpf do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : + ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf" +if test "x$ac_cv_func_ldexpf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define HAVE_LDEXPF 1 _ACEOF fi done - fi fi - - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 -$as_echo_n "checking for isnanl declaration... " >&6; } - if test x${glibcxx_cv_func_isnanl_use+set} != xset; then - if ${glibcxx_cv_func_isnanl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5 +$as_echo_n "checking for logf declaration... " >&6; } + if test x${glibcxx_cv_func_logf_use+set} != xset; then + if ${glibcxx_cv_func_logf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66477,15 +47586,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - isnanl(0); + logf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isnanl_use=yes + glibcxx_cv_func_logf_use=yes else - glibcxx_cv_func_isnanl_use=no + glibcxx_cv_func_logf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66498,27 +47607,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 -$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5 +$as_echo "$glibcxx_cv_func_logf_use" >&6; } - if test x$glibcxx_cv_func_isnanl_use = x"yes"; then - for ac_func in isnanl + if test x$glibcxx_cv_func_logf_use = x"yes"; then + for ac_func in logf do : - ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" -if test "x$ac_cv_func_isnanl" = xyes; then : + ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf" +if test "x$ac_cv_func_logf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISNANL 1 +#define HAVE_LOGF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5 -$as_echo_n "checking for _isnanl declaration... " >&6; } - if test x${glibcxx_cv_func__isnanl_use+set} != xset; then - if ${glibcxx_cv_func__isnanl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5 +$as_echo_n "checking for log10f declaration... " >&6; } + if test x${glibcxx_cv_func_log10f_use+set} != xset; then + if ${glibcxx_cv_func_log10f_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66539,15 +47650,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _isnanl(0); + log10f(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isnanl_use=yes + glibcxx_cv_func_log10f_use=yes else - glibcxx_cv_func__isnanl_use=no + glibcxx_cv_func_log10f_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66560,32 +47671,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5 -$as_echo "$glibcxx_cv_func__isnanl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; } - if test x$glibcxx_cv_func__isnanl_use = x"yes"; then - for ac_func in _isnanl + if test x$glibcxx_cv_func_log10f_use = x"yes"; then + for ac_func in log10f do : - ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl" -if test "x$ac_cv_func__isnanl" = xyes; then : + ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f" +if test "x$ac_cv_func_log10f" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISNANL 1 +#define HAVE_LOG10F 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 -$as_echo_n "checking for isinfl declaration... " >&6; } - if test x${glibcxx_cv_func_isinfl_use+set} != xset; then - if ${glibcxx_cv_func_isinfl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5 +$as_echo_n "checking for modff declaration... " >&6; } + if test x${glibcxx_cv_func_modff_use+set} != xset; then + if ${glibcxx_cv_func_modff_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66599,22 +47707,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - isinfl(0); + modff(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_isinfl_use=yes + glibcxx_cv_func_modff_use=yes else - glibcxx_cv_func_isinfl_use=no + glibcxx_cv_func_modff_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66627,27 +47731,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 -$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5 +$as_echo "$glibcxx_cv_func_modff_use" >&6; } - if test x$glibcxx_cv_func_isinfl_use = x"yes"; then - for ac_func in isinfl + if test x$glibcxx_cv_func_modff_use = x"yes"; then + for ac_func in modff do : - ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" -if test "x$ac_cv_func_isinfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff" +if test "x$ac_cv_func_modff" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ISINFL 1 +#define HAVE_MODFF 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5 -$as_echo_n "checking for _isinfl declaration... " >&6; } - if test x${glibcxx_cv_func__isinfl_use+set} != xset; then - if ${glibcxx_cv_func__isinfl_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5 +$as_echo_n "checking for modf declaration... " >&6; } + if test x${glibcxx_cv_func_modf_use+set} != xset; then + if ${glibcxx_cv_func_modf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66661,22 +47767,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _isinfl(0); + modf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__isinfl_use=yes + glibcxx_cv_func_modf_use=yes else - glibcxx_cv_func__isinfl_use=no + glibcxx_cv_func_modf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66689,32 +47791,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5 -$as_echo "$glibcxx_cv_func__isinfl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5 +$as_echo "$glibcxx_cv_func_modf_use" >&6; } - if test x$glibcxx_cv_func__isinfl_use = x"yes"; then - for ac_func in _isinfl + if test x$glibcxx_cv_func_modf_use = x"yes"; then + for ac_func in modf do : - ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl" -if test "x$ac_cv_func__isinfl" = xyes; then : + ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf" +if test "x$ac_cv_func_modf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ISINFL 1 +#define HAVE_MODF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 -$as_echo_n "checking for atan2l declaration... " >&6; } - if test x${glibcxx_cv_func_atan2l_use+set} != xset; then - if ${glibcxx_cv_func_atan2l_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5 +$as_echo_n "checking for powf declaration... " >&6; } + if test x${glibcxx_cv_func_powf_use+set} != xset; then + if ${glibcxx_cv_func_powf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66731,15 +47830,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - atan2l(0, 0); + powf(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_atan2l_use=yes + glibcxx_cv_func_powf_use=yes else - glibcxx_cv_func_atan2l_use=no + glibcxx_cv_func_powf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66752,27 +47851,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 -$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5 +$as_echo "$glibcxx_cv_func_powf_use" >&6; } - if test x$glibcxx_cv_func_atan2l_use = x"yes"; then - for ac_func in atan2l + if test x$glibcxx_cv_func_powf_use = x"yes"; then + for ac_func in powf do : - ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" -if test "x$ac_cv_func_atan2l" = xyes; then : + ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf" +if test "x$ac_cv_func_powf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_ATAN2L 1 +#define HAVE_POWF 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5 -$as_echo_n "checking for _atan2l declaration... " >&6; } - if test x${glibcxx_cv_func__atan2l_use+set} != xset; then - if ${glibcxx_cv_func__atan2l_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5 +$as_echo_n "checking for sqrtf declaration... " >&6; } + if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then + if ${glibcxx_cv_func_sqrtf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66786,18 +47887,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _atan2l(0, 0); + sqrtf(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__atan2l_use=yes + glibcxx_cv_func_sqrtf_use=yes else - glibcxx_cv_func__atan2l_use=no + glibcxx_cv_func_sqrtf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66810,32 +47915,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5 -$as_echo "$glibcxx_cv_func__atan2l_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; } - if test x$glibcxx_cv_func__atan2l_use = x"yes"; then - for ac_func in _atan2l + if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then + for ac_func in sqrtf do : - ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l" -if test "x$ac_cv_func__atan2l" = xyes; then : + ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf" +if test "x$ac_cv_func_sqrtf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__ATAN2L 1 +#define HAVE_SQRTF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 -$as_echo_n "checking for expl declaration... " >&6; } - if test x${glibcxx_cv_func_expl_use+set} != xset; then - if ${glibcxx_cv_func_expl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5 +$as_echo_n "checking for sincosf declaration... " >&6; } + if test x${glibcxx_cv_func_sincosf_use+set} != xset; then + if ${glibcxx_cv_func_sincosf_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66849,22 +47951,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - expl(0); + sincosf(0, 0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_expl_use=yes + glibcxx_cv_func_sincosf_use=yes else - glibcxx_cv_func_expl_use=no + glibcxx_cv_func_sincosf_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66877,27 +47975,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 -$as_echo "$glibcxx_cv_func_expl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; } - if test x$glibcxx_cv_func_expl_use = x"yes"; then - for ac_func in expl + if test x$glibcxx_cv_func_sincosf_use = x"yes"; then + for ac_func in sincosf do : - ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" -if test "x$ac_cv_func_expl" = xyes; then : + ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf" +if test "x$ac_cv_func_sincosf" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_EXPL 1 +#define HAVE_SINCOSF 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5 -$as_echo_n "checking for _expl declaration... " >&6; } - if test x${glibcxx_cv_func__expl_use+set} != xset; then - if ${glibcxx_cv_func__expl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5 +$as_echo_n "checking for finitef declaration... " >&6; } + if test x${glibcxx_cv_func_finitef_use+set} != xset; then + if ${glibcxx_cv_func_finitef_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -66918,15 +48018,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _expl(0); + finitef(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__expl_use=yes + glibcxx_cv_func_finitef_use=yes else - glibcxx_cv_func__expl_use=no + glibcxx_cv_func_finitef_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -66939,161 +48039,144 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5 -$as_echo "$glibcxx_cv_func__expl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; } - if test x$glibcxx_cv_func__expl_use = x"yes"; then - for ac_func in _expl + if test x$glibcxx_cv_func_finitef_use = x"yes"; then + for ac_func in finitef do : - ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl" -if test "x$ac_cv_func__expl" = xyes; then : + ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef" +if test "x$ac_cv_func_finitef" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__EXPL 1 +#define HAVE_FINITEF 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 -$as_echo_n "checking for fabsl declaration... " >&6; } - if test x${glibcxx_cv_func_fabsl_use+set} != xset; then - if ${glibcxx_cv_func_fabsl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5 +$as_echo_n "checking for long double trig functions... " >&6; } + if ${glibcxx_cv_func_long_double_trig_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - fabsl(0); +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fabsl_use=yes + glibcxx_cv_func_long_double_trig_use=yes else - glibcxx_cv_func_fabsl_use=no + glibcxx_cv_func_long_double_trig_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 -$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - - if test x$glibcxx_cv_func_fabsl_use = x"yes"; then - for ac_func in fabsl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; } + if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then + for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl do : - ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" -if test "x$ac_cv_func_fabsl" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FABSL 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5 -$as_echo_n "checking for _fabsl declaration... " >&6; } - if test x${glibcxx_cv_func__fabsl_use+set} != xset; then - if ${glibcxx_cv_func__fabsl_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5 +$as_echo_n "checking for long double round functions... " >&6; } + if ${glibcxx_cv_func_long_double_round_use+:} false; then : $as_echo_n "(cached) " >&6 else - ac_ext=cpp + ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - cat confdefs.h - <<_ACEOF >conftest.$ac_ext + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - _fabsl(0); +ceill (0); floorl (0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fabsl_use=yes + glibcxx_cv_func_long_double_round_use=yes else - glibcxx_cv_func__fabsl_use=no + glibcxx_cv_func_long_double_round_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c + ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu - fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5 -$as_echo "$glibcxx_cv_func__fabsl_use" >&6; } - - if test x$glibcxx_cv_func__fabsl_use = x"yes"; then - for ac_func in _fabsl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; } + if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then + for ac_func in ceill floorl do : - ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl" -if test "x$ac_cv_func__fabsl" = xyes; then : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FABSL 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 -$as_echo_n "checking for fmodl declaration... " >&6; } - if test x${glibcxx_cv_func_fmodl_use+set} != xset; then - if ${glibcxx_cv_func_fmodl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5 +$as_echo_n "checking for isnanl declaration... " >&6; } + if test x${glibcxx_cv_func_isnanl_use+set} != xset; then + if ${glibcxx_cv_func_isnanl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67107,18 +48190,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - fmodl(0, 0); + isnanl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_fmodl_use=yes + glibcxx_cv_func_isnanl_use=yes else - glibcxx_cv_func_fmodl_use=no + glibcxx_cv_func_isnanl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67131,27 +48218,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 -$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; } - if test x$glibcxx_cv_func_fmodl_use = x"yes"; then - for ac_func in fmodl + if test x$glibcxx_cv_func_isnanl_use = x"yes"; then + for ac_func in isnanl do : - ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" -if test "x$ac_cv_func_fmodl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl" +if test "x$ac_cv_func_isnanl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FMODL 1 +#define HAVE_ISNANL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5 -$as_echo_n "checking for _fmodl declaration... " >&6; } - if test x${glibcxx_cv_func__fmodl_use+set} != xset; then - if ${glibcxx_cv_func__fmodl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5 +$as_echo_n "checking for isinfl declaration... " >&6; } + if test x${glibcxx_cv_func_isinfl_use+set} != xset; then + if ${glibcxx_cv_func_isinfl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67165,18 +48254,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _fmodl(0, 0); + isinfl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__fmodl_use=yes + glibcxx_cv_func_isinfl_use=yes else - glibcxx_cv_func__fmodl_use=no + glibcxx_cv_func_isinfl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67189,32 +48282,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5 -$as_echo "$glibcxx_cv_func__fmodl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; } - if test x$glibcxx_cv_func__fmodl_use = x"yes"; then - for ac_func in _fmodl + if test x$glibcxx_cv_func_isinfl_use = x"yes"; then + for ac_func in isinfl do : - ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl" -if test "x$ac_cv_func__fmodl" = xyes; then : + ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl" +if test "x$ac_cv_func_isinfl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FMODL 1 +#define HAVE_ISINFL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 -$as_echo_n "checking for frexpl declaration... " >&6; } - if test x${glibcxx_cv_func_frexpl_use+set} != xset; then - if ${glibcxx_cv_func_frexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5 +$as_echo_n "checking for atan2l declaration... " >&6; } + if test x${glibcxx_cv_func_atan2l_use+set} != xset; then + if ${glibcxx_cv_func_atan2l_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67231,15 +48321,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - frexpl(0, 0); + atan2l(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_frexpl_use=yes + glibcxx_cv_func_atan2l_use=yes else - glibcxx_cv_func_frexpl_use=no + glibcxx_cv_func_atan2l_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67252,27 +48342,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 -$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; } - if test x$glibcxx_cv_func_frexpl_use = x"yes"; then - for ac_func in frexpl + if test x$glibcxx_cv_func_atan2l_use = x"yes"; then + for ac_func in atan2l do : - ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" -if test "x$ac_cv_func_frexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l" +if test "x$ac_cv_func_atan2l" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_FREXPL 1 +#define HAVE_ATAN2L 1 _ACEOF fi done - else + fi + + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5 -$as_echo_n "checking for _frexpl declaration... " >&6; } - if test x${glibcxx_cv_func__frexpl_use+set} != xset; then - if ${glibcxx_cv_func__frexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5 +$as_echo_n "checking for expl declaration... " >&6; } + if test x${glibcxx_cv_func_expl_use+set} != xset; then + if ${glibcxx_cv_func_expl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67286,18 +48378,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - _frexpl(0, 0); + expl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__frexpl_use=yes + glibcxx_cv_func_expl_use=yes else - glibcxx_cv_func__frexpl_use=no + glibcxx_cv_func_expl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67310,32 +48406,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5 -$as_echo "$glibcxx_cv_func__frexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5 +$as_echo "$glibcxx_cv_func_expl_use" >&6; } - if test x$glibcxx_cv_func__frexpl_use = x"yes"; then - for ac_func in _frexpl + if test x$glibcxx_cv_func_expl_use = x"yes"; then + for ac_func in expl do : - ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl" -if test "x$ac_cv_func__frexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl" +if test "x$ac_cv_func_expl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__FREXPL 1 +#define HAVE_EXPL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 -$as_echo_n "checking for hypotl declaration... " >&6; } - if test x${glibcxx_cv_func_hypotl_use+set} != xset; then - if ${glibcxx_cv_func_hypotl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5 +$as_echo_n "checking for fabsl declaration... " >&6; } + if test x${glibcxx_cv_func_fabsl_use+set} != xset; then + if ${glibcxx_cv_func_fabsl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67349,18 +48442,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include + #ifdef HAVE_IEEEFP_H + #include + #endif + int main () { - hypotl(0, 0); + fabsl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_hypotl_use=yes + glibcxx_cv_func_fabsl_use=yes else - glibcxx_cv_func_hypotl_use=no + glibcxx_cv_func_fabsl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67373,27 +48470,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 -$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; } - if test x$glibcxx_cv_func_hypotl_use = x"yes"; then - for ac_func in hypotl + if test x$glibcxx_cv_func_fabsl_use = x"yes"; then + for ac_func in fabsl do : - ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" -if test "x$ac_cv_func_hypotl" = xyes; then : + ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl" +if test "x$ac_cv_func_fabsl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_HYPOTL 1 +#define HAVE_FABSL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5 -$as_echo_n "checking for _hypotl declaration... " >&6; } - if test x${glibcxx_cv_func__hypotl_use+set} != xset; then - if ${glibcxx_cv_func__hypotl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5 +$as_echo_n "checking for fmodl declaration... " >&6; } + if test x${glibcxx_cv_func_fmodl_use+set} != xset; then + if ${glibcxx_cv_func_fmodl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67410,15 +48509,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _hypotl(0, 0); + fmodl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__hypotl_use=yes + glibcxx_cv_func_fmodl_use=yes else - glibcxx_cv_func__hypotl_use=no + glibcxx_cv_func_fmodl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67431,32 +48530,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5 -$as_echo "$glibcxx_cv_func__hypotl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; } - if test x$glibcxx_cv_func__hypotl_use = x"yes"; then - for ac_func in _hypotl + if test x$glibcxx_cv_func_fmodl_use = x"yes"; then + for ac_func in fmodl do : - ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl" -if test "x$ac_cv_func__hypotl" = xyes; then : + ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl" +if test "x$ac_cv_func_fmodl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__HYPOTL 1 +#define HAVE_FMODL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 -$as_echo_n "checking for ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then - if ${glibcxx_cv_func_ldexpl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5 +$as_echo_n "checking for frexpl declaration... " >&6; } + if test x${glibcxx_cv_func_frexpl_use+set} != xset; then + if ${glibcxx_cv_func_frexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67473,15 +48569,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - ldexpl(0, 0); + frexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_ldexpl_use=yes + glibcxx_cv_func_frexpl_use=yes else - glibcxx_cv_func_ldexpl_use=no + glibcxx_cv_func_frexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67494,27 +48590,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; } - if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then - for ac_func in ldexpl + if test x$glibcxx_cv_func_frexpl_use = x"yes"; then + for ac_func in frexpl do : - ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" -if test "x$ac_cv_func_ldexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl" +if test "x$ac_cv_func_frexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LDEXPL 1 +#define HAVE_FREXPL 1 _ACEOF fi done - else + fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5 -$as_echo_n "checking for _ldexpl declaration... " >&6; } - if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then - if ${glibcxx_cv_func__ldexpl_use+:} false; then : + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5 +$as_echo_n "checking for hypotl declaration... " >&6; } + if test x${glibcxx_cv_func_hypotl_use+set} != xset; then + if ${glibcxx_cv_func_hypotl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67531,15 +48629,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _ldexpl(0, 0); + hypotl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__ldexpl_use=yes + glibcxx_cv_func_hypotl_use=yes else - glibcxx_cv_func__ldexpl_use=no + glibcxx_cv_func_hypotl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67552,32 +48650,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5 -$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; } - if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then - for ac_func in _ldexpl + if test x$glibcxx_cv_func_hypotl_use = x"yes"; then + for ac_func in hypotl do : - ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl" -if test "x$ac_cv_func__ldexpl" = xyes; then : + ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl" +if test "x$ac_cv_func_hypotl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LDEXPL 1 +#define HAVE_HYPOTL 1 _ACEOF fi done - fi fi - - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 -$as_echo_n "checking for logl declaration... " >&6; } - if test x${glibcxx_cv_func_logl_use+set} != xset; then - if ${glibcxx_cv_func_logl_use+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5 +$as_echo_n "checking for ldexpl declaration... " >&6; } + if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then + if ${glibcxx_cv_func_ldexpl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67591,22 +48686,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include - #ifdef HAVE_IEEEFP_H - #include - #endif - int main () { - logl(0); + ldexpl(0, 0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func_logl_use=yes + glibcxx_cv_func_ldexpl_use=yes else - glibcxx_cv_func_logl_use=no + glibcxx_cv_func_ldexpl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67619,27 +48710,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 -$as_echo "$glibcxx_cv_func_logl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; } - if test x$glibcxx_cv_func_logl_use = x"yes"; then - for ac_func in logl + if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then + for ac_func in ldexpl do : - ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" -if test "x$ac_cv_func_logl" = xyes; then : + ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl" +if test "x$ac_cv_func_ldexpl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE_LOGL 1 +#define HAVE_LDEXPL 1 _ACEOF fi done - else + fi + - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5 -$as_echo_n "checking for _logl declaration... " >&6; } - if test x${glibcxx_cv_func__logl_use+set} != xset; then - if ${glibcxx_cv_func__logl_use+:} false; then : + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5 +$as_echo_n "checking for logl declaration... " >&6; } + if test x${glibcxx_cv_func_logl_use+set} != xset; then + if ${glibcxx_cv_func_logl_use+:} false; then : $as_echo_n "(cached) " >&6 else @@ -67660,15 +48753,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu int main () { - _logl(0); + logl(0); ; return 0; } _ACEOF if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__logl_use=yes + glibcxx_cv_func_logl_use=yes else - glibcxx_cv_func__logl_use=no + glibcxx_cv_func_logl_use=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_ext=c @@ -67681,28 +48774,25 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu fi fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5 -$as_echo "$glibcxx_cv_func__logl_use" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5 +$as_echo "$glibcxx_cv_func_logl_use" >&6; } - if test x$glibcxx_cv_func__logl_use = x"yes"; then - for ac_func in _logl + if test x$glibcxx_cv_func_logl_use = x"yes"; then + for ac_func in logl do : - ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl" -if test "x$ac_cv_func__logl" = xyes; then : + ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl" +if test "x$ac_cv_func_logl" = xyes; then : cat >>confdefs.h <<_ACEOF -#define HAVE__LOGL 1 +#define HAVE_LOGL 1 _ACEOF fi done - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5 $as_echo_n "checking for log10l declaration... " >&6; } if test x${glibcxx_cv_func_log10l_use+set} != xset; then @@ -67763,72 +48853,7 @@ _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5 -$as_echo_n "checking for _log10l declaration... " >&6; } - if test x${glibcxx_cv_func__log10l_use+set} != xset; then - if ${glibcxx_cv_func__log10l_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _log10l(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__log10l_use=yes -else - glibcxx_cv_func__log10l_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5 -$as_echo "$glibcxx_cv_func__log10l_use" >&6; } - - if test x$glibcxx_cv_func__log10l_use = x"yes"; then - for ac_func in _log10l -do : - ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l" -if test "x$ac_cv_func__log10l" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__LOG10L 1 -_ACEOF - -fi -done - - fi - fi - - @@ -67888,68 +48913,7 @@ _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5 -$as_echo_n "checking for _modfl declaration... " >&6; } - if test x${glibcxx_cv_func__modfl_use+set} != xset; then - if ${glibcxx_cv_func__modfl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _modfl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__modfl_use=yes -else - glibcxx_cv_func__modfl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5 -$as_echo "$glibcxx_cv_func__modfl_use" >&6; } - - if test x$glibcxx_cv_func__modfl_use = x"yes"; then - for ac_func in _modfl -do : - ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl" -if test "x$ac_cv_func__modfl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__MODFL 1 -_ACEOF - -fi -done - - fi - fi - - @@ -68009,71 +48973,10 @@ _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5 -$as_echo_n "checking for _powl declaration... " >&6; } - if test x${glibcxx_cv_func__powl_use+set} != xset; then - if ${glibcxx_cv_func__powl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _powl(0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__powl_use=yes -else - glibcxx_cv_func__powl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5 -$as_echo "$glibcxx_cv_func__powl_use" >&6; } - - if test x$glibcxx_cv_func__powl_use = x"yes"; then - for ac_func in _powl -do : - ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl" -if test "x$ac_cv_func__powl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__POWL 1 -_ACEOF - -fi -done - - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5 $as_echo_n "checking for sqrtl declaration... " >&6; } if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then @@ -68134,75 +49037,10 @@ _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5 -$as_echo_n "checking for _sqrtl declaration... " >&6; } - if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then - if ${glibcxx_cv_func__sqrtl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _sqrtl(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sqrtl_use=yes -else - glibcxx_cv_func__sqrtl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5 -$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; } - - if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then - for ac_func in _sqrtl -do : - ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl" -if test "x$ac_cv_func__sqrtl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SQRTL 1 -_ACEOF - -fi -done - - fi fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5 $as_echo_n "checking for sincosl declaration... " >&6; } if test x${glibcxx_cv_func_sincosl_use+set} != xset; then @@ -68259,68 +49097,7 @@ _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5 -$as_echo_n "checking for _sincosl declaration... " >&6; } - if test x${glibcxx_cv_func__sincosl_use+set} != xset; then - if ${glibcxx_cv_func__sincosl_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include -int -main () -{ - _sincosl(0, 0, 0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__sincosl_use=yes -else - glibcxx_cv_func__sincosl_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5 -$as_echo "$glibcxx_cv_func__sincosl_use" >&6; } - - if test x$glibcxx_cv_func__sincosl_use = x"yes"; then - for ac_func in _sincosl -do : - ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl" -if test "x$ac_cv_func__sincosl" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__SINCOSL 1 -_ACEOF - -fi -done - - fi - fi - - @@ -68384,74 +49161,9 @@ _ACEOF fi done - else - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5 -$as_echo_n "checking for _finitel declaration... " >&6; } - if test x${glibcxx_cv_func__finitel_use+set} != xset; then - if ${glibcxx_cv_func__finitel_use+:} false; then : - $as_echo_n "(cached) " >&6 -else - - - ac_ext=cpp -ac_cpp='$CXXCPP $CPPFLAGS' -ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_cxx_compiler_gnu - - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include - #ifdef HAVE_IEEEFP_H - #include - #endif - -int -main () -{ - _finitel(0); - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - glibcxx_cv_func__finitel_use=yes -else - glibcxx_cv_func__finitel_use=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -fi - - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5 -$as_echo "$glibcxx_cv_func__finitel_use" >&6; } - - if test x$glibcxx_cv_func__finitel_use = x"yes"; then - for ac_func in _finitel -do : - ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel" -if test "x$ac_cv_func__finitel" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE__FINITEL 1 -_ACEOF - -fi -done - - fi fi - - LIBS="$ac_save_LIBS" CXXFLAGS="$ac_save_CXXFLAGS" @@ -68635,8 +49347,6 @@ done fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5 $as_echo_n "checking for strtof declaration... " >&6; } if test x${glibcxx_cv_func_strtof_use+set} != xset; then @@ -68695,8 +49405,6 @@ done fi - - CXXFLAGS="$ac_save_CXXFLAGS" ;; diff --git a/libstdc++-v3/linkage.m4 b/libstdc++-v3/linkage.m4 index 45a09cdf4453..29b31447c984 100644 --- a/libstdc++-v3/linkage.m4 +++ b/libstdc++-v3/linkage.m4 @@ -28,27 +28,10 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECL_1], [ ]) -dnl -dnl Define autoheader template for using the underscore functions -dnl For each parameter, create a macro where if func doesn't exist, -dnl but _func does, then it will "#define func _func". -dnl -dnl GLIBCXX_MAYBE_UNDERSCORED_FUNCS -AC_DEFUN([GLIBCXX_MAYBE_UNDERSCORED_FUNCS], -[AC_FOREACH([glibcxx_ufunc], [$1], - [AH_VERBATIM(_[]glibcxx_ufunc, -[#if defined (]AS_TR_CPP(HAVE__[]glibcxx_ufunc)[) && ! defined (]AS_TR_CPP(HAVE_[]glibcxx_ufunc)[) -# define ]AS_TR_CPP(HAVE_[]glibcxx_ufunc)[ 1 -# define ]glibcxx_ufunc[ _]glibcxx_ufunc[ -#endif])]) -]) - - 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 @@ -61,13 +44,7 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_1], [ GLIBCXX_CHECK_MATH_DECL_1($1) if test x$glibcxx_cv_func_$1_use = x"yes"; then AC_CHECK_FUNCS($1) - else - GLIBCXX_CHECK_MATH_DECL_1(_$1) - if test x$glibcxx_cv_func__$1_use = x"yes"; then - AC_CHECK_FUNCS(_$1) - fi fi - GLIBCXX_MAYBE_UNDERSCORED_FUNCS($1) ]) @@ -90,22 +67,7 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECLS_AND_LINKAGES_1], [ AC_MSG_RESULT($glibcxx_cv_func_$2_use) if test x$glibcxx_cv_func_$2_use = x"yes"; then AC_CHECK_FUNCS(funclist) - else - AC_MSG_CHECKING([for _$1 functions]) - AC_CACHE_VAL(glibcxx_cv_func__$2_use, [ - AC_LANG_SAVE - AC_LANG_CPLUSPLUS - AC_TRY_COMPILE([#include ], - patsubst(funclist,[\w+],[_\& (0);]), - [glibcxx_cv_func__$2_use=yes], - [glibcxx_cv_func__$2_use=no]) - AC_LANG_RESTORE]) - AC_MSG_RESULT($glibcxx_cv_func__$2_use) - if test x$glibcxx_cv_func__$2_use = x"yes"; then - AC_CHECK_FUNCS(patsubst(funclist,[\w+],[_\&])) - fi fi - GLIBCXX_MAYBE_UNDERSCORED_FUNCS(funclist) undefine([funclist]) ]) @@ -146,13 +108,7 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_2], [ GLIBCXX_CHECK_MATH_DECL_2($1) if test x$glibcxx_cv_func_$1_use = x"yes"; then AC_CHECK_FUNCS($1) - else - GLIBCXX_CHECK_MATH_DECL_2(_$1) - if test x$glibcxx_cv_func__$1_use = x"yes"; then - AC_CHECK_FUNCS(_$1) - fi fi - GLIBCXX_MAYBE_UNDERSCORED_FUNCS($1) ]) @@ -193,13 +149,7 @@ AC_DEFUN([GLIBCXX_CHECK_MATH_DECL_AND_LINKAGE_3], [ GLIBCXX_CHECK_MATH_DECL_3($1) if test x$glibcxx_cv_func_$1_use = x"yes"; then AC_CHECK_FUNCS($1) - else - GLIBCXX_CHECK_MATH_DECL_3(_$1) - if test x$glibcxx_cv_func__$1_use = x"yes"; then - AC_CHECK_FUNCS(_$1) - fi fi - GLIBCXX_MAYBE_UNDERSCORED_FUNCS($1) ]) @@ -287,7 +237,6 @@ AC_DEFUN([GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_2], [ if test x$glibcxx_cv_func_$1_use = x"yes"; then AC_CHECK_FUNCS($1) fi - GLIBCXX_MAYBE_UNDERSCORED_FUNCS($1) ])