Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
configure.ac | 2 --
m4/virt-driver-vz.m4 | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index f01e1b059f..15ea906305 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,8 +109,6 @@ then
[Extra package version])
fi
-dnl Required minimum versions of all libs we depend on
-PARALLELS_SDK_REQUIRED="7.0.22"
dnl Where we look for daemons and admin binaries during configure
LIBVIRT_SBIN_PATH="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
diff --git a/m4/virt-driver-vz.m4 b/m4/virt-driver-vz.m4
index 74ef79a9a7..b3777494ab 100644
--- a/m4/virt-driver-vz.m4
+++ b/m4/virt-driver-vz.m4
@@ -22,6 +22,8 @@ AC_DEFUN([LIBVIRT_DRIVER_ARG_VZ],[
])
AC_DEFUN([LIBVIRT_DRIVER_CHECK_VZ],[
+ PARALLELS_SDK_REQUIRED="7.0.22"
+
if test "$with_vz" = "yes" ||
test "$with_vz" = "check"; then
PKG_CHECK_MODULES([PARALLELS_SDK], [parallels-sdk >=
$PARALLELS_SDK_REQUIRED],
--
2.11.0