From: Howard Chu Date: Thu, 16 May 2002 19:28:57 +0000 (+0000) Subject: Fix ITS#1824 include correct sasl.h for compatibility test X-Git-Tag: OPENLDAP_REL_ENG_2_MP~53 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cb8b86e7ceb0fc54c8b6cfd71e59679f3e51757f;p=openldap Fix ITS#1824 include correct sasl.h for compatibility test (must regenerate configure) --- diff --git a/build/openldap.m4 b/build/openldap.m4 index b6fb814e0b..21f8f2b5ef 100644 --- a/build/openldap.m4 +++ b/build/openldap.m4 @@ -1188,7 +1188,11 @@ dnl Check for Cyrus SASL version compatility, need 2.1.3 or newer AC_DEFUN([OL_SASL_COMPAT], [AC_CACHE_CHECK([Cyrus SASL library version], [ol_cv_sasl_compat],[ AC_EGREP_CPP(__sasl_compat,[ +#ifdef HAVE_SASL_SASL_H #include +#else +#include +#endif /* require 2.1.3 or later */ #if SASL_VERSION_MAJOR == 1 && SASL_VERSION_MINOR >= 5