projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836cafe
)
canonicalise the path to HsColour
author
Simon Marlow
<simonmar@microsoft.com>
Mon, 26 Nov 2007 14:16:14 +0000
(14:16 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Mon, 26 Nov 2007 14:16:14 +0000
(14:16 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
84d6c6d
..
66ed8a0
100644
(file)
--- 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 <drive>:/path/to/gcc
+ HSCOLOUR=`cygpath -w ${HSCOLOUR} | sed -e 's@\\\\@/@g' `
+ fi
+fi
dnl ** check for DocBook toolchain
FP_CHECK_DOCBOOK_DTD