]> git.lyx.org Git - lyx.git/commitdiff
Search also for Python named `python'
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 25 Jun 2019 10:04:26 +0000 (12:04 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 25 Jun 2019 10:04:26 +0000 (12:04 +0200)
This is needed for macOS, apparently.

config/lyxpython.m4

index adc816dde7b39c0ce094bf2cabd42cb97c7f6a5b..21d0d8a9632c6bf9099828a8153ca2d513617117 100644 (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.