changeset 15236:e2c31bba517c

same: Move AC_LIBOBJ invocations to module description. * m4/same.m4 (gl_SAME): Remove AC_LIBOBJ invocation. * modules/same (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:31:38 +0200
parents 3887949e54f2
children fe013c78e730
files ChangeLog m4/same.m4 modules/same
diffstat 3 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	same: Move AC_LIBOBJ invocations to module description.
+	* m4/same.m4 (gl_SAME): Remove AC_LIBOBJ invocation.
+	* modules/same (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	safe-write: Move AC_LIBOBJ invocations to module description.
--- a/m4/same.m4
+++ b/m4/same.m4
@@ -1,15 +1,13 @@
-#serial 8
+#serial 9
 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation,
 dnl 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.
 
+dnl Prerequisites of lib/same.c.
 AC_DEFUN([gl_SAME],
 [
-  AC_LIBOBJ([same])
-
-  dnl Prerequisites of lib/same.c.
   AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
   AC_CHECK_FUNCS_ONCE([pathconf])
 ])
--- a/modules/same
+++ b/modules/same
@@ -19,6 +19,7 @@
 gl_SAME
 
 Makefile.am:
+lib_SOURCES += same.c
 
 Include:
 "same.h"