mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
m4: virt-sanlock: use pkg-config to find libsanlock_client
The last distribution supported by libvirt and lacking pkg-config file for libsanlock_client was Ubuntu 16.04. It is no longer supported so switch to pkg-config. Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
4e27aa6e60
commit
95037c48ef
@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_ARG_SANLOCK],[
|
||||
])
|
||||
|
||||
AC_DEFUN([LIBVIRT_CHECK_SANLOCK],[
|
||||
LIBVIRT_CHECK_LIB([SANLOCK], [sanlock_client], [sanlock_init], [sanlock.h])
|
||||
LIBVIRT_CHECK_PKG([SANLOCK], [libsanlock_client], [3.2.4])
|
||||
|
||||
if test "x$with_sanlock" = "xyes" ; then
|
||||
AC_CHECK_DECLS([SANLK_INQ_WAIT], [sanlock_inq_wait=1], [sanlock_inq_wait=0], [[
|
||||
|
Loading…
Reference in New Issue
Block a user