From: Bruno Haible <bruno@clisp.org>
Date: Mon, 23 May 2011 23:36:34 +0000 (+0200)
Subject: settime: Move AC_LIBOBJ invocations to module description.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc5636040a3fd97b3c3d54e1367fa48ebfa123b;p=pspp

settime: Move AC_LIBOBJ invocations to module description.

* m4/settime.m4 (gl_SETTIME): Remove AC_LIBOBJ invocation.
* modules/settime (Makefile.am): Augment lib_SOURCES.
---

diff --git a/ChangeLog b/ChangeLog
index 8a4da02414..b1b526d84f 100644
--- 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.
diff --git a/m4/settime.m4 b/m4/settime.m4
index 107398fb0b..24ad2b8a2a 100644
--- 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 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_SETTIME],
 [
-  AC_LIBOBJ([settime])
-
   dnl Prerequisites of lib/settime.c.
   AC_REQUIRE([gl_CLOCK_TIME])
   AC_REQUIRE([gl_TIMESPEC])
diff --git a/modules/settime b/modules/settime
index c2e1b3cd59..8f097f7860 100644
--- a/modules/settime
+++ b/modules/settime
@@ -16,6 +16,7 @@ configure.ac:
 gl_SETTIME
 
 Makefile.am:
+lib_SOURCES += settime.c
 
 Include:
 "timespec.h"