crypto/gc-hmac-md5: Fix recent regression.
authorBruno Haible <bruno@clisp.org>
Thu, 16 Jun 2011 22:49:44 +0000 (00:49 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 16 Jun 2011 23:11:45 +0000 (01:11 +0200)
* 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 <tgc@jupiterrise.com>.

ChangeLog
m4/gc-hmac-md5.m4
modules/crypto/gc-hmac-md5

index 84888b4f6dfd28e1c13a275672d9b5892126de8f..1fafdc1f095f477984d69658eb76002b909bc930 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-06-16  Bruno Haible  <bruno@clisp.org>
 
+       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 <tgc@jupiterrise.com>.
+
        crypto/gc-des: Fix recent regression.
        * modules/crypto/gc-des (Files): Remove m4/des.m4.
        (configure.ac): Invoke AC_LIBOBJ here.
index f4987b0d72c4ee076c4ea66034e9a65fbf827d7f..d2c990b69f55c5578202332032ed74469f72574d 100644 (file)
@@ -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
 ])
index 881899bb7b538198c59d62f96aa9329f731065be..cd1973eeb83d7884352c4738043077ef20bb6f74 100644 (file)
@@ -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: