# HG changeset patch # User Bruno Haible # Date 1308264296 -7200 # Node ID a36b75afc6105473907786c73de3a33aa1bac28c # Parent b6beea3e3300f570dbb5f9dce2345e14c2ce403a 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 . diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-06-16 Bruno Haible + + 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 . + 2011-06-16 Paul Eggert * m4/lstat.m4 (gl_FUNC_LSTAT): Fix typo in prerequisite. diff --git a/m4/gc-arcfour.m4 b/m4/gc-arcfour.m4 --- a/m4/gc-arcfour.m4 +++ b/m4/gc-arcfour.m4 @@ -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 @@ AC_DEFUN([gl_GC_ARCFOUR], [ AC_REQUIRE([gl_GC]) - if test "$ac_cv_libgcrypt" != yes; then - gl_ARCFOUR - fi ]) diff --git a/modules/crypto/gc-arcfour b/modules/crypto/gc-arcfour --- a/modules/crypto/gc-arcfour +++ b/modules/crypto/gc-arcfour @@ -5,7 +5,6 @@ m4/gc-arcfour.m4 lib/arcfour.h lib/arcfour.c -m4/arcfour.m4 Depends-on: stdint @@ -13,6 +12,9 @@ configure.ac: gl_GC_ARCFOUR +if test "$ac_cv_libgcrypt" != yes; then + AC_LIBOBJ([arcfour]) +fi gl_MODULE_INDICATOR([gc-arcfour]) Makefile.am: