[ovs-dev] [PATCH ovn] configure: Report OVS version in the usual Autoconf style.

Han Zhou hzhou at ovn.org
Fri May 7 05:48:42 UTC 2021


On Thu, May 6, 2021 at 2:17 PM Ben Pfaff <blp at ovn.org> wrote:
>
> Without this patch, configure reports the OVS version like this:
>     OVS version is $OVSVERSION
>
> This doesn't match the usual style for messages from configure, so this
> patch changes it so that it does, like this:
>     Checking OVS version... $OVSVERSION
>
> Signed-off-by: Ben Pfaff <blp at ovn.org>
> ---
>  acinclude.m4 | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/acinclude.m4 b/acinclude.m4
> index 30d108bd9b30..d3fb15a1fa46 100644
> --- a/acinclude.m4
> +++ b/acinclude.m4
> @@ -416,5 +416,6 @@ AC_DEFUN([OVN_CHECK_OVS], [
>    AC_SUBST(OVSBUILDDIR)
>    OVSVERSION=`sed -n 's/^#define PACKAGE_VERSION//p'
$OVSBUILDDIR/config.h | tr \\\n ' ' | sed 's/^[ \t]*//;s/[ \t]*$//' | sed
's/\"//g'`
>    AC_SUBST(OVSVERSION)
> -  AC_MSG_RESULT([OVS version is $OVSVERSION])
> +  AC_MSG_CHECKING([OVS version])
> +  AC_MSG_RESULT([$OVSVERSION])
>  ])
> --
> 2.31.1
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Acked-by: Han Zhou <hzhou at ovn.org>


More information about the dev mailing list