]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_SPY): Don't imply that
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 Apr 2007 17:08:07 +0000 (17:08 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 30 Apr 2007 17:08:07 +0000 (17:08 +0000)
'configure' will fail if the shell lacks proper support for shell
functions.  Suggested by RMS.

ChangeLog
lib/m4sugar/m4sh.m4

index a7fe3d112ca6e0d33ac18dfd1dce430fc3730bb1..85a7f00666067c9c534f5e66b88923d209ae55f9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2007-04-29  Paul Eggert  <eggert@cs.ucla.edu>
 
        * doc/autoconf.texi (Limitations of Builtins): Correct the warning
index 30ee5f9deb34f79ccc6e56007613ecf53b366703..7de77dd87b5166f4c9d3e7f3eed88493f5b01ef7 100644 (file)
@@ -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 version.
+  echo Configuration will now proceed without shell functions.
 }
 ])