/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 596 by johnpye, Fri May 12 11:37:24 2006 UTC revision 597 by johnpye, Fri May 12 12:29:45 2006 UTC
# Line 285  opts.Add(BoolOption( Line 285  opts.Add(BoolOption(
285      ,False      ,False
286  ))  ))
287    
288    opts.Add(BoolOption(
289        'MALLOC_DEBUG'
290        ,"Compile with debugging version of MALLOC. Required for full CUnit testing"
291        ,False
292    ))
293    
294  opts.Add(  opts.Add(
295      'INSTALL_ROOT'      'INSTALL_ROOT'
296      ,'For use by RPM only: location of %{buildroot} during rpmbuild'      ,'For use by RPM only: location of %{buildroot} during rpmbuild'
# Line 898  if env.get('WITH_LOCAL_HELP'): Line 904  if env.get('WITH_LOCAL_HELP'):
904      print "WITH_LOCAL_HELP:",env['WITH_LOCAL_HELP']      print "WITH_LOCAL_HELP:",env['WITH_LOCAL_HELP']
905      subst_dict['@HELP_ROOT@']=env['WITH_LOCAL_HELP']      subst_dict['@HELP_ROOT@']=env['WITH_LOCAL_HELP']
906    
907  if env.get('WITH_XTERM_COLORS'):  # bool options...
908      subst_dict['@ASC_XTERM_COLORS@']="1"  for k,v in {'WITH_XTERM_COLORS':'ASC_XTERM_COLORS', 'MALLOC_DEBUG':'MALLOC_DEBUG'}.iteritems():
909  else:      if env.get(k):
910      subst_dict['@ASC_XTERM_COLORS@']='0'          subst_dict['ifdef '+v]="if 1"
911    
912  if with_python:  if with_python:
913      subst_dict['@ASCXX_USE_PYTHON@']="1"      subst_dict['@ASCXX_USE_PYTHON@']="1"

Legend:
Removed from v.596  
changed lines
  Added in v.597

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