[Numpy-svn] r5904 - branches/clean_math_config/numpy/core

numpy-svn@scip... numpy-svn@scip...
Fri Oct 3 02:22:41 CDT 2008


Author: cdavid
Date: 2008-10-03 02:22:34 -0500 (Fri, 03 Oct 2008)
New Revision: 5904

Modified:
   branches/clean_math_config/numpy/core/SConscript
Log:
Remove old configuration checks, supersded by new math config.

Modified: branches/clean_math_config/numpy/core/SConscript
===================================================================
--- branches/clean_math_config/numpy/core/SConscript	2008-10-03 07:22:18 UTC (rev 5903)
+++ branches/clean_math_config/numpy/core/SConscript	2008-10-03 07:22:34 UTC (rev 5904)
@@ -186,38 +186,6 @@
 """
     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
 #-------------------------------------------------------



More information about the Numpy-svn mailing list