aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-04-28 17:05:24 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-04-28 17:05:24 +0000
commitefcfd0c5d953722d89ae343d4bf2a9fd326775fa (patch)
treea618f4961960763f1e881f4acfae958e165e7d7b
parent417728d87526f43528fd4de5c7a250fe22d32207 (diff)
Silence missing pkg-config error messages
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 1cbeabc2c0..82fb60ace9 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
: