Nobody used it with the quotes. The point was to get rid of the quotes.
[ x$var = xval ]
[ x$var = xval ]
And even our autotools are still full of x-hacks without double quotes. He completely missed the point of the x-hack. Which obviously fails with spaces.