]> git.sur5r.net Git - openldap/commitdiff
Fix ITS#1824 include correct sasl.h for compatibility test
authorHoward Chu <hyc@openldap.org>
Thu, 16 May 2002 19:28:57 +0000 (19:28 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 16 May 2002 19:28:57 +0000 (19:28 +0000)
(must regenerate configure)

build/openldap.m4

index b6fb814e0bd3c0f76ba19d50952b6eafd7521993..21f8f2b5ef0ac769689b35fbfede178f6c1faa76 100644 (file)
@@ -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 <sasl/sasl.h>
+#else
+#include <sasl.h>
+#endif
 
 /* require 2.1.3 or later */
 #if SASL_VERSION_MAJOR == 1  && SASL_VERSION_MINOR >= 5