From d087368dc0dcd6026b3a967f00f145feb701dd0e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 25 Sep 2013 13:49:13 +0100 Subject: Basic email of KDMs works. --- wscript | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'wscript') 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 + 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) @@ -127,6 +138,15 @@ def configure(conf): conf.check_cfg(package='libxml++-2.6', args='--cflags --libs', uselib_store='XML++', mandatory=True) conf.check_cfg(package='libcurl', args='--cflags --libs', uselib_store='CURL', mandatory=True) + conf.check_cxx(fragment=""" + #include + int main(void) { zip_open ("foo", 0, 0); } + """, + mandatory=True, + msg='Checking for libzip', + lib='zip', + uselib_store='ZIP') + conf.check_cxx(fragment=""" #include \n #if BOOST_VERSION < 104500\n -- cgit v1.2.3