Configure scripts are supposed to adhere to the POSIX shell language. The POSIX test builtin does not implement an == operator. Bash does, but not all systems have Bash installed as /bin/sh. In particular, many systems use the lighter-weight Dash as the default POSIX shell. Dash emits the following error when running configure:
./configure: 39065: test: xno: unexpected operator
This PR removes the Bashism and restores correct operation with POSIX-compliant shells like Dash.