From fa46928668f4197fa0bd9dda66bb2c13cafcf937 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Mon, 23 May 2011 22:17:47 +0200
Subject: [PATCH] crypto/arcfour: Move AC_LIBOBJ invocations to module
 description.

* m4/arcfour.m4: Remove file.
* modules/crypto/arcfour (Files): Remove it.
(configure.ac): Remove gl_ARCFOUR call.
(Makefile.am): Augment lib_SOURCES.
---
 ChangeLog              |  8 ++++++++
 m4/arcfour.m4          | 10 ----------
 modules/crypto/arcfour |  3 +--
 3 files changed, 9 insertions(+), 12 deletions(-)
 delete mode 100644 m4/arcfour.m4

diff --git a/ChangeLog b/ChangeLog
index ed42c60a66..0f3380cec4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	crypto/arcfour: Move AC_LIBOBJ invocations to module description.
+	* m4/arcfour.m4: Remove file.
+	* modules/crypto/arcfour (Files): Remove it.
+	(configure.ac): Remove gl_ARCFOUR call.
+	(Makefile.am): Augment lib_SOURCES.
+
 2011-05-22  Bruno Haible  <bruno@clisp.org>
 
 	write: Move AC_LIBOBJ invocations to module description.
diff --git a/m4/arcfour.m4 b/m4/arcfour.m4
deleted file mode 100644
index 8ab0bbd8c1..0000000000
--- a/m4/arcfour.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# arcfour.m4 serial 2
-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,
-dnl with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_ARCFOUR],
-[
-  AC_LIBOBJ([arcfour])
-])
diff --git a/modules/crypto/arcfour b/modules/crypto/arcfour
index 362bebe41a..43d1345bc8 100644
--- a/modules/crypto/arcfour
+++ b/modules/crypto/arcfour
@@ -4,15 +4,14 @@ ARCFOUR stream cipher implementation
 Files:
 lib/arcfour.h
 lib/arcfour.c
-m4/arcfour.m4
 
 Depends-on:
 stdint
 
 configure.ac:
-gl_ARCFOUR
 
 Makefile.am:
+lib_SOURCES += arcfour.c
 
 Include:
 "arcfour.h"
-- 
2.39.5