m4/virt: create result macros for the remaining virt check

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>
This commit is contained in:
Pavel Hrdina 2016-12-14 16:51:30 +01:00
parent 90d376a75a
commit c093fb1fdc
3 changed files with 11 additions and 2 deletions

View File

@ -2674,8 +2674,8 @@ LIBVIRT_RESULT_INIT_SCRIPT
AC_MSG_NOTICE([ Char device locks: $with_chrdev_lock_files]) AC_MSG_NOTICE([ Char device locks: $with_chrdev_lock_files])
AC_MSG_NOTICE([ Default Editor: $DEFAULT_EDITOR]) AC_MSG_NOTICE([ Default Editor: $DEFAULT_EDITOR])
AC_MSG_NOTICE([ Loader/NVRAM: $with_loader_nvram]) AC_MSG_NOTICE([ Loader/NVRAM: $with_loader_nvram])
AC_MSG_NOTICE([ virt-login-shell: $with_login_shell]) LIBVIRT_RESULT_LOGIN_SHELL
AC_MSG_NOTICE([virt-host-validate: $with_host_validate]) LIBVIRT_RESULT_HOST_VALIDATE
AC_MSG_NOTICE([ TLS priority: $with_tls_priority]) AC_MSG_NOTICE([ TLS priority: $with_tls_priority])
AC_MSG_NOTICE([]) AC_MSG_NOTICE([])
AC_MSG_NOTICE([Developer Tools]) AC_MSG_NOTICE([Developer Tools])

View File

@ -38,3 +38,7 @@ AC_DEFUN([LIBVIRT_CHECK_HOST_VALIDATE], [
fi fi
AM_CONDITIONAL([WITH_HOST_VALIDATE], [test "x$with_host_validate" = "xyes"]) 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])
])

View File

@ -1,4 +1,5 @@
dnl Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. dnl Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
dnl Copyright (C) 2016 Red Hat, Inc.
dnl dnl
dnl This library is free software; you can redistribute it and/or dnl This library is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Lesser General Public dnl modify it under the terms of the GNU Lesser General Public
@ -37,3 +38,7 @@ AC_DEFUN([LIBVIRT_CHECK_LOGIN_SHELL], [
fi fi
AM_CONDITIONAL([WITH_LOGIN_SHELL], [test "$with_login_shell" = "yes"]) 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])
])