summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-02 15:16:51 +0100
committerManuel Bachmann <manuel.bachmann@iot.bzh>2015-12-02 15:16:51 +0100
commitdd21275cad886e101d49325ad6780eb65373b349 (patch)
tree12da7eafd175a070e268c06afe0fbbd822e94eae /configure.ac
parentbbac3d8b95773bf58d60f8b074c6616ba5cda745 (diff)
Require libzip >= 1.0
Most distributions still ship libzip 0.10, but wgtpkg is using "zip_dir_add()", "ZIP_FL_ENC_*"... which only exist in more recent libzip >= 1.0. Make the autotools check more precise in this respect. Signed-off-by: Manuel Bachmann <manuel.bachmann@iot.bzh>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b8a6bd4..c9b4d6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -20,7 +20,7 @@ AC_PROG_CC
# FIXME: Replace `main' with a function in `-lzip':
#AC_CHECK_LIB([zip], [zip_open])
-PKG_CHECK_MODULES([ZIP], [libzip])
+PKG_CHECK_MODULES([ZIP], [libzip >= 1.0])
PKG_CHECK_MODULES([XML2], [libxml-2.0])
PKG_CHECK_MODULES([OPENSSL], [openssl])
PKG_CHECK_MODULES([XMLSEC], [xmlsec1 xmlsec1-openssl])