Commit 11fc1858 by Benjamin Kosnik

[multiple changes]


2000-06-22 Steven King <sxking@uswest.net>

        * acinclude.m4: Check for sinl, _sinl using 1 parameter.

2000-06-22  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
	same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
	link against libm and don't use -fno-builtins...
	* math/mathconf.h: Change up builtin macros to new schema.
	* bits/std_cmath.h: And here. Wheee!
	* shadow/bits/std_cmath.h: And here.
	* acconfig.h: Change up builtin macros here.
	* math/cosf.c:  Remove.
	* math/fabsf.c:  Likewise.
	* math/sinf.c:  Likewise.
	* math/sqrtf.c:  Likewise.
	* math/Makefile.am (EXTRA_DIST):  Remove those four files.
	* math/Makefile.in:  Regenerate.

From-SVN: r34655
parent 28398c70
2000-06-22 Steven King <sxking@uswest.net>
* acinclude.m4: Check for sinl, _sinl using 1 parameter.
2000-06-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_BUILTIN_MATH_SUPPORT): Redo. Use the
same approach as GLIBCPP_CHECK_MATH_SUPPORT, only don't try to
link against libm and don't use -fno-builtins...
* math/mathconf.h: Change up builtin macros to new schema.
* bits/std_cmath.h: And here. Wheee!
* shadow/bits/std_cmath.h: And here.
* acconfig.h: Change up builtin macros here.
* math/cosf.c: Remove.
* math/fabsf.c: Likewise.
* math/sinf.c: Likewise.
* math/sqrtf.c: Likewise.
* math/Makefile.am (EXTRA_DIST): Remove those four files.
* math/Makefile.in: Regenerate.
2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net> 2000-06-22 Anthony Williams <anthony@anthonyw.cjb.net>
* testsuite/21_strings/find.cc: Patch. * testsuite/21_strings/find.cc: Patch.
......
...@@ -12,203 +12,47 @@ ...@@ -12,203 +12,47 @@
// Define if code specialized for wchar_t should be used. // Define if code specialized for wchar_t should be used.
#undef _GLIBCPP_USE_WCHAR_T #undef _GLIBCPP_USE_WCHAR_T
// Define if the compiler/host combination has __builtin_acos // Define if the compiler/host combination has __builtin_abs
#undef HAVE_BUILTIN_ACOS #undef HAVE___BUILTIN_ABS
// Define if the compiler/host combination has __builtin_acosf // Define if the compiler/host combination has __builtin_labs
#undef HAVE_BUILTIN_ACOSF #undef HAVE___BUILTIN_LABS
// Define if the compiler/host combination has __builtin_acosl
#undef HAVE_BUILTIN_ACOSL
// Define if the compiler/host combination has __builtin_asin
#undef HAVE_BUILTIN_ASIN
// Define if the compiler/host combination has __builtin_asinf
#undef HAVE_BUILTIN_ASINF
// Define if the compiler/host combination has __builtin_asinl
#undef HAVE_BUILTIN_ASINL
// Define if the compiler/host combination has __builtin_atan
#undef HAVE_BUILTIN_ATAN
// Define if the compiler/host combination has __builtin_atanf
#undef HAVE_BUILTIN_ATANF
// Define if the compiler/host combination has __builtin_atanl
#undef HAVE_BUILTIN_ATANL
// Define if the compiler/host combination has __builtin_atan2
#undef HAVE_BUILTIN_ATAN2
// Define if the compiler/host combination has __builtin_atan2f
#undef HAVE_BUILTIN_ATAN2F
// Define if the compiler/host combination has __builtin_atan2l
#undef HAVE_BUILTIN_ATAN2L
// Define if the compiler/host combination has __builtin_ceil
#undef HAVE_BUILTIN_CEIL
// Define if the compiler/host combination has __builtin_ceilf
#undef HAVE_BUILTIN_CEILF
// Define if the compiler/host combination has __builtin_ceill
#undef HAVE_BUILTIN_CEILL
// Define if the compiler/host combination has __builtin_cos // Define if the compiler/host combination has __builtin_cos
#undef HAVE_BUILTIN_COS #undef HAVE___BUILTIN_COS
// Define if the compiler/host combination has __builtin_cosf // Define if the compiler/host combination has __builtin_cosf
#undef HAVE_BUILTIN_COSF #undef HAVE___BUILTIN_COSF
// Define if the compiler/host combination has __builtin_cosl // Define if the compiler/host combination has __builtin_cosl
#undef HAVE_BUILTIN_COSL #undef HAVE___BUILTIN_COSL
// Define if the compiler/host combination has __builtin_cosh
#undef HAVE_BUILTIN_COSH
// Define if the compiler/host combination has __builtin_coshf
#undef HAVE_BUILTIN_COSHF
// Define if the compiler/host combination has __builtin_coshl
#undef HAVE_BUILTIN_COSHL
// Define if the compiler/host combination has __builtin_exp
#undef HAVE_BUILTIN_EXP
// Define if the compiler/host combination has __builtin_expf
#undef HAVE_BUILTIN_EXPF
// Define if the compiler/host combination has __builtin_expl
#undef HAVE_BUILTIN_EXPL
// Define if the compiler/host combination has __builtin_fabs // Define if the compiler/host combination has __builtin_fabs
#undef HAVE_BUILTIN_FABS #undef HAVE___BUILTIN_FABS
// Define if the compiler/host combination has __builtin_fabsf // Define if the compiler/host combination has __builtin_fabsf
#undef HAVE_BUILTIN_FABSF #undef HAVE___BUILTIN_FABSF
// Define if the compiler/host combination has __builtin_fabsl // Define if the compiler/host combination has __builtin_fabsl
#undef HAVE_BUILTIN_FABSL #undef HAVE___BUILTIN_FABSL
// Define if the compiler/host combination has __builtin_floor
#undef HAVE_BUILTIN_FLOOR
// Define if the compiler/host combination has __builtin_floorf
#undef HAVE_BUILTIN_FLOORF
// 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
// Define if the compiler/host combination has __builtin_frexpf
#undef HAVE_BUILTIN_FREXPF
// Define if the compiler/host combination has __builtin_frexpl
#undef HAVE_BUILTIN_FREXPL
// Define if the compiler/host combination has __builtin_ldexp
#undef HAVE_BUILTIN_LDEXP
// Define if the compiler/host combination has __builtin_ldexpf
#undef HAVE_BUILTIN_LDEXPF
// Define if the compiler/host combination has __builtin_ldexpl
#undef HAVE_BUILTIN_LDEXPL
// Define if the compiler/host combination has __builtin_log
#undef HAVE_BUILTIN_LOG
// Define if the compiler/host combination has __builtin_logf
#undef HAVE_BUILTIN_LOGF
// Define if the compiler/host combination has __builtin_logl
#undef HAVE_BUILTIN_LOGL
// Define if the compiler/host combination has __builtin_log10
#undef HAVE_BUILTIN_LOG10
// Define if the compiler/host combination has __builtin_log10f
#undef HAVE_BUILTIN_LOG10F
// Define if the compiler/host combination has __builtin_log10l
#undef HAVE_BUILTIN_LOG10L
// Define if the compiler/host combination has __builtin_modf
#undef HAVE_BUILTIN_MODF
// Define if the compiler/host combination has __builtin_modff
#undef HAVE_BUILTIN_MODFF
// Define if the compiler/host combination has __builtin_modfl
#undef HAVE_BUILTIN_MODFL
// Define if the compiler/host combination has __builtin_pow
#undef HAVE_BUILTIN_POW
// Define if the compiler/host combination has __builtin_powf
#undef HAVE_BUILTIN_POWF
// Define if the compiler/host combination has __builtin_powl
#undef HAVE_BUILTIN_POWL
// Define if the compiler/host combination has __builtin_sin // Define if the compiler/host combination has __builtin_sin
#undef HAVE_BUILTIN_SIN #undef HAVE___BUILTIN_SIN
// Define if the compiler/host combination has __builtin_sinf // Define if the compiler/host combination has __builtin_sinf
#undef HAVE_BUILTIN_SINF #undef HAVE___BUILTIN_SINF
// Define if the compiler/host combination has __builtin_sinl // Define if the compiler/host combination has __builtin_sinl
#undef HAVE_BUILTIN_SINL #undef HAVE___BUILTIN_SINL
// Define if the compiler/host combination has __builtin_sinh
#undef HAVE_BUILTIN_SINH
// Define if the compiler/host combination has __builtin_sinhf
#undef HAVE_BUILTIN_SINHF
// Define if the compiler/host combination has __builtin_sinhl
#undef HAVE_BUILTIN_SINHL
// Define if the compiler/host combination has __builtin_sqrt // Define if the compiler/host combination has __builtin_fsqrt
#undef HAVE_BUILTIN_SQRT #undef HAVE___BUILTIN_FSQRT
// Define if the compiler/host combination has __builtin_sqrtf // Define if the compiler/host combination has __builtin_sqrtf
#undef HAVE_BUILTIN_SQRTF #undef HAVE___BUILTIN_SQRTF
// Define if the compiler/host combination has __builtin_sqrtl // Define if the compiler/host combination has __builtin_sqrtl
#undef HAVE_BUILTIN_SQRTL #undef HAVE___BUILTIN_SQRTL
// Define if the compiler/host combination has __builtin_tan
#undef HAVE_BUILTIN_TAN
// Define if the compiler/host combination has __builtin_tanf
#undef HAVE_BUILTIN_TANF
// Define if the compiler/host combination has __builtin_tanl
#undef HAVE_BUILTIN_TANL
// Define if the compiler/host combination has __builtin_tanh
#undef HAVE_BUILTIN_TANH
// Define if the compiler/host combination has __builtin_tanhf
#undef HAVE_BUILTIN_TANHF
// Define if the compiler/host combination has __builtin_tanhl
#undef HAVE_BUILTIN_TANHL
// Define if GCC support for __complex__ float is buggy. // Define if GCC support for __complex__ float is buggy.
#undef _GLIBCPP_BUGGY_FLOAT_COMPLEX #undef _GLIBCPP_BUGGY_FLOAT_COMPLEX
......
...@@ -15,203 +15,47 @@ ...@@ -15,203 +15,47 @@
// Define if code specialized for wchar_t should be used. // Define if code specialized for wchar_t should be used.
#undef _GLIBCPP_USE_WCHAR_T #undef _GLIBCPP_USE_WCHAR_T
// Define if the compiler/host combination has __builtin_acos // Define if the compiler/host combination has __builtin_abs
#undef HAVE_BUILTIN_ACOS #undef HAVE___BUILTIN_ABS
// Define if the compiler/host combination has __builtin_acosf // Define if the compiler/host combination has __builtin_labs
#undef HAVE_BUILTIN_ACOSF #undef HAVE___BUILTIN_LABS
// Define if the compiler/host combination has __builtin_acosl
#undef HAVE_BUILTIN_ACOSL
// Define if the compiler/host combination has __builtin_asin
#undef HAVE_BUILTIN_ASIN
// Define if the compiler/host combination has __builtin_asinf
#undef HAVE_BUILTIN_ASINF
// Define if the compiler/host combination has __builtin_asinl
#undef HAVE_BUILTIN_ASINL
// Define if the compiler/host combination has __builtin_atan
#undef HAVE_BUILTIN_ATAN
// Define if the compiler/host combination has __builtin_atanf
#undef HAVE_BUILTIN_ATANF
// Define if the compiler/host combination has __builtin_atanl
#undef HAVE_BUILTIN_ATANL
// Define if the compiler/host combination has __builtin_atan2
#undef HAVE_BUILTIN_ATAN2
// Define if the compiler/host combination has __builtin_atan2f
#undef HAVE_BUILTIN_ATAN2F
// Define if the compiler/host combination has __builtin_atan2l
#undef HAVE_BUILTIN_ATAN2L
// Define if the compiler/host combination has __builtin_ceil
#undef HAVE_BUILTIN_CEIL
// Define if the compiler/host combination has __builtin_ceilf
#undef HAVE_BUILTIN_CEILF
// Define if the compiler/host combination has __builtin_ceill
#undef HAVE_BUILTIN_CEILL
// Define if the compiler/host combination has __builtin_cos // Define if the compiler/host combination has __builtin_cos
#undef HAVE_BUILTIN_COS #undef HAVE___BUILTIN_COS
// Define if the compiler/host combination has __builtin_cosf // Define if the compiler/host combination has __builtin_cosf
#undef HAVE_BUILTIN_COSF #undef HAVE___BUILTIN_COSF
// Define if the compiler/host combination has __builtin_cosl // Define if the compiler/host combination has __builtin_cosl
#undef HAVE_BUILTIN_COSL #undef HAVE___BUILTIN_COSL
// Define if the compiler/host combination has __builtin_cosh
#undef HAVE_BUILTIN_COSH
// Define if the compiler/host combination has __builtin_coshf
#undef HAVE_BUILTIN_COSHF
// Define if the compiler/host combination has __builtin_coshl
#undef HAVE_BUILTIN_COSHL
// Define if the compiler/host combination has __builtin_exp
#undef HAVE_BUILTIN_EXP
// Define if the compiler/host combination has __builtin_expf
#undef HAVE_BUILTIN_EXPF
// Define if the compiler/host combination has __builtin_expl
#undef HAVE_BUILTIN_EXPL
// Define if the compiler/host combination has __builtin_fabs // Define if the compiler/host combination has __builtin_fabs
#undef HAVE_BUILTIN_FABS #undef HAVE___BUILTIN_FABS
// Define if the compiler/host combination has __builtin_fabsf // Define if the compiler/host combination has __builtin_fabsf
#undef HAVE_BUILTIN_FABSF #undef HAVE___BUILTIN_FABSF
// Define if the compiler/host combination has __builtin_fabsl // Define if the compiler/host combination has __builtin_fabsl
#undef HAVE_BUILTIN_FABSL #undef HAVE___BUILTIN_FABSL
// Define if the compiler/host combination has __builtin_floor
#undef HAVE_BUILTIN_FLOOR
// Define if the compiler/host combination has __builtin_floorf
#undef HAVE_BUILTIN_FLOORF
// 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
// Define if the compiler/host combination has __builtin_frexpf
#undef HAVE_BUILTIN_FREXPF
// Define if the compiler/host combination has __builtin_frexpl
#undef HAVE_BUILTIN_FREXPL
// Define if the compiler/host combination has __builtin_ldexp
#undef HAVE_BUILTIN_LDEXP
// Define if the compiler/host combination has __builtin_ldexpf
#undef HAVE_BUILTIN_LDEXPF
// Define if the compiler/host combination has __builtin_ldexpl
#undef HAVE_BUILTIN_LDEXPL
// Define if the compiler/host combination has __builtin_log
#undef HAVE_BUILTIN_LOG
// Define if the compiler/host combination has __builtin_logf
#undef HAVE_BUILTIN_LOGF
// Define if the compiler/host combination has __builtin_logl
#undef HAVE_BUILTIN_LOGL
// Define if the compiler/host combination has __builtin_log10
#undef HAVE_BUILTIN_LOG10
// Define if the compiler/host combination has __builtin_log10f
#undef HAVE_BUILTIN_LOG10F
// Define if the compiler/host combination has __builtin_log10l
#undef HAVE_BUILTIN_LOG10L
// Define if the compiler/host combination has __builtin_modf
#undef HAVE_BUILTIN_MODF
// Define if the compiler/host combination has __builtin_modff
#undef HAVE_BUILTIN_MODFF
// Define if the compiler/host combination has __builtin_modfl
#undef HAVE_BUILTIN_MODFL
// Define if the compiler/host combination has __builtin_pow
#undef HAVE_BUILTIN_POW
// Define if the compiler/host combination has __builtin_powf
#undef HAVE_BUILTIN_POWF
// Define if the compiler/host combination has __builtin_powl
#undef HAVE_BUILTIN_POWL
// Define if the compiler/host combination has __builtin_sin // Define if the compiler/host combination has __builtin_sin
#undef HAVE_BUILTIN_SIN #undef HAVE___BUILTIN_SIN
// Define if the compiler/host combination has __builtin_sinf // Define if the compiler/host combination has __builtin_sinf
#undef HAVE_BUILTIN_SINF #undef HAVE___BUILTIN_SINF
// Define if the compiler/host combination has __builtin_sinl // Define if the compiler/host combination has __builtin_sinl
#undef HAVE_BUILTIN_SINL #undef HAVE___BUILTIN_SINL
// Define if the compiler/host combination has __builtin_sinh
#undef HAVE_BUILTIN_SINH
// Define if the compiler/host combination has __builtin_sinhf
#undef HAVE_BUILTIN_SINHF
// Define if the compiler/host combination has __builtin_sinhl
#undef HAVE_BUILTIN_SINHL
// Define if the compiler/host combination has __builtin_sqrt // Define if the compiler/host combination has __builtin_fsqrt
#undef HAVE_BUILTIN_SQRT #undef HAVE___BUILTIN_FSQRT
// Define if the compiler/host combination has __builtin_sqrtf // Define if the compiler/host combination has __builtin_sqrtf
#undef HAVE_BUILTIN_SQRTF #undef HAVE___BUILTIN_SQRTF
// Define if the compiler/host combination has __builtin_sqrtl // Define if the compiler/host combination has __builtin_sqrtl
#undef HAVE_BUILTIN_SQRTL #undef HAVE___BUILTIN_SQRTL
// Define if the compiler/host combination has __builtin_tan
#undef HAVE_BUILTIN_TAN
// Define if the compiler/host combination has __builtin_tanf
#undef HAVE_BUILTIN_TANF
// Define if the compiler/host combination has __builtin_tanl
#undef HAVE_BUILTIN_TANL
// Define if the compiler/host combination has __builtin_tanh
#undef HAVE_BUILTIN_TANH
// Define if the compiler/host combination has __builtin_tanhf
#undef HAVE_BUILTIN_TANHF
// Define if the compiler/host combination has __builtin_tanhl
#undef HAVE_BUILTIN_TANHL
// Define if GCC support for __complex__ float is buggy. // Define if GCC support for __complex__ float is buggy.
#undef _GLIBCPP_BUGGY_FLOAT_COMPLEX #undef _GLIBCPP_BUGGY_FLOAT_COMPLEX
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -31,7 +31,6 @@ EXTRA_LONG_DOUBLE_yes = \ ...@@ -31,7 +31,6 @@ EXTRA_LONG_DOUBLE_yes = \
signbitl.c cabsl.c signbitl.c cabsl.c
EXTRA_DIST = \ EXTRA_DIST = \
cosf.c fabsf.c sinf.c sqrtf.c \
ccos.c ccosf.c ccosh.c ccoshf.c ccoshl.c \ ccos.c ccosf.c ccosh.c ccoshf.c ccoshl.c \
cexp.c cexpf.c c_log.c c_logf.c clog10.c clog10f.c \ cexp.c cexpf.c c_log.c c_logf.c clog10.c clog10f.c \
cpow.c cpowf.c csin.c csinf.c csinh.c csinhf.c \ cpow.c cpowf.c csin.c csinf.c csinh.c csinhf.c \
......
...@@ -118,7 +118,6 @@ EXTRA_LONG_DOUBLE_yes = \ ...@@ -118,7 +118,6 @@ EXTRA_LONG_DOUBLE_yes = \
EXTRA_DIST = \ EXTRA_DIST = \
cosf.c fabsf.c sinf.c sqrtf.c \
ccos.c ccosf.c ccosh.c ccoshf.c ccoshl.c \ ccos.c ccosf.c ccosh.c ccoshf.c ccoshl.c \
cexp.c cexpf.c c_log.c c_logf.c clog10.c clog10f.c \ cexp.c cexpf.c c_log.c c_logf.c clog10.c clog10f.c \
cpow.c cpowf.c csin.c csinf.c csinh.c csinhf.c \ cpow.c cpowf.c csin.c csinf.c csinh.c csinhf.c \
......
...@@ -328,10 +328,10 @@ do { \ ...@@ -328,10 +328,10 @@ do { \
/* Replacement for non-existing float functions. */ /* Replacement for non-existing float functions. */
#if !defined(_GLIBCPP_HAVE_FABSF) && !defined(_GLIBCPP_HAVE_BUILTIN_FABSF) #if !defined(_GLIBCPP_HAVE_FABSF) && !defined(_GLIBCPP_HAVE___BUILTIN_FABSF)
# define fabsf(x) fabs (x) # define fabsf(x) fabs (x)
#endif #endif
#if !defined(_GLIBCPP_HAVE_COSF) && !defined(_GLIBCPP_HAVE_BUILTIN_COSF) #if !defined(_GLIBCPP_HAVE_COSF) && !defined(_GLIBCPP_HAVE___BUILTIN_COSF)
# define cosf(x) cos (x) # define cosf(x) cos (x)
#endif #endif
#ifndef _GLIBCPP_HAVE_COSHF #ifndef _GLIBCPP_HAVE_COSHF
...@@ -349,13 +349,13 @@ do { \ ...@@ -349,13 +349,13 @@ do { \
#ifndef _GLIBCPP_HAVE_POWF #ifndef _GLIBCPP_HAVE_POWF
# define powf(x, y) pow (x, y) # define powf(x, y) pow (x, y)
#endif #endif
#if !defined(_GLIBCPP_HAVE_SINF) && !defined(_GLIBCPP_HAVE_BUILTIN_SINF) #if !defined(_GLIBCPP_HAVE_SINF) && !defined(_GLIBCPP_HAVE___BUILTIN_SINF)
# define sinf(x) sin (x) # define sinf(x) sin (x)
#endif #endif
#ifndef _GLIBCPP_HAVE_SINHF #ifndef _GLIBCPP_HAVE_SINHF
# define sinhf(x) sinh (x) # define sinhf(x) sinh (x)
#endif #endif
#if !defined(_GLIBCPP_HAVE_SQRTF) && !defined(_GLIBCPP_HAVE_BUILTIN_SQRTF) #if !defined(_GLIBCPP_HAVE_SQRTF) && !defined(_GLIBCPP_HAVE___BUILTIN_SQRTF)
# define sqrtf(x) sqrt (x) # define sqrtf(x) sqrt (x)
#endif #endif
#ifndef _GLIBCPP_HAVE_TANF #ifndef _GLIBCPP_HAVE_TANF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment