search for: disable_bluetooth

Displaying 1 result from an estimated 1 matches for "disable_bluetooth".

2009 Nov 23
0
[PATCH] Bluetooth support.
...35 -0000 @@ -3636,6 +3636,27 @@ else fi AC_SUBST(mansubdir) +# Check whether to support Bluetooth +BLUETOOTH_MSG="no" +AC_ARG_ENABLE(bluetooth, + [ --disable-bluetooth disable Bluetooth support if detected [no]], + [ + if test "x$enableval" = "xno" ; then + disable_bluetooth=yes + fi + ] +) +if test -z "$disable_bluetooth" ; then + AC_CHECK_HEADERS(bluetooth/bluetooth.h, + [ AC_CHECK_LIB(bluetooth, ba2str, + [ LIBS="$LIBS -lbluetooth" + AC_DEFINE(HAVE_BLUETOOTH) + BLUETOOTH_MSG="yes" + ]) + ] + ) +fi + # Check whether to en...