Mercurial > hg > octave-lojdl > gnulib-hg
changeset 14962:e64f06363f01
getgroups: Move AC_LIBOBJ invocations to module description.
* m4/getgroups.m4 (gl_FUNC_GETGROUPS): Move AC_LIBOBJ invocations from
here...
* modules/getgroups (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 08 May 2011 11:46:22 +0200 |
parents | cbd754f1928f |
children | 1f9e45501579 |
files | ChangeLog m4/getgroups.m4 modules/getgroups |
diffstat | 3 files changed, 11 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-08 Bruno Haible <bruno@clisp.org> + + getgroups: Move AC_LIBOBJ invocations to module description. + * m4/getgroups.m4 (gl_FUNC_GETGROUPS): Move AC_LIBOBJ invocations from + here... + * modules/getgroups (configure.ac): ... to here. + 2011-05-08 Bruno Haible <bruno@clisp.org> getdtablesize: Move AC_LIBOBJ invocations to module description.
--- a/m4/getgroups.m4 +++ b/m4/getgroups.m4 @@ -1,4 +1,4 @@ -# serial 15 +# serial 16 dnl From Jim Meyering. dnl A wrapper around AC_FUNC_GETGROUPS. @@ -15,11 +15,9 @@ AC_REQUIRE([AC_TYPE_GETGROUPS]) AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) if test "$ac_cv_func_getgroups" != yes; then - AC_LIBOBJ([getgroups]) HAVE_GETGROUPS=0 elif test "$ac_cv_func_getgroups_works.$ac_cv_type_getgroups" != yes.gid_t then - AC_LIBOBJ([getgroups]) REPLACE_GETGROUPS=1 AC_DEFINE([GETGROUPS_ZERO_BUG], [1], [Define this to 1 if getgroups(0,NULL) does not return the number of groups.]) @@ -35,7 +33,6 @@ [gl_cv_func_getgroups_works=no], [gl_cv_func_getgroups_works="guessing no"])]) if test "$gl_cv_func_getgroups_works" != yes; then - AC_LIBOBJ([getgroups]) REPLACE_GETGROUPS=1 fi fi