changeset 15239:36e1fcc3cddf

settime: Move AC_LIBOBJ invocations to module description. * m4/settime.m4 (gl_SETTIME): Remove AC_LIBOBJ invocation. * modules/settime (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:36:34 +0200
parents c823305b8a6c
children 417bb59b0819
files ChangeLog m4/settime.m4 modules/settime
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	settime: Move AC_LIBOBJ invocations to module description.
+	* m4/settime.m4 (gl_SETTIME): Remove AC_LIBOBJ invocation.
+	* modules/settime (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	savedir: Move AC_LIBOBJ invocations to module description.
--- a/m4/settime.m4
+++ b/m4/settime.m4
@@ -1,4 +1,4 @@
-# settime.m4 serial 6
+# settime.m4 serial 7
 dnl Copyright (C) 2002, 2004-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,8 +6,6 @@
 
 AC_DEFUN([gl_SETTIME],
 [
-  AC_LIBOBJ([settime])
-
   dnl Prerequisites of lib/settime.c.
   AC_REQUIRE([gl_CLOCK_TIME])
   AC_REQUIRE([gl_TIMESPEC])
--- a/modules/settime
+++ b/modules/settime
@@ -16,6 +16,7 @@
 gl_SETTIME
 
 Makefile.am:
+lib_SOURCES += settime.c
 
 Include:
 "timespec.h"