/[escript]/branches/stage3.1/SConstruct
ViewVC logotype

Diff of /branches/stage3.1/SConstruct

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

revision 2944 by jfenwick, Fri Feb 5 03:34:39 2010 UTC revision 2945 by jfenwick, Wed Feb 24 00:17:46 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    
482  if not conf.CheckCXXHeader('boost/python.hpp'):  #Yep we still cant figure this one out. - working on it.
483    print "Cannot find boost include files (tried boost/python.hpp in directory %s)" % (env['boost_path'])  if not IS_WINDOWS_PLATFORM:
484    sys.exit(1)    if not conf.CheckCXXHeader('boost/python.hpp'):
485        print "Cannot find boost include files (tried boost/python.hpp in directory %s)" % (env['boost_path'])
486        sys.exit(1)
487    
488  if not conf.CheckFunc('PyObject_SetAttr'):    if not conf.CheckFunc('PyObject_SetAttr'):
489    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'])      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'])
490    sys.exit(1)      sys.exit(1)
491    
492  # Commit changes to environment  # Commit changes to environment
493  env = conf.Finish()  env = conf.Finish()

Legend:
Removed from v.2944  
changed lines
  Added in v.2945

  ViewVC Help
Powered by ViewVC 1.1.26