summaryrefslogtreecommitdiffstats
path: root/src/external
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-06-28 12:58:26 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-06-30 14:09:10 -0400
commite96c468ed06c3378e2aee6992dabe926d79e1a2d (patch)
tree44715455c2186cf29fa0d865c8d4db4ad498ba36 /src/external
parentfda9ee900387d9d793e3696cd32b73c253097fe3 (diff)
downloadsssd-e96c468ed06c3378e2aee6992dabe926d79e1a2d.tar.gz
sssd-e96c468ed06c3378e2aee6992dabe926d79e1a2d.tar.xz
sssd-e96c468ed06c3378e2aee6992dabe926d79e1a2d.zip
Use ldap_init_fd() instead of ldap_initialize() if available
Diffstat (limited to 'src/external')
-rw-r--r--src/external/ldap.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/src/external/ldap.m4 b/src/external/ldap.m4
index b56eb340e..f24350943 100644
--- a/src/external/ldap.m4
+++ b/src/external/ldap.m4
@@ -64,7 +64,7 @@ SAVE_CFLAGS=$CFLAGS
SAVE_LIBS=$LIBS
CFLAGS="$CFLAGS $OPENLDAP_CFLAGS"
LIBS="$LIBS $OPENLDAP_LIBS"
-AC_CHECK_FUNCS([ldap_control_create])
+AC_CHECK_FUNCS([ldap_control_create ldap_init_fd])
AC_CHECK_MEMBERS([struct ldap_conncb.lc_arg],
[AC_RUN_IFELSE(
[AC_LANG_PROGRAM(