svn commit: samba r10977 - branches/SAMBA_3_0/source trunk/source

gd at samba.org gd at samba.org
Thu Oct 13 23:03:31 GMT 2005


Author: gd
Date: 2005-10-13 23:03:30 +0000 (Thu, 13 Oct 2005)
New Revision: 10977

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10977

Log:
Get rid of tons of new warnings when building with OpenLDAP 2.3.7 or higher.

Guenther


Modified:
   branches/SAMBA_3_0/source/configure.in
   trunk/source/configure.in


Changeset:
Modified: branches/SAMBA_3_0/source/configure.in
===================================================================
--- branches/SAMBA_3_0/source/configure.in	2005-10-13 22:11:18 UTC (rev 10976)
+++ branches/SAMBA_3_0/source/configure.in	2005-10-13 23:03:30 UTC (rev 10977)
@@ -2820,6 +2820,7 @@
   
   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"

Modified: trunk/source/configure.in
===================================================================
--- trunk/source/configure.in	2005-10-13 22:11:18 UTC (rev 10976)
+++ trunk/source/configure.in	2005-10-13 23:03:30 UTC (rev 10977)
@@ -2820,6 +2820,7 @@
   
   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"



More information about the samba-cvs mailing list