From patchwork Tue Nov 1 18:32:55 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 123115 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 4FA7AB6F7B for ; Wed, 2 Nov 2011 05:33:14 +1100 (EST) Received: from localhost ([::1]:43371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLJ94-00065W-OY for incoming@patchwork.ozlabs.org; Tue, 01 Nov 2011 14:33:10 -0400 Received: from eggs.gnu.org ([140.186.70.92]:56605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLJ8y-00065R-U9 for qemu-devel@nongnu.org; Tue, 01 Nov 2011 14:33:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLJ8x-0000aX-SV for qemu-devel@nongnu.org; Tue, 01 Nov 2011 14:33:04 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:33284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLJ8x-0000Zq-MA; Tue, 01 Nov 2011 14:33:03 -0400 Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.72) (envelope-from ) id 1RLJ8p-0007IM-Ep; Tue, 01 Nov 2011 18:32:55 +0000 From: Peter Maydell To: qemu-devel@nongnu.org Date: Tue, 1 Nov 2011 18:32:55 +0000 Message-Id: <1320172375-28019-1-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.2.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 81.2.115.146 Cc: qemu-trivial@nongnu.org Subject: [Qemu-devel] [PATCH] configure: Suppress messages from pkg_config probe for check X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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 #include 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"