diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-10-07 21:15:58 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-09 08:23:02 +0000 |
commit | ba80782912293c9b9828d0cf406f90b76bf4f61b (patch) | |
tree | a0a2ce31365902ec739648ee4495576dc4dd452e /configure | |
parent | 6650b7100b58d9f81ae5117d03e89dc97f142897 (diff) |
configure: Send error message from spice check to /dev/null
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 <kraxel@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2092,7 +2092,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" |