summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-29 17:49:13 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:52 +0100
commit4151cf9866640a5eb53730ff069625373b6d8c27 (patch)
tree865083b8c38956e614fe845745cb9b361df2d5a5 /source4
parent8c46582b61c719cc600d210707346cf0de8cd4be (diff)
downloadsamba-4151cf9866640a5eb53730ff069625373b6d8c27.tar.gz
samba-4151cf9866640a5eb53730ff069625373b6d8c27.tar.bz2
samba-4151cf9866640a5eb53730ff069625373b6d8c27.zip
r26207: Only compile swig files if swig is available.
(This used to be commit cc5260971c4953ce742363b324ac3804c531e2dd)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index 5d4bc48d8a..c4722e2b9a 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -16,7 +16,7 @@ swig: pythonmods
.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"