[libvirt PATCH 10/31] m4: virt-sanlock: use pkg-config to find libsanlock_client

Pavel Hrdina phrdina at redhat.com
Thu Jul 2 12:25:08 UTC 2020


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 at redhat.com>
---
 m4/virt-sanlock.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/virt-sanlock.m4 b/m4/virt-sanlock.m4
index cc35b10b09f..a7fba520dfc 100644
--- a/m4/virt-sanlock.m4
+++ b/m4/virt-sanlock.m4
@@ -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], [[
-- 
2.26.2




More information about the libvir-list mailing list