Prefer Python2 detection.

For now, the python-related code is not ready for Python3.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit cdbbf2acff)
r14.0.x
Slávek Banko 4 years ago
parent bfa3b2cc91
commit 827c47ea50
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -6,4 +6,7 @@ fi
AC_ARG_VAR([XSLTPROC])
AC_ARG_VAR([PYTHON])
AC_PATH_PROG([XSLTPROC],[xsltproc],[echo])
AC_PATH_PROG([PYTHON],[python])
AC_PATH_PROG([PYTHON],[python2])
if test -z "$PYTHON"; then
AC_PATH_PROG([PYTHON],[python])
fi

Loading…
Cancel
Save