summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-18 20:14:29 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-18 20:14:29 +0100
commit3e4b8da4df1675aa8ac1b23675700d5f8c88daf7 (patch)
tree2c56d09d1835c628fd4c6d2bc8182656ba89acd7 /source4/build
parentff0315ba859421dff6aba055887e086fa68c2951 (diff)
downloadsamba-3e4b8da4df1675aa8ac1b23675700d5f8c88daf7.tar.gz
samba-3e4b8da4df1675aa8ac1b23675700d5f8c88daf7.tar.bz2
samba-3e4b8da4df1675aa8ac1b23675700d5f8c88daf7.zip
Fix summary.
(This used to be commit afe9418b728a1b35f713c650622c1abadba9a526)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/summary.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/build/smb_build/summary.pm b/source4/build/smb_build/summary.pm
index 52817f3597..4ea1ad525e 100644
--- a/source4/build/smb_build/summary.pm
+++ b/source4/build/smb_build/summary.pm
@@ -5,6 +5,7 @@
# Released under the GNU GPL
package summary;
+use smb_build::config;
use strict;
sub enabled($)
@@ -21,9 +22,7 @@ sub showitem($$$)
my @need = ();
foreach (@$items) {
- if (!enabled($output->{$_}->{ENABLE})) {
- push (@need, $_);
- }
+ push (@need, $_) if (enabled($config::enable{$_}));
}
print "Support for $desc: ";