changeset 15248:83f1d4430d74

strftime: Move AC_LIBOBJ invocations to module description. * m4/strftime.m4 (gl_FUNC_STRFTIME): Remove AC_LIBOBJ invocation. * modules/strftime (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 02:02:38 +0200
parents fc0079effbc1
children 3dfa5c47791e
files ChangeLog m4/strftime.m4 modules/strftime
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>
+
+	strftime: Move AC_LIBOBJ invocations to module description.
+	* m4/strftime.m4 (gl_FUNC_STRFTIME): Remove AC_LIBOBJ invocation.
+	* modules/strftime (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	stdlib-safer: Move AC_LIBOBJ invocations to module description.
--- a/m4/strftime.m4
+++ b/m4/strftime.m4
@@ -1,4 +1,4 @@
-# serial 32
+# serial 33
 
 # Copyright (C) 1996-1997, 1999-2007, 2009-2011 Free Software Foundation, Inc.
 #
@@ -16,8 +16,6 @@
 # These are the prerequisite macros for GNU's strftime.c replacement.
 AC_DEFUN([gl_FUNC_STRFTIME],
 [
- AC_LIBOBJ([strftime])
-
  # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
  AC_REQUIRE([AC_STRUCT_TIMEZONE])
 
--- a/modules/strftime
+++ b/modules/strftime
@@ -16,6 +16,7 @@
 gl_FUNC_GNU_STRFTIME
 
 Makefile.am:
+lib_SOURCES += strftime.c
 
 Include:
 "strftime.h"