From 3a6f1923fb6e3f6c317231eea548e0c4cf760c25 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Mon, 13 Feb 2012 15:58:47 -0800 Subject: [PATCH] Fix typo in SASL bit. I hate m4 --- configure.ac | 1 - m4/ax_sasl.m4 | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 53caf241..217626cd 100644 --- a/configure.ac +++ b/configure.ac @@ -127,7 +127,6 @@ AC_CHECK_HEADERS([netdb.h]) AC_CHECK_HEADERS([netinet/in.h]) AC_CHECK_HEADERS([stddef.h]) AC_CHECK_HEADERS([sys/time.h]) -AC_CHECK_HEADERS([sasl/sasl.h]) AC_CHECK_HEADERS([execinfo.h]) AC_CHECK_HEADERS([cxxabi.h], AC_DEFINE([HAVE_CXXABI_H], [1], [Have cxxabi.h]), diff --git a/m4/ax_sasl.m4 b/m4/ax_sasl.m4 index c11efb9c..5cfa47dd 100644 --- a/m4/ax_sasl.m4 +++ b/m4/ax_sasl.m4 @@ -29,12 +29,12 @@ AC_DEFUN([AX_SASL_OPTION],[ [ac_enable_sasl="yes"]) AS_IF([test "x$ac_enable_sasl" = "xyes"], [ - AS_IF([test "x$ax_cv_sasl" = "xyes"], [ - AC_DEFINE([HAVE_LIBSASL], [ 1 ], [Have libsasl2]) - ], [ - AC_DEFINE([HAVE_LIBSASL], [ 0 ], [Have libsasl2]) - ac_enable_sasl= no - ]) + ac_enable_sasl="no" + ], [ + ]) + + AS_IF([test "x$ac_enable_sasl" = "xyes"], [ + AC_DEFINE([HAVE_LIBSASL], [ 1 ], [Have libsasl2]) ], [ AC_DEFINE([HAVE_LIBSASL], [ 0 ], [Have libsasl2]) ]) -- 2.30.2