diff options
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index ed6e8a7c0d..6b005acf82 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -2513,4 +2513,15 @@ AC_DEFUN([FIND_LD],[ CHECK_LD_COPY_BUG([$1]) ]) +# FIND_PYTHON +# ----------- +# Find the version of `python` to use (for the testsuite driver) +# +AC_DEFUN([FIND_PYTHON],[ + dnl Prefer the mingw64 distribution on Windows due to #17483. + AC_PATH_PROG([PYTHON], [python3], [], [/mingw64/bin $PATH]) + PythonCmd="$PYTHON" + AC_SUBST([PythonCmd]) +]) + # LocalWords: fi |