From 68599332fab63c0a1afcdec18bd0bd4d395f5780 Mon Sep 17 00:00:00 2001 From: Greg Troxel Date: Tue, 29 Sep 2020 00:07:11 +0000 Subject: [PATCH] configure: Search for python3.x and python3 Previously, only specific python2.x and python2 were saerched for. Signed-off-by: Greg Troxel Reviewed-by: Rob Browning Tested-by: Rob Browning --- config/configure | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/configure b/config/configure index bbf5fb3..afdfa38 100755 --- a/config/configure +++ b/config/configure @@ -69,6 +69,10 @@ bup_python="$(type -p "$PYTHON")" test -z "$bup_python" && bup_python="$(bup_find_prog python2.7 '')" test -z "$bup_python" && bup_python="$(bup_find_prog python2.6 '')" test -z "$bup_python" && bup_python="$(bup_find_prog python2 '')" +test -z "$bup_python" && bup_python="$(bup_find_prog python3.8 '')" +test -z "$bup_python" && bup_python="$(bup_find_prog python3.7 '')" +test -z "$bup_python" && bup_python="$(bup_find_prog python3.6 '')" +test -z "$bup_python" && bup_python="$(bup_find_prog python3 '')" test -z "$bup_python" && bup_python="$(bup_find_prog python '')" if test -z "$bup_python"; then AC_FAIL "ERROR: unable to find python" -- 2.39.2