From cdbbf2acff54372075c9524a3c0aacbeefda12e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 3 Feb 2020 16:54:57 +0100 Subject: Prefer Python2 detection. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For now, the python-related code is not ready for Python3. Signed-off-by: Slávek Banko --- dcoppython/configure.in.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dcoppython') 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 -- cgit v1.2.3