summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-02-03 16:54:57 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-02-03 16:55:12 +0100
commit827c47ea50b772316c5e1538fb6b0c85e30dc0ca (patch)
tree40fa1154ac97ede50fb75df3767abed1f5f81996
parentbfa3b2cc91ec4f5b5532fef2ba678fcf8ff8ad64 (diff)
downloadtdebindings-r14.0.x.zip
tdebindings-r14.0.x.tar.gz
Prefer Python2 detection.r14.0.x
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 cdbbf2acff54372075c9524a3c0aacbeefda12e3)
-rw-r--r--dcoppython/configure.in.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/dcoppython/configure.in.in b/dcoppython/configure.in.in
index 2f64581..c4d84ea 100644
--- a/dcoppython/configure.in.in
+++ b/dcoppython/configure.in.in
@@ -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