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.
This commit is contained in:
Werner Koch 2013-08-01 11:06:22 +02:00
parent 6ce54a18c2
commit db4651734f
1 changed files with 3 additions and 0 deletions

View File

@ -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