]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix enablement of SASL
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Jan 2008 19:37:10 +0000 (19:37 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 23 Jan 2008 19:37:10 +0000 (19:37 +0000)
ChangeLog
configure.in

index 45bccbfbbc2b8c8364451aa9b372dced72e1f4a0..42cdade2498d12ea4a807270aa1ec92d9e95e06d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jan 23 14:36:00 EST 2008 Daniel P. Berrange <berrange@redhat.com>
+
+       * configure.in: Fix enablement of SASL
+
 Wed Jan 23 14:47:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
 
        Portability improvements for Mac OS X.
index 449bb914032c935cfd525e9fe1eb71470bbf6726..3c30a8ae7b4cf89d7e40bace0357fb4477826103 100644 (file)
@@ -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"