summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-09-08 10:54:30 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-09-08 10:54:30 +0000
commit36e1d1d1f94e5cf10e9d5cf7de1d2878b3d33ed8 (patch)
tree6815b0665e244aa5af8d2a4749e25b41ac7d86b3 /acinclude.m4
parent0738cf5e684464d157816be73c0b19efb7dd4fc7 (diff)
Add skeleton for the csrinit utility
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 83adb960..4d49dc81 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -265,6 +265,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
initscripts_enable=no
avctrl_enable=${usb_found}
hid2hci_enable=${usb_found}
+ csrinit_enable=no
dfutool_enable=no
bcm203x_enable=no
bluepin_enable=yes
@@ -287,6 +288,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
initscripts_enable=${enableval}
avctrl_enable=${enableval}
hid2hci_enable=${enableval}
+ csrinit_enable=${enableval}
dfutool_enable=${enableval}
bcm203x_enable=${enableval}
bluepin_enable=${enableval}
@@ -328,6 +330,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
hid2hci_enable=${enableval}
])
+ AC_ARG_ENABLE(csrinit, AC_HELP_STRING([--enable-csrinit], [install CSR ROM chip setup utility]), [
+ csrinit_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(dfutool, AC_HELP_STRING([--enable-dfutool], [install DFU firmware upgrade utility]), [
dfutool_enable=${enableval}
])
@@ -358,6 +364,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(INITSCRIPTS, test "${initscripts_enable}" = "yes")
AM_CONDITIONAL(AVCTRL, test "${avctrl_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(HID2HCI, test "${hid2hci_enable}" = "yes" && test "${usb_found}" = "yes")
+ AM_CONDITIONAL(CSRINIT, test "${csrinit_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(DFUTOOL, test "${dfutool_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(BCM203X, test "${bcm203x_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(BLUEPIN, test "${bluepin_enable}" = "yes")