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 23ab0eece39b484f8e6525bdb38245aaa4a8a592..f9d123f9d6502d1c05e31ae34dc3aba1f7fca392 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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.
index a415a32b0288d5cb9ce1feb3d2c83748495f6b6a..0c4bfb50f9f9df1ad1ce7bc8b789cddfa77b9e62 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 9da67f745e26a30bc34660bc685555900ffdfe80..6c5051dc06fa756d7707bdec6fe843002bda67c5 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: