old_contents: from _external import *
  from boost import *
  
  class BoostUnittestframeworkChecker(BaseLibChecker):
  
      def __init__( self ):
          self.name  = 'boost_unit_test_framework'
          self.libs  = [self.name]
          self.language = 'c++',
          self.dependencies=[boost]
  
      def configure(self, project, env):
          if not self.enabled(env):
              return True
          env.Append( CCFLAGS = project.CC['define']+'BOOST_TEST_DYN_LINK' )
          return True
  
      def check(self, project, conf):
          result = self.CheckLib( conf, self.getLibs(conf.env) )
          #or result = self.CheckLib(conf, 'boost_unit_test_framework' ) #, None, None, self.language)
          return result
  
  
  boost_unit_test_framework = BoostUnittestframeworkChecker()
  
  
new_contents: from _external import *
  from boost import *
  
  class BoostUnittestframeworkChecker(BaseLibChecker):
  
      def __init__( self ):
          self.name  = 'boost_unit_test_framework'
          self.libs  = [self.name]
          self.language = 'c++',
          self.dependencies=[boost]
  
      def configure(self, project, env):
          if not self.enabled(env):
              return True
          if windows:
              env.Append( CCFLAGS = project.CC['define'])
          else:
              env.Append( CCFLAGS = project.CC['define']+'BOOST_TEST_DYN_LINK')
          return True
  
      def check(self, project, conf):
          result = self.CheckLib( conf, self.getLibs(conf.env) )
          #or result = self.CheckLib(conf, 'boost_unit_test_framework' ) #, None, None, self.language)
          return result
  
  
  boost_unit_test_framework = BoostUnittestframeworkChecker()
  
  
subject: Remove BOOST_TEST_DYN_LINK define for boost_unit_test_framework win build