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