Index: /configure.ac
===================================================================
--- /configure.ac	(revision 7041)
+++ /configure.ac	(revision 7042)
@@ -20,4 +20,6 @@
 AM_CONDITIONAL(LOGCOLORS, test "$enable_logcolors" = yes)
 
+AC_ARG_ENABLE(bluetooth, [  --enable-bluetooth	Enable bluetooth transport [default=yes]], enable_bluetooth=$enableval, enable_bluetooth=yes)
+
 AC_PROG_LIBTOOL
 AC_PROG_CXX
@@ -34,6 +36,9 @@
 AX_LOG4CXX
 AX_OPENSSL
-AX_BLUETOOTH
 AX_AVAHI
+
+if test "$enable_bluetooth" = "yes"; then
+  AX_BLUETOOTH
+fi
 
 dnl Check for boost
Index: /m4/ax_bluetooth.m4
===================================================================
--- /m4/ax_bluetooth.m4	(revision 7041)
+++ /m4/ax_bluetooth.m4	(revision 7042)
@@ -14,5 +14,4 @@
 [
   AC_CHECK_HEADERS(bluetooth/bluetooth.h,, )
-    
   AC_CHECK_LIB([bluetooth],[sdp_connect],, )
 ])
