]> git.ipfire.org Git - thirdparty/qemu.git/commit
configure: avoid compiler warning in pipe2 detection
authorBruce Rogers <brogers@suse.com>
Mon, 20 Aug 2012 18:45:08 +0000 (12:45 -0600)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 3 Dec 2012 19:24:20 +0000 (13:24 -0600)
commitea79e157c61eb20e1065836f9d2719ffef91b8cf
tree845f7849d72cdeb50fb230dd67149b77d811cfe1
parent4a8e490cbc15ad3fd88180ebff016cdd56242987
configure: avoid compiler warning in pipe2 detection

When building qemu-kvm for openSUSE:Factory, I am getting a
warning in the pipe2 detection performed by configure, which
prevents using --enable-werror.

Change detection code to use return value of pipe2.

Signed-off-by: Bruce Rogers <brogers@suse.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
(cherry picked from commit 9bca81624ef9299b9a06013fd29cd6899079aab4)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
configure