Commit d5e9d611 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

* m4/python.m4: Applying patch to allow better builds on win32, patch by Dieter Verfaillie,

	  bug 634978.
parent a25e285b
......@@ -10,6 +10,9 @@
object's value as a consequence of dupping (backend uses this to write properties with custom
values and does not expect that).
* m4/python.m4: Applying patch to allow better builds on win32, patch by Dieter Verfaillie,
bug 634978.
2010-12-30 Christian Persch <chpe@gnome.org>
* plugins/gtk+/glade-attributes.c: Use locale-independent strtod &
......
......@@ -45,9 +45,11 @@ AC_MSG_CHECKING(for headers required to compile python extensions)
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}"
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
if test "x$PYTHON_INCLUDES" == x; then
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
if test "$py_prefix" != "$py_exec_prefix"; then
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
fi
fi
AC_SUBST(PYTHON_INCLUDES)
dnl check if the headers exist:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment