From d4d04d6c0432b032f6ea23c8517fd6a5f623bb67 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 12 Dec 2017 12:12:47 +0100 Subject: [PATCH] Require libgpg-error 1.24 and libassuan 2.4.2 * src/util.h (GPG_ERR_FALSE): Remove due to newer libgpg-error. -- We require these over one year old versions to better allign with GnuPG's demand. Note that the required libassuan is acgtually 2 years old. Signed-off-by: Werner Koch --- configure.ac | 4 ++-- src/util.h | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index be06d94b..bca7bbf2 100644 --- a/configure.ac +++ b/configure.ac @@ -74,9 +74,9 @@ LIBQGPGME_LT_REVISION=0 GPGME_CONFIG_API_VERSION=1 ############################################## -NEED_GPG_ERROR_VERSION=1.17 +NEED_GPG_ERROR_VERSION=1.24 NEED_LIBASSUAN_API=2 -NEED_LIBASSUAN_VERSION=2.0.2 +NEED_LIBASSUAN_VERSION=2.4.2 PACKAGE=$PACKAGE_NAME diff --git a/src/util.h b/src/util.h index fd22d754..b4043ed1 100644 --- a/src/util.h +++ b/src/util.h @@ -45,10 +45,6 @@ #define DIM(v) (sizeof(v)/sizeof((v)[0])) -#if GPG_ERROR_VERSION_NUMBER < 0x011500 /* 1.21 */ -# define GPG_ERR_FALSE 256 -#endif - #if GPG_ERROR_VERSION_NUMBER < 0x011900 /* 1.25 */ # define GPG_ERR_ENGINE_TOO_OLD 300 # define GPG_ERR_TOO_OLD 308