crypto/gc-arcfour: Fix recent regression.
authorBruno Haible <bruno@clisp.org>
Thu, 16 Jun 2011 22:44:56 +0000 (00:44 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 16 Jun 2011 23:11:45 +0000 (01:11 +0200)
* modules/crypto/gc-arcfour (Files): Remove m4/arcfour.m4.
(configure.ac): Invoke AC_LIBOBJ here.
* m4/gc-arcfour.m4 (gl_GC_ARCFOUR): Don't invoke gl_ARCFOUR.
Reported by Tom G. Christensen <tgc@jupiterrise.com>.

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

index f2c6ec6..8c88821 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-06-16  Bruno Haible  <bruno@clisp.org>
+
+       crypto/gc-arcfour: Fix recent regression.
+       * modules/crypto/gc-arcfour (Files): Remove m4/arcfour.m4.
+       (configure.ac): Invoke AC_LIBOBJ here.
+       * m4/gc-arcfour.m4 (gl_GC_ARCFOUR): Don't invoke gl_ARCFOUR.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
 2011-06-16  Paul Eggert  <eggert@cs.ucla.edu>
 
        * m4/lstat.m4 (gl_FUNC_LSTAT): Fix typo in prerequisite.
index 75a68b1..2defdc9 100644 (file)
@@ -1,4 +1,4 @@
-# gc-arcfour.m4 serial 2
+# gc-arcfour.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,
@@ -7,7 +7,4 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_GC_ARCFOUR],
 [
   AC_REQUIRE([gl_GC])
-  if test "$ac_cv_libgcrypt" != yes; then
-    gl_ARCFOUR
-  fi
 ])
index 0d1c3b0..34a310c 100644 (file)
@@ -5,7 +5,6 @@ Files:
 m4/gc-arcfour.m4
 lib/arcfour.h
 lib/arcfour.c
-m4/arcfour.m4
 
 Depends-on:
 stdint
@@ -13,6 +12,9 @@ crypto/gc
 
 configure.ac:
 gl_GC_ARCFOUR
+if test "$ac_cv_libgcrypt" != yes; then
+  AC_LIBOBJ([arcfour])
+fi
 gl_MODULE_INDICATOR([gc-arcfour])
 
 Makefile.am: