From 36e1d1d1f94e5cf10e9d5cf7de1d2878b3d33ed8 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Thu, 8 Sep 2005 10:54:30 +0000 Subject: Add skeleton for the csrinit utility --- acinclude.m4 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'acinclude.m4') 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") -- cgit