From ca7464bf51f3784b29e29a40cee2c73f1f0c4f7e Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Tue, 15 Dec 2020 20:09:27 +0100 Subject: build: search for python3 Eric Garver says: "It would probably be better to use the automake macro AM_PATH_PYTHON. [...] The above is fine for now." Signed-off-by: Pablo Neira Ayuso --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 5dacb43e..1b493541 100644 --- a/configure.ac +++ b/configure.ac @@ -111,7 +111,7 @@ AC_ARG_ENABLE(python, AC_ARG_WITH([python_bin], [AS_HELP_STRING([--with-python-bin], [Specify Python binary to use])], - [PYTHON_BIN="$withval"], [AC_PATH_PROGS(PYTHON_BIN, python python2 python2.7)] + [PYTHON_BIN="$withval"], [AC_PATH_PROGS(PYTHON_BIN, python python2 python2.7 python3)] ) AS_IF([test "x$PYTHON_BIN" = "x"], [ -- cgit v1.2.3