bug-gnulib
[Top][All Lists]
Advanced

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

Re: bug#8878: 24.0.50; ./configure: line 17305: test: =: unary operator


From: Paul Eggert
Subject: Re: bug#8878: 24.0.50; ./configure: line 17305: test: =: unary operator expected
Date: Thu, 16 Jun 2011 16:11:39 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10

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  <address@hidden>
+
+       * 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  <address@hidden>
 
        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

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