X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fgetugroups.m4;h=aea200e909bf9cc56fbd055805685b0ceb5dfe37;hb=3ac9b4577c78342bdd022b31cf56de2b12f7297b;hp=d20333d5e7f2625470503d6c2d1f9489fc0b0449;hpb=53b8fa05726a7fb30010e42ce02e44a35f0d7489;p=gnulib.git diff --git a/m4/getugroups.m4 b/m4/getugroups.m4 index d20333d5e..aea200e90 100644 --- a/m4/getugroups.m4 +++ b/m4/getugroups.m4 @@ -1,15 +1,12 @@ -# getugroups.m4 serial 1 -dnl Copyright (C) 2002 Free Software Foundation, Inc. -dnl This file is free software, distributed under the terms of the GNU -dnl General Public License. As a special exception to the GNU General -dnl Public License, this file may be distributed as part of a program -dnl that contains a configuration script generated by Autoconf, under -dnl the same distribution terms as the rest of that program. +# getugroups.m4 serial 8 +dnl Copyright (C) 2002-2003, 2005-2006, 2009-2010 Free Software Foundation, +dnl Inc. +dnl This file is free software; the Free Software Foundation +dnl gives unlimited permission to copy and/or distribute it, +dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_GETUGROUPS], [ - dnl Prerequisites of lib/getugroups.c. - AC_REQUIRE([AC_HEADER_STDC]) - AC_CHECK_HEADERS_ONCE(string.h unistd.h) - AC_TYPE_GETGROUPS + AC_LIBOBJ([getugroups]) + AC_CHECK_HEADERS_ONCE([grp.h]) ])