From 77c30ebe9eaf72bdbfb519e252ad6d070c984fad Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze@samba.org>
Date: Thu, 13 May 2004 20:12:26 +0000
Subject: r700: fix SMB_LIBRARY() to disable the lib by default

metze
(This used to be commit b6ac3021f275ba6b0ee0035933c290db4e8bda00)
---
 source4/build/smb_build/public.m4 | 2 +-
 source4/lib/registry/config.m4    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'source4')

diff --git a/source4/build/smb_build/public.m4 b/source4/build/smb_build/public.m4
index 997893aa9f..863dddc7a2 100644
--- a/source4/build/smb_build/public.m4
+++ b/source4/build/smb_build/public.m4
@@ -369,7 +369,7 @@ AC_DEFUN([SMB_LIBRARY],
 [
 
 	if test -z "$[SMB_LIBRARY_ENABLE_][$1]"; then
-		[SMB_LIBRARY_ENABLE_][$1]="YES";
+		[SMB_LIBRARY_ENABLE_][$1]="NO";
 	fi
 
 SMB_INFO_LIBRARIES="$SMB_INFO_LIBRARIES
diff --git a/source4/lib/registry/config.m4 b/source4/lib/registry/config.m4
index 7b05cbb982..77508063fc 100644
--- a/source4/lib/registry/config.m4
+++ b/source4/lib/registry/config.m4
@@ -39,7 +39,7 @@ SMB_BINARY(regshell, [REG], [BIN], lib/registry/tools/regshell.o,[],[CONFIG LIBB
 SMB_BINARY(regtree, [REG], [BIN], lib/registry/tools/regtree.o,[],[CONFIG LIBBASIC LIBCMDLINE REGISTRY])
 SMB_BINARY(gregedit, [REG], [BIN], lib/registry/tools/gregedit.o,[gtk],[CONFIG LIBBASIC LIBCMDLINE REGISTRY])
 
-if test x"$experimental" = xyes; then
+if test x"$experimental" = x"yes"; then
 	SMB_LIBRARY_ENABLE(libwinregistry, YES)
 fi
 
-- 
cgit