summaryrefslogtreecommitdiff
path: root/m4/gnulib-comp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/gnulib-comp.m4')
-rw-r--r--m4/gnulib-comp.m417
1 files changed, 17 insertions, 0 deletions
diff --git a/m4/gnulib-comp.m4 b/m4/gnulib-comp.m4
index 895218b..311c51a 100644
--- a/m4/gnulib-comp.m4
+++ b/m4/gnulib-comp.m4
@@ -102,6 +102,7 @@ AC_DEFUN([gl_EARLY],
# Code from module getaddrinfo:
# Code from module getdelim:
# Code from module getdtablesize:
+ # Code from module getgroups:
# Code from module getline:
# Code from module getopt-gnu:
# Code from module getopt-posix:
@@ -118,6 +119,7 @@ AC_DEFUN([gl_EARLY],
# Code from module gnumakefile:
# Code from module gnupload:
# Code from module gperf:
+ # Code from module group-member:
# Code from module hard-locale:
# Code from module havelib:
# Code from module hostent:
@@ -472,6 +474,11 @@ AC_DEFUN([gl_INIT],
gl_PREREQ_GETDTABLESIZE
fi
gl_UNISTD_MODULE_INDICATOR([getdtablesize])
+ gl_FUNC_GETGROUPS
+ if test $HAVE_GETGROUPS = 0 || test $REPLACE_GETGROUPS = 1; then
+ AC_LIBOBJ([getgroups])
+ fi
+ gl_UNISTD_MODULE_INDICATOR([getgroups])
gl_FUNC_GETLINE
if test $REPLACE_GETLINE = 1; then
AC_LIBOBJ([getline])
@@ -533,6 +540,12 @@ AC_DEFUN([gl_INIT],
m4_defn([m4_PACKAGE_VERSION])), [1], [],
[AC_CONFIG_LINKS([$GNUmakefile:$GNUmakefile], [],
[GNUmakefile=$GNUmakefile])])
+ 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])
gl_HARD_LOCALE
gl_HOSTENT
AM_ICONV
@@ -1289,6 +1302,7 @@ AC_DEFUN([gl_FILE_LIST], [
lib/getaddrinfo.c
lib/getdelim.c
lib/getdtablesize.c
+ lib/getgroups.c
lib/getline.c
lib/getopt.c
lib/getopt.in.h
@@ -1307,6 +1321,7 @@ AC_DEFUN([gl_FILE_LIST], [
lib/glthread/lock.c
lib/glthread/lock.h
lib/glthread/threadlib.c
+ lib/group-member.c
lib/hard-locale.c
lib/hard-locale.h
lib/iconv.in.h
@@ -1597,6 +1612,7 @@ AC_DEFUN([gl_FILE_LIST], [
m4/getaddrinfo.m4
m4/getdelim.m4
m4/getdtablesize.m4
+ m4/getgroups.m4
m4/getline.m4
m4/getopt.m4
m4/getpass.m4
@@ -1608,6 +1624,7 @@ AC_DEFUN([gl_FILE_LIST], [
m4/glibc2.m4
m4/glibc21.m4
m4/gnulib-common.m4
+ m4/group-member.m4
m4/hard-locale.m4
m4/hostent.m4
m4/iconv.m4