summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPHO <pho@cielonegro.org>2020-01-18 20:22:53 +0900
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-17 07:36:09 -0400
commite1aa40525ddac370766907a49682976e2ea78422 (patch)
tree3af132264d7707bf713e496b01c021394daa0058
parent92327e3afd9d2650c9cc9610297d40c2712da085 (diff)
downloadhaskell-e1aa40525ddac370766907a49682976e2ea78422.tar.gz
Don't use non-portable operator "==" in configure.ac
The test operator "==" is a Bash extension and produces a wrong result if /bin/sh is not Bash.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 0d047ed5d6..2973edd2ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -946,7 +946,7 @@ FP_CHECK_SIZEOF_AND_ALIGNMENT(uint64_t)
dnl for use in settings file
TargetWordSize=$ac_cv_sizeof_void_p
-if test "x$TargetWordSize" == 8; then
+if test "x$TargetWordSize" = x8; then
AC_SUBST([Cabal64bit],[True])
else
AC_SUBST([Cabal64bit],[False])