NEWS.stable: log cherry-pick [e446f25]->[c092018] relocatable-shell: Update suggested...
[gnulib.git] / modules / getgroups
index 8ecbbdd..9926a12 100644 (file)
@@ -6,11 +6,15 @@ lib/getgroups.c
 m4/getgroups.m4
 
 Depends-on:
-malloc-posix
 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:
@@ -19,7 +23,7 @@ Include:
 <unistd.h>
 
 License:
-GPL
+LGPLv2+
 
 Maintainer:
 Jim Meyering, Eric Blake