[libvirt] [PATCH] Fix configure check for SASL
Daniel P. Berrange
berrange at redhat.com
Tue Dec 22 10:21:35 UTC 2009
On Tue, Dec 22, 2009 at 02:13:55AM +0100, Matthias Bolte wrote:
> The option --with-sasl defaults to 'check', but an inverted test logic
> lets the SASL check fail with an error instead of disabling SASL.
> Fix the test logic so SASL support gets disabled if SASL is missing and
> --with-sasl is set to check.
> ---
> configure.in | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/configure.in b/configure.in
> index a86b8ca..c401111 100644
> --- a/configure.in
> +++ b/configure.in
> @@ -613,7 +613,7 @@ if test "x$with_sasl" != "xno"; then
> CFLAGS="$CFLAGS $SASL_CFLAGS"
> LIBS="$LIBS $SASL_LIBS"
> AC_CHECK_HEADER([sasl/sasl.h],[],[
> - if test "x$with_sasl" != "xcheck" ; then
> + if test "x$with_sasl" = "xcheck" ; then
> with_sasl=no
> else
> fail=1
ACK
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list