summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 73d4e505..1fe8df05 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -114,6 +114,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
test_enable=no
cups_enable=no
initscripts_enable=no
+ pcmciarules_enable=no
bccmd_enable=no
avctrl_enable=no
hid2hci_enable=${usb_found}
@@ -139,6 +140,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
test_enable=${enableval}
cups_enable=${enableval}
initscripts_enable=${enableval}
+ pcmciarules_enable=${enableval}
bccmd_enable=${enableval}
avctrl_enable=${enableval}
hid2hci_enable=${enableval}
@@ -169,6 +171,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
initscripts_enable=${enableval}
])
+ AC_ARG_ENABLE(pcmciarules, AC_HELP_STRING([--enable-pcmciarules], [install PCMCIA udev rules]), [
+ pcmciarules_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(bccmd, AC_HELP_STRING([--enable-bccmd], [install BCCMD interface utility]), [
bccmd_enable=${enableval}
])
@@ -204,6 +210,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(TEST, test "${test_enable}" = "yes")
AM_CONDITIONAL(CUPS, test "${cups_enable}" = "yes")
AM_CONDITIONAL(INITSCRIPTS, test "${initscripts_enable}" = "yes")
+ AM_CONDITIONAL(PCMCIARULES, test "${pcmciarules_enable}" = "yes")
AM_CONDITIONAL(BCCMD, test "${bccmd_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(AVCTRL, test "${avctrl_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(HID2HCI, test "${hid2hci_enable}" = "yes" && test "${usb_found}" = "yes")