Fix typo in SASL bit. I hate m4
authorBrian Aker <brian@tangent.org>
Mon, 13 Feb 2012 23:58:47 +0000 (15:58 -0800)
committerBrian Aker <brian@tangent.org>
Mon, 13 Feb 2012 23:58:47 +0000 (15:58 -0800)
configure.ac
m4/ax_sasl.m4

index 53caf24162f6acd72813a60ead610f9a7715c906..217626cd17eff1e6c1b4e93ed420f476c1cf1d30 100644 (file)
@@ -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]),
index c11efb9c396cfaec0a9d95aa8ee622565b32e5a5..5cfa47ddbfd9553ad50b208d522a1f8228c10159 100644 (file)
@@ -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])
       ])