configure: use -Wwombat to test whether gcc recognizes -Wno-wombat
commita1d29d6c1d4002a5c7b19eda61d794f4c22538dd
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 27 Oct 2012 21:19:07 +0000 (27 22:19 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 30 Oct 2012 18:52:57 +0000 (30 18:52 +0000)
tree7e3b71596bc1ba1ec70263865dbc5ca63af690e9
parente7d51b3450893dfcef4af4238c48baf2d4b0ed31
configure: use -Wwombat to test whether gcc recognizes -Wno-wombat

gcc will silently accept unrecognized -Wno-wombat warning suppression
options (it only mentions them if it has to print a compiler warning
for some other reason). Since we already run a check for whether gcc
recognizes the warning options we use, we can easily make this use
the positive sense of the option when checking for support for the
suppression option. This doesn't have any effect except that it avoids
gcc emitting extra messages about unrecognized command line options
when it is printing other warning messages.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure