diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-04-19 15:43:14 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-04-19 15:43:14 +0200 |
commit | 6d002e2105c82ce0fd03892af6b19e3626e0f2bc (patch) | |
tree | 1c0c07afa1dc0127c477a65f12d7a8bfd1aaee01 /m4 | |
parent | 1c789ccf6e44f2c34c09cfc2865be7d475db3629 (diff) | |
download | bank-6d002e2105c82ce0fd03892af6b19e3626e0f2bc.tar.gz bank-6d002e2105c82ce0fd03892af6b19e3626e0f2bc.tar.bz2 bank-6d002e2105c82ce0fd03892af6b19e3626e0f2bc.zip |
use pyconfigure again
Diffstat (limited to 'm4')
-rw-r--r-- | m4/python.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/python.m4 b/m4/python.m4 index 58aef43..98a68b8 100644 --- a/m4/python.m4 +++ b/m4/python.m4 @@ -138,8 +138,7 @@ dnl The default maximum version is 3.3 m4_define_default([pc_max_ver], m4_ifval([$3], [$3], [4.0])) dnl Build up a list of possible interpreter names. m4_define_default([_PC_PYTHON_INTERPRETER_LIST], - [[python] \ -dnl If we want some Python 3 versions (max version >= 3.0), + [dnl If we want some Python 3 versions (max version >= 3.0), dnl also search for "python3" m4_if(m4_version_compare(pc_max_ver, [2.9]), [1], [python3], []) \ dnl If we want some Python 2 versions (min version <= 2.7), @@ -152,7 +151,8 @@ dnl major-dot-minor-dot-bugfix[-dot-whatever]) m4_foreach([pc_ver], m4_esyscmd_s(seq -s[[", "]] -f["[[%.1f]]"] m4_substr(pc_max_ver, [0], [3]) -0.1 m4_substr(pc_min_ver, [0], [3])), dnl Remove python2.8 and python2.9 since they will never exist - [m4_bmatch(pc_ver, [2.[89]], [], [python]pc_ver)])]) + [m4_bmatch(pc_ver, [2.[89]], [], [python]pc_ver)]) \ + [python]]) dnl Do the actual search at last. m4_ifval([$1], [AC_PATH_PROGS(PYTHON, [$1 _PC_PYTHON_INTERPRETER_LIST])], |