summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-03-04 01:37:18 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-03-04 01:37:18 +0100
commita69acf7cb96bf41bafce303a2cf21c31f1366328 (patch)
tree12381b4493714bf7a369e8695baa71b62fa665a2 /source4/build
parente018501ca8e3e12e52557eafa66d104fe65088ae (diff)
downloadsamba-a69acf7cb96bf41bafce303a2cf21c31f1366328.tar.gz
samba-a69acf7cb96bf41bafce303a2cf21c31f1366328.tar.bz2
samba-a69acf7cb96bf41bafce303a2cf21c31f1366328.zip
Deal with subsystems with no settings, several other minor fixes.
(This used to be commit 10cf48591e8d6bfb750a6ff187f04ea24a1f8cd7)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/config_mk.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/build/smb_build/config_mk.pm b/source4/build/smb_build/config_mk.pm
index e7fb7f5729..c5e0ac5a74 100644
--- a/source4/build/smb_build/config_mk.pm
+++ b/source4/build/smb_build/config_mk.pm
@@ -216,6 +216,9 @@ sub run_config_mk($$$$)
{
$section = $1;
$infragment = 0;
+
+ $result->{$section}{EXISTS}{KEY} = "EXISTS";
+ $result->{$section}{EXISTS}{VAL} = 1;
next;
}
@@ -273,6 +276,7 @@ sub run_config_mk($$$$)
$input->{$name}{BASEDIR} = $basedir;
foreach my $key (values %{$result->{$section}}) {
+ next if ($key->{KEY} eq "EXISTS");
$key->{VAL} = smb_build::input::strtrim($key->{VAL});
my $vartype = $sectype->{$key->{KEY}};
if (not defined($vartype)) {