Merge commit 'a39d4083cab589d7cd6a13e8a4b8db8875261d75'
[gnulib.git] / modules / getgroups
index 94e5d6d..9926a12 100644 (file)
@@ -6,20 +6,24 @@ lib/getgroups.c
 m4/getgroups.m4
 
 Depends-on:
-xalloc
+unistd
+malloc-posix    [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
+stdint          [test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1]
 
 configure.ac:
 gl_FUNC_GETGROUPS
+if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then
+  AC_LIBOBJ([getgroups])
+fi
+gl_UNISTD_MODULE_INDICATOR([getgroups])
 
 Makefile.am:
-EXTRA_DIST += getgroups.c
 
 Include:
 <unistd.h>
 
 License:
-GPL
+LGPLv2+
 
 Maintainer:
-Jim Meyering
-
+Jim Meyering, Eric Blake