summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-08-12 12:47:37 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-08-12 12:47:37 +0000
commitda2cf82c5b073be1bc3f3185a16722a2f5d289de (patch)
tree55f6cb996940133e8c4808e0d912e34dece383df /acinclude.m4
parent5bec11bb84e13e200a38798271a7da8924c3f6f7 (diff)
Make the installation of the init scripts and bluepin optional
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m414
1 files changed, 14 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 878cf50a..f45c138c 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -152,6 +152,8 @@ AC_DEFUN([AC_PATH_EXTRA], [
test_enable=no
cups_enable=no
pcmcia_enable=no
+ initscripts_enable=no
+ bluepin_enable=no
hid2hci_enable=${usb_found}
bcm203x_enable=no
@@ -160,6 +162,8 @@ AC_DEFUN([AC_PATH_EXTRA], [
test_enable=${enableval}
cups_enable=${enableval}
pcmcia_enable=${enableval}
+ initscripts_enable=${enableval}
+ bluepin_enable=${enableval}
hid2hci_enable=${enableval}
bcm203x_enable=${enableval}
])
@@ -180,6 +184,14 @@ AC_DEFUN([AC_PATH_EXTRA], [
pcmcia_enable=${enableval}
])
+ AC_ARG_ENABLE(initscripts, AC_HELP_STRING([--enable-initscripts], [install Bluetooth boot scripts]), [
+ initscripts_enable=${enableval}
+ ])
+
+ AC_ARG_ENABLE(bluepin, AC_HELP_STRING([--enable-bluepin], [install Python based PIN helper utility]), [
+ bluepin_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(hid2hci, AC_HELP_STRING([--enable-hid2hci], [install HID mode switching utility]), [
hid2hci_enable=${enableval}
])
@@ -192,6 +204,8 @@ AC_DEFUN([AC_PATH_EXTRA], [
AM_CONDITIONAL(TEST, test "${test_enable}" = "yes")
AM_CONDITIONAL(CUPS, test "${cups_enable}" = "yes")
AM_CONDITIONAL(PCMCIA, test "${pcmcia_enable}" = "yes")
+ AM_CONDITIONAL(INITSCRIPTS, test "${initscripts_enable}" = "yes")
+ AM_CONDITIONAL(BLUEPIN, test "${bluepin_enable}" = "yes")
AM_CONDITIONAL(HID2HCI, test "${hid2hci_enable}" = "yes" && test "${usb_found}" = "yes")
AM_CONDITIONAL(BCM203X, test "${bcm203x_enable}" = "yes" && test "${usb_found}" = "yes")
])