diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-10-10 00:40:00 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-10-10 10:58:39 +0200 |
| commit | 6d1582f3c4b5afe57bdc3c34dada275a05a961a4 (patch) | |
| tree | 0b443f98a21ec0c9271e9400506f275211c8a9e9 /wscript | |
| parent | d70c44e87632a69a2b8bc90db7ca4b06b7aa611d (diff) | |
Implement weakly_canonical for boost versions without it (e.g. the one on Ubuntu 16.04).
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -214,6 +214,15 @@ def configure(conf): uselib_store='BOOST_FILESYSTEM') conf.check_cxx(fragment=""" + #include <boost/filesystem.hpp>\n + int main() { boost::filesystem::weakly_canonical("a/b/c"); }\n + """, + mandatory=False, + msg='Checking for boost::filesystem::weakly_canonical', + uselib='BOOST_FILESYSTEM', + define_name='LIBDCP_HAVE_WEAKLY_CANONICAL') + + conf.check_cxx(fragment=""" #include <boost/signals2.hpp>\n int main() { boost::signals2::signal<void (int)> x; }\n """, |
