diff options
author | David Cournapeau <cournape@gmail.com> | 2008-10-03 07:22:34 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-10-03 07:22:34 +0000 |
commit | 8b2ae8de018b6692a1b23f9ec9fe47948c06d5f2 (patch) | |
tree | cf75a5b0a119085e72fe99bc4b94c11405e4cbd9 /numpy | |
parent | 7bfd6f18f18be91f0cd9122c13afea89b8e2fcdd (diff) | |
download | numpy-8b2ae8de018b6692a1b23f9ec9fe47948c06d5f2.tar.gz |
Remove old configuration checks, supersded by new math config.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/SConscript | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/numpy/core/SConscript b/numpy/core/SConscript index 986963846..00c5f9964 100644 --- a/numpy/core/SConscript +++ b/numpy/core/SConscript @@ -186,38 +186,6 @@ for f in ["isnan", "isinf", "signbit", "isfinite"]: """ config.CheckDeclaration(f, includes=includes) -def check_func(f): - """Check that f is available in mlib, and add the symbol appropriately. """ - st = config.CheckDeclaration(f, language = 'C', includes = "#include <math.h>") - if st: - st = config.CheckFunc(f, language = 'C') - if st: - mfuncs_defined[f] = 1 - else: - mfuncs_defined[f] = 0 - -for f in mfuncs: - check_func(f) - -if mfuncs_defined['expl'] == 1: - config.Define('HAVE_LONGDOUBLE_FUNCS', - comment = 'Define to 1 if long double funcs are available') -if mfuncs_defined['expf'] == 1: - config.Define('HAVE_FLOAT_FUNCS', - comment = 'Define to 1 if long double funcs are available') -if mfuncs_defined['asinh'] == 1: - config.Define('HAVE_INVERSE_HYPERBOLIC', - comment = 'Define to 1 if inverse hyperbolic funcs are '\ - 'available') -if mfuncs_defined['atanhf'] == 1: - config.Define('HAVE_INVERSE_HYPERBOLIC_FLOAT', - comment = 'Define to 1 if inverse hyperbolic float funcs '\ - 'are available') -if mfuncs_defined['atanhl'] == 1: - config.Define('HAVE_INVERSE_HYPERBOLIC_LONGDOUBLE', - comment = 'Define to 1 if inverse hyperbolic long double '\ - 'funcs are available') - #------------------------------------------------------- # Define the function PyOS_ascii_strod if not available #------------------------------------------------------- |