aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-08-01 09:06:22 +0000
committerWerner Koch <[email protected]>2013-08-01 09:06:22 +0000
commitdb4651734fe91935b17876dc9194329b00066eff (patch)
tree3456d72f15ca24a19c8f5eb2c8888b0339b01ec8
parentw32: Change autogen.sh to use npth. (diff)
downloadgnupg-db4651734fe91935b17876dc9194329b00066eff.tar.gz
gnupg-db4651734fe91935b17876dc9194329b00066eff.zip
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.
Diffstat (limited to '')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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