mirror of https://github.com/xqemu/xqemu.git
Silence missing pkg-config error messages
This commit is contained in:
parent
417728d875
commit
efcfd0c5d9
|
@ -1064,15 +1064,15 @@ fi # test "$curses"
|
||||||
##########################################
|
##########################################
|
||||||
# bluez support probe
|
# bluez support probe
|
||||||
if test "$bluez" = "yes" ; then
|
if test "$bluez" = "yes" ; then
|
||||||
`pkg-config bluez` || bluez="no"
|
`pkg-config bluez 2> /dev/null` || bluez="no"
|
||||||
fi
|
fi
|
||||||
if test "$bluez" = "yes" ; then
|
if test "$bluez" = "yes" ; then
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
#include <bluetooth/bluetooth.h>
|
#include <bluetooth/bluetooth.h>
|
||||||
int main(void) { return bt_error(0); }
|
int main(void) { return bt_error(0); }
|
||||||
EOF
|
EOF
|
||||||
bluez_cflags=`pkg-config --cflags bluez`
|
bluez_cflags=`pkg-config --cflags bluez 2> /dev/null`
|
||||||
bluez_libs=`pkg-config --libs bluez`
|
bluez_libs=`pkg-config --libs bluez 2> /dev/null`
|
||||||
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $bluez_cflags $TMPC \
|
if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $bluez_cflags $TMPC \
|
||||||
$bluez_libs > /dev/null 2> /dev/null ; then
|
$bluez_libs > /dev/null 2> /dev/null ; then
|
||||||
:
|
:
|
||||||
|
|
Loading…
Reference in New Issue