From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.comp.sysutils.autoconf.patches,gmane.comp.sysutils.autoconf.general,gmane.comp.shells.zsh.devel,gmane.emacs.devel Subject: Re: emacs-22.0.99 configure problem Date: Mon, 30 Apr 2007 10:12:58 -0700 Message-ID: <87zm4pg50l.fsf@penguin.cs.ucla.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1177953201 2745 80.91.229.12 (30 Apr 2007 17:13:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2007 17:13:21 +0000 (UTC) Cc: autoconf-patches@gnu.org, autoconf@gnu.org, zsh-workers@sunsite.dk, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: autoconf-patches-bounces+gnu-autoconf-patches=m.gmane.org@gnu.org Mon Apr 30 19:13:20 2007 Return-path: Envelope-to: gnu-autoconf-patches@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HiZR7-000810-QT for gnu-autoconf-patches@m.gmane.org; Mon, 30 Apr 2007 19:13:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiZXK-0008EQ-7Q for gnu-autoconf-patches@m.gmane.org; Mon, 30 Apr 2007 13:19:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HiZXD-0008Aj-MB for autoconf-patches@gnu.org; Mon, 30 Apr 2007 13:19:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HiZXB-00089b-8D for autoconf-patches@gnu.org; Mon, 30 Apr 2007 13:19:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HiZX8-00087A-QJ; Mon, 30 Apr 2007 13:19:30 -0400 Original-Received: from kiwi.cs.ucla.edu ([131.179.128.19]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HiZQu-0007fR-5I; Mon, 30 Apr 2007 13:13:04 -0400 Original-Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by kiwi.cs.ucla.edu (8.13.8+Sun/8.13.8/UCLACS-6.0) with ESMTP id l3UHCw9g015098; Mon, 30 Apr 2007 10:12:58 -0700 (PDT) Original-Received: from eggert by penguin.cs.ucla.edu with local (Exim 4.63) (envelope-from ) id 1HiZQo-0006Ow-G5; Mon, 30 Apr 2007 10:12:58 -0700 In-Reply-To: (Richard Stallman's message of "Sun, 29 Apr 2007 17:40:51 -0400") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-detected-kernel: Solaris 10 (beta) X-BeenThere: autoconf-patches@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Patches for autoconf - the GNU build system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: autoconf-patches-bounces+gnu-autoconf-patches=m.gmane.org@gnu.org Errors-To: autoconf-patches-bounces+gnu-autoconf-patches=m.gmane.org@gnu.org Xref: news.gmane.org gmane.comp.sysutils.autoconf.patches:4571 gmane.comp.sysutils.autoconf.general:9216 gmane.comp.shells.zsh.devel:12285 gmane.emacs.devel:70412 Archived-At: Richard Stallman 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 * 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. } ])