/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1785 by jpye, Wed May 7 07:06:36 2008 UTC revision 1786 by jpye, Sat Jun 7 06:17:35 2008 UTC
# Line 1460  def CheckPythonLib(context): Line 1460  def CheckPythonLib(context):
1460          python_lib='python%d%d'          python_lib='python%d%d'
1461      else:      else:
1462          python_lib='python%d.%d'          python_lib='python%d.%d'
     python_libs = [python_lib % (sys.version_info[0],sys.version_info[1])]  
1463    
1464      python_cpppath = [distutils.sysconfig.get_python_inc()]      try:
1465      cfig = distutils.sysconfig.get_config_vars()              python_libs = [python_lib % (sys.version_info[0],sys.version_info[1])]
1466            python_cpppath = [distutils.sysconfig.get_python_inc()]
1467            cfig = distutils.sysconfig.get_config_vars()    
1468        except:
1469            context.Result("not found")
1470            return 0        
1471            
1472      lastLIBS = context.env.get('LIBS')      lastLIBS = context.env.get('LIBS')
1473      lastLIBPATH = context.env.get('LIBPATH')      lastLIBPATH = context.env.get('LIBPATH')
# Line 2491  else: Line 2495  else:
2495  #------------  #------------
2496  # BASE/GENERIC SUBDIRECTORIES  # BASE/GENERIC SUBDIRECTORIES
2497    
2498  libascend_env = env.Copy()  libascend_env = env.Clone()
2499    
2500  dirs = ['general','utilities','compiler','system','solver','integrator','packages','linear']  dirs = ['general','utilities','compiler','system','solver','integrator','packages','linear']
2501    

Legend:
Removed from v.1785  
changed lines
  Added in v.1786

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22