diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-25 02:10:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-25 02:10:44 +0200 |
| commit | c0418f2a763407424d986c82ed147fbeaa2d9416 (patch) | |
| tree | d59c1e80a82b5d25d1f48bbfe4790126ba865077 /wscript | |
| parent | 540b9948e4a2fd4e52a2b29ed2089a0dc61d4cc6 (diff) | |
| parent | 152266f6e65451a03521eb04b6a406b6e309e17a (diff) | |
Merge remote-tracking branch 'origin/main' into v1.9.xv1.9.22
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 21 |
1 files changed, 16 insertions, 5 deletions
@@ -237,11 +237,22 @@ def configure(conf): define_name='LIBDCP_HAVE_WEAKLY_CANONICAL') conf.check_cxx(fragment=""" - #include <boost/signals2.hpp>\n - int main() { boost::signals2::signal<void (int)> x; }\n - """, - msg='Checking for boost signals2 library', - uselib_store='BOOST_SIGNALS2') + #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/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 |
