bug-coreutils
[Top][All Lists]
Advanced

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

bug in getgroups.m4


From: Bruno Haible
Subject: bug in getgroups.m4
Date: Thu Nov 21 12:21:07 2002

On Linux with glibc the configuration prints:

checking for working getgroups... yes
./configure: line 25526: test: =: unary operator expected
checking for _LARGEFILE_SOURCE value needed for large files... no

The fix obvious.

*** coreutils-4.5.3/m4/getgroups.m4.bak 2002-09-28 23:40:45.000000000 +0200
--- coreutils-4.5.3/m4/getgroups.m4     2002-11-21 01:45:15.000000000 +0100
***************
*** 1,11 ****
! #serial 6
  
  dnl From Jim Meyering.
  dnl A wrapper around AC_FUNC_GETGROUPS.
  
  AC_DEFUN([jm_FUNC_GETGROUPS],
  [AC_REQUIRE([AC_FUNC_GETGROUPS])dnl
!   if test $cv_func_getgroups_works = no; then
      AC_LIBOBJ(getgroups)
      AC_DEFINE(getgroups, rpl_getgroups,
        [Define as rpl_getgroups if getgroups doesn't work right.])
--- 1,11 ----
! #serial 7
  
  dnl From Jim Meyering.
  dnl A wrapper around AC_FUNC_GETGROUPS.
  
  AC_DEFUN([jm_FUNC_GETGROUPS],
  [AC_REQUIRE([AC_FUNC_GETGROUPS])dnl
!   if test $ac_cv_func_getgroups_works = no; then
      AC_LIBOBJ(getgroups)
      AC_DEFINE(getgroups, rpl_getgroups,
        [Define as rpl_getgroups if getgroups doesn't work right.])




reply via email to

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