Update configure.ac wrong WARNINGS_TO_TEST expansion

$WARNINGS_TO_TEST let's configure run "-MD ..." but not expand the variable as expected.
Merge pull request #323 from esven/patch-1

Update configure.ac wrong WARNINGS_TO_TEST expansion