changeset 15274:0de399fca8eb

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.
author Bruno Haible <bruno@clisp.org>
date Fri, 17 Jun 2011 01:02:39 +0200
parents 8f6fd6b9cdd2
children 82301ffbf6b9
files ChangeLog m4/md4.m4 modules/crypto/gc-md4
diffstat 3 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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_REQUIRE([gl_BIGENDIAN])
   AC_REQUIRE([AC_C_INLINE])
+  :
 ])
--- a/modules/crypto/gc-md4
+++ b/modules/crypto/gc-md4
@@ -13,6 +13,9 @@
 
 configure.ac:
 gl_GC_MD4
+if test "$ac_cv_libgcrypt" != yes; then
+  AC_LIBOBJ([md4])
+fi
 gl_MODULE_INDICATOR([gc-md4])
 
 Makefile.am: