configure: Modify detection of supported warning options
commitbd947d30b6757067fa8f8407ef248fd8645383ee
authorStefan Weil <sw@weilnetz.de>
Wed, 4 Jan 2012 21:47:16 +0000 (4 22:47 +0100)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Fri, 13 Jan 2012 10:36:59 +0000 (13 10:36 +0000)
tree748d898641b6f0cc7d94c4d81cb10ebd21995ec5
parentbee5a5fb11de34aa422cfc830adbd51cfc8f5b55
configure: Modify detection of supported warning options

Reversing the order of the warning options and -Werror is important
when clang is used instead of gcc. It changes nothing for gcc.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
configure