[libvirt] [PATCH 05/89] m4/virt: use LIBVIRT_RESULT macro instead of AC_MSG_NOTICE

Pavel Hrdina phrdina at redhat.com
Fri Dec 16 09:10:33 UTC 2016


The LIBVIRT_RESULT does a nice formatting of the output and ensures
that the format is unified.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 m4/virt-driver-bhyve.m4 | 2 +-
 m4/virt-driver-uml.m4   | 2 +-
 m4/virt-driver-vz.m4    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/m4/virt-driver-bhyve.m4 b/m4/virt-driver-bhyve.m4
index bbdd8b2f0f..11d3a667ee 100644
--- a/m4/virt-driver-bhyve.m4
+++ b/m4/virt-driver-bhyve.m4
@@ -56,5 +56,5 @@ dnl Build with gnulib's getopt which contains a reentrant interface
 AC_DEFUN([gl_REPLACE_GETOPT_ALWAYS], [])
 
 AC_DEFUN([LIBVIRT_DRIVER_RESULT_BHYVE],[
-    AC_MSG_NOTICE([    Bhyve: $with_bhyve])
+    LIBVIRT_RESULT([Bhyve], [$with_bhyve])
 ])
diff --git a/m4/virt-driver-uml.m4 b/m4/virt-driver-uml.m4
index 5c83d76e76..7b252e61ea 100644
--- a/m4/virt-driver-uml.m4
+++ b/m4/virt-driver-uml.m4
@@ -51,5 +51,5 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_UML],[
 ])
 
 AC_DEFUN([LIBVIRT_DRIVER_RESULT_UML],[
-    AC_MSG_NOTICE([      UML: $with_uml])
+    LIBVIRT_RESULT([UML], [$with_uml])
 ])
diff --git a/m4/virt-driver-vz.m4 b/m4/virt-driver-vz.m4
index 67001dce50..7b7a8d5a94 100644
--- a/m4/virt-driver-vz.m4
+++ b/m4/virt-driver-vz.m4
@@ -42,5 +42,5 @@ AC_DEFUN([LIBVIRT_DRIVER_CHECK_VZ],[
 ])
 
 AC_DEFUN([LIBVIRT_DRIVER_RESULT_VZ],[
-    AC_MSG_NOTICE([       vz: $with_vz])
+    LIBVIRT_RESULT([vz], [$with_vz])
 ])
-- 
2.11.0




More information about the libvir-list mailing list