From 466a21fbf04f9b5ee1bcddc0f9cee6c454799006 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 23 Sep 2024 21:13:57 +0200 Subject: Another fix for new boost. --- wscript | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 77cfa11f..a45a72a4 100644 --- a/wscript +++ b/wscript @@ -236,6 +236,15 @@ def configure(conf): uselib='BOOST_FILESYSTEM', define_name='LIBDCP_HAVE_COPY_OPTIONS') + conf.check_cxx(fragment=""" + #include \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 \n int main() { boost::gregorian::day_clock::local_day(); }\n -- cgit v1.2.3