summaryrefslogtreecommitdiff
path: root/source4/scripting/python/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/config.m4')
-rw-r--r--source4/scripting/python/config.m42
1 files changed, 2 insertions, 0 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>
],[