python: Also detect python 3.9.
-- Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
9ca679c150
commit
2b8680aba9
@ -425,7 +425,7 @@ if test "$found_py" = "1"; then
|
|||||||
if test "$found_py" = "1" -o "$found_py3" = "1"; then
|
if test "$found_py" = "1" -o "$found_py3" = "1"; then
|
||||||
# Reset everything, so that we can look for another Python.
|
# Reset everything, so that we can look for another Python.
|
||||||
m4_foreach([mym4pythonver],
|
m4_foreach([mym4pythonver],
|
||||||
[[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[all]],
|
[[2.7],[3.4],[3.5],[3.6],[3.7],[3.8],[3.9],[all]],
|
||||||
[unset PYTHON
|
[unset PYTHON
|
||||||
unset PYTHON_VERSION
|
unset PYTHON_VERSION
|
||||||
unset PYTHON_CPPFLAGS
|
unset PYTHON_CPPFLAGS
|
||||||
|
@ -464,8 +464,8 @@ case in most, if not all, cases.
|
|||||||
|
|
||||||
Note that from GPGME [[https://dev.gnupg.org/rMff6ff616aea6f59b7f2ce1176492850ecdf3851e][1.12.1]] the default installation installs to each
|
Note that from GPGME [[https://dev.gnupg.org/rMff6ff616aea6f59b7f2ce1176492850ecdf3851e][1.12.1]] the default installation installs to each
|
||||||
version of Python it can find first. That is that it will currently
|
version of Python it can find first. That is that it will currently
|
||||||
install for the first copies of Python versions 2.7, 3.4, 3.5, 3.6,
|
install for the first copies of Python versions 2.7, 3.4, 3.5, and so so
|
||||||
3.7 and 3.8 (dev branch) that it finds. Usually this will be in the
|
up until the current dev branch that it finds. Usually this will be in the
|
||||||
same prefix as GPGME itself, but is dictated by the =$PATH= when the
|
same prefix as GPGME itself, but is dictated by the =$PATH= when the
|
||||||
installation is performed. The above instructions can still be
|
installation is performed. The above instructions can still be
|
||||||
performed on other python installations which the installer does not
|
performed on other python installations which the installer does not
|
||||||
|
@ -38,11 +38,11 @@ AC_DEFUN([AM_PATH_PYTHON],
|
|||||||
[
|
[
|
||||||
dnl Find a Python interpreter. Python versions prior to 2.0 are not
|
dnl Find a Python interpreter. Python versions prior to 2.0 are not
|
||||||
dnl supported. (2.0 was released on October 16, 2000). Python 3.0
|
dnl supported. (2.0 was released on October 16, 2000). Python 3.0
|
||||||
dnl through to Python 3.3 are also not supported.
|
dnl through to Python 3.9 are also not supported.
|
||||||
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
|
m4_define_default([_AM_PYTHON_INTERPRETER_LIST],
|
||||||
[python2 python2.7 dnl
|
[python2 python2.7 dnl
|
||||||
python dnl
|
python dnl
|
||||||
python3 python3.8 python3.7 python3.6 python3.5 python3.4
|
python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_ARG_VAR([PYTHON], [the Python interpreter])
|
AC_ARG_VAR([PYTHON], [the Python interpreter])
|
||||||
|
Loading…
Reference in New Issue
Block a user