From: Aki Tuomi Date: Tue, 14 Jan 2025 13:08:54 +0000 (+0200) Subject: m4: Check that LDAP is at least 2.4 X-Git-Tag: 2.4.1~324 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e2b0224ba033983448b62c285297579ce8f078b;p=thirdparty%2Fdovecot%2Fcore.git m4: Check that LDAP is at least 2.4 --- diff --git a/m4/want_ldap.m4 b/m4/want_ldap.m4 index f0fb239921..947cb23e64 100644 --- a/m4/want_ldap.m4 +++ b/m4/want_ldap.m4 @@ -2,7 +2,7 @@ AC_DEFUN([DOVECOT_WANT_LDAP], [ have_ldap=no AS_IF([test "$want_ldap" != "no"], [ - PKG_CHECK_MODULES([LDAP], [ldap], [have_ldap=yes], [have_ldap=no]) + PKG_CHECK_MODULES([LDAP], [ldap >= 2.4], [have_ldap=yes], [have_ldap=no]) dnl obsolete check for library, remove as soon all supported dnl platforms have proper pkg-check files