Search also for Python named `python'

This is needed for macOS, apparently.
This commit is contained in:
Jean-Marc Lasgouttes 2019-06-25 12:04:26 +02:00
parent a60a8233e8
commit f0810d8092

View File

@ -18,7 +18,7 @@ AC_DEFUN([LYX_PATH_PYTHON23],
m4_define(py2_ver, [patsubst($1,[\.],[,])])
m4_define(py3_ver, [patsubst($2,[\.],[,])])
m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [python3 python2])
m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [python3 python2 python])
if test -n "$PYTHON"; then
# If the user set $PYTHON, use it and don't search something else.