git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d36504e
)
python: Newer versions want parentheses around arguments of "print"
author
Hilko Bengen
<bengen@hilluzination.de>
Mon, 22 Aug 2011 18:42:09 +0000
(20:42 +0200)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 24 Aug 2011 11:56:45 +0000
(12:56 +0100)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
b5211fa
..
228122f
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-657,11
+657,11
@@
AS_IF([test "x$enable_python" != "xno"],
if test "x$PYTHON" != "xno"; then
AC_MSG_CHECKING([Python prefix])
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])
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])
AC_MSG_RESULT([$PYTHON_VERSION])
AC_MSG_CHECKING([for Python include path])