From 40d6d881b49029cb1651120aa641e5cafd38c999 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Tue, 11 Feb 2003 15:11:11 +0000 Subject: [PATCH] * configure.ac: Add --enable-sha512 switch to add SHA384/512 support. --- ChangeLog | 5 +++++ configure.ac | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index 82849972d..127e42517 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-02-11 David Shaw + + * configure.ac: Add --enable-sha512 switch to add SHA384/512 + support. + 2003-02-06 David Shaw * configure.ac: Do not set GNUPG_LIBEXECDIR in ./configure, so diff --git a/configure.ac b/configure.ac index aec25ee8d..53be9fe10 100644 --- a/configure.ac +++ b/configure.ac @@ -157,6 +157,16 @@ else fi fi +AC_MSG_CHECKING([whether to enable read-only SHA-384 and SHA-512 digest support]) +AC_ARG_ENABLE(sha512, + [ --enable-sha512 enable read-only SHA-384 and SHA-512 digest support], + use_sha512=$enableval, use_sha512=no) +AC_MSG_RESULT($use_sha512) +if test "$use_sha512" = yes ; then + AC_SUBST(SHA512_O,sha512.o) + AC_DEFINE(USE_SHA512,1,[Define to include read-only SHA-384 and SHA-512 digest support]) +fi + AC_MSG_CHECKING([whether to enable external program execution]) AC_ARG_ENABLE(exec, [ --disable-exec disable all external program execution],