changeset 15219:6707aa07e038

mgetgroups: Move AC_LIBOBJ invocations to module description. * m4/mgetgroups.m4 (gl_MGETGROUPS): Remove AC_LIBOBJ invocation. * modules/mgetgroups (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 00:40:36 +0200
parents 2f6973883335
children a8ef8018ba6b
files ChangeLog m4/mgetgroups.m4 modules/mgetgroups
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>
+
+	mgetgroups: Move AC_LIBOBJ invocations to module description.
+	* m4/mgetgroups.m4 (gl_MGETGROUPS): Remove AC_LIBOBJ invocation.
+	* modules/mgetgroups (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	memxor: Move AC_LIBOBJ invocations to module description.
--- a/m4/mgetgroups.m4
+++ b/m4/mgetgroups.m4
@@ -1,4 +1,4 @@
-#serial 4
+#serial 5
 dnl Copyright (C) 2007-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,
@@ -7,5 +7,4 @@
 AC_DEFUN([gl_MGETGROUPS],
 [
   AC_CHECK_FUNCS_ONCE([getgrouplist])
-  AC_LIBOBJ([mgetgroups])
 ])
--- a/modules/mgetgroups
+++ b/modules/mgetgroups
@@ -16,6 +16,7 @@
 gl_MGETGROUPS
 
 Makefile.am:
+lib_SOURCES += mgetgroups.c
 
 Include:
 "mgetgroups.h"