[libvirt] [PATCH 7/9] Convert sasl check to use LIBVIRT_CHECK_LIB_ALT

Eric Blake eblake at redhat.com
Thu Jan 10 23:51:30 UTC 2013


On 01/10/2013 01:18 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  configure.ac    | 62 ++-------------------------------------------------------
>  m4/virt-sasl.m4 | 12 +++++++++++
>  2 files changed, 14 insertions(+), 60 deletions(-)
>  create mode 100644 m4/virt-sasl.m4
> 

> +++ b/m4/virt-sasl.m4
> @@ -0,0 +1,12 @@
> +dnl The libsasl2.so or libsasl.so library

No copyright.  Probably a recurring theme in your series.

> +
> +AC_DEFUN([LIBVIRT_CHECK_SASL],[
> +  LIBVIRT_CHECK_LIB_ALT([SASL], [sasl2],
> +                        [sasl_client_init], [sasl/sasl.h],
> +                        [SASL1], [sasl],
> +                        [sasl_client_init], [sasl/sasl.h])
> +])
> +
> +AC_DEFUN([LIBVIRT_RESULT_SASL],[
> +  LIBVIRT_RESULT_LIB([SASL])
> +])
> 

ACK with that fixed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130110/b1b42152/attachment-0001.sig>


More information about the libvir-list mailing list