aboutsummaryrefslogtreecommitdiff
path: root/src/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in
index d3938fc..b2b1d70 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1110,7 +1110,8 @@ AC_CHECK_PROG(PYTHON,python,python)
HAVE_PYTHON=no
if test x"$PYTHON" != x; then
# k5test.py requires python 2.4 (for the subprocess module).
- vercheck="import sys;sys.exit((sys.hexversion < 0x2040000) and 1 or 0)"
+ # Some code needs python 2.5 (for syntax like conditional expressions).
+ vercheck="import sys;sys.exit((sys.hexversion < 0x2050000) and 1 or 0)"
if python -c "$vercheck"; then
HAVE_PYTHON=yes
fi