r26242: Don't fail if swig is not available.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 3 Dec 2007 02:14:27 +0000 (03:14 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 21 Dec 2007 04:47:22 +0000 (05:47 +0100)
source/scripting/python/config.mk

index c4722e2b9aa580b9acea77cf3f819e9d30443acb..91437e1e0b22f7ad0f21310c692e8ed5d6efb0ed 100644 (file)
@@ -16,7 +16,7 @@ swig: pythonmods
 .SUFFIXES: _wrap.c .i
 
 .i_wrap.c:
-       [ "$(SWIG)" != "no" ] && $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
+       [ "$(SWIG)" == "no" ] || $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
 
 realdistclean::
        @echo "Removing SWIG output files"