[gobject-introspection] Python3-friendly python.m4
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] Python3-friendly python.m4
- Date: Fri, 26 Oct 2012 19:03:32 +0000 (UTC)
commit 0f923410a4106fc8e2c67ef7515e7f23a344121a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Jun 24 14:09:23 2012 -0400
Python3-friendly python.m4
https://bugzilla.gnome.org/show_bug.cgi?id=678728
m4/python.m4 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/m4/python.m4 b/m4/python.m4
index 74ac6ee..69557b6 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -43,8 +43,8 @@ AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
[AC_REQUIRE([AM_PATH_PYTHON])
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"`
+py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"`
+py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"`
if test "x$PYTHON_INCLUDES" == x; then
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
if test "$py_prefix" != "$py_exec_prefix"; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]