/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 413 by johnpye, Mon Apr 3 03:57:09 2006 UTC revision 414 by johnpye, Mon Apr 3 04:55:35 2006 UTC
# Line 12  print "PLATFORM = ",platform.system() Line 12  print "PLATFORM = ",platform.system()
12  # Import the outside environment  # Import the outside environment
13  env = Environment(ENV=os.environ)  env = Environment(ENV=os.environ)
14    
15    if platform.system()=='Windows':
16        print "INCLUDE =",env['ENV']['INCLUDE']
17        env.Append(CPPPATH=env['ENV']['INCLUDE'])
18        env.Append(LIBPATH=env['ENV']['LIB'])
19    
20  # Package linking option  # Package linking option
21  opts.Add(EnumOption(  opts.Add(EnumOption(
22      'PACKAGE_LINKING'      'PACKAGE_LINKING'
# Line 376  conf = Configure(env Line 381  conf = Configure(env
381    
382    
383  # Math library  # Math library
384  #if not conf.CheckLibWithHeader(['m','c','libc'], 'math.h', 'C'):  if not conf.CheckLibWithHeader(['m','c','libc'], 'math.h', 'C'):
385  #   print 'Did not find math library, exiting!'      print 'Did not find math library, exiting!'
386  #   Exit(1)      Exit(1)
387    
388  # Where is 'isnan'?  # Where is 'isnan'?
389    
390  if not conf.CheckFunc('isnan'):  if not conf.CheckFunc('isnan'):
391      print "Didn't find isnan"      print "Didn't find isnan"
392      Exit(1)  #   Exit(1)
393    
394  # Tcl/Tk  # Tcl/Tk
395    

Legend:
Removed from v.413  
changed lines
  Added in v.414

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