Commit 1cb26209 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

On cygwin, convert happy's path to a native path

parent beabed20
......@@ -268,6 +268,16 @@ dnl for a happy source tree and point the build system at that instead.
# Happy is passed to Cabal, so we need a native path
if test "x$HostPlatform" = "xi386-unknown-mingw32" && \
test "${OSTYPE}" != "msys" && \
test "${HappyCmd}" != ""
# Canonicalise to <drive>:/path/to/gcc
HappyCmd=`cygpath -m ${HappyCmd}`
AC_MSG_NOTICE([normalized happy command to $HappyCmd])
AC_CACHE_CHECK([for version of happy], fptools_cv_happy_version,
changequote(, )dnl
[if test x"$HappyCmd" != x; then
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment