]> git.proxmox.com Git - qemu.git/commitdiff
configure: Suppress messages from pkg_config probe for check
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Nov 2011 18:32:55 +0000 (18:32 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 1 Nov 2011 21:52:08 +0000 (16:52 -0500)
Suppress confusing messages from pkg_config when probing for
'check' by sending them to /dev/null as we do with other
similar probes.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
configure

index 850efc0f16ef1e1c74a6ea5145edcd963f726cca..254b801fd5da3e29616c8d417a6b61523d13aeb6 100755 (executable)
--- a/configure
+++ b/configure
@@ -1828,7 +1828,7 @@ if test "$check_utests" != "no" ; then
 #include <check.h>
 int main(void) { suite_create("qemu test"); return 0; }
 EOF
-  check_libs=`$pkg_config --libs check`
+  check_libs=`$pkg_config --libs check 2>/dev/null`
   if compile_prog "" $check_libs ; then
     check_utests=yes
     libs_tools="$check_libs $libs_tools"