1 diff --git a/configure.ac b/configure.ac
2 index 58347d8..8c7fca2 100644
5 @@ -77,15 +77,10 @@ AC_TYPE_UINT64_T
7 dnl AC_TYPE_GETGROUPS seems broken on recent MacOS, so:
8 AC_MSG_CHECKING([Figure out if getgrouplist() needs gid_t or int])
10 -export CFLAGS=-Werror
11 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
15 -gid_t groups[32]; int ngroups; const char* user = "root";
16 -getgrouplist(user, 1, groups, &ngroups);
18 +int getgroups(int gidsetsize, gid_t grouplist[]);
21 AC_DEFINE(GETGROUPS_T,[gid_t])
23 @@ -93,7 +88,6 @@ getgrouplist(user, 1, groups, &ngroups);
24 AC_DEFINE(GETGROUPS_T,[int])
27 -export CFLAGS="$oldcflags"
29 dnl Checks for library functions.
30 AC_CHECK_FUNCS(gethostname gettimeofday mkfifo select socket strdup \