summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/wscript b/wscript
index 77cfa11f..a45a72a4 100644
--- a/wscript
+++ b/wscript
@@ -237,6 +237,15 @@ def configure(conf):
define_name='LIBDCP_HAVE_COPY_OPTIONS')
conf.check_cxx(fragment="""
+ #include <boost/filesystem.hpp>\n
+ int main() { boost::filesystem::path y = "foo"; y.replace_extension("bar"); }\n
+ """,
+ mandatory=False,
+ msg='Checking for boost::filesystem::replace_extension',
+ uselib='BOOST_FILESYSTEM',
+ define_name='LIBDCP_HAVE_REPLACE_EXTENSION')
+
+ conf.check_cxx(fragment="""
#include <boost/date_time.hpp>\n
int main() { boost::gregorian::day_clock::local_day(); }\n
""",