/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 1085 by johnpye, Tue Jan 9 13:25:23 2007 UTC revision 1086 by johnpye, Tue Jan 9 14:33:29 2007 UTC
# Line 555  def c_escape(str): Line 555  def c_escape(str):
555  envadditional={}  envadditional={}
556    
557  if platform.system()=="Windows":  if platform.system()=="Windows":
     import SCons.Util  
     if SCons.Util.WhereIs('mingw32-gcc'):  
         print "mingw32-gcc found by SCons:",SCons.Util.WhereIs('mingw32-gcc')  
       
558      if os.environ.get('OSTYPE')=='msys' or os.environ.get('MSYSTEM'):      if os.environ.get('OSTYPE')=='msys' or os.environ.get('MSYSTEM'):
559          envenv = os.environ;          envenv = os.environ;
560          tools = ['mingw','lex','yacc','fortran','swig','disttar','nsis']          tools = ['mingw','lex','yacc','fortran','swig','disttar','nsis']
# Line 1117  def CheckIDAVersion(context): Line 1113  def CheckIDAVersion(context):
1113          return 0          return 0
1114                    
1115      # good version      # good version
1116      context.Result(output+", good")      context.Result("%d.%d.%d, good" % (major,minor,patch))
1117      return 1      return 1
1118            
1119  #----------------  #----------------

Legend:
Removed from v.1085  
changed lines
  Added in v.1086

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