1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-29 21:58:04 +02:00

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

View File

@ -500,6 +500,9 @@ AH_BOTTOM([
/* Tell libgcrypt not to use its own libgpg-error implementation. */ /* Tell libgcrypt not to use its own libgpg-error implementation. */
#define USE_LIBGPG_ERROR 1 #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. */ /* We use jnlib, so tell other modules about it. */
#define HAVE_JNLIB_LOGGING 1 #define HAVE_JNLIB_LOGGING 1