/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

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

revision 1654 by jpye, Thu Nov 29 10:41:45 2007 UTC revision 1655 by jpye, Thu Nov 29 11:04:49 2007 UTC
# Line 1943  if conf.CheckGcc(): Line 1943  if conf.CheckGcc():
1943  # Catching SIGINT  # Catching SIGINT
1944    
1945  if env['WITH_SIGNALS']:  if env['WITH_SIGNALS']:
1946      if conf.CheckSIGINT() is False:      if not conf.CheckSIGINT():
1947          with_signals = False          with_signals = False
1948          without_signals_reason = "SIGINT uncatchable"          without_signals_reason = "SIGINT uncatchable"
1949    
# Line 2001  if env['STATIC_TCLTK']: Line 2001  if env['STATIC_TCLTK']:
2001  # Python... obviously we're already running python, so we just need to  # Python... obviously we're already running python, so we just need to
2002  # check that we can link to the python library OK:  # check that we can link to the python library OK:
2003    
2004  if conf.CheckPythonLib() is False:  if not conf.CheckPythonLib():
2005      without_python_reason = 'libpython2.x not found or not linkable'      without_python_reason = 'libpython2.x not found or not linkable'
2006      with_python = False      with_python = False
2007      env['WITH_PYTHON']=False      env['WITH_PYTHON']=False
# Line 2016  if with_python and not conf.CheckSwigVer Line 2016  if with_python and not conf.CheckSwigVer
2016  # CUnit  # CUnit
2017    
2018  if with_cunit:  if with_cunit:
2019      if conf.CheckCUnit() is False:      if not conf.CheckCUnit():
2020          without_cunit_reason = 'CUnit not found'          without_cunit_reason = 'CUnit not found'
2021          with_cunit = False          with_cunit = False
2022          #print "CUNIT NOT FOUND, LIBS=",conf.env.get('LIBS')          #print "CUNIT NOT FOUND, LIBS=",conf.env.get('LIBS')
# Line 2024  if with_cunit: Line 2024  if with_cunit:
2024  # DMALLOC  # DMALLOC
2025    
2026  if with_dmalloc:  if with_dmalloc:
2027      if conf.CheckDMalloc() is False:      if not conf.CheckDMalloc():
2028          without_dmalloc_reason = 'dmalloc not found'          without_dmalloc_reason = 'dmalloc not found'
2029          with_dmalloc = False          with_dmalloc = False
2030    
2031  # MFGRAPH  # MFGRAPH
2032    
2033  if with_mfgraph:  if with_mfgraph:
2034      if conf.CheckMFGraph() is False:      if not conf.CheckMFGraph():
2035          without_mfgraph_reason = 'mfgraph not found'          without_mfgraph_reason = 'mfgraph not found'
2036          with_mfgraph = False          with_mfgraph = False
2037          env['WITH_MFGRAPH'] = False          env['WITH_MFGRAPH'] = False
# Line 2039  if with_mfgraph: Line 2039  if with_mfgraph:
2039  # UFSPARSE  # UFSPARSE
2040    
2041  if with_ufsparse:  if with_ufsparse:
2042      if conf.CheckUFSparse() is False:      if not conf.CheckUFSparse():
2043          without_ufsparse_reason = 'mfgraph not found'          without_ufsparse_reason = 'mfgraph not found'
2044          with_ufsparse = False          with_ufsparse = False
2045          env['WITH_UFSPARSE'] = False          env['WITH_UFSPARSE'] = False
# Line 2048  if with_ufsparse: Line 2048  if with_ufsparse:
2048    
2049  if not with_ida:  if not with_ida:
2050      without_ida_reason = "Not selected (see config option WITH_SOLVERS)"      without_ida_reason = "Not selected (see config option WITH_SOLVERS)"
2051  elif conf.CheckSUNDIALS() is False:  elif not conf.CheckSUNDIALS():
2052      with_ida = False      with_ida = False
2053      without_ida_reason = "SUNDIALS not found, or bad version"      without_ida_reason = "SUNDIALS not found, or bad version"
2054  elif conf.CheckIDA() is False:  elif not conf.CheckIDA():
2055      with_ida = False      with_ida = False
2056      without_ida_reason = "Unable to compile/link against SUNDIALS/IDA"      without_ida_reason = "Unable to compile/link against SUNDIALS/IDA"
2057    

Legend:
Removed from v.1654  
changed lines
  Added in v.1655

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