autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: document current beta-quality status


From: Paolo Bonzini
Subject: Re: document current beta-quality status
Date: Wed, 29 Oct 2008 20:36:57 +0100
User-agent: Thunderbird 2.0.0.17 (Macintosh/20080914)

> diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4
> index 187920c..a9b6aec 100644
> --- a/lib/m4sugar/m4sh.m4
> +++ b/lib/m4sugar/m4sh.m4
> @@ -236,11 +236,16 @@ dnl Remove any tests from suggested that are also 
> required
>       export CONFIG_SHELL
>       exec "$CONFIG_SHELL" "$as_myself" ${1+"address@hidden"}])
>  
> +dnl Unfortunately, $as_me isn't available here.
>      AS_IF([test x$as_have_required = xno],
> -      [echo This script requires a shell more modern than all the
> -      echo shells that I found on your system.  Please install a
> -      echo modern shell, or manually run the script under such a
> -      echo shell if you do have one.
> +      [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])])])
> +[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])")

Maybe you can do

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.X.Y 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

Or something like that?

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]