Commit efcfd0c5d953722d89ae343d4bf2a9fd326775fa

Authored by Blue Swirl
1 parent 417728d8

Silence missing pkg-config error messages

Showing 1 changed file with 3 additions and 3 deletions
configure
@@ -1064,15 +1064,15 @@ fi # test "$curses" @@ -1064,15 +1064,15 @@ fi # test "$curses"
1064 ########################################## 1064 ##########################################
1065 # bluez support probe 1065 # bluez support probe
1066 if test "$bluez" = "yes" ; then 1066 if test "$bluez" = "yes" ; then
1067 - `pkg-config bluez` || bluez="no" 1067 + `pkg-config bluez 2> /dev/null` || bluez="no"
1068 fi 1068 fi
1069 if test "$bluez" = "yes" ; then 1069 if test "$bluez" = "yes" ; then
1070 cat > $TMPC << EOF 1070 cat > $TMPC << EOF
1071 #include <bluetooth/bluetooth.h> 1071 #include <bluetooth/bluetooth.h>
1072 int main(void) { return bt_error(0); } 1072 int main(void) { return bt_error(0); }
1073 EOF 1073 EOF
1074 - bluez_cflags=`pkg-config --cflags bluez`  
1075 - bluez_libs=`pkg-config --libs bluez` 1074 + bluez_cflags=`pkg-config --cflags bluez 2> /dev/null`
  1075 + bluez_libs=`pkg-config --libs bluez 2> /dev/null`
1076 if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $bluez_cflags $TMPC \ 1076 if $cc $ARCH_CFLAGS -o $TMPE ${OS_CFLAGS} $bluez_cflags $TMPC \
1077 $bluez_libs > /dev/null 2> /dev/null ; then 1077 $bluez_libs > /dev/null 2> /dev/null ; then
1078 : 1078 :