[Numpy-svn] r4389 - branches/numpy.scons/numpy/distutils/scons/checkers

numpy-svn at scipy.org numpy-svn at scipy.org
Mon Nov 5 05:26:31 EST 2007


Author: cdavid
Date: 2007-11-05 04:26:27 -0600 (Mon, 05 Nov 2007)
New Revision: 4389

Modified:
   branches/numpy.scons/numpy/distutils/scons/checkers/custom_checkers.py
Log:
Fix missing env def in custom checkers.

Modified: branches/numpy.scons/numpy/distutils/scons/checkers/custom_checkers.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/checkers/custom_checkers.py	2007-11-05 10:23:07 UTC (rev 4388)
+++ branches/numpy.scons/numpy/distutils/scons/checkers/custom_checkers.py	2007-11-05 10:26:27 UTC (rev 4389)
@@ -68,6 +68,8 @@
             return 0
 
 def CheckLAPACK(context, autoadd = 1):
+    env = context.env
+
     # If section lapack is in site.cfg, use those options. Otherwise, use default
     section = "lapack"
     siteconfig, cfgfiles = get_config()
@@ -88,8 +90,6 @@
                 return st
 
         else:
-            env = context.env
-
             # Get fortran stuff
             if not env.has_key('F77_NAME_MANGLER'):
                 if not CheckF77Mangling(context):




More information about the Numpy-svn mailing list