1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +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:
Zdenek Kabelac 2024-04-15 13:37:16 +02:00
parent 716fc27fdd
commit 3b9bb773fe
2 changed files with 2 additions and 2 deletions

View File

@ -933,7 +933,7 @@ AC_MSG_RESULT([$BUILD_LOCKDSANLOCK])
dnl -- Look for sanlock libraries
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.])
])

View File

@ -62,7 +62,7 @@
%if %{fedora} >= 24 || %{rhel} >= 7
%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_sanlock 1
# FIXME: Check these conditions against RHEL builds!