[commit: ghc] master: configure.ac: fix test == bashism (4897e70)
git at git.haskell.org
git at git.haskell.org
Wed Nov 26 23:16:16 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4897e7056e7b34c42ba5c0b1fa28ea547b8085b3/ghc
>---------------------------------------------------------------
commit 4897e7056e7b34c42ba5c0b1fa28ea547b8085b3
Author: Tuncer Ayaz <tuncer.ayaz at gmail.com>
Date: Wed Nov 26 16:31:53 2014 +0100
configure.ac: fix test == bashism
Signed-off-by: Austin Seipp <austin at well-typed.com>
>---------------------------------------------------------------
4897e7056e7b34c42ba5c0b1fa28ea547b8085b3
configure.ac | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configure.ac b/configure.ac
index 5dd3aaa..ca9f220 100644
--- a/configure.ac
+++ b/configure.ac
@@ -560,7 +560,7 @@ then
# Check whether LLVM backend is default for this platform
"${WithGhc}" conftestghc.hs 2>&1 >/dev/null
res=`./conftestghc`
- if test "x$res" == "x%object"
+ if test "x$res" = "x%object"
then
AC_MSG_RESULT(yes)
echo "Buggy bootstrap compiler"
@@ -576,14 +576,14 @@ then
# -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
- if test $? == 0
+ if test $? = 0
then
res=`./conftestghc`
- if test "x$res" == "x%object"
+ if test "x$res" = "x%object"
then
AC_MSG_RESULT(yes)
GHC_LLVM_AFFECTED_BY_9439=1
- elif test "x$res" == "x%function"
+ elif test "x$res" = "x%function"
then
AC_MSG_RESULT(no)
GHC_LLVM_AFFECTED_BY_9439=0
More information about the ghc-commits
mailing list