diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-25 21:22:32 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:46:12 +0100 |
commit | 8b4a60b9ff50a079f7ea4e11b730e0bf847f21f0 (patch) | |
tree | 7073ef629725cb0900da19daffc114acff02a89f /source4 | |
parent | 12b7148fda768ff30d1ff526b12ccfd972f4f91b (diff) | |
download | samba-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)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/smb_build/input.pm | 5 |
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})) { |