summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-11-01 18:32:55 +0000
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-01 16:52:08 -0500
commitf809c0d66bf1d9a8a4282b5a089b7eead45428fc (patch)
tree5c7af08c3ae6aff61fa86f7bff41b82e81c04111 /configure
parent46d95bfec7f9429d5228078219413d7e33496d65 (diff)
configure: Suppress messages from pkg_config probe for check
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 850efc0f16..254b801fd5 100755
--- 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"