configure: really test exit status