[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getgroups: test: =: unary operator expected
From: |
Jim Meyering |
Subject: |
Re: getgroups: test: =: unary operator expected |
Date: |
Fri, 24 Oct 2008 15:48:21 +0200 |
Eric Blake <address@hidden> wrote:
> According to Jim Meyering on 10/22/2008 9:32 AM:
>> To autoconf folks, I've attached the obvious patch below,
>> and will push it some time tomorrow if no one objects.
>>
>> * lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Always define
>> the shell variable, $ac_cv_func_getgroups_works. Otherwise,
>> if it set to "yes" in the environment and configure is run on
>> a system like mingw that lacks the getgroups function, it would
>> mistakenly define HAVE_GETGROUPS. Reported by Simon Josefsson in
>> <http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/15354>.
...
> diff --git a/ChangeLog b/ChangeLog
> index c8dca18..0a83589 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,9 @@
> +2008-10-24 Eric Blake <address@hidden>
> +
> + AC_FUNC_GETGROUPS: Revert regression.
> + * lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Only set
> + ac_cv_func_getgroups_works=no when it is not available.
Thanks!