summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorSantiago Carot-Nemesio <sancane@gmail.com>2010-07-27 16:11:29 +0200
committerSantiago Carot-Nemesio <sancane@gmail.com>2010-09-17 11:38:02 +0200
commit2792e639a9f6c5738ded6745a2077b8db0baf1fb (patch)
tree318ce38313ec09ccd3e47671bbcbcd7d579be285 /acinclude.m4
parent5c66d6f066c0b7427ed44b0d1a01006857d1f3d2 (diff)
downloadbluez-2792e639a9f6c5738ded6745a2077b8db0baf1fb.tar.gz
Initial support for HDP plugin
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index a4e5e2f37..1df93dba3 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -175,6 +175,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
serial_enable=yes
network_enable=yes
service_enable=yes
+ health_enable=no
mcap_enable=no
pnat_enable=no
attrib_enable=no
@@ -226,6 +227,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
service_enable=${enableval}
])
+ AC_ARG_ENABLE(health, AC_HELP_STRING([--enable-health], [enable health plugin]), [
+ health_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(mcap, AC_HELP_STRING([--enable-mcap], [enable mcap support]), [
mcap_enable=${enableval}
])
@@ -352,7 +357,8 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(SERIALPLUGIN, test "${serial_enable}" = "yes")
AM_CONDITIONAL(NETWORKPLUGIN, test "${network_enable}" = "yes")
AM_CONDITIONAL(SERVICEPLUGIN, test "${service_enable}" = "yes")
- AM_CONDITIONAL(MCAP, test "${mcap_enable}" = "yes")
+ AM_CONDITIONAL(HEALTHPLUGIN, test "${health_enable}" = "yes")
+ AM_CONDITIONAL(MCAP, test "${mcap_enable}" = "yes" || test "${health_enable}" = "yes")
AM_CONDITIONAL(HAL, test "${hal_enable}" = "yes")
AM_CONDITIONAL(ATTRIBPLUGIN, test "${attrib_enable}" = "yes")
AM_CONDITIONAL(ECHOPLUGIN, test "no" = "yes")