summaryrefslogtreecommitdiff
path: root/source4/build/smb_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-11 17:31:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:06:34 -0500
commit3d4fb8fc3318b4f2bf34602b3fb17b415b5741d8 (patch)
tree43d86807ab360b23a5455fc86a36b621ad3d34e5 /source4/build/smb_build
parent02509b55de5304cb1d5d2bf4cbedf3079388ff0d (diff)
downloadsamba-3d4fb8fc3318b4f2bf34602b3fb17b415b5741d8.tar.gz
samba-3d4fb8fc3318b4f2bf34602b3fb17b415b5741d8.tar.bz2
samba-3d4fb8fc3318b4f2bf34602b3fb17b415b5741d8.zip
r25095: Display of which libraries the system-provided version is being used.
(This used to be commit 635ea8996a3b7f05acdb679d77c81f2bee5db705)
Diffstat (limited to 'source4/build/smb_build')
-rw-r--r--source4/build/smb_build/summary.pm13
1 files changed, 11 insertions, 2 deletions
diff --git a/source4/build/smb_build/summary.pm b/source4/build/smb_build/summary.pm
index 7b84266d62..541a569a3b 100644
--- a/source4/build/smb_build/summary.pm
+++ b/source4/build/smb_build/summary.pm
@@ -34,6 +34,13 @@ sub showitem($$$)
}
}
+sub showisexternal($$$)
+{
+ my ($output, $desc, $name) = @_;
+ print "Using external $desc: ".
+ (($output->{$name}->{TYPE} eq "EXT_LIB")?"yes":"no")."\n";
+}
+
sub show($$)
{
my ($output,$config) = @_;
@@ -47,8 +54,10 @@ sub show($$)
showitem($output, "using libblkid", ["BLKID"]);
showitem($output, "using iconv", ["ICONV"]);
showitem($output, "using pam", ["PAM"]);
- print "Using external popt: ".
- (($output->{LIBPOPT}->{TYPE} eq "EXT_LIB")?"yes":"no")."\n";
+ showisexternal($output, "popt", "LIBPOPT");
+ showisexternal($output, "talloc", "LIBTALLOC");
+ showisexternal($output, "tdb", "LIBTDB");
+ showisexternal($output, "ldb", "LIBLDB");
print "Developer mode: ".(enabled($config->{developer})?"yes":"no")."\n";
print "Automatic dependencies: ".
(enabled($config->{automatic_dependencies})