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

jelmer at samba.org jelmer at samba.org
Tue Dec 4 01:51:49 GMT 2007


Author: jelmer
Date: 2007-12-04 01:51:48 +0000 (Tue, 04 Dec 2007)
New Revision: 26279

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

Log:
Don't compile any python stuff if python is not available.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/build/smb_build/input.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/input.pm
===================================================================
--- branches/SAMBA_4_0/source/build/smb_build/input.pm	2007-12-04 01:51:44 UTC (rev 26278)
+++ branches/SAMBA_4_0/source/build/smb_build/input.pm	2007-12-04 01:51:48 UTC (rev 26279)
@@ -150,6 +150,8 @@
 {
 	my ($INPUT, $python) = @_;
 
+	return if ($INPUT->{LIBPYTHON}{ENABLE} ne "YES");
+
 	$python->{INSTALLDIR} = "PYTHONDIR";
 	push (@{$python->{PUBLIC_DEPENDENCIES}}, "LIBPYTHON");
 	if (defined($python->{SWIG_FILE})) {



More information about the samba-cvs mailing list