1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

r25095: Display of which libraries the system-provided version is being used.

(This used to be commit 635ea8996a3b7f05acdb679d77c81f2bee5db705)
This commit is contained in:
Jelmer Vernooij 2007-09-11 17:31:23 +00:00 committed by Gerald (Jerry) Carter
parent 02509b55de
commit 3d4fb8fc33

View File

@ -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})