/[escript]/branches/postrelease-csirofixes/site_scons/site_init.py
ViewVC logotype

Diff of /branches/postrelease-csirofixes/site_scons/site_init.py

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

revision 4323 by jfenwick, Tue Mar 19 00:17:36 2013 UTC revision 4337 by caltinay, Fri Mar 22 00:05:25 2013 UTC
# Line 73  def findLibWithHeader(env, libs, header, Line 73  def findLibWithHeader(env, libs, header,
73      return inc_path, lib_path      return inc_path, lib_path
74    
75  def detectModule(env, module):  def detectModule(env, module):
76      p=subprocess.call([env['pythoncmd'],'-c','import %s'%module])      from tempfile import TemporaryFile
77        p=subprocess.call([env['pythoncmd'],'-c','import %s'%module], stderr=TemporaryFile())
78      if p != 0:      if p != 0:
79          env[module] = False          env[module] = False
80          return False          return False

Legend:
Removed from v.4323  
changed lines
  Added in v.4337

  ViewVC Help
Powered by ViewVC 1.1.26