Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
m4: Try to use "python" as Python2 interpreter only as last resort
This patch tries to find Python 2 as "python2", then "python2.7" and finally "python". This is needed since "/usr/bin/python" is used as Python 3 on some Linux distributions (for example on Arch Linux) and on Fedora 28 "/usr/bin/python" will be deprecated [1]: "All scripts shall explicitly use /usr/bin/python2." [1] https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 Signed-off-by: Timothy Redaelli <[email protected]> Signed-off-by: Ben Pfaff <[email protected]>
- Loading branch information