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:
@ -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>
|
||||
],[
|
||||
|
Reference in New Issue
Block a user