From 3d4fb8fc3318b4f2bf34602b3fb17b415b5741d8 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 11 Sep 2007 17:31:23 +0000 Subject: r25095: Display of which libraries the system-provided version is being used. (This used to be commit 635ea8996a3b7f05acdb679d77c81f2bee5db705) --- source4/build/smb_build/summary.pm | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'source4/build') 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}) -- cgit