All checks that prints result at the end of configure uses
LIBVIRT_RESULT_${CHECK_NAME}. Create those macros for remaining check.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
configure.ac | 4 ++--
m4/virt-host-validate.m4 | 4 ++++
m4/virt-login-shell.m4 | 5 +++++
3 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index af94d18673..3f8e785078 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2674,8 +2674,8 @@ LIBVIRT_RESULT_INIT_SCRIPT
AC_MSG_NOTICE([ Char device locks: $with_chrdev_lock_files])
AC_MSG_NOTICE([ Default Editor: $DEFAULT_EDITOR])
AC_MSG_NOTICE([ Loader/NVRAM: $with_loader_nvram])
-AC_MSG_NOTICE([ virt-login-shell: $with_login_shell])
-AC_MSG_NOTICE([virt-host-validate: $with_host_validate])
+LIBVIRT_RESULT_LOGIN_SHELL
+LIBVIRT_RESULT_HOST_VALIDATE
AC_MSG_NOTICE([ TLS priority: $with_tls_priority])
AC_MSG_NOTICE([])
AC_MSG_NOTICE([Developer Tools])
diff --git a/m4/virt-host-validate.m4 b/m4/virt-host-validate.m4
index a56fe4154e..8c42303095 100644
--- a/m4/virt-host-validate.m4
+++ b/m4/virt-host-validate.m4
@@ -38,3 +38,7 @@ AC_DEFUN([LIBVIRT_CHECK_HOST_VALIDATE], [
fi
AM_CONDITIONAL([WITH_HOST_VALIDATE], [test "x$with_host_validate" =
"xyes"])
])
+
+AC_DEFUN([LIBVIRT_RESULT_HOST_VALIDATE], [
+ AC_MSG_NOTICE([virt-host-validate: $with_host_validate])
+])
diff --git a/m4/virt-login-shell.m4 b/m4/virt-login-shell.m4
index 55dcaf3646..fb5b488d22 100644
--- a/m4/virt-login-shell.m4
+++ b/m4/virt-login-shell.m4
@@ -1,4 +1,5 @@
dnl Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+dnl Copyright (C) 2016 Red Hat, Inc.
dnl
dnl This library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Lesser General Public
@@ -37,3 +38,7 @@ AC_DEFUN([LIBVIRT_CHECK_LOGIN_SHELL], [
fi
AM_CONDITIONAL([WITH_LOGIN_SHELL], [test "$with_login_shell" =
"yes"])
])
+
+AC_DEFUN([LIBVIRT_RESULT_LOGIN_SHELL], [
+ AC_MSG_NOTICE([ virt-login-shell: $with_login_shell])
+])
--
2.11.0