summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-09-25 13:49:13 +0100
committerCarl Hetherington <cth@carlh.net>2013-09-25 13:49:13 +0100
commitd087368dc0dcd6026b3a967f00f145feb701dd0e (patch)
treef44d2bb828c3572f0bbb3a74ec4e2f497d54168c /wscript
parent5909b9672821c1d5ea974761316dc0f3df558349 (diff)
Basic email of KDMs works.
Diffstat (limited to 'wscript')
-rw-r--r--wscript20
1 files changed, 20 insertions, 0 deletions
diff --git a/wscript b/wscript
index 7d582f9e5..95b0768e8 100644
--- a/wscript
+++ b/wscript
@@ -119,6 +119,17 @@ def configure(conf):
conf.env.STLIB_POSTPROC = ['postproc']
conf.env.STLIB_SWRESAMPLE = ['swresample']
conf.env.STLIB_OPENJPEG = ['openjpeg']
+ conf.env.STLIB_QUICKMAIL = ['quickmail']
+ else:
+ conf.check_cxx(fragment="""
+ #include <quickmail.h>
+ int main(void) { quickmail_initialize (); }
+ """,
+ mandatory=True,
+ msg='Checking for quickmail',
+ libpath='/usr/local/lib',
+ lib='quickmail',
+ uselib_store='QUICKMAIL')
# Dependencies which are always dynamically linked
conf.check_cfg(package='sndfile', args='--cflags --libs', uselib_store='SNDFILE', mandatory=True)
@@ -128,6 +139,15 @@ def configure(conf):
conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True)
conf.check_cxx(fragment="""
+ #include <zip.h>
+ int main(void) { zip_open ("foo", 0, 0); }
+ """,
+ mandatory=True,
+ msg='Checking for libzip',
+ lib='zip',
+ uselib_store='ZIP')
+
+ conf.check_cxx(fragment="""
#include <boost/version.hpp>\n
#if BOOST_VERSION < 104500\n
#error boost too old\n