diff options
author | Yuras Shumovich <shumovichy@gmail.com> | 2014-10-07 08:49:13 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2014-10-07 08:49:14 -0500 |
commit | 1ec91133bbdfa018be3d203551818691f1c9e14d (patch) | |
tree | 14cacf82bc314221c7e5f748efb4d227743302dd /configure.ac | |
parent | adcb9dbc0bfb6a7dd3f4f746e2f8cd620745db75 (diff) | |
download | haskell-1ec91133bbdfa018be3d203551818691f1c9e14d.tar.gz |
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
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7b59f78c00..f992c0d77e 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` |