From e1aa40525ddac370766907a49682976e2ea78422 Mon Sep 17 00:00:00 2001 From: PHO Date: Sat, 18 Jan 2020 20:22:53 +0900 Subject: 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- cgit v1.2.1