configure.ac: unredundantize string comparisons

[ "x$foo" = "xbar" ] is silly. To be empty-string-safe, you need to
either put quotes around $foo, or concatenate something to it, but
there's no reason to do both.