floorl: Respect rules for use of AC_LIBOBJ.
[pspp] / modules / getgroups
index 13e2f213e9008300bb16f25cbaa103b0edc0da00..66ff12f2a79d663be22e56a2b262be06bc35891b 100644 (file)
@@ -1,17 +1,29 @@
 Description:
+getgroups() function: return the supplementary group IDs of the current process.
 
 Files:
 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:
-jm_FUNC_GETGROUPS
+gl_FUNC_GETGROUPS
+if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then
+  AC_LIBOBJ([getgroups])
+fi
+gl_UNISTD_MODULE_INDICATOR([getgroups])
 
 Makefile.am:
 
 Include:
 <unistd.h>
 
+License:
+LGPL
+
+Maintainer:
+Jim Meyering, Eric Blake