From dd21275cad886e101d49325ad6780eb65373b349 Mon Sep 17 00:00:00 2001 From: Manuel Bachmann Date: Wed, 2 Dec 2015 15:16:51 +0100 Subject: 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- cgit 1.2.3-korg