[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH] configure: Suppress messages fro

From: Anthony Liguori
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] configure: Suppress messages from pkg_config probe for check
Date: Tue, 01 Nov 2011 17:22:02 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110831 Lightning/1.0b2 Thunderbird/3.1.13

On 11/01/2011 01:32 PM, Peter Maydell wrote:
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<address@hidden>

Applied.  Thanks.


Anthony Liguori

We didn't notice this before because we only recently
changed the default for whether configure probed for this.
I think that makes this a regression we should fix for 1.0.

  configure |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 28667fe..9661b0e 100755
--- a/configure
+++ b/configure
@@ -1828,7 +1828,7 @@ if test "$check_utests" != "no" ; then
  int main(void) { suite_create("qemu test"); return 0; }
-  check_libs=`$pkg_config --libs check`
+  check_libs=`$pkg_config --libs check 2>/dev/null`
    if compile_prog "" $check_libs ; then
      libs_tools="$check_libs $libs_tools"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]