changeset 15258:e85b0d6913a1

xnanosleep: Move AC_LIBOBJ invocations to module description. * m4/xnanosleep.m4 (gl_XNANOSLEEP): Remove AC_LIBOBJ invocation. * modules/xnanosleep (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 03:28:18 +0200
parents 1138320529e2
children 8e9bc5abe470
files ChangeLog m4/xnanosleep.m4 modules/xnanosleep
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+	xnanosleep: Move AC_LIBOBJ invocations to module description.
+	* m4/xnanosleep.m4 (gl_XNANOSLEEP): Remove AC_LIBOBJ invocation.
+	* modules/xnanosleep (Makefile.am): Augment lib_SOURCES.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
 	xgetcwd: Move AC_LIBOBJ invocations to module description.
 	* m4/xgetcwd.m4 (gl_XGETCWD): Remove AC_LIBOBJ invocation.
 	* modules/xgetcwd (Makefile.am): Augment lib_SOURCES.
--- a/m4/xnanosleep.m4
+++ b/m4/xnanosleep.m4
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
 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,
@@ -8,5 +8,5 @@
 
 AC_DEFUN([gl_XNANOSLEEP],
 [
-  AC_LIBOBJ([xnanosleep])
+  :
 ])
--- a/modules/xnanosleep
+++ b/modules/xnanosleep
@@ -16,6 +16,7 @@
 gl_XNANOSLEEP
 
 Makefile.am:
+lib_SOURCES += xnanosleep.c
 
 Include:
 "xnanosleep.h"