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:
cf07181
)
Shove the GHC path through cygpath -m
author
Ian Lynagh
<igloo@earth.li>
Thu, 3 Jul 2008 13:26:14 +0000
(13:26 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Thu, 3 Jul 2008 13:26:14 +0000
(13:26 +0000)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
f22ffbe
..
8645834
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-644,6
+644,14
@@
AC_ARG_WITH([ghc],
AC_PATH_PROG([GHC], [ghc])
fi
WithGhc="$GHC"])
+# GHC is passed to Cabal, so we need a native path
+if test "x$HostPlatform" = "xi386-unknown-mingw32" && \
+ test "${OSTYPE}" != "msys" && \
+ test "${WithGhc}" != ""
+then
+ # Canonicalise to <drive>:/path/to/ghc
+ WithGhc=`cygpath -m ${WithGhc}`
+fi
AC_SUBST([WithGhc])
AC_ARG_WITH(hc,