Committed Shadow_Master's fix for failure of boost::test check with boost 1.33

This commit is contained in:
Sergey Popov 2008-11-01 21:52:17 +00:00
parent e7ee892bc0
commit 1e0cdc6cd4

View file

@ -83,6 +83,14 @@ def CheckBoost(context, boost_lib, require_version = None, header_only = False):
test_program += \
"#if BOOST_VERSION < %d\n#error Boost version is too old!\n#endif\n" \
% (major * 100000 + minor * 100 + sub_minor)
if boost_lib == "unit_test_framework":
test_program += """
boost::unit_test::test_suite* init_unit_test_suite ( int, char**)
{
}
\n"""
test_program += """
int main()
{