gettime: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Mon, 23 May 2011 21:37:39 +0000 (23:37 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:26 +0000 (00:07 +0200)
* m4/gettime.m4 (gl_GETTIME): Remove AC_LIBOBJ invocation.
* modules/gettime (Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/gettime.m4
modules/gettime

index 4ca49ae..1df5013 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
        * m4/getndelim2.m4 (gl_GETNDELIM2): Remove AC_LIBOBJ invocation.
        * modules/getndelim2 (Makefile.am): Augment lib_SOURCES.
index 2b148ab..f2122dc 100644 (file)
@@ -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 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_GETTIME],
 [
-  AC_LIBOBJ([gettime])
-
   dnl Prerequisites of lib/gettime.c.
   AC_REQUIRE([gl_CLOCK_TIME])
   AC_REQUIRE([gl_TIMESPEC])
index 988d293..e1efe76 100644 (file)
@@ -16,6 +16,7 @@ configure.ac:
 gl_GETTIME
 
 Makefile.am:
+lib_SOURCES += gettime.c
 
 Include:
 "timespec.h"