From: Brian Aker Date: Mon, 13 Feb 2012 23:58:47 +0000 (-0800) Subject: Fix typo in SASL bit. I hate m4 X-Git-Tag: 1.0.5~50 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=3a6f1923fb6e3f6c317231eea548e0c4cf760c25;p=awesomized%2Flibmemcached Fix typo in SASL bit. I hate m4 --- 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]) ])