From fa1cdcd612ff592b80ad375a37e2eda6db949ba5 Mon Sep 17 00:00:00 2001 From: Pavel Grunt Date: Fri, 10 Mar 2017 10:21:36 +0100 Subject: [PATCH] build-sys: Use AM_PATH_PYTHON to find PYTHON interpreter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is more suitable for the task than AC_PATH_PROGS Also it prevents us from forcing a version of Python https://www.gnu.org/software/automake/manual/html_node/Python.html Acked-by: Christophe Fergeau Acked-by: Marc-André Lureau --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 763d14b..ad5e6e9 100644 --- a/configure.ac +++ b/configure.ac @@ -43,7 +43,7 @@ AC_CANONICAL_HOST AC_PROG_LIBTOOL AM_PROG_CC_C_O AC_C_BIGENDIAN -AC_PATH_PROGS(PYTHON, python2 python) +AM_PATH_PYTHON(,, [:]) RRA_LD_VERSION_SCRIPT AC_MSG_CHECKING([for native Win32])