configure.ac: Stop probing for Python versions < 2.0

This commit is contained in:
Olly Betts 2016-02-03 12:06:05 +13:00
commit 33c17b6d5e

View file

@ -598,7 +598,7 @@ if test x"${PYBIN}" = xno; then
else
# First figure out the name of the Python executable
if test "x$PYBIN" = xyes; then
AC_CHECK_PROGS(PYTHON, [python python2.8 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 python1.4])
AC_CHECK_PROGS(PYTHON, [python python2.8 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
else
PYTHON="$PYBIN"
fi