[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emacs-22.0.99 configure problem
From: |
Paul Eggert |
Subject: |
Re: emacs-22.0.99 configure problem |
Date: |
Mon, 30 Apr 2007 10:12:58 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Richard Stallman <address@hidden> 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 address@hidden to give them a heads-up,
and will follow up with a bug report there.
2007-04-30 Paul Eggert <address@hidden>
* 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+"address@hidden"}, which
+ [#] Pre-4.2 versions of Zsh do word splitting on ${1+"address@hidden"}, which
# is contrary to our usage. Disable this feature.
alias -g '${1+"address@hidden"}'='"address@hidden"'
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 address@hidden about your system,
- echo including any error possibly output before this
- echo message
+ echo Please tell address@hidden 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.
}
])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: emacs-22.0.99 configure problem,
Paul Eggert <=