changeset 15249:3dfa5c47791e

tempname: Move AC_LIBOBJ invocations to module description. * m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Remove AC_LIBOBJ invocation. * modules/tempname (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 02:13:12 +0200
parents 83f1d4430d74
children 77079ed36606
files ChangeLog m4/tempname.m4 modules/tempname
diffstat 3 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	tempname: Move AC_LIBOBJ invocations to module description.
+	* m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Remove AC_LIBOBJ invocation.
+	* modules/tempname (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	strftime: Move AC_LIBOBJ invocations to module description.
--- a/m4/tempname.m4
+++ b/m4/tempname.m4
@@ -1,4 +1,4 @@
-#serial 3
+#serial 4
 
 # Copyright (C) 2006-2007, 2009-2011 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -11,7 +11,6 @@
 [
   AC_REQUIRE([AC_SYS_LARGEFILE])
 
-  AC_LIBOBJ([tempname])
   gl_PREREQ_TEMPNAME
 ])
 
--- a/modules/tempname
+++ b/modules/tempname
@@ -18,6 +18,7 @@
 gl_FUNC_GEN_TEMPNAME
 
 Makefile.am:
+lib_SOURCES += tempname.c
 
 Include:
 "tempname.h"