diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-02-03 16:54:57 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-02-03 16:54:57 +0100 |
commit | cdbbf2acff54372075c9524a3c0aacbeefda12e3 (patch) | |
tree | 2aae14b9f6062394ab2939a8f8903a00b606f0f5 /dcoppython | |
parent | e4d13977dc4b193d035b317212c5b6354acef722 (diff) | |
download | tdebindings-cdbbf2acff54372075c9524a3c0aacbeefda12e3.tar.gz tdebindings-cdbbf2acff54372075c9524a3c0aacbeefda12e3.zip |
Prefer Python2 detection.
For now, the python-related code is not ready for Python3.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'dcoppython')
-rw-r--r-- | dcoppython/configure.in.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dcoppython/configure.in.in b/dcoppython/configure.in.in index 2f645818..c4d84ea2 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 |