X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgroup-member;h=6c5051dc06fa756d7707bdec6fe843002bda67c5;hb=98ceac18596c7520e9c022fa64431b48ee22b4d7;hp=0abecaa5c2e55ea639e89fb678890b4fc0664b5f;hpb=e8684643a28f1bf6a0839bf6a0c10f630c0f6335;p=gnulib.git diff --git a/modules/group-member b/modules/group-member index 0abecaa5c..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: -xalloc -stdbool +unistd +extensions +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: -EXTRA_DIST += group-member.h group-member.c Include: -"group-member.h" + License: GPL