]> xenbits.xensource.com Git - libvirt.git/commitdiff
m4/virt: create result macros for the remaining virt check
authorPavel Hrdina <phrdina@redhat.com>
Wed, 14 Dec 2016 15:51:30 +0000 (16:51 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 21 Dec 2016 14:39:37 +0000 (15:39 +0100)
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@redhat.com>
configure.ac
m4/virt-host-validate.m4
m4/virt-login-shell.m4

index 053a37e83007c4e39f91dab38181acbbcfeac21f..307c5b38d6a83a44a8577f14e169a07a96a30b63 100644 (file)
@@ -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])
index a56fe4154e3ba4a36ecc8a4d9a86b0af3ecfddbf..8c42303095d22273081d0553e5ff75d8a53f5879 100644 (file)
@@ -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])
+])
index 55dcaf36465bed711cd95d25a917434017f941be..fb5b488d221238585486f88181ce09d12b3ddf17 100644 (file)
@@ -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])
+])