Commit fc3ed319 authored by Simon Marlow's avatar Simon Marlow

canonicalise the path to HsColour

parent 836cafeb
......@@ -928,6 +928,15 @@ dnl if GNU tar is named gtar, look for it first.
AC_PATH_PROGS(TarCmd,gtar tar,tar)
AC_PATH_PROG(HSCOLOUR,HsColour)
# HsColour is passed to Cabal, so we need a native path
if test "x$HostPlatform" = "xi386-unknown-mingw32"
then
if test "${OSTYPE}" != "msys"
then
# Canonicalise to <drive>:/path/to/gcc
HSCOLOUR=`cygpath -w ${HSCOLOUR} | sed -e 's@\\\\@/@g' `
fi
fi
dnl ** check for DocBook toolchain
FP_CHECK_DOCBOOK_DTD
......
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