From: Greg Troxel Date: Tue, 29 Sep 2020 00:07:11 +0000 (+0000) Subject: configure: Search for python3.x and python3 X-Git-Tag: 0.32~32 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=bup.git;a=commitdiff_plain;h=68599332fab63c0a1afcdec18bd0bd4d395f5780 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 --- 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"