]> arthur.barton.de Git - bup.git/blobdiff - config/configure
Drop support for python 2
[bup.git] / config / configure
index d467af0e74405ccb9586a16d46ac0aff8f722b58..657155a0fa1f011a4cd078d25f011db0b79d180e 100755 (executable)
@@ -119,14 +119,12 @@ if test "$BUP_PYTHON_CONFIG"; then
                          "$BUP_PYTHON_CONFIG")
     fi
 else
-    for py_maj_ver in 10 9 8 7 6; do
-        bup_python_config="$(bup_find_prog "python3.$py_maj_ver-config" '')"
+    for py_min_ver in 10 9 8 7 6; do
+        bup_python_config="$(bup_find_prog "python3.$py_min_ver-config" '')"
         test -z "$bup_python_config" || break
     done
     test -z "$bup_python_config" \
         && bup_python_config="$(bup_find_prog python3-config '')"
-    test -z "$bup_python_config" \
-        && bup_python_config="$(bup_find_prog python2.7-config '')"
     if test -z "$bup_python_config"; then
         AC_FAIL "ERROR: unable to find a suitable python-config"
     fi