/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 406 by johnpye, Sat Apr 1 05:57:34 2006 UTC revision 412 by johnpye, Mon Apr 3 03:31:30 2006 UTC
# Line 276  int main(void){ Line 276  int main(void){
276  """  """
277    
278  def CheckCUnit(context):  def CheckCUnit(context):
279      return CheckLib(context      return context.CheckExtLib(context
280          ,'cunit'          ,'cunit'
281          ,cunit_test_text          ,cunit_test_text
282      )      )
# Line 368  if not conf.CheckSwigVersion(): Line 368  if not conf.CheckSwigVersion():
368      Exit(1)      Exit(1)
369    
370  # Math library  # Math library
371  if not conf.CheckLibWithHeader(['m','c','libc'], 'math.h', 'C'):  #if not conf.CheckLibWithHeader(['m','c','libc'], 'math.h', 'C'):
372      print 'Did not find libm.a or m.lib, exiting!'  #   print 'Did not find math library, exiting!'
373      Exit(1)  #   Exit(1)
374    
375  # Where is 'isnan'?  # Where is 'isnan'?
376    
# Line 390  if conf.CheckTcl() and conf.CheckTk(): Line 390  if conf.CheckTcl() and conf.CheckTk():
390          with_tcltk_gui = False          with_tcltk_gui = False
391  else:  else:
392      without_tcltk_reason = "Tcl/Tk not found."      without_tcltk_reason = "Tcl/Tk not found."
393        with_tcltk_gui = False
394    
395  # Python... obviously we're already running python, so we just need to  # Python... obviously we're already running python, so we just need to
396  # check that we can link to the python library OK:  # check that we can link to the python library OK:
397    

Legend:
Removed from v.406  
changed lines
  Added in v.412

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