aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-10-20 12:28:04 +0800
committerfanquake <fanquake@gmail.com>2021-10-20 12:28:04 +0800
commita78137ec3393fab8b2253995f91b22800886f82b (patch)
tree550d4beb1e2629baaf03c049ef79772a2ecf48ea
parenta7f28af4372a9d6ebe1c596ec455cbeac703f69d (diff)
downloadbitcoin-a78137ec3393fab8b2253995f91b22800886f82b.tar.xz
build: fix python detection post #23182
23182 was broken. Fix up the changes, and add python3.11 as suggested.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 06e0f3f25a..5d21c50744 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,7 +107,7 @@ AC_PATH_TOOL(GCOV, gcov)
AC_PATH_TOOL(LLVM_COV, llvm-cov)
AC_PATH_PROG(LCOV, lcov)
dnl Python 3.6 is specified in .python-version and should be used if available, see doc/dependencies.md
-AC_PATH_PROGS([PYTHON], [python3.6 python3.7 python3.8 python3.9, python3.10, python3 python])
+AC_PATH_PROGS([PYTHON], [python3.6 python3.7 python3.8 python3.9 python3.10 python3.11 python3 python])
AC_PATH_PROG(GENHTML, genhtml)
AC_PATH_PROG([GIT], [git])
AC_PATH_PROG(CCACHE,ccache)