svn commit: samba r25095 - in branches/SAMBA_4_0: . source/build/smb_build

jelmer at samba.org jelmer at samba.org
Tue Sep 11 17:31:26 GMT 2007


Author: jelmer
Date: 2007-09-11 17:31:23 +0000 (Tue, 11 Sep 2007)
New Revision: 25095

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=25095

Log:
Display of which libraries the system-provided version is being used.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/build/smb_build/summary.pm


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/build/smb_build/summary.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/summary.pm	2007-09-11 17:29:49 UTC (rev 25094)
+++ branches/SAMBA_4_0/source/build/smb_build/summary.pm	2007-09-11 17:31:23 UTC (rev 25095)
@@ -34,6 +34,13 @@
 	}
 }
 
+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 @@
 	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})



More information about the samba-cvs mailing list