configure: fix a variable comparison

This variable comparison was missing the "test" command, which would
cause sometimes the annoying error "xno: command not found".