Add check for ldap_sasl_bind_s()
Remove -DLDAP_DEPRECATED from CFLAGS
This commit is contained in:
@@ -221,6 +221,9 @@
|
||||
/* Define to 1 if you have the `ldap_initialize' function. */
|
||||
#undef HAVE_LDAP_INITIALIZE
|
||||
|
||||
/* Define to 1 if you have the `ldap_sasl_bind_s' function. */
|
||||
#undef HAVE_LDAP_SASL_BIND_S
|
||||
|
||||
/* Define to 1 if you have the `ldap_sasl_interactive_bind_s' function. */
|
||||
#undef HAVE_LDAP_SASL_INTERACTIVE_BIND_S
|
||||
|
||||
|
5
configure
vendored
5
configure
vendored
@@ -21956,7 +21956,8 @@ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
|
||||
|
||||
|
||||
|
||||
for ac_func in ldap_initialize ldap_start_tls_s ldap_sasl_interactive_bind_s ldapssl_init ldap_search_ext_s ldap_unbind_ext_s ldap_str2dn ldap_create
|
||||
|
||||
for ac_func in ldap_initialize ldap_start_tls_s ldap_sasl_interactive_bind_s ldapssl_init ldap_search_ext_s ldap_unbind_ext_s ldap_str2dn ldap_create ldap_sasl_bind_s
|
||||
do
|
||||
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
||||
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
|
||||
@@ -22684,8 +22685,6 @@ echo "$as_me: WARNING: Unable to locate gssapi.h, you will have to edit the Make
|
||||
SUDO_LIBS="${SUDO_LIBS}${LDAP_LIBS}"
|
||||
LIBS="$_LIBS"
|
||||
LDFLAGS="$_LDFLAGS"
|
||||
# XXX - OpenLDAP has deprecated ldap_get_values()
|
||||
CPPFLAGS="${CPPFLAGS} -DLDAP_DEPRECATED"
|
||||
fi
|
||||
|
||||
if test -n "$blibpath"; then
|
||||
|
@@ -2302,7 +2302,7 @@ if test ${with_ldap-'no'} != "no"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE(HAVE_LBER_H)])
|
||||
|
||||
AC_CHECK_FUNCS(ldap_initialize ldap_start_tls_s ldap_sasl_interactive_bind_s ldapssl_init ldap_search_ext_s ldap_unbind_ext_s ldap_str2dn ldap_create)
|
||||
AC_CHECK_FUNCS(ldap_initialize ldap_start_tls_s ldap_sasl_interactive_bind_s ldapssl_init ldap_search_ext_s ldap_unbind_ext_s ldap_str2dn ldap_create ldap_sasl_bind_s)
|
||||
AC_CHECK_HEADERS([sasl/sasl.h])
|
||||
|
||||
AC_CHECK_LIB(gssapi, gss_krb5_ccache_name,
|
||||
@@ -2333,8 +2333,6 @@ if test ${with_ldap-'no'} != "no"; then
|
||||
SUDO_LIBS="${SUDO_LIBS}${LDAP_LIBS}"
|
||||
LIBS="$_LIBS"
|
||||
LDFLAGS="$_LDFLAGS"
|
||||
# XXX - OpenLDAP has deprecated ldap_get_values()
|
||||
CPPFLAGS="${CPPFLAGS} -DLDAP_DEPRECATED"
|
||||
fi
|
||||
|
||||
dnl
|
||||
|
Reference in New Issue
Block a user