Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
47ee7978
Commit
47ee7978
authored
Jun 21, 2018
by
Nick Mathewson
🥄
Browse files
Prefer recent Python 3 in autoconf.
Closes ticket 26372.
parent
ef671147
Changes
2
Hide whitespace changes
Inline
Side-by-side
changes/feature26372_029
0 → 100644
View file @
47ee7978
o Minor features (compilation):
- When building Tor, prefer to use Python 3 over Python 2, and more
recent (contemplated) versions over older ones. Closes ticket 26372.
configure.ac
View file @
47ee7978
...
...
@@ -213,7 +213,11 @@ AM_PROG_CC_C_O
AC_PROG_CC_C99
AC_ARG_VAR([PYTHON], [path to Python binary])
AC_CHECK_PROGS(PYTHON, [python python2 python2.7 python3 python3.3])
AC_CHECK_PROGS(PYTHON, [ \
python3 \
python3.8 python3.7 python3.6 python3.5 python3.4 \
python \
python2 python2.7])
if test "x$PYTHON" = "x"; then
AC_MSG_WARN([Python unavailable; some tests will not be run.])
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment