On 06/16/11 14:45, Glenn Morris wrote:

> This looks like a gnulib bug (in lstat.m4) to me.

Thanks, fixed in gnulib as follows, with the fix propagated
to the Emacs trunk as bzr 104611.

 ChangeLog   |    7 +++++++
 m4/lstat.m4 |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5f04b84..f2c6ec6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-06-16  Paul Eggert  <egg...@cs.ucla.edu>
+
+       * m4/lstat.m4 (gl_FUNC_LSTAT): Fix typo in prerequisite.
+       After the 2011-05-21 change, this macro requires
+       gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, not
+       AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK.
+
 2011-06-16  Bruno Haible  <br...@clisp.org>
 
        fprintftime: Move AC_LIBOBJ invocations to module description.
diff --git a/m4/lstat.m4 b/m4/lstat.m4
index 72c76c6..fe161d4 100644
--- a/m4/lstat.m4
+++ b/m4/lstat.m4
@@ -1,4 +1,4 @@
-# serial 22
+# serial 23
 
 # Copyright (C) 1997-2001, 2003-2011 Free Software Foundation, Inc.
 #
@@ -15,7 +15,7 @@ AC_DEFUN([gl_FUNC_LSTAT],
   dnl "#define lstat stat", and lstat.c is a no-op.
   AC_CHECK_FUNCS_ONCE([lstat])
   if test $ac_cv_func_lstat = yes; then
-    AC_REQUIRE([AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
+    AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
     if test $gl_cv_func_lstat_dereferences_slashed_symlink = no; then
       REPLACE_LSTAT=1
     fi
-- 
1.7.4.4


Reply via email to