svn commit: samba r7373 - in branches/SAMBA_4_0/source/lib/registry: .

jelmer at samba.org jelmer at samba.org
Tue Jun 7 18:11:59 GMT 2005


Author: jelmer
Date: 2005-06-07 18:11:59 +0000 (Tue, 07 Jun 2005)
New Revision: 7373

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

Log:
Disable reg_gconf by default, allow building it with --enable-reg-gconf

Modified:
   branches/SAMBA_4_0/source/lib/registry/config.m4


Changeset:
Modified: branches/SAMBA_4_0/source/lib/registry/config.m4
===================================================================
--- branches/SAMBA_4_0/source/lib/registry/config.m4	2005-06-07 17:52:19 UTC (rev 7372)
+++ branches/SAMBA_4_0/source/lib/registry/config.m4	2005-06-07 18:11:59 UTC (rev 7373)
@@ -11,9 +11,13 @@
 
 SMB_EXT_LIB_FROM_PKGCONFIG(gconf, gconf-2.0)
 
-if test t$SMB_EXT_LIB_ENABLE_gconf = tYES; then
-	SMB_MODULE_DEFAULT(registry_gconf, STATIC)
-fi
+AC_ARG_ENABLE(reg-gconf,
+[   --enable-reg-gconf     Enable support for GConf registry backend],
+[
+	if test t$enable = tyes && test t$SMB_EXT_LIB_ENABLE_gconf = tYES; then
+		SMB_MODULE_DEFAULT(registry_gconf, STATIC)
+	fi
+])
 
 if test x"$experimental" = x"yes"; then
 	SMB_LIBRARY_ENABLE(libwinregistry, YES)



More information about the samba-cvs mailing list