X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgroup-member;h=6c5051dc06fa756d7707bdec6fe843002bda67c5;hb=4bf2b800b24ba0b0cfd069b8ec7ac173714c734d;hp=c9015ec46278e8808154f6bf2873df5665b8613b;hpb=5143f4e91f44130093914be7cf05873c7d8a4369;p=gnulib.git diff --git a/modules/group-member b/modules/group-member index c9015ec46..6c5051dc0 100644 --- a/modules/group-member +++ b/modules/group-member @@ -2,26 +2,31 @@ 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: -lib_SOURCES += group-member.h Include: -"group-member.h" + License: GPL Maintainer: Jim Meyering -