Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Thu, 18 Jul 2019 16:21:18 UTC Commit: 13f7618e101f0ec18d637d98038901b004d8243d https://github.com/geany/geany/commit/13f7618e101f0ec18d637d98038901b004d824...
Log Message: ----------- Use the `py` launcher for Python filetype on Windows
Fixes #2211.
Modified Paths: -------------- configure.ac
Modified: configure.ac 8 lines changed, 5 insertions(+), 3 deletions(-) =================================================================== @@ -145,12 +145,14 @@ AM_COND_IF([MINGW], AC_SUBST([GEANY_DATA_DIR], [$(eval echo $(eval echo $pkgdatadir))]) AC_SUBST([pkgdatadir])
-# The default Python command +# The default Python command. On Windows, use the `py` launcher by default AC_ARG_WITH([python-command], [AS_HELP_STRING([--with-python-command], - [the default Python command [default=python]])], + [the default Python command [defaults to "py" on Windows and "python" otherwise]])], [with_python_command=$withval], - [with_python_command=python]) + [with_python_command=auto]) +AS_IF([test "x$with_python_command" = xauto], + [AM_COND_IF([MINGW], [with_python_command=py], [with_python_command=python])]) AC_SUBST([PYTHON_COMMAND], [$with_python_command])
# Documentation tools
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).