[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT a618f49] Silence missing pkg-config error message
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT a618f49] Silence missing pkg-config error messages |
Date: |
Tue, 28 Apr 2009 17:06:52 -0000 |
From: Blue Swirl <address@hidden>
diff --git a/configure b/configure
index 1cbeabc..82fb60a 100755
--- a/configure
+++ b/configure
@@ -1064,15 +1064,15 @@ fi # test "$curses"
##########################################
# bluez support probe
if test "$bluez" = "yes" ; then
- `pkg-config bluez` || bluez="no"
+ `pkg-config bluez 2> /dev/null` || bluez="no"
fi
if test "$bluez" = "yes" ; then
cat > $TMPC << EOF
#include <bluetooth/bluetooth.h>
int main(void) { return bt_error(0); }
EOF
- bluez_cflags=`pkg-config --cflags bluez`
- bluez_libs=`pkg-config --libs bluez`
+ bluez_cflags=`pkg-config --cflags bluez 2> /dev/null`
+ bluez_libs=`pkg-config --libs bluez 2> /dev/null`
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $bluez_cflags $TMPC \
$bluez_libs > /dev/null 2> /dev/null ; then
:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT a618f49] Silence missing pkg-config error messages,
Anthony Liguori <=