From db4651734fe91935b17876dc9194329b00066eff Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 1 Aug 2013 11:06:22 +0200 Subject: [PATCH] Silence compiler warning about deprecated Libgcrypt symbols * configure.ac (AH_BOTTOM): Define GCRYPT_NO_DEPRECATED. -- Some gcc versions emit deprecated warning for such flagged Libgcrypt symbols; even if they are not used. --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 01530e06c..5a5e9f42d 100644 --- a/configure.ac +++ b/configure.ac @@ -500,6 +500,9 @@ AH_BOTTOM([ /* Tell libgcrypt not to use its own libgpg-error implementation. */ #define USE_LIBGPG_ERROR 1 +/* Tell Libgcrypt not to include deprecated definitions. */ +#define GCRYPT_NO_DEPRECATED 1 + /* We use jnlib, so tell other modules about it. */ #define HAVE_JNLIB_LOGGING 1