unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@CS.UCLA.EDU>
To: rms@gnu.org
Cc: autoconf-patches@gnu.org, autoconf@gnu.org,
	zsh-workers@sunsite.dk, emacs-devel@gnu.org
Subject: Re: emacs-22.0.99 configure problem
Date: Mon, 30 Apr 2007 10:12:58 -0700	[thread overview]
Message-ID: <87zm4pg50l.fsf@penguin.cs.ucla.edu> (raw)
In-Reply-To: <E1HiH8V-0006hv-On@fencepost.gnu.org> (Richard Stallman's message of "Sun, 29 Apr 2007 17:40:51 -0400")

Richard Stallman <rms@gnu.org> writes:

> If this condition does not mean that configuring will fail,
> and does not indicate a bug, would you please make the message say so?

Sure.  I installed the following patch into Autoconf.

Also, this indicates a bug in zsh, which I have reproduced.  I will
CC: this message to zsh-workers@sunsite.dk to give them a heads-up,
and will follow up with a bug report there.

2007-04-30  Paul Eggert  <eggert@cs.ucla.edu>

	* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
	'configure' will fail if the shell lacks proper support for shell
	functions.  Suggested by RMS.

--- m4sh.m4	1 Dec 2006 18:32:35 -0000	1.204
+++ m4sh.m4	30 Apr 2007 17:11:50 -0000	1.206
@@ -2,8 +2,8 @@
 # M4 sugar for common shell constructs.
 # Requires GNU M4 and M4sugar.
 #
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software
-# Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free
+# Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -180,7 +180,7 @@ m4_define([_AS_BOURNE_COMPATIBLE],
 [AS_IF([test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1],
  [emulate sh
   NULLCMD=:
-  [#] Zsh 3.x and 4.x performs word splitting on ${1+"$[@]"}, which
+  [#] Pre-4.2 versions of Zsh do word splitting on ${1+"$[@]"}, which
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+"$[@]"}'='"$[@]"'
   setopt NO_GLOB_SUBST],
@@ -1558,9 +1558,10 @@ m4_define([_AS_SHELL_FN_SPY],
 [_AS_DETECT_SUGGESTED([_AS_SHELL_FN_WORK])
 _AS_RUN([_AS_SHELL_FN_WORK]) || {
   echo No shell found that supports shell functions.
-  echo Please tell autoconf@gnu.org about your system,
-  echo including any error possibly output before this
-  echo message
+  echo Please tell bug-autoconf@gnu.org about your system,
+  echo including any error possibly output before this message.
+  echo This can help us improve future autoconf versions.
+  echo Configuration will now proceed without shell functions.
 }
 ])
 




       reply	other threads:[~2007-04-30 17:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1HiH8V-0006hv-On@fencepost.gnu.org>
2007-04-30 17:12 ` Paul Eggert [this message]
2007-05-01 17:24   ` emacs-22.0.99 configure problem Richard Stallman
2007-05-02  2:37     ` Paul Eggert
2007-05-02  3:16       ` Eli Zaretskii
2007-05-02 15:15         ` Richard Stallman
2007-05-02 20:24           ` Glenn Morris
2007-05-02 22:19             ` Jason Rumney
2007-05-02 23:49               ` Glenn Morris
2007-05-03  2:02             ` Richard Stallman
2007-05-03  4:10               ` Glenn Morris
2007-05-03 10:55           ` Stepan Kasal

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=87zm4pg50l.fsf@penguin.cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=autoconf-patches@gnu.org \
    --cc=autoconf@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    --cc=zsh-workers@sunsite.dk \
    /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).