svn commit: samba r26207 - in branches/SAMBA_4_0: . source/scripting/python

jelmer at samba.org jelmer at samba.org
Thu Nov 29 17:49:14 GMT 2007


Author: jelmer
Date: 2007-11-29 17:49:13 +0000 (Thu, 29 Nov 2007)
New Revision: 26207

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

Log:
Only compile swig files if swig is available.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/scripting/python/config.mk


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/scripting/python/config.mk
===================================================================
--- branches/SAMBA_4_0/source/scripting/python/config.mk	2007-11-29 17:27:39 UTC (rev 26206)
+++ branches/SAMBA_4_0/source/scripting/python/config.mk	2007-11-29 17:49:13 UTC (rev 26207)
@@ -16,7 +16,7 @@
 .SUFFIXES: _wrap.c .i
 
 .i_wrap.c:
-	$(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
+	[ "$(SWIG)" != "no" ] && $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
 
 realdistclean::
 	@echo "Removing SWIG output files"



More information about the samba-cvs mailing list