4 dnl A wrapper around AC_FUNC_GETGROUPS.
6 AC_DEFUN([jm_FUNC_GETGROUPS],
7 [AC_REQUIRE([AC_FUNC_GETGROUPS])dnl
8 if test $ac_cv_func_getgroups_works = no; then
10 AC_DEFINE(getgroups, rpl_getgroups,
11 [Define as rpl_getgroups if getgroups doesn't work right.])
13 test -n "$GETGROUPS_LIB" && LIBS="$GETGROUPS_LIB $LIBS"