Mercurial > octave
changeset 31130:0c637fa9529a
build: Search for python executable with multiple names (bug #62372)
* m4/acinclude.m4 (OCTAVE_PROG_PYTHON): Switch to AC_CHECK_PROGS and search for
a range of possible names for python executable.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 09 Jul 2022 09:58:02 -0700 |
parents | 4dc326899f65 |
children | 6cfc7af8eacc |
files | m4/acinclude.m4 |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/acinclude.m4 Fri Jul 08 21:38:05 2022 -0700 +++ b/m4/acinclude.m4 Sat Jul 09 09:58:02 2022 -0700 @@ -3409,7 +3409,7 @@ dnl Find Python program. dnl AC_DEFUN([OCTAVE_PROG_PYTHON], [ - AC_CHECK_PROG(PYTHON, python, python, []) + AC_CHECK_PROGS(PYTHON, [python3 python], python, []) AC_SUBST(PYTHON) ]) dnl