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

Ben Pfaff blp at ovn.org
Thu May 6 21:17:27 UTC 2021


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



More information about the dev mailing list