summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorLukasz Rymanowski <lukasz.rymanowski@tieto.com>2011-06-21 11:14:44 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2011-06-28 10:53:32 +0300
commitcb60fce5fc90715c147fbae91f27234c65011b77 (patch)
treea5b7f66a9f8dec9214886e2771e74e708318d781 /acinclude.m4
parentd70388cda50c21563d1462911d45513db9d41e3c (diff)
Fix hid2hci compilation error
Do not compile hid2hci if udev is not present.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index d77937b5..10e648d5 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -400,7 +400,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(TOOLS, test "${tools_enable}" = "yes")
AM_CONDITIONAL(BCCMD, test "${bccmd_enable}" = "yes")
AM_CONDITIONAL(PCMCIA, test "${pcmcia_enable}" = "yes")
- AM_CONDITIONAL(HID2HCI, test "${hid2hci_enable}" = "yes" && test "${usb_found}" = "yes")
+ AM_CONDITIONAL(HID2HCI, test "${hid2hci_enable}" = "yes" && test "${usb_found}" = "yes" && test "${udev_found}" = "yes")
AM_CONDITIONAL(DFUTOOL, test "${dfutool_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(UDEVRULES, test "${udevrules_enable}" = "yes")
AM_CONDITIONAL(CONFIGFILES, test "${configfiles_enable}" = "yes")