From 8b2ae8de018b6692a1b23f9ec9fe47948c06d5f2 Mon Sep 17 00:00:00 2001 From: David Cournapeau Date: Fri, 3 Oct 2008 07:22:34 +0000 Subject: Remove old configuration checks, supersded by new math config. --- numpy/core/SConscript | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'numpy') 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 ") - 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 #------------------------------------------------------- -- cgit v1.2.1