summaryrefslogtreecommitdiff
path: root/test/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-05-16 23:46:51 +0100
committerCarl Hetherington <cth@carlh.net>2016-05-18 11:50:29 +0100
commitd60b9d006fee94fab80ee86fe1149de7f2e76750 (patch)
treee7821dc323ec6e3b53bf25266350e355c4de0fc0 /test/wscript
parent3ce77bc8f0f047725f40a5f1725833fce5f8db63 (diff)
Remove Sndfile code and use FFmpeg instead.
Diffstat (limited to 'test/wscript')
-rw-r--r--test/wscript12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/wscript b/test/wscript
index a93eac661..1ddc25d70 100644
--- a/test/wscript
+++ b/test/wscript
@@ -21,11 +21,13 @@ def configure(conf):
if conf.env.TARGET_WINDOWS:
boost_test_suffix='-mt'
- conf.check_cxx(fragment = """
- #define BOOST_TEST_MODULE Config test\n
- #include <boost/test/unit_test.hpp>\n
- int main() {}
- """, msg = 'Checking for boost unit testing library', lib = 'boost_unit_test_framework%s' % boost_test_suffix, uselib_store = 'BOOST_TEST')
+ conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=True)
+
+ conf.check_cxx(fragment="""
+ #define BOOST_TEST_MODULE Config test\n
+ #include <boost/test/unit_test.hpp>\n
+ int main() {}
+ """, msg = 'Checking for boost unit testing library', lib = 'boost_unit_test_framework%s' % boost_test_suffix, uselib_store = 'BOOST_TEST')
def build(bld):
obj = bld(features='cxx cxxprogram')