]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
m4: Check that LDAP is at least 2.4
authorAki Tuomi <aki.tuomi@open-xchange.com>
Tue, 14 Jan 2025 13:08:54 +0000 (15:08 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Fri, 17 Jan 2025 08:40:02 +0000 (10:40 +0200)
m4/want_ldap.m4

index f0fb239921a5055ffc2994373a0a935e94a3fcf0..947cb23e647512e26ee0443067431cffca016f5e 100644 (file)
@@ -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