summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-10-25 21:04:18 +0100
committerCarl Hetherington <cth@carlh.net>2012-10-25 21:04:18 +0100
commit41e8135b9827427b6fe9d01c6214469f817184fd (patch)
tree2f5b6cc156591658bd5bc73abb86e809a6898a49 /wscript
parent360a7dfde2503470004653ffe12997d3c361a99b (diff)
Update for new libdcp (signals2 instead of sigc).
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 7 insertions, 1 deletions
diff --git a/wscript b/wscript
index 56ece35b8..0e4df8efb 100644
--- a/wscript
+++ b/wscript
@@ -51,7 +51,6 @@ def configure(conf):
else:
conf.env.append_value('CXXFLAGS', '-O3')
- conf.check_cfg(package = 'sigc++-2.0', args = '--cflags --libs', uselib_store = 'SIGC++', mandatory = True)
conf.check_cfg(package = 'libavformat', args = '--cflags --libs', uselib_store = 'AVFORMAT', mandatory = True)
conf.check_cfg(package = 'libavfilter', args = '--cflags --libs', uselib_store = 'AVFILTER', mandatory = True)
conf.check_cfg(package = 'libavcodec', args = '--cflags --libs', uselib_store = 'AVCODEC', mandatory = True)
@@ -104,6 +103,13 @@ def configure(conf):
lib = ['boost_date_time%s' % boost_lib_suffix, 'boost_system%s' % boost_lib_suffix],
uselib_store = 'BOOST_DATETIME')
+ 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')
+
conf.check_cc(fragment = """
#include <glib.h>
int main() { g_format_size (1); }