summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2006-05-02 21:33:01 +0000
committerKjartan Maraas <kmaraas@src.gnome.org>2006-05-02 21:33:01 +0000
commit55e204e86e98ee8771597bd9bfc0fa63daa42140 (patch)
tree5fa73e50126e3335df8d5a93459dc6fd7ec41280 /configure.in
parent1e03768f15bed6c262ac8463dbd8d6054e589291 (diff)
downloadevolution-data-server-55e204e86e98ee8771597bd9bfc0fa63daa42140.tar.gz
Patch from Sushuma Rai to fix build with modern openldap versions. Closes
2006-05-02 Kjartan Maraas <kmaraas@gnome.org> * configure.in: Patch from Sushuma Rai to fix build with modern openldap versions. Closes part of bug #325957.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 38998a1a4..83dc82e6e 100644
--- a/configure.in
+++ b/configure.in
@@ -1089,6 +1089,7 @@ esac
SAVE_CFLAGS="$CFLAGS"
SAVE_LIBS="$LIBS"
+LDAP_CFLAGS="-DLDAP_DEPRECATED"
CFLAGS="$CFLAGS $LDAP_CFLAGS"
LIBS="$LIBS $LDAP_LIBS"
AC_CHECK_FUNCS(ldap_ntlm_bind)
@@ -1107,7 +1108,7 @@ dnl support. Make him aware of this with a warning message at the end.
fi
fi
else # Win32
-LDAP_CFLAGS=""
+LDAP_CFLAGS="-DLDAP_DEPRECATED"
LDAP_LIBS="-lwldap32"
AC_SUBST(LDAP_CFLAGS)
AC_SUBST(LDAP_LIBS)