From: Bruno Haible <bruno@clisp.org>
Date: Mon, 23 May 2011 22:38:58 +0000 (+0200)
Subject: memxor: Move AC_LIBOBJ invocations to module description.
X-Git-Tag: v0.1~2308
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=076e1669c0dbf623fd0fd1142eb45354fbea14dd;p=gnulib.git

memxor: Move AC_LIBOBJ invocations to module description.

* m4/memxor.m4 (gl_MEMXOR): Remove AC_LIBOBJ invocation.
* modules/memxor (Makefile.am): Augment lib_SOURCES.
---

diff --git a/ChangeLog b/ChangeLog
index 0eb5c48edd..fe9f8bf9f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	memxor: Move AC_LIBOBJ invocations to module description.
+	* m4/memxor.m4 (gl_MEMXOR): Remove AC_LIBOBJ invocation.
+	* modules/memxor (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	memcoll: Move AC_LIBOBJ invocations to module description.
diff --git a/m4/memxor.m4 b/m4/memxor.m4
index 42789eb6fd..10c3313e85 100644
--- a/m4/memxor.m4
+++ b/m4/memxor.m4
@@ -1,4 +1,4 @@
-# memxor.m4 serial 3
+# memxor.m4 serial 4
 dnl Copyright (C) 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,
@@ -6,6 +6,5 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_MEMXOR],
 [
-  AC_LIBOBJ([memxor])
   AC_REQUIRE([AC_C_RESTRICT])
 ])
diff --git a/modules/memxor b/modules/memxor
index dea7eed23d..3cc95a33b3 100644
--- a/modules/memxor
+++ b/modules/memxor
@@ -12,6 +12,7 @@ configure.ac:
 gl_MEMXOR
 
 Makefile.am:
+lib_SOURCES += memxor.c
 
 Include:
 "memxor.h"