/[escript]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 2923 by jfenwick, Thu Feb 4 04:05:36 2010 UTC revision 2924 by trankine, Thu Feb 4 05:30:53 2010 UTC
# Line 479  conf.env.PrependENVPath(LD_LIBRARY_PATH_ Line 479  conf.env.PrependENVPath(LD_LIBRARY_PATH_
479  conf.env.PrependENVPath('PYTHONPATH', prefix)  conf.env.PrependENVPath('PYTHONPATH', prefix)
480  conf.env.PrependENVPath(LD_LIBRARY_PATH_KEY, env['libinstall'])  conf.env.PrependENVPath(LD_LIBRARY_PATH_KEY, env['libinstall'])
481    
 if not conf.CheckCXXHeader('boost/python.hpp'):  
   print "Cannot find boost include files (tried boost/python.hpp in directory %s)" % (env['boost_path'])  
   sys.exit(1)  
482    
483  if not conf.CheckFunc('PyObject_SetAttr'):  #Yep we still cant figure this one out. - working on it.
484    print "Cannot find boost library method PyObject_SetAttr (tried method PyObject_SetAttr in library %s in directory %s)" % (env['boost_libs'], env['boost_lib_path'])  if not IS_WINDOWS_PLATFORM:
485    sys.exit(1)    if not conf.CheckCXXHeader('boost/python.hpp'):
486        print "Cannot find boost include files (tried boost/python.hpp in directory %s)" % (env['boost_path'])
487        sys.exit(1)
488    
489      if not conf.CheckFunc('PyObject_SetAttr'):
490        print "Cannot find boost library method PyObject_SetAttr (tried method PyObject_SetAttr in library %s in directory %s)" % (env['boost_libs'], env['boost_lib_path'])
491        sys.exit(1)
492    
493    
494  # Commit changes to environment  # Commit changes to environment
495  env = conf.Finish()  env = conf.Finish()

Legend:
Removed from v.2923  
changed lines
  Added in v.2924

  ViewVC Help
Powered by ViewVC 1.1.26