summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-25 21:22:32 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:12 +0100
commit8b4a60b9ff50a079f7ea4e11b730e0bf847f21f0 (patch)
tree7073ef629725cb0900da19daffc114acff02a89f
parent12b7148fda768ff30d1ff526b12ccfd972f4f91b (diff)
downloadsamba-8b4a60b9ff50a079f7ea4e11b730e0bf847f21f0.tar.gz
samba-8b4a60b9ff50a079f7ea4e11b730e0bf847f21f0.tar.bz2
samba-8b4a60b9ff50a079f7ea4e11b730e0bf847f21f0.zip
r26121: Don't build modules if subsystem isn't build.
(This used to be commit a74fa4c19dbd9832c85aa9e62f88d4e84451bd5c)
-rw-r--r--source4/build/smb_build/input.pm5
1 files changed, 5 insertions, 0 deletions
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})) {