Re: [Qemu-devel] [PATCH] configure: Split valgrind test into pragma test and valgrind.h test

2012-07-31 Thread Blue Swirl
Thanks, applied. On Mon, Jul 30, 2012 at 3:13 PM, Peter Maydell peter.mayd...@linaro.org wrote: Split the configure test that checks for valgrind into two, one part checking whether we have the gcc pragma to disable unused-but-set variables, and the other part checking for the existence of

[Qemu-devel] [PATCH] configure: Split valgrind test into pragma test and valgrind.h test

2012-07-30 Thread Peter Maydell
Split the configure test that checks for valgrind into two, one part checking whether we have the gcc pragma to disable unused-but-set variables, and the other part checking for the existence of valgrind.h. The first of these has to be compiled with -Werror and the second does not and shouldn't