[commit: ghc] master: Fix configure check for 9439 bug (1ec9113)
git at git.haskell.org
git at git.haskell.org
Tue Oct 7 13:53:02 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1ec91133bbdfa018be3d203551818691f1c9e14d/ghc
>---------------------------------------------------------------
commit 1ec91133bbdfa018be3d203551818691f1c9e14d
Author: Yuras Shumovich <shumovichy at gmail.com>
Date: Tue Oct 7 08:49:13 2014 -0500
Fix configure check for 9439 bug
Summary: We should escape path to ghc.On wondows usually ghc comes from HP, which is installed somewhere in "...\Haskell Platform\..." Note space in the middle.
Test Plan: not necessary
Reviewers: rwbarton, hvr, austin
Reviewed By: rwbarton, hvr, austin
Subscribers: rwbarton, simonmar, ezyang, carter, thomie
Projects: #ghc
Differential Revision: https://phabricator.haskell.org/D304
>---------------------------------------------------------------
1ec91133bbdfa018be3d203551818691f1c9e14d
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7b59f78..f992c0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -200,7 +200,7 @@ AC_MSG_CHECKING(whether bootstrap compiler is affected by bug 9439)
echo "main = putStrLn \"%function\"" > conftestghc.hs
# Check whether LLVM backend is default for this platform
-${WithGhc} conftestghc.hs 2>&1 >/dev/null
+"${WithGhc}" conftestghc.hs 2>&1 >/dev/null
res=`./conftestghc`
if test "x$res" == "x%object"
then
@@ -217,7 +217,7 @@ fi
# -fllvm is not the default, but set a flag so the Makefile can check
# -for it in the build flags later on
-${WithGhc} -fforce-recomp -fllvm conftestghc.hs 2>&1 >/dev/null
+"${WithGhc}" -fforce-recomp -fllvm conftestghc.hs 2>&1 >/dev/null
if test $? == 0
then
res=`./conftestghc`
More information about the ghc-commits
mailing list