summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2012-09-25 12:34:16 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-09-28 12:55:25 +0300
commit16a8c889632e579d7e6dcb66e8223ae7dbfecd8f (patch)
tree11ca87c6bceb1ea3d2760d7e3ae2a76711747f73 /acinclude.m4
parentdf78f047c09938596047e8a764834696f85a5bae (diff)
downloadbluez-16a8c889632e579d7e6dcb66e8223ae7dbfecd8f.tar.gz
hog: Add suspend back-end selection
This patch series introduces back-end selection for HoG suspend drivers. The default back-end is called "dummy", added for testing purpose only.
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 39b0a1898..ed2d0116a 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -185,6 +185,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
datafiles_enable=yes
telephony_driver=dummy
sap_driver=dummy
+ hog_suspend_driver=dummy
dbusoob_enable=no
wiimote_enable=no
gatt_enable=no
@@ -288,6 +289,12 @@ AC_DEFUN([AC_ARG_BLUEZ], [
wiimote_enable=${enableval}
])
+ AC_ARG_WITH(gatt, AC_HELP_STRING([--with-hog-suspend=DRIVER], [select HoG suspend driver]), [
+ hog_suspend_driver=${withval}
+ ])
+
+ AC_SUBST([HOG_SUSPEND_DRIVER], [suspend-${hog_suspend_driver}.c])
+
AC_ARG_ENABLE(gatt, AC_HELP_STRING([--enable-gatt], [enable gatt module]), [
gatt_enable=${enableval}
])