diff --git a/bootstrap-configure b/bootstrap-configure
index 9735856..a283ec5 100755
--- a/bootstrap-configure
+++ b/bootstrap-configure
--mandir=/usr/share/man \
--sysconfdir=/etc \
--localstatedir=/var \
- --enable-test \
- --enable-tools \
--enable-experimental \
--disable-datafiles $*
diff --git a/configure.ac b/configure.ac
index cfead7f..99ef7de 100644
--- a/configure.ac
+++ b/configure.ac
[enable test/example scripts]), [enable_test=${enableval}])
AM_CONDITIONAL(TEST, test "${enable_test}" = "yes")
-AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools],
- [enable testing tools]), [enable_tools=${enableval}])
-AM_CONDITIONAL(TOOLS, test "${enable_tools}" = "yes")
+AC_ARG_ENABLE(tools, AC_HELP_STRING([--disable-tools],
+ [disable Bluetooth tools]), [enable_tools=${enableval}])
+AM_CONDITIONAL(TOOLS, test "${enable_tools}" != "no")
AC_ARG_ENABLE(readline, AC_HELP_STRING([--disable-readline],
[disable readline support]), [enable_readline=${enableval}])
-if (test "${enable_tools}" = "yes" && test "${enable_readline}" != "no" ); then
+if (test "${enable_tools}" != "no" && test "${enable_readline}" != "no" ); then
AC_CHECK_HEADERS(readline/readline.h, dummy=yes,
AC_MSG_ERROR(readline header files are required))
fi
AC_ARG_ENABLE(usb, AC_HELP_STRING([--disable-usb],
[disable USB support]), [enable_usb=${enableval}])
-if (test "${enable_tools}" = "yes" && test "${enable_usb}" != "no" ); then
+if (test "${enable_tools}" != "no" && test "${enable_usb}" != "no" ); then
PKG_CHECK_MODULES(USB, libusb, dummy=yes,
AC_MSG_ERROR(USB library support is required))
AC_SUBST(USB_CFLAGS)
AC_ARG_ENABLE(udev, AC_HELP_STRING([--disable-udev],
[disable udev device support]), [enable_udev=${enableval}])
-if (test "${enable_tools}" = "yes" && test "${enable_udev}" != "no"); then
+if (test "${enable_tools}" != "no" && test "${enable_udev}" != "no"); then
PKG_CHECK_MODULES(UDEV, libudev >= 143, dummy=yes,
AC_MSG_ERROR(libudev >= 143 is required))
AC_CHECK_LIB(udev, udev_hwdb_new,
AC_SUBST(UDEV_LIBS)
AM_CONDITIONAL(UDEV, test "${enable_udev}" != "no")
-AM_CONDITIONAL(HID2HCI, test "${enable_tools}" = "yes" &&
+AM_CONDITIONAL(HID2HCI, test "${enable_tools}" != "no" &&
test "${enable_udev}" != "no" && test "${enable_usb}" != "no")
-AM_CONDITIONAL(CUPS, test "${enable_tools}" = "yes")
+AM_CONDITIONAL(CUPS, test "${enable_tools}" != "no")
AC_ARG_ENABLE(obex, AC_HELP_STRING([--disable-obex],
[disable OBEX profile support]), [enable_obex=${enableval}])