hivex: Newer Python versions want parentheses around arguments of "print"
authorHilko Bengen <bengen@hilluzination.de>
Mon, 22 Aug 2011 18:45:24 +0000 (20:45 +0200)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 24 Aug 2011 11:56:51 +0000 (12:56 +0100)
configure.ac

index fc11b07..9ea944a 100644 (file)
@@ -237,8 +237,8 @@ PYTHON_PREFIX=
 PYTHON_VERSION=
 
 if test "x$PYTHON" != "xno"; then
-    PYTHON_PREFIX=`$PYTHON -c "import sys; print sys.prefix"`
-    PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[[0:3]]"`
+    PYTHON_PREFIX=`$PYTHON -c "import sys; print(sys.prefix)"`
+    PYTHON_VERSION=`$PYTHON -c "import sys; print(sys.version[[0:3]])"`
 
     AC_MSG_CHECKING([for Python include path])
     if test -z "$PYTHON_INCLUDEDIR"; then