1. Lars Yencken
  2. gpalign-cpp

Commits

Lars Yencken  committed c8c1407

Added check for boost libraries to SConstruct file.

Also pruned python version check.

  • Participants
  • Parent commits 113454a
  • Branches default

Comments (0)

Files changed (1)

File SConstruct

View file
  • Ignore whitespace
 
 #----------------------------------------------------------------------------#
 
-# Default include path for python, version inspecific.
-pythonVersion = sysconfig.get_config_var('VERSION')
-
-#----------------------------------------------------------------------------#
-
 def checkLibraries(env):
     """ Check whether the correct libraries exist, and thus whether building
         is possible.
         print "Can't find standard math libraries."
         Exit(1)
 
-    if not conf.CheckLibWithHeader('cppunit', 'cppunit/ui/text/TestRunner.h', 'c++'):
+    if not conf.CheckLibWithHeader('cppunit', 'cppunit/ui/text/TestRunner.h',
+            'c++'):
         print "Can't find cppunit."
         Exit(1)
 
+    if not conf.CheckCXXHeader('boost/shared_ptr.hpp'):
+        print "Can't find boost C++ libraries."
+        Exit(1)
+
     env = conf.Finish()
 
     return env