From: Bruno Haible Date: Thu, 16 Jun 2011 22:49:44 +0000 (+0200) Subject: crypto/gc-hmac-md5: Fix recent regression. X-Git-Tag: v0.1~2256 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=56bf589760296aa87c9f72668fbf29417132f131;p=gnulib.git crypto/gc-hmac-md5: Fix recent regression. * modules/crypto/gc-hmac-md5 (Files): Remove m4/hmac-md5.m4. (configure.ac): Invoke AC_LIBOBJ here. * m4/gc-hmac-md5.m4 (gl_GC_HMAC_MD5): Don't invoke gl_HMAC_MD5. Reported by Tom G. Christensen . --- diff --git a/ChangeLog b/ChangeLog index 84888b4f6..1fafdc1f0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-06-16 Bruno Haible + crypto/gc-hmac-md5: Fix recent regression. + * modules/crypto/gc-hmac-md5 (Files): Remove m4/hmac-md5.m4. + (configure.ac): Invoke AC_LIBOBJ here. + * m4/gc-hmac-md5.m4 (gl_GC_HMAC_MD5): Don't invoke gl_HMAC_MD5. + Reported by Tom G. Christensen . + crypto/gc-des: Fix recent regression. * modules/crypto/gc-des (Files): Remove m4/des.m4. (configure.ac): Invoke AC_LIBOBJ here. diff --git a/m4/gc-hmac-md5.m4 b/m4/gc-hmac-md5.m4 index f4987b0d7..d2c990b69 100644 --- a/m4/gc-hmac-md5.m4 +++ b/m4/gc-hmac-md5.m4 @@ -1,4 +1,4 @@ -# gc-hmac-md5.m4 serial 2 +# gc-hmac-md5.m4 serial 3 dnl Copyright (C) 2005, 2007, 2009-2011 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -9,7 +9,6 @@ AC_DEFUN([gl_GC_HMAC_MD5], AC_REQUIRE([gl_GC]) if test "$ac_cv_libgcrypt" != yes; then gl_MD5 - gl_HMAC_MD5 gl_MEMXOR fi ]) diff --git a/modules/crypto/gc-hmac-md5 b/modules/crypto/gc-hmac-md5 index 881899bb7..cd1973eeb 100644 --- a/modules/crypto/gc-hmac-md5 +++ b/modules/crypto/gc-hmac-md5 @@ -8,7 +8,6 @@ lib/md5.c m4/md5.m4 lib/hmac.h lib/hmac-md5.c -m4/hmac-md5.m4 lib/memxor.h lib/memxor.c m4/memxor.m4 @@ -19,6 +18,11 @@ crypto/gc configure.ac: gl_GC_HMAC_MD5 +if test "$ac_cv_libgcrypt" != yes; then + AC_LIBOBJ([md5]) + AC_LIBOBJ([hmac-md5]) + AC_LIBOBJ([memxor]) +fi gl_MODULE_INDICATOR([gc-hmac-md5]) Makefile.am: