bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getgroups: test: =: unary operator expected


From: Simon Josefsson
Subject: Re: getgroups: test: =: unary operator expected
Date: Wed, 22 Oct 2008 17:36:04 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Jim Meyering <address@hidden> writes:

> Simon Josefsson <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]