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

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

index 39a83f5..a51ddba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2011-06-16  Bruno Haible  <bruno@clisp.org>
 
+       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.
+
        crypto/gc-rijndael: Fix recent regression.
        * modules/crypto/gc-rijndael (Files): Remove m4/rijndael.m4.
        (configure.ac): Invoke AC_LIBOBJ here.
index 9f95f59..5172730 100644 (file)
@@ -1,4 +1,4 @@
-# arctwo.m4 serial 3
+# arctwo.m4 serial 4
 dnl Copyright (C) 2005-2006, 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,
@@ -8,4 +8,5 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_ARCTWO],
 [
   AC_REQUIRE([AC_C_INLINE])
+  :
 ])
index b265402..4900667 100644 (file)
@@ -14,6 +14,9 @@ bitrotate
 
 configure.ac:
 gl_GC_ARCTWO
+if test "$ac_cv_libgcrypt" != yes; then
+  AC_LIBOBJ([arctwo])
+fi
 gl_MODULE_INDICATOR([gc-arctwo])
 
 Makefile.am: