/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 1357 by jpye, Fri Mar 23 02:57:39 2007 UTC revision 1380 by jpye, Fri Apr 6 04:07:32 2007 UTC
# Line 1  Line 1 
1  import sys, os, commands, platform, distutils.sysconfig, os.path, re  import sys, os, commands, platform, distutils.sysconfig, os.path, re
2    
3  version = "0.9.5.107"  version = "0.9.5.108"
4    
5  #------------------------------------------------------  #------------------------------------------------------
6  # OPTIONS  # OPTIONS
# Line 633  env = Environment( Line 633  env = Environment(
633      , **envadditional      , **envadditional
634  )  )
635    
636    print "PATH =",os.environ['PATH']
637    
638  opts.Update(env)  opts.Update(env)
639  opts.Save('options.cache',env)  opts.Save('options.cache',env)
640    
# Line 1723  else: Line 1725  else:
1725    
1726  if need_fortran:  if need_fortran:
1727      conf.env.Tool('fortran')      conf.env.Tool('fortran')
1728      detect_fortran = conf.env.Detect(['g77','f77','gfortran'])      detect_fortran = conf.env.Detect(['gfortran','g77'])
1729      if detect_fortran:      if detect_fortran:
1730          # For some reason, g77 doesn't get detected properly on MinGW          # For some reason, g77 doesn't get detected properly on MinGW
1731          if not env.has_key('F77') and not env.has_key('FORTRAN'):          if not env.has_key('F77') and not env.has_key('FORTRAN'):
# Line 1753  if need_fortran: Line 1755  if need_fortran:
1755    
1756  if need_fortran:  if need_fortran:
1757      if platform.system()=="Windows":      if platform.system()=="Windows":
1758          conf.env.Append(LIBPATH='c:\mingw\lib')          pass
1759            #conf.env.Append(LIBPATH='c:\mingw\lib')
1760    
1761  # scrollkeeper  # scrollkeeper
1762    

Legend:
Removed from v.1357  
changed lines
  Added in v.1380

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