diff options
author | Joanmarie Diggs <jdiggs@igalia.com> | 2012-06-24 14:09:23 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-10-26 15:02:45 -0400 |
commit | 0f923410a4106fc8e2c67ef7515e7f23a344121a (patch) | |
tree | 8e747a429fbc96f6b125b245cd0f1acf115907a8 /m4 | |
parent | 7b639e21fc285fdf46bd5f890f7911619d71d232 (diff) | |
download | gobject-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.m4 | 4 |
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 |