summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-21 23:06:58 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-23 11:52:24 +0200
commit6fba38bd59450e167e664153a31f41e97a500ffc (patch)
tree9c52eb309ba192eb9bc19ea5b88ec97f4f304178 /wscript
parent6d1a7e90ec3244b8e532e03c5209d5e8448f422e (diff)
Support new boost versions (DoM #2867).v1.8.109
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/wscript b/wscript
index 76fc166c..77cfa11f 100644
--- a/wscript
+++ b/wscript
@@ -228,6 +228,15 @@ def configure(conf):
define_name='LIBDCP_HAVE_WEAKLY_CANONICAL')
conf.check_cxx(fragment="""
+ #include <boost/filesystem.hpp>\n
+ int main() { auto x = boost::filesystem::copy_options(); }\n
+ """,
+ mandatory=False,
+ msg='Checking for boost::filesystem::copy_options',
+ uselib='BOOST_FILESYSTEM',
+ define_name='LIBDCP_HAVE_COPY_OPTIONS')
+
+ conf.check_cxx(fragment="""
#include <boost/date_time.hpp>\n
int main() { boost::gregorian::day_clock::local_day(); }\n
""",