(getloadavg): Use `true', not `1'.
[coreutils.git] / m4 / getgroups.m4
blob8f31010562545a4d20777b03ee3afe045f970cf3
1 #serial 8
3 dnl From Jim Meyering.
4 dnl A wrapper around AC_FUNC_GETGROUPS.
6 AC_DEFUN([jm_FUNC_GETGROUPS],
8   AC_REQUIRE([AC_FUNC_GETGROUPS])
9   if test $ac_cv_func_getgroups_works = no; then
10     AC_LIBOBJ(getgroups)
11     AC_DEFINE(getgroups, rpl_getgroups,
12       [Define as rpl_getgroups if getgroups doesn't work right.])
13     gl_PREREQ_GETGROUPS
14   fi
15   test -n "$GETGROUPS_LIB" && LIBS="$GETGROUPS_LIB $LIBS"
18 # Prerequisites of lib/getgroups.c.
19 AC_DEFUN([gl_PREREQ_GETGROUPS],
21   AC_REQUIRE([AC_TYPE_GETGROUPS])