]> git.ipfire.org Git - thirdparty/autoconf.git/commit
AC_FUNC_GETGROUPS: always define $ac_cv_func_getgroups_works
authorJim Meyering <meyering@redhat.com>
Wed, 22 Oct 2008 15:25:46 +0000 (17:25 +0200)
committerJim Meyering <meyering@redhat.com>
Thu, 23 Oct 2008 08:06:15 +0000 (10:06 +0200)
commitb218c046a6c28a4bf5117e3202dbfec13a327fb2
treeb147781d20b2034a3f8e74cc68757cdf6bb1126b
parent30249d93c1b4255390286a4713a65eca7327c13e
AC_FUNC_GETGROUPS: always define $ac_cv_func_getgroups_works

* lib/autoconf/functions.m4 (AC_FUNC_GETGROUPS): Always define
the shell variable, $ac_cv_func_getgroups_works.  Otherwise, if
it is 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>.
ChangeLog
lib/autoconf/functions.m4