"$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