summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript12
1 files changed, 12 insertions, 0 deletions
diff --git a/wscript b/wscript
index a0734d09..76e08ef5 100644
--- a/wscript
+++ b/wscript
@@ -47,6 +47,18 @@ def configure(conf):
conf.env.append_value('CXXFLAGS', '-O2')
conf.check_cxx(fragment = """
+ #include <boost/version.hpp>\n
+ #if BOOST_VERSION < 104500\n
+ #error boost too old\n
+ #endif\n
+ int main(void) { return 0; }\n
+ """,
+ mandatory = True,
+ msg = 'Checking for boost library >= 1.45',
+ okmsg = 'ok',
+ errmsg = 'too old\nPlease install boost version 1.45 or higher.')
+
+ conf.check_cxx(fragment = """
#include <boost/filesystem.hpp>\n
int main() { boost::filesystem::copy_file ("a", "b"); }\n
""",