summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-08-20 02:02:20 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-08-20 02:02:20 +0000
commit80e725ed106e3281a12682325ee700305189295c (patch)
tree5f016cde9d4ffe6fe041e65c83c10dca8e74a974 /acinclude.m4
parent8803412684f97a032fceb0318a07e4969761a281 (diff)
Make installation of udev rules optional
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")