From 8b4a60b9ff50a079f7ea4e11b730e0bf847f21f0 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 25 Nov 2007 21:22:32 +0100 Subject: r26121: Don't build modules if subsystem isn't build. (This used to be commit a74fa4c19dbd9832c85aa9e62f88d4e84451bd5c) --- source4/build/smb_build/input.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/build/smb_build') diff --git a/source4/build/smb_build/input.pm b/source4/build/smb_build/input.pm index 51b4c9bf39..c8df840acc 100644 --- a/source4/build/smb_build/input.pm +++ b/source4/build/smb_build/input.pm @@ -83,6 +83,11 @@ sub check_module($$$) return; } + if ($INPUT->{$mod->{SUBSYSTEM}} eq "NO") { + $mod->{ENABLE} = "NO"; + return; + } + return if ($mod->{ENABLE} ne "YES"); if (exists($INPUT->{$mod->{SUBSYSTEM}}{INIT_FUNCTION_TYPE})) { -- cgit