blob: 7fbbcde68d78a71557ba51cd6b1d5a49dee00375 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- configure.orig 2011-05-02 17:19:45.000000000 -0500
+++ configure 2011-05-02 17:19:58.000000000 -0500
@@ -15983,7 +15983,7 @@
$as_echo_n "checking for headers required to compile python extensions... " >&6; }
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
+PYTHON_INCLUDES=`python${PYTHON_VERSION}-config --cflags`
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
fi
|