crypto/gc-md4: Fix recent regression.
authorBruno Haible <bruno@clisp.org>
Thu, 16 Jun 2011 23:02:39 +0000 (01:02 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 16 Jun 2011 23:11:46 +0000 (01:11 +0200)
* modules/crypto/gc-md4 (configure.ac): Invoke AC_LIBOBJ here.
* m4/md4.m4 (gl_MD4): Ensure the expansion is non-empty.

ChangeLog
m4/md4.m4
modules/crypto/gc-md4

index a51ddba..23cb223 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-06-16  Bruno Haible  <bruno@clisp.org>
 
+       crypto/gc-md4: Fix recent regression.
+       * modules/crypto/gc-md4 (configure.ac): Invoke AC_LIBOBJ here.
+       * m4/md4.m4 (gl_MD4): Ensure the expansion is non-empty.
+
        crypto/gc-arctwo: Fix recent regression.
        * modules/crypto/gc-arctwo (configure.ac): Invoke AC_LIBOBJ here.
        * m4/arctwo.m4 (gl_ARCTWO): Ensure the expansion is non-empty.
index 76e3a5c..5dde186 100644 (file)
--- a/m4/md4.m4
+++ b/m4/md4.m4
@@ -1,4 +1,4 @@
-# md4.m4 serial 5
+# md4.m4 serial 6
 dnl Copyright (C) 2002-2006, 2008-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,4 +9,5 @@ AC_DEFUN([gl_MD4],
 [
   AC_REQUIRE([gl_BIGENDIAN])
   AC_REQUIRE([AC_C_INLINE])
+  :
 ])
index 1e9490b..cdc6005 100644 (file)
@@ -13,6 +13,9 @@ crypto/gc
 
 configure.ac:
 gl_GC_MD4
+if test "$ac_cv_libgcrypt" != yes; then
+  AC_LIBOBJ([md4])
+fi
 gl_MODULE_INDICATOR([gc-md4])
 
 Makefile.am: