When installing Python from Python-2.4.1.msi,
the headers are not in C:/Python24/include/python24
but in C:/Python24/include.

This fixes that problem.

--- pythondev.m4.orig   2005-10-05 17:29:40.015625000 -0700
+++ pythondev.m4        2005-10-05 17:27:01.609375000 -0700
@@ -10,9 +10,9 @@ AC_MSG_CHECKING(for headers required to
dnl deduce PYTHON_INCLUDES
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="-I${py_prefix}/include/python${PYTHON_VERSION} -I${py_prefix}/
include"
if test "$py_prefix" != "$py_exec_prefix"; then
- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_
VERSION}"
+ PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_
VERSION} -I${py_exec_prefix}/include"
fi
AC_SUBST(PYTHON_INCLUDES)
dnl check if the headers exist:


_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to