From: Bruno Haible <bruno@clisp.org>
Date: Mon, 23 May 2011 21:52:25 +0000 (+0200)
Subject: hard-locale: Move AC_LIBOBJ invocations to module description.
X-Git-Tag: v0.1~2321
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=8cc5c7f6a4982701ec4c1d03caba249a5f86c3dd;p=gnulib.git

hard-locale: Move AC_LIBOBJ invocations to module description.

* m4/hard-locale.m4 (gl_HARD_LOCALE): Remove AC_LIBOBJ invocation.
* modules/hard-locale (Makefile.am): Augment lib_SOURCES.
---

diff --git a/ChangeLog b/ChangeLog
index d03b74b743..cd0807373c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	hard-locale: Move AC_LIBOBJ invocations to module description.
+	* m4/hard-locale.m4 (gl_HARD_LOCALE): Remove AC_LIBOBJ invocation.
+	* modules/hard-locale (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	getugroups: Move AC_LIBOBJ invocations to module description.
diff --git a/m4/hard-locale.m4 b/m4/hard-locale.m4
index 8b37351313..b3313388fd 100644
--- a/m4/hard-locale.m4
+++ b/m4/hard-locale.m4
@@ -1,4 +1,4 @@
-# hard-locale.m4 serial 7
+# hard-locale.m4 serial 8
 dnl Copyright (C) 2002-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,
@@ -7,5 +7,5 @@ dnl with or without modifications, as long as this notice is preserved.
 dnl No prerequisites of lib/hard-locale.c.
 AC_DEFUN([gl_HARD_LOCALE],
 [
-  AC_LIBOBJ([hard-locale])
+  :
 ])
diff --git a/modules/hard-locale b/modules/hard-locale
index 2f9810adf9..88dff8e902 100644
--- a/modules/hard-locale
+++ b/modules/hard-locale
@@ -14,6 +14,7 @@ configure.ac:
 gl_HARD_LOCALE
 
 Makefile.am:
+lib_SOURCES += hard-locale.c
 
 Include:
 "hard-locale.h"