/[escript]/branches/diaplayground/SConstruct
ViewVC logotype

Diff of /branches/diaplayground/SConstruct

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

revision 3892 by jfenwick, Tue Apr 10 08:57:23 2012 UTC revision 3896 by caltinay, Fri May 11 01:31:29 2012 UTC
# Line 475  if not conf.CheckFunc('Py_Exit'): Line 475  if not conf.CheckFunc('Py_Exit'):
475      Exit(1)      Exit(1)
476    
477  ## reuse conf to check for numpy header (optional)  ## reuse conf to check for numpy header (optional)
478  #if conf.CheckCXXHeader(['Python.h','numpy/ndarrayobject.h']):  if env['usepython3']:
479  #    conf.env.Append(CPPDEFINES = ['HAVE_NUMPY_H'])      # FIXME: This is until we can work out how to make the checks in python 3
480  #    conf.env['numpy_h']=True      conf.env['numpy_h']=False
481  #else:  else:
482  #    conf.env['numpy_h']=False      if conf.CheckCXXHeader(['Python.h','numpy/ndarrayobject.h']):
483            conf.env.Append(CPPDEFINES = ['HAVE_NUMPY_H'])
484            conf.env['numpy_h']=True
485  # This is until we can work out how to make the checks in python 3      else:
486  conf.env['numpy_h']=False          conf.env['numpy_h']=False
   
487    
488  # Commit changes to environment  # Commit changes to environment
489  env = conf.Finish()  env = conf.Finish()

Legend:
Removed from v.3892  
changed lines
  Added in v.3896

  ViewVC Help
Powered by ViewVC 1.1.26