changeset 15204:05baeb726878

getugroups: Move AC_LIBOBJ invocations to module description. * m4/getugroups.m4 (gl_GETUGROUPS): Remove AC_LIBOBJ invocation. * modules/getugroups (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 23:50:47 +0200
parents 355e63498252
children 38c51bfbaa67
files ChangeLog m4/getugroups.m4 modules/getugroups
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>
+
+	getugroups: Move AC_LIBOBJ invocations to module description.
+	* m4/getugroups.m4 (gl_GETUGROUPS): Remove AC_LIBOBJ invocation.
+	* modules/getugroups (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	gettime: Move AC_LIBOBJ invocations to module description.
--- a/m4/getugroups.m4
+++ b/m4/getugroups.m4
@@ -1,4 +1,4 @@
-# getugroups.m4 serial 8
+# getugroups.m4 serial 9
 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -7,6 +7,5 @@
 
 AC_DEFUN([gl_GETUGROUPS],
 [
-  AC_LIBOBJ([getugroups])
   AC_CHECK_HEADERS_ONCE([grp.h])
 ])
--- a/modules/getugroups
+++ b/modules/getugroups
@@ -13,6 +13,7 @@
 gl_GETUGROUPS
 
 Makefile.am:
+lib_SOURCES += getugroups.c
 
 Include:
 "getugroups.h"