diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-05-23 21:17:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-05-23 21:17:23 +0100 |
| commit | 3739c62f626b65da929d37fb7efc44a8e349e6f1 (patch) | |
| tree | a2f91eb01fbd3014d2a5348f38fdd09a31e7f927 /wscript | |
| parent | 2b2823284b07354d1f480e54aded1aba45716cf5 (diff) | |
Attempt to make more concessions for Centos 5.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -199,6 +199,25 @@ def configure(conf): if graphics is not None: conf.env.append_value('CXXFLAGS', '-DDCPOMATIC_GRAPHICS_MAGICK') + # See if we are using the MagickCore or MagickLib namespaces + conf.check_cxx(fragment=""" + #include <Magick++.h> + using namespace MagickCore; + """, + mandatory=False, + msg='Checking for MagickCore namespace', + okmsg='yes', + define_name='DCPOMATIC_HAVE_MAGICKCORE_NAMESPACE') + + conf.check_cxx(fragment=""" + #include <Magick++.h> + using namespace MagickLib + """, + mandatory=False, + msg='Checking for MagickLib namespace', + okmsg='yes', + define_name='DCPOMATIC_HAVE_MAGICKLIB_NAMESPACE') + # libzip conf.check_cfg(package='libzip', args='--cflags --libs', uselib_store='ZIP', mandatory=True) |
