unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Glenn Morris <rgm@gnu.org>
Cc: 8878-done@debbugs.gnu.org, Bug-gnulib <bug-gnulib@gnu.org>
Subject: bug#8878: 24.0.50; ./configure: line 17305: test: =: unary operator expected
Date: Thu, 16 Jun 2011 16:11:39 -0700	[thread overview]
Message-ID: <4DFA8DAB.7010605@cs.ucla.edu> (raw)
In-Reply-To: <qfmxhhbgd8.fsf@fencepost.gnu.org>

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  <eggert@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  <bruno@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	other threads:[~2011-06-16 23:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 15:02 bug#8878: 24.0.50; ./configure: line 17305: test: =: unary operator expected Peter Dyballa
2011-06-16 21:45 ` Glenn Morris
2011-06-16 23:11   ` Paul Eggert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DFA8DAB.7010605@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=8878-done@debbugs.gnu.org \
    --cc=bug-gnulib@gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).