]> git.proxmox.com Git - mirror_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)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 27 Oct 2012 14:21:04 +0000 (14:21 +0000)
commit9bca81624ef9299b9a06013fd29cd6899079aab4
tree3afc09c2ad05326f0beed49fb08d5f3a3d27c2e9
parentc1556a812a16023894e53c7b2215929741a5bf17
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>
configure