Index: m4/ax_bluetooth.m4
===================================================================
--- m4/ax_bluetooth.m4	(revision 4870)
+++ m4/ax_bluetooth.m4	(revision 4870)
@@ -0,0 +1,18 @@
+# SYNOPSIS
+#
+#   AX_BLUETOOTH()
+#
+# DESCRIPTION
+#
+#   Test for the Bluez Bluetooth library. The library is optional!
+#
+# LAST MODIFICATION
+#
+#   2009-0713
+
+AC_DEFUN([AX_BLUETOOTH],
+[
+  AC_CHECK_HEADERS(bluetooth/bluetooth.h,, )
+    
+  AC_CHECK_LIB([bluetooth],[sdp_connect],, )
+])
