1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-18 00:59:12 +03:00

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 9391f6f804)
This commit is contained in:
Stefan Metzmacher
2008-03-13 14:27:10 +01:00
parent 44628c43ee
commit 1710eca259

View File

@ -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>
],[