Mercurial > hg > octave-lyh > gnulib-hg
changeset 12298:6cb1877033fc
better AC_REQUIRE expanded-before-required-warning avoidance
* m4/chown.m4 (gl_FUNC_CHOWN, gl_FUNC_CHOWN_FOLLOWS_SYMLINK): Define
with AC_DEFUN_ONCE, rather than AC_DEFUN, to avoid AC_REQUIRE warnings.
Suggested by Eric Blake. This change also reverts commit 1b712ba8,
which is no longer needed.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Mon, 16 Nov 2009 19:26:35 +0100 |
parents | 77743721a2f3 |
children | 7bc45f101cfd |
files | ChangeLog m4/chown.m4 modules/chown modules/euidaccess modules/faccessat |
diffstat | 5 files changed, 14 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-11-16 Jim Meyering <meyering@redhat.com> + + better AC_REQUIRE expanded-before-required-warning avoidance + * m4/chown.m4 (gl_FUNC_CHOWN, gl_FUNC_CHOWN_FOLLOWS_SYMLINK): Define + with AC_DEFUN_ONCE, rather than AC_DEFUN, to avoid AC_REQUIRE warnings. + Suggested by Eric Blake. This change also reverts commit 1b712ba8, + which is no longer needed. + 2009-11-16 Eric Blake <ebb9@byu.net> test-freading: clean up temporary file
--- a/m4/chown.m4 +++ b/m4/chown.m4 @@ -1,4 +1,4 @@ -# serial 20 +# serial 21 # Determine whether we need the chown wrapper. dnl Copyright (C) 1997-2001, 2003-2005, 2007, 2009 @@ -14,7 +14,7 @@ # From Jim Meyering. -AC_DEFUN([gl_FUNC_CHOWN], +AC_DEFUN_ONCE([gl_FUNC_CHOWN], [ AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_REQUIRE([AC_TYPE_UID_T]) @@ -63,7 +63,7 @@ ]) # Determine whether chown follows symlinks (it should). -AC_DEFUN([gl_FUNC_CHOWN_FOLLOWS_SYMLINK], +AC_DEFUN_ONCE([gl_FUNC_CHOWN_FOLLOWS_SYMLINK], [ AC_CACHE_CHECK( [whether chown dereferences symlinks],
--- a/modules/chown +++ b/modules/chown @@ -13,7 +13,7 @@ sys_stat configure.ac: -AC_REQUIRE([gl_FUNC_CHOWN]) +gl_FUNC_CHOWN gl_UNISTD_MODULE_INDICATOR([chown]) Makefile.am: