aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2013-07-03 10:59:56 +0000
committerWerner Koch <[email protected]>2013-07-03 10:59:56 +0000
commit27e403bff7a6e46a390ae5f3d63ea63701d1435d (patch)
tree00488452b8748e034b692d78432146fe3761c74a
parentestream: Backport es_fopemem_init from master. (diff)
downloadgnupg-27e403bff7a6e46a390ae5f3d63ea63701d1435d.tar.gz
gnupg-27e403bff7a6e46a390ae5f3d63ea63701d1435d.zip
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 <[email protected]>
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
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