Fix configure script when running with dash

`test 1 == 1` will fail using dash as the default shell. The `test 1 = 1`
syntax works in both Bash and Dash.
Merge pull request #2156 from jleclanche/master

Fix configure script when running with dash