summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-14 09:59:24 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-14 09:59:24 +1100
commitbd614d28d48a187adcafffd301b0f70c154f4d38 (patch)
tree9aee052f705317925073752ea68cfc8cf434984a /source4/scripting
parent80f7e9e08176592ad161a0707244ad9b52e964bd (diff)
parent7db5e0a601968b9a5a978abd5a5a21b33913baf1 (diff)
downloadsamba-bd614d28d48a187adcafffd301b0f70c154f4d38.tar.gz
samba-bd614d28d48a187adcafffd301b0f70c154f4d38.tar.bz2
samba-bd614d28d48a187adcafffd301b0f70c154f4d38.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit d50b76ed71ab6bc8e63926540638df5af10202ae)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/config.m42
-rw-r--r--source4/scripting/python/config.mk2
2 files changed, 3 insertions, 1 deletions
diff --git a/source4/scripting/python/config.m4 b/source4/scripting/python/config.m4
index 2142cd9abd..aac98ebc60 100644
--- a/source4/scripting/python/config.m4
+++ b/source4/scripting/python/config.m4
@@ -22,6 +22,8 @@ AC_DEFUN([TRY_LINK_PYTHON],
CFLAGS="$CFLAGS $2"
AC_TRY_LINK([
+ /* we have our own configure tests */
+ #define Py_PYCONFIG_H 1
#include <Python.h>
#include <stdlib.h>
],[
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk
index a16d737344..09c77813ca 100644
--- a/source4/scripting/python/config.mk
+++ b/source4/scripting/python/config.mk
@@ -21,7 +21,7 @@ swig:: pythonmods
.SUFFIXES: _wrap.c .i
.i_wrap.c:
- [ "$(SWIG)" == "no" ] || $(SWIG) -O -Wall -I$(srcdir)/scripting/swig -python -keyword $<
+ [ "$(SWIG)" = "no" ] || $(SWIG) -O -Wall -I$(srcdir)/scripting/swig -python -keyword $<
realdistclean::
@echo "Removing SWIG output files"