mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
configure.ac: 3.7.0 is new minimal sanlock versioh
Require this minimal version of sanlock for usage with lvmlockd.
This commit is contained in:
parent
716fc27fdd
commit
3b9bb773fe
@ -933,7 +933,7 @@ AC_MSG_RESULT([$BUILD_LOCKDSANLOCK])
|
|||||||
|
|
||||||
dnl -- Look for sanlock libraries
|
dnl -- Look for sanlock libraries
|
||||||
AS_IF([test "$BUILD_LOCKDSANLOCK" = "yes"], [
|
AS_IF([test "$BUILD_LOCKDSANLOCK" = "yes"], [
|
||||||
PKG_CHECK_MODULES(LIBSANLOCKCLIENT, libsanlock_client >= 3.3.0, [BUILD_LVMLOCKD="yes"])
|
PKG_CHECK_MODULES(LIBSANLOCKCLIENT, libsanlock_client >= 3.7.0, [BUILD_LVMLOCKD="yes"])
|
||||||
AC_DEFINE([LOCKDSANLOCK_SUPPORT], 1, [Define to 1 to include code that uses lvmlockd sanlock option.])
|
AC_DEFINE([LOCKDSANLOCK_SUPPORT], 1, [Define to 1 to include code that uses lvmlockd sanlock option.])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@
|
|||||||
|
|
||||||
%if %{fedora} >= 24 || %{rhel} >= 7
|
%if %{fedora} >= 24 || %{rhel} >= 7
|
||||||
%service lvmlockd 1
|
%service lvmlockd 1
|
||||||
%global sanlock_version 3.3.0-1
|
%global sanlock_version 3.7.0-1
|
||||||
%global enable_lvmlockd_dlm 1
|
%global enable_lvmlockd_dlm 1
|
||||||
%global enable_lvmlockd_sanlock 1
|
%global enable_lvmlockd_sanlock 1
|
||||||
# FIXME: Check these conditions against RHEL builds!
|
# FIXME: Check these conditions against RHEL builds!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user