group-member: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sun, 8 May 2011 18:42:41 +0000 (20:42 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:09 +0000 (00:06 +0200)
* m4/group-member.m4 (gl_FUNC_GROUP_MEMBER): Set HAVE_GROUP_MEMBER.
Move AC_LIBOBJ and gl_PREREQ_GROUP_MEMBER invocations from here...
* modules/group-member (configure.ac): ... to here.

ChangeLog
m4/group-member.m4
modules/group-member

index 23ab0ee..f9d123f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-05-08  Bruno Haible  <bruno@clisp.org>
 
+       group-member: Move AC_LIBOBJ invocations to module description.
+       * m4/group-member.m4 (gl_FUNC_GROUP_MEMBER): Move AC_LIBOBJ and
+       gl_PREREQ_GROUP_MEMBER invocations from here...
+       * modules/group-member (configure.ac): ... to here.
+
+2011-05-08  Bruno Haible  <bruno@clisp.org>
+
        grantpt: Move AC_LIBOBJ invocations to module description.
        * m4/grantpt.m4 (gl_FUNC_GRANTPT): Move AC_LIBOBJ and gl_PREREQ_GRANTPT
        invocations from here...
index a415a32..0c4bfb5 100644 (file)
@@ -1,4 +1,4 @@
-# serial 13
+# serial 14
 
 # Copyright (C) 1999-2001, 2003-2007, 2009-2011 Free Software Foundation, Inc.
 
@@ -20,10 +20,6 @@ AC_DEFUN([gl_FUNC_GROUP_MEMBER],
   AC_CHECK_FUNC([group_member], , [
     HAVE_GROUP_MEMBER=0
   ])
-  if test $HAVE_GROUP_MEMBER = 0; then
-    AC_LIBOBJ([group-member])
-    gl_PREREQ_GROUP_MEMBER
-  fi
 ])
 
 # Prerequisites of lib/group-member.c.
index 9da67f7..6c5051d 100644 (file)
@@ -14,6 +14,10 @@ stdbool         [test $HAVE_GROUP_MEMBER = 0]
 
 configure.ac:
 gl_FUNC_GROUP_MEMBER
+if test $HAVE_GROUP_MEMBER = 0; then
+  AC_LIBOBJ([group-member])
+  gl_PREREQ_GROUP_MEMBER
+fi
 gl_UNISTD_MODULE_INDICATOR([group-member])
 
 Makefile.am: