Mention proper fix for zsh users.

* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Recommend zsh
version known to work.
Suggested by Paolo Bonzini.

Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
Eric Blake 2008-10-29 15:44:28 -06:00
parent c0af9c5e4e
commit e752d8d90f
2 changed files with 15 additions and 5 deletions

View File

@ -1,5 +1,10 @@
2008-10-29 Eric Blake <ebb9@byu.net>
Mention known zsh bug.
* lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Recommend zsh
version known to work.
Suggested by Paolo Bonzini.
Document current beta-quality status.
* configure.ac: Reflect fact that change to git-version-gen
produces -, but not always a letter, on non-release builds.

View File

@ -238,14 +238,19 @@ dnl Remove any tests from suggested that are also required
dnl Unfortunately, $as_me isn't available here.
AS_IF([test x$as_have_required = xno],
[AS_ECHO("m4_text_wrap([This script requires a shell more modern than
all the shells that I found on your system. Please tell]
m4_defn([m4_PACKAGE_BUGREPORT])
m4_ifset([AC_PACKAGE_BUGREPORT], [m4_if(m4_defn([m4_PACKAGE_BUGREPORT]),
m4_defn([AC_PACKAGE_BUGREPORT]), [], [ and m4_defn([AC_PACKAGE_BUGREPORT])])])
[AS_ECHO(["$[]0: This script requires a shell more modern than all"])
AS_ECHO(["$[]0: the shells that I found on your system."])
if test x${ZSH_VERSION+set} = xset ; then
AS_ECHO(["$[]0: In particular, zsh $ZSH_VERSION has bugs and should"])
AS_ECHO(["$[]0: be upgraded to zsh 4.3.4 or later."])
else
AS_ECHO("m4_text_wrap([Please tell ]_m4_defn([m4_PACKAGE_BUGREPORT])
m4_ifset([AC_PACKAGE_BUGREPORT], [m4_if(_m4_defn([m4_PACKAGE_BUGREPORT]),
_m4_defn([AC_PACKAGE_BUGREPORT]), [], [and _m4_defn([AC_PACKAGE_BUGREPORT])])])
[about your system, including any error possibly output before this message.
Then install a modern shell, or manually run the script under such a
shell if you do have one.], [$[]0: ], [], [62])")
fi
AS_EXIT(1)])])
fi
_m4_popdef([AS_EXIT])])# _AS_DETECT_BETTER_SHELL