From 38b2478b419856497b869f4a76097c95f37e8d8b Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Wed, 23 Jan 2008 19:37:10 +0000 Subject: [PATCH] Fix enablement of SASL --- ChangeLog | 4 ++++ configure.in | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 45bccbfbbc..42cdade249 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jan 23 14:36:00 EST 2008 Daniel P. Berrange + + * configure.in: Fix enablement of SASL + Wed Jan 23 14:47:00 BST 2008 Richard W.M. Jones Portability improvements for Mac OS X. diff --git a/configure.in b/configure.in index 449bb91403..3c30a8ae7b 100644 --- a/configure.in +++ b/configure.in @@ -398,12 +398,12 @@ if test "x$with_sasl" != "xno"; then [You must install the Cyrus SASL development package in order to compile libvirt]) fi]) if test "x$with_sasl" != "xno" ; then - AC_CHECK_LIB(sasl2, sasl_client_init,[],[ + AC_CHECK_LIB(sasl2, sasl_client_init,[with_sasl=yes],[ if test "x$with_sasl" = "xcheck" ; then with_sasl=no else - AC_MSG_ERROR( - [You must install the Cyrus SASL library in order to compile and run libvirt]) + AC_MSG_ERROR( + [You must install the Cyrus SASL library in order to compile and run libvirt]) fi]) fi CFLAGS="$old_cflags"