mbsrtowcs: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / getgroups
index 16604f8f3504b507edaf221a9e19f62f7610c4c7..66ff12f2a79d663be22e56a2b262be06bc35891b 100644 (file)
@@ -6,10 +6,16 @@ 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:
 
@@ -17,8 +23,7 @@ Include:
 <unistd.h>
 
 License:
-GPL
+LGPL
 
 Maintainer:
-Jim Meyering
-
+Jim Meyering, Eric Blake