From 27e403bff7a6e46a390ae5f3d63ea63701d1435d Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 3 Jul 2013 12:59:56 +0200 Subject: [PATCH] Silence deprecated warnings from gcc 4.6.3. * configure.ac (AH_BOTTOM): Define GCRYPT_NO_DEPRECATED. -- Frankly, I don't understand why gcc prints them. We don't use them. Signed-off-by: Werner Koch --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index b85124c03..702b8d3af 100644 --- a/configure.ac +++ b/configure.ac @@ -442,6 +442,9 @@ AH_BOTTOM([ /* We don't want the old assuan codes anymore. */ #define _ASSUAN_ONLY_GPG_ERRORS 1 +/* We don't need any of the old gcrypt functions. */ +#define GCRYPT_NO_DEPRECATED 1 + /* We explicitly need to disable PTH's soft mapping as Debian currently enables it by default for no reason. */ #define PTH_SYSCALL_SOFT 0