summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2011-07-13 15:40:15 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2011-07-14 17:25:05 +0300
commit1106efd440bf678c1422a9247b8c27f2259ac94b (patch)
tree0a55a1b6fb7850bba2f5aeebf4ce4176f02fad3c /acinclude.m4
parent092df7b4f99e3d84d5edc99a13147e0795ccb3e1 (diff)
downloadbluez-1106efd440bf678c1422a9247b8c27f2259ac94b.tar.gz
Add support for wiimote pairing
The Nintendo Wii Remote requires binary bluetooth addresses as PINs. This is not possible via dbus agent API. So this adds a plugin that registers a pin-callback and forces the right pin for every authentication request of wiimotes.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index af97cce5a..4073f59f4 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -213,6 +213,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
maemo6_enable=no
sap_driver=dummy
dbusoob_enable=no
+ wiimote_enable=no
AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization], [disable code optimization]), [
optimization_enable=${enableval}
@@ -345,6 +346,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
dbusoob_enable=${enableval}
])
+ AC_ARG_ENABLE(wiimote, AC_HELP_STRING([--enable-wiimote], [compile with Wii Remote plugin]), [
+ wiimote_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(hal, AC_HELP_STRING([--enable-hal], [Use HAL to determine adapter class]), [
hal_enable=${enableval}
])
@@ -403,4 +408,5 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(DATAFILES, test "${datafiles_enable}" = "yes")
AM_CONDITIONAL(MAEMO6PLUGIN, test "${maemo6_enable}" = "yes")
AM_CONDITIONAL(DBUSOOBPLUGIN, test "${dbusoob_enable}" = "yes")
+ AM_CONDITIONAL(WIIMOTEPLUGIN, test "${wiimote_enable}" = "yes")
])