X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=configure.ac;h=66ed8a0b86449d2ef54be52e5cad67019531c791;hb=5d536b42c88dbe9523c4b0c799a0e46c2d984aa6;hp=84d6c6df053878528e57fb4b38aa2425253b07ba;hpb=ac4610c4da6966803b851cb4264bcb4427d6e2d0;p=ghc-hetmet.git diff --git a/configure.ac b/configure.ac index 84d6c6d..66ed8a0 100644 --- a/configure.ac +++ b/configure.ac @@ -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 :/path/to/gcc + HSCOLOUR=`cygpath -w ${HSCOLOUR} | sed -e 's@\\\\@/@g' ` + fi +fi dnl ** check for DocBook toolchain FP_CHECK_DOCBOOK_DTD