summaryrefslogtreecommitdiff
path: root/server/external
diff options
context:
space:
mode:
Diffstat (limited to 'server/external')
-rw-r--r--server/external/ldap.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/server/external/ldap.m4 b/server/external/ldap.m4
index a17ed7e9..ee425d83 100644
--- a/server/external/ldap.m4
+++ b/server/external/ldap.m4
@@ -44,6 +44,10 @@ SAVE_LIBS=$LIBS
CFLAGS="$CFLAGS $OPENLDAP_CFLAGS"
LIBS="$LIBS $OPENLDAP_LIBS"
AC_CHECK_FUNCS([ldap_control_create])
+AC_CHECK_MEMBERS([struct ldap_conncb.lc_arg],
+ [AC_DEFINE([HAVE_LDAP_CONNCB], [1],
+ [Define if LDAP connection callbacks are available])],
+ [], [[#include <ldap.h>]])
CFLAGS=$SAVE_CFLAGS
LIBS=$SAVE_LIBS