From ca0a4c8c68c5b2ed1d6ef0e524500fba77ef4b3c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 13 Oct 2005 23:03:30 +0000 Subject: r10977: Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher. Guenther (This used to be commit 380c6133240f8cb2da79453d08e77778d157d176) --- source3/configure.in | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') 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" -- cgit