From 01463beb790ef11b89427b9db5325a10736042da Mon Sep 17 00:00:00 2001 From: Pavel Hrdina Date: Wed, 14 Dec 2016 16:34:31 +0100 Subject: [PATCH] configure: move parallels version definition to m4/virt-driver-vz Signed-off-by: Pavel Hrdina --- 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 284001abad..0cfcd7e8af 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],