summaryrefslogtreecommitdiff
path: root/m4/find_python.m4
blob: 7e53b5877ee6c25200b67f1fced92476d530604e (plain)
1
2
3
4
5
6
7
8
9
10
# 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])
])