diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-15 20:09:27 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-12-15 20:09:27 +0100 |
commit | ca7464bf51f3784b29e29a40cee2c73f1f0c4f7e (patch) | |
tree | 4c97a52170cfc98c3b9f7b654cb01635d80e46e5 /configure.ac | |
parent | 48917d876d51cd6ba5bff07172acef05c9e12474 (diff) |
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 <pablo@netfilter.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
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"], [ |