Check for required libdcp version.
authorCarl Hetherington <cth@carlh.net>
Wed, 1 Aug 2012 14:39:34 +0000 (15:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 1 Aug 2012 14:39:34 +0000 (15:39 +0100)
wscript

diff --git a/wscript b/wscript
index 4a6504c9e2763668242f931fd2ca4c28a0dfd953..305a5469aa7197df0b222b236aaa3c46126879a1 100644 (file)
--- a/wscript
+++ b/wscript
@@ -61,7 +61,7 @@ def configure(conf):
     conf.check_cfg(package = 'libswresample', args = '--cflags --libs', uselib_store = 'SWRESAMPLE', mandatory = True)
     conf.check_cfg(package = 'libpostproc', args = '--cflags --libs', uselib_store = 'POSTPROC', mandatory = True)
     conf.check_cfg(package = 'sndfile', args = '--cflags --libs', uselib_store = 'SNDFILE', mandatory = True)
-    conf.check_cfg(package = 'libdcp', args = '--cflags --libs', uselib_store = 'DCP', mandatory = True)
+    conf.check_cfg(package = 'libdcp', atleast_version = '0.07', args = '--cflags --libs', uselib_store = 'DCP', mandatory = True)
     conf.check_cfg(package = 'glib-2.0', args = '--cflags --libs', uselib_store = 'GLIB', mandatory = True)
     conf.check_cfg(package = '', path = 'Magick++-config', args = '--cppflags --cxxflags --libs', uselib_store = 'MAGICK', mandatory = True)
     conf.check_cc(msg = 'Checking for library libtiff', function_name = 'TIFFOpen', header_name = 'tiffio.h', lib = 'tiff', uselib_store = 'TIFF')