configure: use POSIX conformant syntax for test

In shells like bash, == and = are equivalent in test contexts. In POSIX
compliant shells, == isn't a valid operator.