/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 510 by johnpye, Wed Apr 19 05:13:08 2006 UTC revision 511 by wangym, Wed Apr 19 08:06:48 2006 UTC
# Line 512  def CheckTclVersion(context): Line 512  def CheckTclVersion(context):
512          context.Result("failed to run check")          context.Result("failed to run check")
513          return 0          return 0
514    
515      major,minor,patch = tuple(int(i) for i in output.split("."))      major,minor,patch = tuple([int(i) for i in output.split(".")])
516      if major != 8 or minor > 3:      if major != 8 or minor > 3:
517          context.Result(output+" (bad version)")          context.Result(output+" (bad version)")
518          # bad version          # bad version
# Line 547  def CheckTkVersion(context): Line 547  def CheckTkVersion(context):
547          return 0          return 0
548      context.Result(output)      context.Result(output)
549    
550      major,minor,patch = tuple(int(i) for i in output.split("."))      major,minor,patch = tuple([int(i) for i in output.split(".")])
551      if major != 8 or minor > 3:      if major != 8 or minor > 3:
552          # bad version          # bad version
553          return 0          return 0

Legend:
Removed from v.510  
changed lines
  Added in v.511

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