changeset 15252:085433472964

userspec: Move AC_LIBOBJ invocations to module description. * m4/userspec.m4 (gl_USERSPEC): Remove AC_LIBOBJ invocation. * modules/userspec (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 02:18:29 +0200
parents 000ccc8b8dd1
children 6f608fb3afd7
files ChangeLog m4/userspec.m4 modules/userspec
diffstat 3 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	userspec: Move AC_LIBOBJ invocations to module description.
+	* m4/userspec.m4 (gl_USERSPEC): Remove AC_LIBOBJ invocation.
+	* modules/userspec (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	unlinkdir: Move AC_LIBOBJ invocations to module description.
--- a/m4/userspec.m4
+++ b/m4/userspec.m4
@@ -1,13 +1,11 @@
-# serial 10
+# serial 11
 dnl Copyright (C) 2002-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,
 dnl with or without modifications, as long as this notice is preserved.
 
+dnl Prerequisites of lib/userspec.c.
 AC_DEFUN([gl_USERSPEC],
 [
-  AC_LIBOBJ([userspec])
-
-  dnl Prerequisites of lib/userspec.c.
   AC_CHECK_HEADERS_ONCE([sys/param.h])
 ])
--- a/modules/userspec
+++ b/modules/userspec
@@ -20,6 +20,7 @@
 gl_USERSPEC
 
 Makefile.am:
+lib_SOURCES += userspec.c
 
 Include:
 "userspec.h"