From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=38517 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3vx7-0000ia-Jx for qemu-devel@nongnu.org; Thu, 07 Oct 2010 15:16:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3vx1-0001Wr-G9 for qemu-devel@nongnu.org; Thu, 07 Oct 2010 15:16:29 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:61768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3vx1-0001S5-54 for qemu-devel@nongnu.org; Thu, 07 Oct 2010 15:16:23 -0400 From: Stefan Weil Date: Thu, 7 Oct 2010 21:15:58 +0200 Message-Id: <1286478958-11252-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <4CAE1A0D.7000704@redhat.com> References: <4CAE1A0D.7000704@redhat.com> Subject: [Qemu-devel] [PATCH v2] configure: Send error message from spice check to /dev/null List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Gerd Hoffmann pkg-config is not always available (e.g. on win32 hosts), but we don't want to see the 'command not found' error message. Redirect stdout and stderr to /dev/null. v2: * Removed changes which should not have been here. Cc: Gerd Hoffmann Signed-off-by: Stefan Weil --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index e67d076..cc19d82 100755 --- a/configure +++ b/configure @@ -2089,7 +2089,7 @@ int main(void) { spice_server_new(); return 0; } EOF spice_cflags=$($pkgconfig --cflags spice-protocol spice-server 2>/dev/null) spice_libs=$($pkgconfig --libs spice-protocol spice-server 2>/dev/null) - if $pkgconfig --atleast-version=0.5.3 spice-server &&\ + if $pkgconfig --atleast-version=0.5.3 spice-server >/dev/null 2>&1 && \ compile_prog "$spice_cflags" "$spice_libs" ; then spice="yes" libs_softmmu="$libs_softmmu $spice_libs" -- 1.7.1