Jim Meyering <[EMAIL PROTECTED]> writes: > Simon Josefsson <[EMAIL PROTECTED]> wrote: >> Jim, the getgroups m4 check causes errors on mingw: >> >> ./configure: line 8004: test: =: unary operator expected >> >> The problem is this code: >> >> AC_REQUIRE([AC_FUNC_GETGROUPS]) >> if test $ac_cv_func_getgroups_works = no; then >> >> The AC_FUNC_GETGROUPS function doesn't set ac_cv_func_getgroups_works if >> there is no getgroups function at all, which is the case on mingw. >> >> The patch below fixes the configure error, although maybe other >> solutions are more preferred. > > Hi Simon, > > Thanks for the patch. > That looks like a fine patch while we wait for a fixed version of > autoconf to come into play (proposed patch below). An alternative > would be to provide a fixed AC_FUNC_GETGROUPS in gnulib, while we wait, > but your fix is so simple it's not worth it. > > Please push that in gnulib.
Done, thanks. /Simon