Scons: check for C++11 specific headers. Be more explicit w/r boost
we still don't check for the precise boost version number in the SCons configuration. We might do so in future, but for now our policy is that precise version dependency checking is the business of the packager (i.e. the debian package). The SCons build just has to ensure the absolute necessary baseline
This commit is contained in:
parent
f826ab1ee5
commit
361a78c478
1 changed files with 9 additions and 2 deletions
|
|
@ -73,12 +73,19 @@ def configure(env):
|
|||
else:
|
||||
conf.env.mergeConf('nobugmt')
|
||||
|
||||
if not conf.CheckCXXHeader('tr1/memory'):
|
||||
problems.append('We rely on the std::tr1 standard C++ extension for shared_ptr.')
|
||||
if not conf.CheckCXXHeader('memory'):
|
||||
problems.append('We rely on the C++11 smart-pointers.')
|
||||
|
||||
if not conf.CheckCXXHeader('functional'):
|
||||
problems.append('We rely on the C++11 functor objects.')
|
||||
|
||||
if not conf.CheckCXXHeader('boost/config.hpp'):
|
||||
problems.append('We need the C++ boost-libraries.')
|
||||
else:
|
||||
if not conf.CheckCXXHeader('boost/noncopyable.hpp'):
|
||||
problems.append('We need boost::noncopyable')
|
||||
if not conf.CheckCXXHeader('boost/lexical_cast.hpp'):
|
||||
problems.append('We need boost::lexical_cast')
|
||||
if not conf.CheckCXXHeader('boost/scoped_ptr.hpp'):
|
||||
problems.append('We need boost::scoped_ptr (scoped_ptr.hpp).')
|
||||
if not conf.CheckCXXHeader('boost/format.hpp'):
|
||||
|
|
|
|||
Loading…
Reference in a new issue