Skip to content

Don't use non-portable operator "==" in configure.ac

PHO requested to merge PHO/ghc:configure-fix-portability into master

The test operator == is a Bash extension and produces a wrong result if /bin/sh is not Bash. This happens on NetBSD for example:

% /bin/sh
$ test 8 == 8
test: ==: unexpected operator
$ echo $?
2

Merge request reports