diff options
author | Bruno Haible <bruno@clisp.org> | 2011-06-17 00:53:04 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-06-17 01:11:46 +0200 |
commit | 6b91542b2e6a8b1ea5dd4bf0f62208fa4f60143a (patch) | |
tree | e3d12c7f55e83ffbe413ab42f0dc68e791536299 /modules/crypto | |
parent | 56bf589760296aa87c9f72668fbf29417132f131 (diff) | |
download | gnulib-6b91542b2e6a8b1ea5dd4bf0f62208fa4f60143a.tar.gz |
crypto/gc-hmac-sha1: Fix recent regression.
* modules/crypto/gc-hmac-sha1 (Files): Remove m4/hmac-sha1.m4.
(configure.ac): Invoke AC_LIBOBJ here.
* m4/gc-hmac-sha1.m4 (gl_GC_HMAC_SHA1): Don't invoke gl_HMAC_SHA1.
Reported by Tom G. Christensen <tgc@jupiterrise.com>.
Diffstat (limited to 'modules/crypto')
-rw-r--r-- | modules/crypto/gc-hmac-sha1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/crypto/gc-hmac-sha1 b/modules/crypto/gc-hmac-sha1 index 603c28e459..c73351bb11 100644 --- a/modules/crypto/gc-hmac-sha1 +++ b/modules/crypto/gc-hmac-sha1 @@ -8,7 +8,6 @@ lib/sha1.c m4/sha1.m4 lib/hmac.h lib/hmac-sha1.c -m4/hmac-sha1.m4 lib/memxor.h lib/memxor.c m4/memxor.m4 @@ -19,6 +18,11 @@ crypto/gc configure.ac: gl_GC_HMAC_SHA1 +if test "$ac_cv_libgcrypt" != yes; then + AC_LIBOBJ([sha1]) + AC_LIBOBJ([hmac-sha1]) + AC_LIBOBJ([memxor]) +fi gl_MODULE_INDICATOR([gc-hmac-sha1]) Makefile.am: |