diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-03-13 14:27:10 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-03-13 14:28:50 +0100 |
commit | 1710eca2594c3b43f7b0651a2f07429dbeb2a35d (patch) | |
tree | b48d1c78cccf8320f6eb81857dc3f6e7f048cc44 /source4/scripting/python | |
parent | 44628c43eefa48a700293fe25b9a65ec76f1c1b2 (diff) | |
download | samba-1710eca2594c3b43f7b0651a2f07429dbeb2a35d.tar.gz samba-1710eca2594c3b43f7b0651a2f07429dbeb2a35d.tar.bz2 samba-1710eca2594c3b43f7b0651a2f07429dbeb2a35d.zip |
configure: when detecting python we should disable pyconfig.h
This fixes the detection on HP-UX where the pyconfig.h contains
bogus defines.
metze
(This used to be commit 9391f6f80461be2b214a881782aecf7df8a4aba3)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | source4/scripting/python/config.m4 | 2 |
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> ],[ |