mirror of
https://github.com/samba-team/samba.git
synced 2025-12-13 16:23:50 +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 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