+
+ # If we don't yet have getgroups, see if it's in -lbsd.
+ # This is reported to be necessary on an ITOS 3000WS running SEIUX 3.1.
+ if test $ac_cv_func_getgroups = no; then
+ jm_cv_sys_getgroups_saved_lib="$LIBS"
+ AC_CHECK_LIB(bsd, getgroups, [GETGROUPS_LIB=-lbsd])
+ LIBS="$jm_cv_sys_getgroups_saved_lib"
+ fi
+