m4: sasl: Use pkg-config

Since commit 4e75b0a00f 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 <abologna@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Andrea Bolognani 2019-04-11 17:12:02 +02:00
parent 4637048f8d
commit ab6f29c6da

View File

@ -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],[