mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-03 15:55:40 +00:00
If we find sasl/sasl.h there's no need to check for sasl.h too
This commit is contained in:
7
configure
vendored
7
configure
vendored
@@ -19933,7 +19933,8 @@ if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
|
|||||||
cat >>confdefs.h <<_ACEOF
|
cat >>confdefs.h <<_ACEOF
|
||||||
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
|
||||||
_ACEOF
|
_ACEOF
|
||||||
for ac_func in ldap_sasl_interactive_bind_s
|
|
||||||
|
for ac_func in ldap_sasl_interactive_bind_s
|
||||||
do :
|
do :
|
||||||
ac_fn_c_check_func "$LINENO" "ldap_sasl_interactive_bind_s" "ac_cv_func_ldap_sasl_interactive_bind_s"
|
ac_fn_c_check_func "$LINENO" "ldap_sasl_interactive_bind_s" "ac_cv_func_ldap_sasl_interactive_bind_s"
|
||||||
if test "x$ac_cv_func_ldap_sasl_interactive_bind_s" = xyes; then :
|
if test "x$ac_cv_func_ldap_sasl_interactive_bind_s" = xyes; then :
|
||||||
@@ -19944,8 +19945,8 @@ _ACEOF
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
else
|
break
|
||||||
break
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
@@ -3187,7 +3187,10 @@ if test ${with_ldap-'no'} != "no"; then
|
|||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
AC_DEFINE(HAVE_LBER_H)])
|
AC_DEFINE(HAVE_LBER_H)])
|
||||||
|
|
||||||
AC_CHECK_HEADERS([sasl/sasl.h] [sasl.h], [AC_CHECK_FUNCS(ldap_sasl_interactive_bind_s)], [break])
|
AC_CHECK_HEADERS([sasl/sasl.h] [sasl.h], [
|
||||||
|
AC_CHECK_FUNCS(ldap_sasl_interactive_bind_s)
|
||||||
|
break
|
||||||
|
])
|
||||||
AC_CHECK_HEADERS([ldap_ssl.h] [mps/ldap_ssl.h], [break], [], [#include <ldap.h>])
|
AC_CHECK_HEADERS([ldap_ssl.h] [mps/ldap_ssl.h], [break], [], [#include <ldap.h>])
|
||||||
AC_CHECK_FUNCS(ldap_initialize ldap_start_tls_s ldapssl_init ldapssl_set_strength ldap_unbind_ext_s ldap_str2dn ldap_create ldap_sasl_bind_s ldap_ssl_init ldap_ssl_client_init ldap_start_tls_s_np)
|
AC_CHECK_FUNCS(ldap_initialize ldap_start_tls_s ldapssl_init ldapssl_set_strength ldap_unbind_ext_s ldap_str2dn ldap_create ldap_sasl_bind_s ldap_ssl_init ldap_ssl_client_init ldap_start_tls_s_np)
|
||||||
AC_CHECK_FUNCS(ldap_search_ext_s ldap_search_st, [break])
|
AC_CHECK_FUNCS(ldap_search_ext_s ldap_search_st, [break])
|
||||||
|
Reference in New Issue
Block a user