summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2005-10-13 23:03:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:59 -0500
commitca0a4c8c68c5b2ed1d6ef0e524500fba77ef4b3c (patch)
treeb5dc833aa6117483e19ca98fda906cb04b963cfd
parente2b4d0ad75001131f26e7f847b7e0d9959de2e98 (diff)
downloadsamba-ca0a4c8c68c5b2ed1d6ef0e524500fba77ef4b3c.tar.gz
samba-ca0a4c8c68c5b2ed1d6ef0e524500fba77ef4b3c.tar.bz2
samba-ca0a4c8c68c5b2ed1d6ef0e524500fba77ef4b3c.zip
r10977: Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher.
Guenther (This used to be commit 380c6133240f8cb2da79453d08e77778d157d176)
-rw-r--r--source3/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b331387a3f..1aaf65e13f 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -2820,6 +2820,7 @@ if test x"$with_ldap_support" != x"no"; then
if test x"$ac_cv_lib_ext_ldap_ldap_init" = x"yes" -a x"$ac_cv_func_ext_ldap_domain2hostlist" = x"yes"; then
AC_DEFINE(HAVE_LDAP,1,[Whether ldap is available])
+ CPPFLAGS="$CPPFLAGS -DLDAP_DEPRECATED"
default_static_modules="$default_static_modules pdb_ldap idmap_ldap";
default_shared_modules="$default_shared_modules";
SMBLDAP="lib/smbldap.o"