From: Andrea Bolognani Date: Thu, 11 Apr 2019 15:12:02 +0000 (+0200) Subject: m4: sasl: Use pkg-config X-Git-Tag: v5.3.0-rc1~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab6f29c6da12f8704b40d0f5d28dc607adc5e621;p=thirdparty%2Flibvirt.git m4: sasl: Use pkg-config Since commit 4e75b0a00fb4 we support SASL 2.1.26 and newer releases only, all of which ship a .pc file. Using pkg-config allows FreeBSD builds to pick up the dependency automatically. Signed-off-by: Andrea Bolognani Reviewed-by: Daniel P. Berrangé --- diff --git a/m4/virt-sasl.m4 b/m4/virt-sasl.m4 index 7ab9b2c368..674e169350 100644 --- a/m4/virt-sasl.m4 +++ b/m4/virt-sasl.m4 @@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_ARG_SASL],[ ]) AC_DEFUN([LIBVIRT_CHECK_SASL],[ - LIBVIRT_CHECK_LIB([SASL], [sasl2], [sasl_client_init], [sasl/sasl.h]) + LIBVIRT_CHECK_PKG([SASL], [libsasl2], [2.1.26]) ]) AC_DEFUN([LIBVIRT_RESULT_SASL],[