Prefer Python2 detection.

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

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/6/head
Slávek Banko 5 years ago
parent e4d13977dc
commit cdbbf2acff
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