Fix enablement of SASL

This commit is contained in:
Daniel P. Berrange
2008-01-23 19:37:10 +00:00
parent 9cf2573c8a
commit 38b2478b41
2 changed files with 7 additions and 3 deletions
+3 -3
View 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"