From: Pavel Hrdina Date: Wed, 14 Dec 2016 15:34:31 +0000 (+0100) Subject: configure: move parallels version definition to m4/virt-driver-vz X-Git-Tag: v3.0.0-rc1~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01463beb790ef11b89427b9db5325a10736042da;p=thirdparty%2Flibvirt.git configure: move parallels version definition to m4/virt-driver-vz Signed-off-by: Pavel Hrdina --- 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],