summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJoanmarie Diggs <jdiggs@igalia.com>2012-06-24 14:09:23 -0400
committerColin Walters <walters@verbum.org>2012-10-26 15:02:45 -0400
commit0f923410a4106fc8e2c67ef7515e7f23a344121a (patch)
tree8e747a429fbc96f6b125b245cd0f1acf115907a8 /m4
parent7b639e21fc285fdf46bd5f890f7911619d71d232 (diff)
downloadgobject-introspection-0f923410a4106fc8e2c67ef7515e7f23a344121a.tar.gz
Python3-friendly python.m4
https://bugzilla.gnome.org/show_bug.cgi?id=678728
Diffstat (limited to 'm4')
-rw-r--r--m4/python.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/python.m4 b/m4/python.m4
index 74ac6ee9..69557b66 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