diff options
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 |
