Fix and clean code which tests the gcc version
commit87751797c707092108700159b570e917bae346b9
authorStefan Weil <weil@mail.berlios.de>
Fri, 16 Sep 2011 20:03:08 +0000 (16 22:03 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 23 Sep 2011 16:51:05 +0000 (23 11:51 -0500)
tree70b65a713f038ac2d7570f4642759f7aa4e7c87e
parentf8b72754c21789293eb655641459ab43ebd69c66
Fix and clean code which tests the gcc version

The code which tests whether gcc supports warn_unused_result was wrong.
Remove the wrong test from configure and replace it by code using
macro QEMU_GNUC_PREREQ in compiler.h.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
compiler.h
configure