From: Hilko Bengen Date: Mon, 22 Aug 2011 18:42:09 +0000 (+0200) Subject: python: Newer versions want parentheses around arguments of "print" X-Git-Tag: 1.12.5~10 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3408ef54c97812350d49691dff94eacd3823da66;p=libguestfs.git python: Newer versions want parentheses around arguments of "print" (cherry picked from commit 54911bdd325393d1f7f2861f298463c364b45469) --- diff --git a/configure.ac b/configure.ac index e99ef57..1c78ec0 100644 --- a/configure.ac +++ b/configure.ac @@ -553,11 +553,11 @@ AS_IF([test "x$enable_python" != "xno"], if test "x$PYTHON" != "xno"; then AC_MSG_CHECKING([Python prefix]) - PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"` + PYTHON_PREFIX=`$PYTHON -c "import sys; print (sys.prefix)"` AC_MSG_RESULT([$PYTHON_PREFIX]) AC_MSG_CHECKING([Python version]) - PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"` + PYTHON_VERSION=`$PYTHON -c "import sys; print (sys.version[[0:3]])"` AC_MSG_RESULT([$PYTHON_VERSION]) AC_MSG_CHECKING([for Python include path])