changeset 15203:355e63498252

gettime: Move AC_LIBOBJ invocations to module description. * m4/gettime.m4 (gl_GETTIME): Remove AC_LIBOBJ invocation. * modules/gettime (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 23:37:39 +0200
parents 1851e81daa16
children 05baeb726878
files ChangeLog m4/gettime.m4 modules/gettime
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>
+
+	gettime: Move AC_LIBOBJ invocations to module description.
+	* m4/gettime.m4 (gl_GETTIME): Remove AC_LIBOBJ invocation.
+	* modules/gettime (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	getndelim2: Move AC_LIBOBJ invocations to module description.
--- a/m4/gettime.m4
+++ b/m4/gettime.m4
@@ -1,4 +1,4 @@
-# gettime.m4 serial 7
+# gettime.m4 serial 8
 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_GETTIME],
 [
-  AC_LIBOBJ([gettime])
-
   dnl Prerequisites of lib/gettime.c.
   AC_REQUIRE([gl_CLOCK_TIME])
   AC_REQUIRE([gl_TIMESPEC])
--- a/modules/gettime
+++ b/modules/gettime
@@ -16,6 +16,7 @@
 gl_GETTIME
 
 Makefile.am:
+lib_SOURCES += gettime.c
 
 Include:
 "timespec.h"