changeset 15262:5e2f99e0a66f

yesno: Move AC_LIBOBJ invocations to module description. * m4/yesno.m4 (gl_YESNO): Remove AC_LIBOBJ invocation. * modules/yesno (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 03:35:50 +0200
parents 72ccb9cce511
children a003200eb24e
files ChangeLog m4/yesno.m4 modules/yesno
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+	yesno: Move AC_LIBOBJ invocations to module description.
+	* m4/yesno.m4 (gl_YESNO): Remove AC_LIBOBJ invocation.
+	* modules/yesno (Makefile.am): Augment lib_SOURCES.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
 	xstrtol: Move AC_LIBOBJ invocations to module description.
 	* m4/xstrtol.m4 (gl_XSTRTOL): Remove AC_LIBOBJ invocations.
 	* modules/xstrtol (Makefile.am): Augment lib_SOURCES.
--- a/m4/yesno.m4
+++ b/m4/yesno.m4
@@ -1,4 +1,4 @@
-# yesno.m4 serial 5
+# yesno.m4 serial 6
 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -7,8 +7,6 @@
 
 AC_DEFUN([gl_YESNO],
 [
-  AC_LIBOBJ([yesno])
-
   dnl No prerequisites of lib/yesno.c.
   :
 ])
--- a/modules/yesno
+++ b/modules/yesno
@@ -16,6 +16,7 @@
 gl_YESNO
 
 Makefile.am:
+lib_SOURCES += yesno.c
 
 Include:
 "yesno.h"