compiler: remove unused assembleOneBCO function
[ghc.git] / m4 / find_python.m4
blob784e099e9c1c56e385ea19d8b627850b7393df7c
1 # FIND_PYTHON
2 # -----------
3 # Find the version of `python` to use (for the testsuite driver)
5 AC_DEFUN([FIND_PYTHON],[
6     dnl Prefer the mingw64 distribution on Windows due to #17483.
7     AC_PATH_PROG([PYTHON], [python3], [], [/mingw64/bin $PATH])
8     if test "$HostOS" = "mingw32"
9     then
10       PythonCmd=$(cygpath -m "$PYTHON")
11     else
12       PythonCmd="$PYTHON"
13     fi
14     AC_SUBST([PythonCmd])