From: Benjamin Kosnik Date: Wed, 14 Jun 2000 01:16:03 +0000 (+0000) Subject: [multiple changes] X-Git-Tag: prereleases/libstdc++-2.92~5827 X-Git-Url: https://gcc.gnu.org/git/?a=commitdiff_plain;h=5ae55a2e04d9c820dc0ed10f1bb062505a73760f;p=gcc.git [multiple changes] 2000-06-13 Steven King * acinclude.m4: Fixup some of the builtin math tests and add tests for __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl. * acconfig.h: Add entries for fmod*. 2000-06-13 Branko Cibej * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF). Test *_MODFF not *_MODF for modf(float, float*). (modf(float, float*)): Remove reference to _C_legacy. From-SVN: r34539 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index eafe9b20ebd0..47b8f8ef583d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -4,6 +4,12 @@ __builtin_fmod* and test libm for fmodf, fmodl or _fmodf, _fmodl. * acconfig.h: Add entries for fmod*. +2000-06-13 Branko Cibej + + * bits/std_cmath.h: Fix typos in tests (*_FMODFF -> *_FMODF). + Test *_MODFF not *_MODF for modf(float, float*). + (modf(float, float*)): Remove reference to _C_legacy. + 2000-06-13 Benjamin Kosnik * acinclude.m4 (enable_cshadow_headers): Change CSHADOWFLAGS to diff --git a/libstdc++-v3/acconfig.h b/libstdc++-v3/acconfig.h index 510465d65599..91ac28714036 100644 --- a/libstdc++-v3/acconfig.h +++ b/libstdc++-v3/acconfig.h @@ -102,6 +102,15 @@ // Define if the compiler/host combination has __builtin_floorl #undef HAVE_BUILTIN_FLOORL +// Define if the compiler/host combination has __builtin_fmod +#undef HAVE_BUILTIN_FMOD + +// Define if the compiler/host combination has __builtin_fmodf +#undef HAVE_BUILTIN_FMODF + +// Define if the compiler/host combination has __builtin_fmodl +#undef HAVE_BUILTIN_FMODL + // Define if the compiler/host combination has __builtin_frexp #undef HAVE_BUILTIN_FREXP diff --git a/libstdc++-v3/acinclude.m4 b/libstdc++-v3/acinclude.m4 index 8982d46c5869..9bbb3b3bc006 100644 --- a/libstdc++-v3/acinclude.m4 +++ b/libstdc++-v3/acinclude.m4 @@ -256,6 +256,9 @@ dnl check for __builtin_fabsl dnl check for __builtin_floor dnl check for __builtin_floorf dnl check for __builtin_floorl +dnl check for __builtin_fmod +dnl check for __builtin_fmodf +dnl check for __builtin_fmodl dnl check for __builtin_frexp dnl check for __builtin_frexpf dnl check for __builtin_frexpl @@ -368,7 +371,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_atan2]) AC_TRY_COMPILE([#include ], - [ __builtin_atan2(0.0);], + [ __builtin_atan2(0.0, 0.0);], use_builtin_atan2=yes, use_builtin_atan2=no) AC_MSG_RESULT($use_builtin_atan2) if test $use_builtin_atan2 = "yes"; then @@ -376,7 +379,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_atan2f]) AC_TRY_COMPILE([#include ], - [ __builtin_atan2f(0.0);], + [ __builtin_atan2f(0.0, 0.0);], use_builtin_atan2f=yes, use_builtin_atan2f=no) AC_MSG_RESULT($use_builtin_atan2f) if test $use_builtin_atan2f = "yes"; then @@ -384,7 +387,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_atan2l]) AC_TRY_COMPILE([#include ], - [ __builtin_atan2l(0.0);], + [ __builtin_atan2l(0.0, 0.0);], use_builtin_atan2l=yes, use_builtin_atan2l=no) AC_MSG_RESULT($use_builtin_atan2l) if test $use_builtin_atan2l = "yes"; then @@ -512,7 +515,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_floor]) AC_TRY_COMPILE([#include ], - [ __builtin_ffloor(0.0);], + [ __builtin_floor(0.0);], use_builtin_floor=yes, use_builtin_floor=no) AC_MSG_RESULT($use_builtin_floor) if test $use_builtin_floor = "yes"; then @@ -534,9 +537,33 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ if test $use_builtin_floorl = "yes"; then AC_DEFINE(HAVE_BUILTIN_FLOORL) fi + AC_MSG_CHECKING([for __builtin_fmod]) + AC_TRY_COMPILE([#include ], + [ __builtin_fmod(0.0, 0.0);], + use_builtin_fmod=yes, use_builtin_fmod=no) + AC_MSG_RESULT($use_builtin_fmod) + if test $use_builtin_fmod = "yes"; then + AC_DEFINE(HAVE_BUILTIN_FMOD) + fi + AC_MSG_CHECKING([for __builtin_fmodf]) + AC_TRY_COMPILE([#include ], + [ __builtin_fmodf(0.0, 0.0);], + use_builtin_fmodf=yes, use_builtin_fmodf=no) + AC_MSG_RESULT($use_builtin_fmodf) + if test $use_builtin_fmodf = "yes"; then + AC_DEFINE(HAVE_BUILTIN_FMODF) + fi + AC_MSG_CHECKING([for __builtin_fmodl]) + AC_TRY_COMPILE([#include ], + [ __builtin_fmodl(0.0, 0.0);], + use_builtin_fmodl=yes, use_builtin_fmodl=no) + AC_MSG_RESULT($use_builtin_fmodl) + if test $use_builtin_fmodl = "yes"; then + AC_DEFINE(HAVE_BUILTIN_FMODL) + fi AC_MSG_CHECKING([for __builtin_frexp]) AC_TRY_COMPILE([#include ], - [ __builtin_frexp(0.0);], + [ __builtin_frexp(0.0, 0);], use_builtin_frexp=yes, use_builtin_frexp=no) AC_MSG_RESULT($use_builtin_frexp) if test $use_builtin_frexp = "yes"; then @@ -544,7 +571,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_frexpf]) AC_TRY_COMPILE([#include ], - [ __builtin_frexpf(0.0);], + [ __builtin_frexpf(0.0, 0);], use_builtin_frexpf=yes, use_builtin_frexpf=no) AC_MSG_RESULT($use_builtin_frexpf) if test $use_builtin_frexpf = "yes"; then @@ -552,7 +579,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_frexpl]) AC_TRY_COMPILE([#include ], - [ __builtin_frexpl(0.0);], + [ __builtin_frexpl(0.0, 0);], use_builtin_frexpl=yes, use_builtin_frexpl=no) AC_MSG_RESULT($use_builtin_frexpl) if test $use_builtin_frexpl = "yes"; then @@ -560,7 +587,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_ldexp]) AC_TRY_COMPILE([#include ], - [ __builtin_ldexp(0.0);], + [ __builtin_ldexp(0.0, 0);], use_builtin_ldexp=yes, use_builtin_ldexp=no) AC_MSG_RESULT($use_builtin_ldexp) if test $use_builtin_ldexp = "yes"; then @@ -568,7 +595,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_ldexpf]) AC_TRY_COMPILE([#include ], - [ __builtin_ldexpf(0.0);], + [ __builtin_ldexpf(0.0, 0);], use_builtin_ldexpf=yes, use_builtin_ldexpf=no) AC_MSG_RESULT($use_builtin_ldexpf) if test $use_builtin_ldexpf = "yes"; then @@ -576,7 +603,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_ldexpl]) AC_TRY_COMPILE([#include ], - [ __builtin_ldexpl(0.0);], + [ __builtin_ldexpl(0.0, 0);], use_builtin_ldexpl=yes, use_builtin_ldexpl=no) AC_MSG_RESULT($use_builtin_ldexpl) if test $use_builtin_ldexpl = "yes"; then @@ -632,7 +659,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_modf]) AC_TRY_COMPILE([#include ], - [ __builtin_modf(0.0);], + [ __builtin_modf(0.0, 0);], use_builtin_modf=yes, use_builtin_modf=no) AC_MSG_RESULT($use_builtin_modf) if test $use_builtin_modf = "yes"; then @@ -640,7 +667,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_modff]) AC_TRY_COMPILE([#include ], - [ __builtin_modff(0.0);], + [ __builtin_modff(0.0, 0);], use_builtin_modff=yes, use_builtin_modff=no) AC_MSG_RESULT($use_builtin_modff) if test $use_builtin_modff = "yes"; then @@ -648,7 +675,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_modfl]) AC_TRY_COMPILE([#include ], - [ __builtin_modfl(0.0);], + [ __builtin_modfl(0.0, 0);], use_builtin_modfl=yes, use_builtin_modfl=no) AC_MSG_RESULT($use_builtin_modfl) if test $use_builtin_modfl = "yes"; then @@ -656,7 +683,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_pow]) AC_TRY_COMPILE([#include ], - [ __builtin_pow(0.0);], + [ __builtin_pow(0.0, 0.0);], use_builtin_pow=yes, use_builtin_pow=no) AC_MSG_RESULT($use_builtin_pow) if test $use_builtin_pow = "yes"; then @@ -664,7 +691,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_powf]) AC_TRY_COMPILE([#include ], - [ __builtin_powf(0.0);], + [ __builtin_powf(0.0, 0.0);], use_builtin_powf=yes, use_builtin_powf=no) AC_MSG_RESULT($use_builtin_powf) if test $use_builtin_powf = "yes"; then @@ -672,7 +699,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_powl]) AC_TRY_COMPILE([#include ], - [ __builtin_powl(0.0);], + [ __builtin_powl(0.0, 0.0);], use_builtin_powl=yes, use_builtin_powl=no) AC_MSG_RESULT($use_builtin_powl) if test $use_builtin_powl = "yes"; then @@ -1030,8 +1057,8 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ AC_REPLACE_MATHFUNCS(cosf fabsf sinf sqrtf) AC_CHECK_FUNCS(isnan isnanf isnanl isinf isinff isinfl copysign copysignl \ acosf acosl asinf asinl atanf atanl atan2f atan2l ceilf ceill cosl \ - coshf coshl expf expl fabsl floorf floorl frexpf frexpl ldexpf \ - ldexpl logf logl log10f log10l modf modff modfl powf powl sinl sinhf \ + coshf coshl expf expl fabsl floorf floorl fmodf fmodl frexpf frexpl ldexpf \ + ldexpl logf logl log10f log10l modff modfl powf powl sinl sinhf \ sinhl sqrtl tanf tanl tanhf tanhl strtof strtold sincos sincosf \ sincosl finite finitef finitel fqfinite fpclass qfpclass) @@ -1043,10 +1070,10 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ AC_CHECK_FUNCS(_isnan _isnanf _isnanl _isinf _isinff _isinfl _copysign \ _copysignl _acosf _acosl _asinf _asinl _atanf _atanl _atan2f _atan2l \ _ceilf _ceill _cosf _cosl _coshf _coshl _expf _expl _fabsf _fabsl \ - _floorf _floorl _frexpf _frexpl _ldexpf _ldexpl _logf _logl _log10f \ - _log10l _modf _modff _modfl _powf _powl _sinf _sinl _sinhf _sinhl _sqrtf \ - _sqrtl _tanf _tanl _tanhf _tanhl _strtof _strtold _sincos _sincosf _sincosl \ - _finite _finitef _finitel _fqfinite _fpclass _qfpclass) + _floorf _floorl _fmodf _fmodl _frexpf _frexpl _ldexpf _ldexpl _logf _logl \ + _log10f _log10l _modff _modfl _powf _powl _sinf _sinl _sinhf _sinhl \ + _sqrtf _sqrtl _tanf _tanl _tanhf _tanhl _strtof _strtold _sincos _sincosf \ + _sincosl _finite _finitef _finitel _fqfinite _fpclass _qfpclass) LIBS="$save_LIBS" ]) diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4 index a3a64da57b20..bfe90f2dc5ed 100644 --- a/libstdc++-v3/aclocal.m4 +++ b/libstdc++-v3/aclocal.m4 @@ -268,6 +268,9 @@ dnl check for __builtin_fabsl dnl check for __builtin_floor dnl check for __builtin_floorf dnl check for __builtin_floorl +dnl check for __builtin_fmod +dnl check for __builtin_fmodf +dnl check for __builtin_fmodl dnl check for __builtin_frexp dnl check for __builtin_frexpf dnl check for __builtin_frexpl @@ -380,7 +383,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_atan2]) AC_TRY_COMPILE([#include ], - [ __builtin_atan2(0.0);], + [ __builtin_atan2(0.0, 0.0);], use_builtin_atan2=yes, use_builtin_atan2=no) AC_MSG_RESULT($use_builtin_atan2) if test $use_builtin_atan2 = "yes"; then @@ -388,7 +391,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_atan2f]) AC_TRY_COMPILE([#include ], - [ __builtin_atan2f(0.0);], + [ __builtin_atan2f(0.0, 0.0);], use_builtin_atan2f=yes, use_builtin_atan2f=no) AC_MSG_RESULT($use_builtin_atan2f) if test $use_builtin_atan2f = "yes"; then @@ -396,7 +399,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_atan2l]) AC_TRY_COMPILE([#include ], - [ __builtin_atan2l(0.0);], + [ __builtin_atan2l(0.0, 0.0);], use_builtin_atan2l=yes, use_builtin_atan2l=no) AC_MSG_RESULT($use_builtin_atan2l) if test $use_builtin_atan2l = "yes"; then @@ -524,7 +527,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_floor]) AC_TRY_COMPILE([#include ], - [ __builtin_ffloor(0.0);], + [ __builtin_floor(0.0);], use_builtin_floor=yes, use_builtin_floor=no) AC_MSG_RESULT($use_builtin_floor) if test $use_builtin_floor = "yes"; then @@ -546,9 +549,33 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ if test $use_builtin_floorl = "yes"; then AC_DEFINE(HAVE_BUILTIN_FLOORL) fi + AC_MSG_CHECKING([for __builtin_fmod]) + AC_TRY_COMPILE([#include ], + [ __builtin_fmod(0.0, 0.0);], + use_builtin_fmod=yes, use_builtin_fmod=no) + AC_MSG_RESULT($use_builtin_fmod) + if test $use_builtin_fmod = "yes"; then + AC_DEFINE(HAVE_BUILTIN_FMOD) + fi + AC_MSG_CHECKING([for __builtin_fmodf]) + AC_TRY_COMPILE([#include ], + [ __builtin_fmodf(0.0, 0.0);], + use_builtin_fmodf=yes, use_builtin_fmodf=no) + AC_MSG_RESULT($use_builtin_fmodf) + if test $use_builtin_fmodf = "yes"; then + AC_DEFINE(HAVE_BUILTIN_FMODF) + fi + AC_MSG_CHECKING([for __builtin_fmodl]) + AC_TRY_COMPILE([#include ], + [ __builtin_fmodl(0.0, 0.0);], + use_builtin_fmodl=yes, use_builtin_fmodl=no) + AC_MSG_RESULT($use_builtin_fmodl) + if test $use_builtin_fmodl = "yes"; then + AC_DEFINE(HAVE_BUILTIN_FMODL) + fi AC_MSG_CHECKING([for __builtin_frexp]) AC_TRY_COMPILE([#include ], - [ __builtin_frexp(0.0);], + [ __builtin_frexp(0.0, 0);], use_builtin_frexp=yes, use_builtin_frexp=no) AC_MSG_RESULT($use_builtin_frexp) if test $use_builtin_frexp = "yes"; then @@ -556,7 +583,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_frexpf]) AC_TRY_COMPILE([#include ], - [ __builtin_frexpf(0.0);], + [ __builtin_frexpf(0.0, 0);], use_builtin_frexpf=yes, use_builtin_frexpf=no) AC_MSG_RESULT($use_builtin_frexpf) if test $use_builtin_frexpf = "yes"; then @@ -564,7 +591,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_frexpl]) AC_TRY_COMPILE([#include ], - [ __builtin_frexpl(0.0);], + [ __builtin_frexpl(0.0, 0);], use_builtin_frexpl=yes, use_builtin_frexpl=no) AC_MSG_RESULT($use_builtin_frexpl) if test $use_builtin_frexpl = "yes"; then @@ -572,7 +599,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_ldexp]) AC_TRY_COMPILE([#include ], - [ __builtin_ldexp(0.0);], + [ __builtin_ldexp(0.0, 0);], use_builtin_ldexp=yes, use_builtin_ldexp=no) AC_MSG_RESULT($use_builtin_ldexp) if test $use_builtin_ldexp = "yes"; then @@ -580,7 +607,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_ldexpf]) AC_TRY_COMPILE([#include ], - [ __builtin_ldexpf(0.0);], + [ __builtin_ldexpf(0.0, 0);], use_builtin_ldexpf=yes, use_builtin_ldexpf=no) AC_MSG_RESULT($use_builtin_ldexpf) if test $use_builtin_ldexpf = "yes"; then @@ -588,7 +615,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_ldexpl]) AC_TRY_COMPILE([#include ], - [ __builtin_ldexpl(0.0);], + [ __builtin_ldexpl(0.0, 0);], use_builtin_ldexpl=yes, use_builtin_ldexpl=no) AC_MSG_RESULT($use_builtin_ldexpl) if test $use_builtin_ldexpl = "yes"; then @@ -644,7 +671,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_modf]) AC_TRY_COMPILE([#include ], - [ __builtin_modf(0.0);], + [ __builtin_modf(0.0, 0);], use_builtin_modf=yes, use_builtin_modf=no) AC_MSG_RESULT($use_builtin_modf) if test $use_builtin_modf = "yes"; then @@ -652,7 +679,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_modff]) AC_TRY_COMPILE([#include ], - [ __builtin_modff(0.0);], + [ __builtin_modff(0.0, 0);], use_builtin_modff=yes, use_builtin_modff=no) AC_MSG_RESULT($use_builtin_modff) if test $use_builtin_modff = "yes"; then @@ -660,7 +687,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_modfl]) AC_TRY_COMPILE([#include ], - [ __builtin_modfl(0.0);], + [ __builtin_modfl(0.0, 0);], use_builtin_modfl=yes, use_builtin_modfl=no) AC_MSG_RESULT($use_builtin_modfl) if test $use_builtin_modfl = "yes"; then @@ -668,7 +695,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_pow]) AC_TRY_COMPILE([#include ], - [ __builtin_pow(0.0);], + [ __builtin_pow(0.0, 0.0);], use_builtin_pow=yes, use_builtin_pow=no) AC_MSG_RESULT($use_builtin_pow) if test $use_builtin_pow = "yes"; then @@ -676,7 +703,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_powf]) AC_TRY_COMPILE([#include ], - [ __builtin_powf(0.0);], + [ __builtin_powf(0.0, 0.0);], use_builtin_powf=yes, use_builtin_powf=no) AC_MSG_RESULT($use_builtin_powf) if test $use_builtin_powf = "yes"; then @@ -684,7 +711,7 @@ AC_DEFUN(GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT, [ fi AC_MSG_CHECKING([for __builtin_powl]) AC_TRY_COMPILE([#include ], - [ __builtin_powl(0.0);], + [ __builtin_powl(0.0, 0.0);], use_builtin_powl=yes, use_builtin_powl=no) AC_MSG_RESULT($use_builtin_powl) if test $use_builtin_powl = "yes"; then @@ -1042,8 +1069,8 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ AC_REPLACE_MATHFUNCS(cosf fabsf sinf sqrtf) AC_CHECK_FUNCS(isnan isnanf isnanl isinf isinff isinfl copysign copysignl \ acosf acosl asinf asinl atanf atanl atan2f atan2l ceilf ceill cosl \ - coshf coshl expf expl fabsl floorf floorl frexpf frexpl ldexpf \ - ldexpl logf logl log10f log10l modf modff modfl powf powl sinl sinhf \ + coshf coshl expf expl fabsl floorf floorl fmodf fmodl frexpf frexpl ldexpf \ + ldexpl logf logl log10f log10l modff modfl powf powl sinl sinhf \ sinhl sqrtl tanf tanl tanhf tanhl strtof strtold sincos sincosf \ sincosl finite finitef finitel fqfinite fpclass qfpclass) @@ -1055,10 +1082,10 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [ AC_CHECK_FUNCS(_isnan _isnanf _isnanl _isinf _isinff _isinfl _copysign \ _copysignl _acosf _acosl _asinf _asinl _atanf _atanl _atan2f _atan2l \ _ceilf _ceill _cosf _cosl _coshf _coshl _expf _expl _fabsf _fabsl \ - _floorf _floorl _frexpf _frexpl _ldexpf _ldexpl _logf _logl _log10f \ - _log10l _modf _modff _modfl _powf _powl _sinf _sinl _sinhf _sinhl _sqrtf \ - _sqrtl _tanf _tanl _tanhf _tanhl _strtof _strtold _sincos _sincosf _sincosl \ - _finite _finitef _finitel _fqfinite _fpclass _qfpclass) + _floorf _floorl _fmodf _fmodl _frexpf _frexpl _ldexpf _ldexpl _logf _logl \ + _log10f _log10l _modff _modfl _powf _powl _sinf _sinl _sinhf _sinhl \ + _sqrtf _sqrtl _tanf _tanl _tanhf _tanhl _strtof _strtold _sincos _sincosf \ + _sincosl _finite _finitef _finitel _fqfinite _fpclass _qfpclass) LIBS="$save_LIBS" ]) diff --git a/libstdc++-v3/bits/std_cmath.h b/libstdc++-v3/bits/std_cmath.h index 80cd18abf2ee..a4fea882397b 100644 --- a/libstdc++-v3/bits/std_cmath.h +++ b/libstdc++-v3/bits/std_cmath.h @@ -168,10 +168,10 @@ namespace std { { return ::floor(static_cast(__x)); } #endif -#if _GLIBCPP_HAVE_BUILTIN_FMODFF +#if _GLIBCPP_HAVE_BUILTIN_FMODF inline float fmod(float __x, float __y) { return __builtin_fmodf(__x, __y); } -#elif _GLIBCPP_HAVE_FMODFF +#elif _GLIBCPP_HAVE_FMODF inline float fmod(float __x, float __y) { return ::fmodf(__x, __y); } #else @@ -223,17 +223,17 @@ namespace std { { return ::log10(static_cast(__x)); } #endif -#if _GLIBCPP_HAVE_BUILTIN_MODF +#if _GLIBCPP_HAVE_BUILTIN_MODFF inline float modf(float __x, float* __iptr) { return __builtin_modff(__x, __iptr); } -#elif _GLIBCPP_HAVE_MODF +#elif _GLIBCPP_HAVE_MODFF inline float modf(float __x, float* __iptr) { return ::modff(__x, __iptr); } #else inline float modf(float __x, float* __iptr) { double __tmp; - double __res = _C_legacy::modf(static_cast(__x), &__tmp); + double __res = ::modf(static_cast(__x), &__tmp); *__iptr = static_cast (__tmp); return __res; } diff --git a/libstdc++-v3/config.h.in b/libstdc++-v3/config.h.in index 8549b5a13ad9..be880d9588a7 100644 --- a/libstdc++-v3/config.h.in +++ b/libstdc++-v3/config.h.in @@ -105,6 +105,15 @@ // Define if the compiler/host combination has __builtin_floorl #undef HAVE_BUILTIN_FLOORL +// Define if the compiler/host combination has __builtin_fmod +#undef HAVE_BUILTIN_FMOD + +// Define if the compiler/host combination has __builtin_fmodf +#undef HAVE_BUILTIN_FMODF + +// Define if the compiler/host combination has __builtin_fmodl +#undef HAVE_BUILTIN_FMODL + // Define if the compiler/host combination has __builtin_frexp #undef HAVE_BUILTIN_FREXP @@ -294,6 +303,12 @@ /* Define if you have the _floorl function. */ #undef HAVE__FLOORL +/* Define if you have the _fmodf function. */ +#undef HAVE__FMODF + +/* Define if you have the _fmodl function. */ +#undef HAVE__FMODL + /* Define if you have the _fpclass function. */ #undef HAVE__FPCLASS @@ -342,9 +357,6 @@ /* Define if you have the _logl function. */ #undef HAVE__LOGL -/* Define if you have the _modf function. */ -#undef HAVE__MODF - /* Define if you have the _modff function. */ #undef HAVE__MODFF @@ -591,6 +603,12 @@ /* Define if you have the floorl function. */ #undef HAVE_FLOORL +/* Define if you have the fmodf function. */ +#undef HAVE_FMODF + +/* Define if you have the fmodl function. */ +#undef HAVE_FMODL + /* Define if you have the fpclass function. */ #undef HAVE_FPCLASS @@ -660,9 +678,6 @@ /* Define if you have the logl function. */ #undef HAVE_LOGL -/* Define if you have the modf function. */ -#undef HAVE_MODF - /* Define if you have the modff function. */ #undef HAVE_MODFF diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index c7fd7fa59401..16086f69ebc5 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -3287,7 +3287,7 @@ echo "configure:3285: checking for __builtin_atan2" >&5 #include "confdefs.h" #include int main() { - __builtin_atan2(0.0); + __builtin_atan2(0.0, 0.0); ; return 0; } EOF if { (eval echo configure:3294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then @@ -3314,7 +3314,7 @@ echo "configure:3312: checking for __builtin_atan2f" >&5 #include "confdefs.h" #include int main() { - __builtin_atan2f(0.0); + __builtin_atan2f(0.0, 0.0); ; return 0; } EOF if { (eval echo configure:3321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then @@ -3341,7 +3341,7 @@ echo "configure:3339: checking for __builtin_atan2l" >&5 #include "confdefs.h" #include int main() { - __builtin_atan2l(0.0); + __builtin_atan2l(0.0, 0.0); ; return 0; } EOF if { (eval echo configure:3348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then @@ -3773,7 +3773,7 @@ echo "configure:3771: checking for __builtin_floor" >&5 #include "confdefs.h" #include int main() { - __builtin_ffloor(0.0); + __builtin_floor(0.0); ; return 0; } EOF if { (eval echo configure:3780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then @@ -3847,17 +3847,98 @@ rm -f conftest* EOF fi - echo $ac_n "checking for __builtin_frexp""... $ac_c" 1>&6 -echo "configure:3852: checking for __builtin_frexp" >&5 + echo $ac_n "checking for __builtin_fmod""... $ac_c" 1>&6 +echo "configure:3852: checking for __builtin_fmod" >&5 cat > conftest.$ac_ext < int main() { - __builtin_frexp(0.0); + __builtin_fmod(0.0, 0.0); ; return 0; } EOF if { (eval echo configure:3861: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + use_builtin_fmod=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + use_builtin_fmod=no +fi +rm -f conftest* + echo "$ac_t""$use_builtin_fmod" 1>&6 + if test $use_builtin_fmod = "yes"; then + cat >> confdefs.h <<\EOF +#define HAVE_BUILTIN_FMOD 1 +EOF + + fi + echo $ac_n "checking for __builtin_fmodf""... $ac_c" 1>&6 +echo "configure:3879: checking for __builtin_fmodf" >&5 + cat > conftest.$ac_ext < +int main() { + __builtin_fmodf(0.0, 0.0); +; return 0; } +EOF +if { (eval echo configure:3888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + use_builtin_fmodf=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + use_builtin_fmodf=no +fi +rm -f conftest* + echo "$ac_t""$use_builtin_fmodf" 1>&6 + if test $use_builtin_fmodf = "yes"; then + cat >> confdefs.h <<\EOF +#define HAVE_BUILTIN_FMODF 1 +EOF + + fi + echo $ac_n "checking for __builtin_fmodl""... $ac_c" 1>&6 +echo "configure:3906: checking for __builtin_fmodl" >&5 + cat > conftest.$ac_ext < +int main() { + __builtin_fmodl(0.0, 0.0); +; return 0; } +EOF +if { (eval echo configure:3915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then + rm -rf conftest* + use_builtin_fmodl=yes +else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 + rm -rf conftest* + use_builtin_fmodl=no +fi +rm -f conftest* + echo "$ac_t""$use_builtin_fmodl" 1>&6 + if test $use_builtin_fmodl = "yes"; then + cat >> confdefs.h <<\EOF +#define HAVE_BUILTIN_FMODL 1 +EOF + + fi + echo $ac_n "checking for __builtin_frexp""... $ac_c" 1>&6 +echo "configure:3933: checking for __builtin_frexp" >&5 + cat > conftest.$ac_ext < +int main() { + __builtin_frexp(0.0, 0); +; return 0; } +EOF +if { (eval echo configure:3942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_frexp=yes else @@ -3875,16 +3956,16 @@ EOF fi echo $ac_n "checking for __builtin_frexpf""... $ac_c" 1>&6 -echo "configure:3879: checking for __builtin_frexpf" >&5 +echo "configure:3960: checking for __builtin_frexpf" >&5 cat > conftest.$ac_ext < int main() { - __builtin_frexpf(0.0); + __builtin_frexpf(0.0, 0); ; return 0; } EOF -if { (eval echo configure:3888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_frexpf=yes else @@ -3902,16 +3983,16 @@ EOF fi echo $ac_n "checking for __builtin_frexpl""... $ac_c" 1>&6 -echo "configure:3906: checking for __builtin_frexpl" >&5 +echo "configure:3987: checking for __builtin_frexpl" >&5 cat > conftest.$ac_ext < int main() { - __builtin_frexpl(0.0); + __builtin_frexpl(0.0, 0); ; return 0; } EOF -if { (eval echo configure:3915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:3996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_frexpl=yes else @@ -3929,16 +4010,16 @@ EOF fi echo $ac_n "checking for __builtin_ldexp""... $ac_c" 1>&6 -echo "configure:3933: checking for __builtin_ldexp" >&5 +echo "configure:4014: checking for __builtin_ldexp" >&5 cat > conftest.$ac_ext < int main() { - __builtin_ldexp(0.0); + __builtin_ldexp(0.0, 0); ; return 0; } EOF -if { (eval echo configure:3942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_ldexp=yes else @@ -3956,16 +4037,16 @@ EOF fi echo $ac_n "checking for __builtin_ldexpf""... $ac_c" 1>&6 -echo "configure:3960: checking for __builtin_ldexpf" >&5 +echo "configure:4041: checking for __builtin_ldexpf" >&5 cat > conftest.$ac_ext < int main() { - __builtin_ldexpf(0.0); + __builtin_ldexpf(0.0, 0); ; return 0; } EOF -if { (eval echo configure:3969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_ldexpf=yes else @@ -3983,16 +4064,16 @@ EOF fi echo $ac_n "checking for __builtin_ldexpl""... $ac_c" 1>&6 -echo "configure:3987: checking for __builtin_ldexpl" >&5 +echo "configure:4068: checking for __builtin_ldexpl" >&5 cat > conftest.$ac_ext < int main() { - __builtin_ldexpl(0.0); + __builtin_ldexpl(0.0, 0); ; return 0; } EOF -if { (eval echo configure:3996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_ldexpl=yes else @@ -4010,16 +4091,16 @@ EOF fi echo $ac_n "checking for __builtin_log""... $ac_c" 1>&6 -echo "configure:4014: checking for __builtin_log" >&5 +echo "configure:4095: checking for __builtin_log" >&5 cat > conftest.$ac_ext < int main() { __builtin_log(0.0); ; return 0; } EOF -if { (eval echo configure:4023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_log=yes else @@ -4037,16 +4118,16 @@ EOF fi echo $ac_n "checking for __builtin_logf""... $ac_c" 1>&6 -echo "configure:4041: checking for __builtin_logf" >&5 +echo "configure:4122: checking for __builtin_logf" >&5 cat > conftest.$ac_ext < int main() { __builtin_logf(0.0); ; return 0; } EOF -if { (eval echo configure:4050: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_logf=yes else @@ -4064,16 +4145,16 @@ EOF fi echo $ac_n "checking for __builtin_logl""... $ac_c" 1>&6 -echo "configure:4068: checking for __builtin_logl" >&5 +echo "configure:4149: checking for __builtin_logl" >&5 cat > conftest.$ac_ext < int main() { __builtin_logl(0.0); ; return 0; } EOF -if { (eval echo configure:4077: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_logl=yes else @@ -4091,16 +4172,16 @@ EOF fi echo $ac_n "checking for __builtin_log10""... $ac_c" 1>&6 -echo "configure:4095: checking for __builtin_log10" >&5 +echo "configure:4176: checking for __builtin_log10" >&5 cat > conftest.$ac_ext < int main() { __builtin_log10(0.0); ; return 0; } EOF -if { (eval echo configure:4104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_log10=yes else @@ -4118,16 +4199,16 @@ EOF fi echo $ac_n "checking for __builtin_log10f""... $ac_c" 1>&6 -echo "configure:4122: checking for __builtin_log10f" >&5 +echo "configure:4203: checking for __builtin_log10f" >&5 cat > conftest.$ac_ext < int main() { __builtin_log10f(0.0); ; return 0; } EOF -if { (eval echo configure:4131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_log10f=yes else @@ -4145,16 +4226,16 @@ EOF fi echo $ac_n "checking for __builtin_log10l""... $ac_c" 1>&6 -echo "configure:4149: checking for __builtin_log10l" >&5 +echo "configure:4230: checking for __builtin_log10l" >&5 cat > conftest.$ac_ext < int main() { __builtin_log10l(0.0); ; return 0; } EOF -if { (eval echo configure:4158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_log10l=yes else @@ -4172,16 +4253,16 @@ EOF fi echo $ac_n "checking for __builtin_modf""... $ac_c" 1>&6 -echo "configure:4176: checking for __builtin_modf" >&5 +echo "configure:4257: checking for __builtin_modf" >&5 cat > conftest.$ac_ext < int main() { - __builtin_modf(0.0); + __builtin_modf(0.0, 0); ; return 0; } EOF -if { (eval echo configure:4185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_modf=yes else @@ -4199,16 +4280,16 @@ EOF fi echo $ac_n "checking for __builtin_modff""... $ac_c" 1>&6 -echo "configure:4203: checking for __builtin_modff" >&5 +echo "configure:4284: checking for __builtin_modff" >&5 cat > conftest.$ac_ext < int main() { - __builtin_modff(0.0); + __builtin_modff(0.0, 0); ; return 0; } EOF -if { (eval echo configure:4212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_modff=yes else @@ -4226,16 +4307,16 @@ EOF fi echo $ac_n "checking for __builtin_modfl""... $ac_c" 1>&6 -echo "configure:4230: checking for __builtin_modfl" >&5 +echo "configure:4311: checking for __builtin_modfl" >&5 cat > conftest.$ac_ext < int main() { - __builtin_modfl(0.0); + __builtin_modfl(0.0, 0); ; return 0; } EOF -if { (eval echo configure:4239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_modfl=yes else @@ -4253,16 +4334,16 @@ EOF fi echo $ac_n "checking for __builtin_pow""... $ac_c" 1>&6 -echo "configure:4257: checking for __builtin_pow" >&5 +echo "configure:4338: checking for __builtin_pow" >&5 cat > conftest.$ac_ext < int main() { - __builtin_pow(0.0); + __builtin_pow(0.0, 0.0); ; return 0; } EOF -if { (eval echo configure:4266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_pow=yes else @@ -4280,16 +4361,16 @@ EOF fi echo $ac_n "checking for __builtin_powf""... $ac_c" 1>&6 -echo "configure:4284: checking for __builtin_powf" >&5 +echo "configure:4365: checking for __builtin_powf" >&5 cat > conftest.$ac_ext < int main() { - __builtin_powf(0.0); + __builtin_powf(0.0, 0.0); ; return 0; } EOF -if { (eval echo configure:4293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_powf=yes else @@ -4307,16 +4388,16 @@ EOF fi echo $ac_n "checking for __builtin_powl""... $ac_c" 1>&6 -echo "configure:4311: checking for __builtin_powl" >&5 +echo "configure:4392: checking for __builtin_powl" >&5 cat > conftest.$ac_ext < int main() { - __builtin_powl(0.0); + __builtin_powl(0.0, 0.0); ; return 0; } EOF -if { (eval echo configure:4320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_powl=yes else @@ -4334,16 +4415,16 @@ EOF fi echo $ac_n "checking for __builtin_sin""... $ac_c" 1>&6 -echo "configure:4338: checking for __builtin_sin" >&5 +echo "configure:4419: checking for __builtin_sin" >&5 cat > conftest.$ac_ext < int main() { __builtin_sin(0.0); ; return 0; } EOF -if { (eval echo configure:4347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sin=yes else @@ -4361,16 +4442,16 @@ EOF fi echo $ac_n "checking for __builtin_sinf""... $ac_c" 1>&6 -echo "configure:4365: checking for __builtin_sinf" >&5 +echo "configure:4446: checking for __builtin_sinf" >&5 cat > conftest.$ac_ext < int main() { __builtin_sinf(0.0); ; return 0; } EOF -if { (eval echo configure:4374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sinf=yes else @@ -4388,16 +4469,16 @@ EOF fi echo $ac_n "checking for __builtin_sinl""... $ac_c" 1>&6 -echo "configure:4392: checking for __builtin_sinl" >&5 +echo "configure:4473: checking for __builtin_sinl" >&5 cat > conftest.$ac_ext < int main() { __builtin_sinl(0.0); ; return 0; } EOF -if { (eval echo configure:4401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sinl=yes else @@ -4415,16 +4496,16 @@ EOF fi echo $ac_n "checking for __builtin_sinh""... $ac_c" 1>&6 -echo "configure:4419: checking for __builtin_sinh" >&5 +echo "configure:4500: checking for __builtin_sinh" >&5 cat > conftest.$ac_ext < int main() { __builtin_sinh(0.0); ; return 0; } EOF -if { (eval echo configure:4428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sinh=yes else @@ -4442,16 +4523,16 @@ EOF fi echo $ac_n "checking for __builtin_sinhf""... $ac_c" 1>&6 -echo "configure:4446: checking for __builtin_sinhf" >&5 +echo "configure:4527: checking for __builtin_sinhf" >&5 cat > conftest.$ac_ext < int main() { __builtin_sinhf(0.0); ; return 0; } EOF -if { (eval echo configure:4455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sinhf=yes else @@ -4469,16 +4550,16 @@ EOF fi echo $ac_n "checking for __builtin_sinhl""... $ac_c" 1>&6 -echo "configure:4473: checking for __builtin_sinhl" >&5 +echo "configure:4554: checking for __builtin_sinhl" >&5 cat > conftest.$ac_ext < int main() { __builtin_sinhl(0.0); ; return 0; } EOF -if { (eval echo configure:4482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sinhl=yes else @@ -4496,16 +4577,16 @@ EOF fi echo $ac_n "checking for __builtin_sqrt""... $ac_c" 1>&6 -echo "configure:4500: checking for __builtin_sqrt" >&5 +echo "configure:4581: checking for __builtin_sqrt" >&5 cat > conftest.$ac_ext < int main() { __builtin_fsqrt(0.0); ; return 0; } EOF -if { (eval echo configure:4509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sqrt=yes else @@ -4523,16 +4604,16 @@ EOF fi echo $ac_n "checking for __builtin_sqrtf""... $ac_c" 1>&6 -echo "configure:4527: checking for __builtin_sqrtf" >&5 +echo "configure:4608: checking for __builtin_sqrtf" >&5 cat > conftest.$ac_ext < int main() { __builtin_sqrtf(0.0); ; return 0; } EOF -if { (eval echo configure:4536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sqrtf=yes else @@ -4550,16 +4631,16 @@ EOF fi echo $ac_n "checking for __builtin_sqrtl""... $ac_c" 1>&6 -echo "configure:4554: checking for __builtin_sqrtl" >&5 +echo "configure:4635: checking for __builtin_sqrtl" >&5 cat > conftest.$ac_ext < int main() { __builtin_sqrtl(0.0); ; return 0; } EOF -if { (eval echo configure:4563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_sqrtl=yes else @@ -4577,16 +4658,16 @@ EOF fi echo $ac_n "checking for __builtin_tan""... $ac_c" 1>&6 -echo "configure:4581: checking for __builtin_tan" >&5 +echo "configure:4662: checking for __builtin_tan" >&5 cat > conftest.$ac_ext < int main() { __builtin_tan(0.0); ; return 0; } EOF -if { (eval echo configure:4590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_tan=yes else @@ -4604,16 +4685,16 @@ EOF fi echo $ac_n "checking for __builtin_tanf""... $ac_c" 1>&6 -echo "configure:4608: checking for __builtin_tanf" >&5 +echo "configure:4689: checking for __builtin_tanf" >&5 cat > conftest.$ac_ext < int main() { __builtin_tanf(0.0); ; return 0; } EOF -if { (eval echo configure:4617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_tanf=yes else @@ -4631,16 +4712,16 @@ EOF fi echo $ac_n "checking for __builtin_tanl""... $ac_c" 1>&6 -echo "configure:4635: checking for __builtin_tanl" >&5 +echo "configure:4716: checking for __builtin_tanl" >&5 cat > conftest.$ac_ext < int main() { __builtin_tanl(0.0); ; return 0; } EOF -if { (eval echo configure:4644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_tanl=yes else @@ -4658,16 +4739,16 @@ EOF fi echo $ac_n "checking for __builtin_tanh""... $ac_c" 1>&6 -echo "configure:4662: checking for __builtin_tanh" >&5 +echo "configure:4743: checking for __builtin_tanh" >&5 cat > conftest.$ac_ext < int main() { __builtin_tanh(0.0); ; return 0; } EOF -if { (eval echo configure:4671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_tanh=yes else @@ -4685,16 +4766,16 @@ EOF fi echo $ac_n "checking for __builtin_tanhf""... $ac_c" 1>&6 -echo "configure:4689: checking for __builtin_tanhf" >&5 +echo "configure:4770: checking for __builtin_tanhf" >&5 cat > conftest.$ac_ext < int main() { __builtin_tanhf(0.0); ; return 0; } EOF -if { (eval echo configure:4698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_tanhf=yes else @@ -4712,16 +4793,16 @@ EOF fi echo $ac_n "checking for __builtin_tanhl""... $ac_c" 1>&6 -echo "configure:4716: checking for __builtin_tanhl" >&5 +echo "configure:4797: checking for __builtin_tanhl" >&5 cat > conftest.$ac_ext < int main() { __builtin_tanhl(0.0); ; return 0; } EOF -if { (eval echo configure:4725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:4806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_builtin_tanhl=yes else @@ -4748,7 +4829,7 @@ cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6 -echo "configure:4752: checking for sin in -lm" >&5 +echo "configure:4833: checking for sin in -lm" >&5 ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4756,7 +4837,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4794,17 +4875,17 @@ fi do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:4798: checking for $ac_hdr" >&5 +echo "configure:4879: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -4836,12 +4917,12 @@ done carg cargf nan hypot hypotf atan2f expf copysignf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4840: checking for $ac_func" >&5 +echo "configure:4921: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4893,12 +4974,12 @@ done USE_LONG_DOUBLE=no echo $ac_n "checking for copysignl""... $ac_c" 1>&6 -echo "configure:4897: checking for copysignl" >&5 +echo "configure:4978: checking for copysignl" >&5 if eval "test \"`echo '$''{'ac_cv_func_copysignl'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_copysignl=yes" else @@ -4940,12 +5021,12 @@ if eval "test \"`echo '$ac_cv_func_'copysignl`\" = yes"; then csqrtl ctanhl ctanl cargl hypotl signbitl c_logl clog10l do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4944: checking for $ac_func" >&5 +echo "configure:5025: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5003,12 +5084,12 @@ fi for ac_func in cosf fabsf sinf sqrtf do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5007: checking for $ac_func" >&5 +echo "configure:5088: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5059,18 +5140,18 @@ done for ac_func in isnan isnanf isnanl isinf isinff isinfl copysign copysignl \ acosf acosl asinf asinl atanf atanl atan2f atan2l ceilf ceill cosl \ - coshf coshl expf expl fabsl floorf floorl frexpf frexpl ldexpf \ - ldexpl logf logl log10f log10l modf modff modfl powf powl sinl sinhf \ + coshf coshl expf expl fabsl floorf floorl fmodf fmodl frexpf frexpl ldexpf \ + ldexpl logf logl log10f log10l modff modfl powf powl sinl sinhf \ sinhl sqrtl tanf tanl tanhf tanhl strtof strtold sincos sincosf \ sincosl finite finitef finitel fqfinite fpclass qfpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5069: checking for $ac_func" >&5 +echo "configure:5150: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5126,18 +5207,18 @@ done for ac_func in _isnan _isnanf _isnanl _isinf _isinff _isinfl _copysign \ _copysignl _acosf _acosl _asinf _asinl _atanf _atanl _atan2f _atan2l \ _ceilf _ceill _cosf _cosl _coshf _coshl _expf _expl _fabsf _fabsl \ - _floorf _floorl _frexpf _frexpl _ldexpf _ldexpl _logf _logl _log10f \ - _log10l _modf _modff _modfl _powf _powl _sinf _sinl _sinhf _sinhl _sqrtf \ - _sqrtl _tanf _tanl _tanhf _tanhl _strtof _strtold _sincos _sincosf _sincosl \ - _finite _finitef _finitel _fqfinite _fpclass _qfpclass + _floorf _floorl _fmodf _fmodl _frexpf _frexpl _ldexpf _ldexpl _logf _logl \ + _log10f _log10l _modff _modfl _powf _powl _sinf _sinl _sinhf _sinhl \ + _sqrtf _sqrtl _tanf _tanl _tanhf _tanhl _strtof _strtold _sincos _sincosf \ + _sincosl _finite _finitef _finitel _fqfinite _fpclass _qfpclass do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5136: checking for $ac_func" >&5 +echo "configure:5217: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5191,17 +5272,17 @@ LIBS="$save_LIBS" ac_safe=`echo "wchar.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for wchar.h""... $ac_c" 1>&6 -echo "configure:5195: checking for wchar.h" >&5 +echo "configure:5276: checking for wchar.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5225,17 +5306,17 @@ fi ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for wctype.h""... $ac_c" 1>&6 -echo "configure:5229: checking for wctype.h" >&5 +echo "configure:5310: checking for wctype.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5261,16 +5342,16 @@ fi if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes; then echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6 -echo "configure:5265: checking for mbstate_t" >&5 +echo "configure:5346: checking for mbstate_t" >&5 cat > conftest.$ac_ext < int main() { mbstate_t teststate; ; return 0; } EOF -if { (eval echo configure:5274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* use_native_mbstatet=yes else @@ -5289,16 +5370,16 @@ EOF fi echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6 -echo "configure:5293: checking for WCHAR_MIN and WCHAR_MAX" >&5 +echo "configure:5374: checking for WCHAR_MIN and WCHAR_MAX" >&5 cat > conftest.$ac_ext < int main() { int i = WCHAR_MIN; int j = WCHAR_MAX; ; return 0; } EOF -if { (eval echo configure:5302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* has_wchar_minmax=yes else @@ -5311,9 +5392,9 @@ rm -f conftest* echo "$ac_t""$has_wchar_minmax" 1>&6 echo $ac_n "checking for WEOF""... $ac_c" 1>&6 -echo "configure:5315: checking for WEOF" >&5 +echo "configure:5396: checking for WEOF" >&5 cat > conftest.$ac_ext < @@ -5322,7 +5403,7 @@ int main() { wint_t i = WEOF; ; return 0; } EOF -if { (eval echo configure:5326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* has_weof=yes else @@ -5337,12 +5418,12 @@ rm -f conftest* for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5341: checking for $ac_func" >&5 +echo "configure:5422: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5392,7 +5473,7 @@ done echo $ac_n "checking for ISO C9X wchar_t support""... $ac_c" 1>&6 -echo "configure:5396: checking for ISO C9X wchar_t support" >&5 +echo "configure:5477: checking for ISO C9X wchar_t support" >&5 if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes && test x"$ac_wfuncs" = xyes; then ac_isoC9X_wchar_t=yes else @@ -5402,17 +5483,17 @@ echo "configure:5396: checking for ISO C9X wchar_t support" >&5 ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for iconv.h""... $ac_c" 1>&6 -echo "configure:5406: checking for iconv.h" >&5 +echo "configure:5487: checking for iconv.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5437,12 +5518,12 @@ fi for ac_func in iconv_open iconv_close iconv do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5441: checking for $ac_func" >&5 +echo "configure:5522: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5492,7 +5573,7 @@ done echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6 -echo "configure:5496: checking for XPG2 wchar_t support" >&5 +echo "configure:5577: checking for XPG2 wchar_t support" >&5 if test x"$ac_has_iconv_h" = xyes && test x"$ac_XPG2funcs" = xyes; then ac_XPG2_wchar_t=yes else @@ -5501,7 +5582,7 @@ echo "configure:5496: checking for XPG2 wchar_t support" >&5 echo "$ac_t""$ac_XPG2_wchar_t" 1>&6 echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6 -echo "configure:5505: checking for enabled wchar_t specializations" >&5 +echo "configure:5586: checking for enabled wchar_t specializations" >&5 if test x"$ac_isoC9X_wchar_t" = xyes && test x"$ac_XPG2_wchar_t" = xyes; then libinst_wstring_la="libinst-wstring.la" cat >> confdefs.h <<\EOF @@ -5526,17 +5607,17 @@ EOF ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for ctype.h""... $ac_c" 1>&6 -echo "configure:5530: checking for ctype.h" >&5 +echo "configure:5611: checking for ctype.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5557,9 +5638,9 @@ if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then ctype_default=yes echo $ac_n "checking for gnu-linux ""... $ac_c" 1>&6 -echo "configure:5561: checking for gnu-linux " >&5 +echo "configure:5642: checking for gnu-linux " >&5 cat > conftest.$ac_ext < int main() { @@ -5570,7 +5651,7 @@ int + __ctype_tolower[a] + __ctype_toupper[a] + __ctype_b[a];} ; return 0; } EOF -if { (eval echo configure:5574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_linux=yes @@ -5589,9 +5670,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking for freebsd 4.0 ""... $ac_c" 1>&6 -echo "configure:5593: checking for freebsd 4.0 " >&5 +echo "configure:5674: checking for freebsd 4.0 " >&5 cat > conftest.$ac_ext < int main() { @@ -5601,7 +5682,7 @@ int + _CTYPE_D + _CTYPE_P + _CTYPE_X + _CTYPE_G ;} ; return 0; } EOF -if { (eval echo configure:5605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_bsd=yes @@ -5621,9 +5702,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking for freebsd 3.4 ""... $ac_c" 1>&6 -echo "configure:5625: checking for freebsd 3.4 " >&5 +echo "configure:5706: checking for freebsd 3.4 " >&5 cat > conftest.$ac_ext < int main() { @@ -5633,7 +5714,7 @@ int + _D + _P + _X + _G + __istype (a, 0);} ; return 0; } EOF -if { (eval echo configure:5637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_freebsd34=yes @@ -5653,9 +5734,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking for solaris 2.6,7,8 ""... $ac_c" 1>&6 -echo "configure:5657: checking for solaris 2.6,7,8 " >&5 +echo "configure:5738: checking for solaris 2.6,7,8 " >&5 cat > conftest.$ac_ext < int main() { @@ -5666,7 +5747,7 @@ int + __trans_lower[a] + __trans_upper[a] + __ctype_mask[a];} ; return 0; } EOF -if { (eval echo configure:5670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_solaris=yes @@ -5681,7 +5762,7 @@ rm -f conftest* if test $ctype_solaris = "yes"; then echo $ac_n "checking for version""... $ac_c" 1>&6 -echo "configure:5685: checking for version" >&5 +echo "configure:5766: checking for version" >&5 ac_ext=C # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CXXCPP $CPPFLAGS' @@ -5690,14 +5771,14 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes cross_compiling=$ac_cv_prog_cxx_cross cat > conftest.$ac_ext < int main() { typedef long* __to_type; __to_type const& _M_toupper = __trans_upper; ; return 0; } EOF -if { (eval echo configure:5701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_solaris26=yes @@ -5729,9 +5810,9 @@ cross_compiling=$ac_cv_prog_cc_cross if test $ctype_default = "yes"; then echo $ac_n "checking for solaris 2.5.1 ""... $ac_c" 1>&6 -echo "configure:5733: checking for solaris 2.5.1 " >&5 +echo "configure:5814: checking for solaris 2.5.1 " >&5 cat > conftest.$ac_ext < int main() { @@ -5741,7 +5822,7 @@ int + __ctype[a];} ; return 0; } EOF -if { (eval echo configure:5745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_solaris25=yes @@ -5761,9 +5842,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking for aix ""... $ac_c" 1>&6 -echo "configure:5765: checking for aix " >&5 +echo "configure:5846: checking for aix " >&5 cat > conftest.$ac_ext < int main() { @@ -5774,7 +5855,7 @@ int + _VALC('a') + _IS('c', 0);} ; return 0; } EOF -if { (eval echo configure:5778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_aix=yes @@ -5794,9 +5875,9 @@ rm -f conftest* if test $ctype_default = "yes"; then echo $ac_n "checking for newlib ""... $ac_c" 1>&6 -echo "configure:5798: checking for newlib " >&5 +echo "configure:5879: checking for newlib " >&5 cat > conftest.$ac_ext < int main() { @@ -5806,7 +5887,7 @@ int + _ctype_[a];} ; return 0; } EOF -if { (eval echo configure:5810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:5891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* \ ctype_newlib=yes @@ -5840,17 +5921,17 @@ fi do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:5844: checking for $ac_hdr" >&5 +echo "configure:5925: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5879,12 +5960,12 @@ done for ac_func in getpagesize do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5883: checking for $ac_func" >&5 +echo "configure:5964: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -5932,7 +6013,7 @@ fi done echo $ac_n "checking for working mmap""... $ac_c" 1>&6 -echo "configure:5936: checking for working mmap" >&5 +echo "configure:6017: checking for working mmap" >&5 if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -5940,7 +6021,7 @@ else ac_cv_func_mmap_fixed_mapped=no else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null +if { (eval echo configure:6165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null then ac_cv_func_mmap_fixed_mapped=yes else @@ -6143,19 +6224,19 @@ fi if test $ac_cv_header_locale_h = yes; then echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6 -echo "configure:6147: checking for LC_MESSAGES" >&5 +echo "configure:6228: checking for LC_MESSAGES" >&5 if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < int main() { return LC_MESSAGES ; return 0; } EOF -if { (eval echo configure:6159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:6240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* ac_cv_val_LC_MESSAGES=yes else diff --git a/libstdc++-v3/libio/Makefile.in b/libstdc++-v3/libio/Makefile.in index c82b27cbc76a..1f524f97584e 100644 --- a/libstdc++-v3/libio/Makefile.in +++ b/libstdc++-v3/libio/Makefile.in @@ -116,17 +116,19 @@ includes = libio_headers = \ libio.h libioP.h iolibio.h -@GLIBCPP_NEED_LIBIO_TRUE@LIBIO_SRCS = @GLIBCPP_NEED_LIBIO_TRUE@\ +@GLIBCPP_NEED_LIBIO_TRUE@LIBIO_SRCS = \ +@GLIBCPP_NEED_LIBIO_TRUE@\ @GLIBCPP_NEED_LIBIO_TRUE@ filedoalloc.c genops.c fileops.c stdfiles.c cleanup.c -@GLIBCPP_NEED_LIBIO_FALSE@LIBIO_SRCS = +@GLIBCPP_NEED_LIBIO_FALSE@LIBIO_SRCS = \ EXTRA_DIST = iostreamP.h libio_la_LIBADD = $(LIBIO_SRCS) libio_la_DEPENDENCIES = $(libio_la_LIBADD) libio_la_SOURCES = $(LIBIO_SRCS) -@GLIBCPP_NEED_LIBIO_CONFIG_H_TRUE@LIBIO_CONFIG_H = @GLIBCPP_NEED_LIBIO_CONFIG_H_TRUE@_G_config.h -@GLIBCPP_NEED_LIBIO_CONFIG_H_FALSE@LIBIO_CONFIG_H = +@GLIBCPP_NEED_LIBIO_CONFIG_H_TRUE@LIBIO_CONFIG_H = \ +@GLIBCPP_NEED_LIBIO_CONFIG_H_TRUE@_G_config.h +@GLIBCPP_NEED_LIBIO_CONFIG_H_FALSE@LIBIO_CONFIG_H = \ mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = diff --git a/libstdc++-v3/src/Makefile.in b/libstdc++-v3/src/Makefile.in index c4fa9ede4a49..929a153094d8 100644 --- a/libstdc++-v3/src/Makefile.in +++ b/libstdc++-v3/src/Makefile.in @@ -105,9 +105,12 @@ libinst_wstring_la = @libinst_wstring_la@ AUTOMAKE_OPTIONS = 1.3 gnits MAINT_CHARSET = latin1 -@USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR) -@USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR) -@USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias) +@USE_LIBDIR_TRUE@toolexeclibdir = \ +@USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR) +@USE_LIBDIR_FALSE@toolexeclibdir = \ +@USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR) +@USE_LIBDIR_FALSE@toolexecdir = \ +@USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias) toolexeclib_LTLIBRARIES = libstdc++.la EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la @@ -253,9 +256,10 @@ std_headers = \ map memory new numeric ostream queue set sstream stack stdexcept \ streambuf string strstream typeinfo utility valarray vector -@GLIBCPP_NEED_LIBIO_TRUE@libio_headers = @GLIBCPP_NEED_LIBIO_TRUE@\ +@GLIBCPP_NEED_LIBIO_TRUE@libio_headers = \ +@GLIBCPP_NEED_LIBIO_TRUE@\ @GLIBCPP_NEED_LIBIO_TRUE@ $(top_builddir)/libio/_G_config.h $(top_srcdir)/libio/libio.h -@GLIBCPP_NEED_LIBIO_FALSE@libio_headers = +@GLIBCPP_NEED_LIBIO_FALSE@libio_headers = \ generated_headers = \ $(top_builddir)/bits/std_limits.h $(top_builddir)/bits/c++config.h \ @@ -334,8 +338,9 @@ libstdc___la_LIBADD = \ libstdc___la_LDFLAGS = -version-info 3:0:0 -lm libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) -@GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = @GLIBCPP_USE_CSHADOW_TRUE@$(top_builddir)/stamp-cshadow -@GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = +@GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = \ +@GLIBCPP_USE_CSHADOW_TRUE@$(top_builddir)/stamp-cshadow +@GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = \ # We cannot use the default rules to install headers since we cannot # statically decide which headers to install. So we have our own special