mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
Fix ITS#1824 include correct sasl.h for compatibility test
(must regenerate configure)
This commit is contained in:
parent
3abec7d8d7
commit
cb8b86e7ce
1 changed files with 4 additions and 0 deletions
|
|
@ -1188,7 +1188,11 @@ dnl Check for Cyrus SASL version compatility, need 2.1.3 or newer
|
||||||
AC_DEFUN([OL_SASL_COMPAT],
|
AC_DEFUN([OL_SASL_COMPAT],
|
||||||
[AC_CACHE_CHECK([Cyrus SASL library version], [ol_cv_sasl_compat],[
|
[AC_CACHE_CHECK([Cyrus SASL library version], [ol_cv_sasl_compat],[
|
||||||
AC_EGREP_CPP(__sasl_compat,[
|
AC_EGREP_CPP(__sasl_compat,[
|
||||||
|
#ifdef HAVE_SASL_SASL_H
|
||||||
#include <sasl/sasl.h>
|
#include <sasl/sasl.h>
|
||||||
|
#else
|
||||||
|
#include <sasl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* require 2.1.3 or later */
|
/* require 2.1.3 or later */
|
||||||
#if SASL_VERSION_MAJOR == 1 && SASL_VERSION_MINOR >= 5
|
#if SASL_VERSION_MAJOR == 1 && SASL_VERSION_MINOR >= 5
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue