X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgroup-member;h=6c5051dc06fa756d7707bdec6fe843002bda67c5;hb=98ceac18596c7520e9c022fa64431b48ee22b4d7;hp=45c8bd5607234e32f89b5e81bf4a94f8da1d63c5;hpb=3740c324b0f14e757b73cc22d88d30c4235d1bcb;p=gnulib.git diff --git a/modules/group-member b/modules/group-member index 45c8bd560..6c5051dc0 100644 --- a/modules/group-member +++ b/modules/group-member @@ -2,22 +2,28 @@ Description: Determine whether the current process has the permissions of a given group ID. Files: -lib/group-member.h lib/group-member.c m4/group-member.m4 Depends-on: +unistd extensions -xalloc -stdbool +getgroups [test $HAVE_GROUP_MEMBER = 0] +xalloc [test $HAVE_GROUP_MEMBER = 0] +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: Include: -"group-member.h" + License: GPL