diff options
author | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2010-07-09 12:05:56 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2010-07-09 12:05:56 +0300 |
commit | c194337f35ded2714426fe83f628155e587acb44 (patch) | |
tree | 52e34e9e65ec5f5235aaaeab66c39204d80dcf83 /acinclude.m4 | |
parent | aa9aeceabde1aee02f098dab874bd830dff7d2cf (diff) | |
download | bluez-c194337f35ded2714426fe83f628155e587acb44.tar.gz |
Introduce maemo6 plugin for following the radio state signal
Adds a plugin for listening to the MCE (Mode Control Entity)
radio state signal. Implemented in a new source file,
configuration flag for enabling it added to the build files.
The plugin registers an adapter driver containing a DBus signal
watch for receiving MCE_RADIO_STATES_SIG messages. On receiving
the signal, it sets the powered state of the adapter according
to the Bluetooth field.
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index f7bb04744..f5fdd6663 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -182,6 +182,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [ udevrules_enable=yes configfiles_enable=yes telephony_driver=dummy + maemo6_enable=no AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization], [disable code optimization]), [ optimization_enable=${enableval} @@ -293,6 +294,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [ AC_SUBST([TELEPHONY_DRIVER], [telephony-${telephony_driver}.c]) + AC_ARG_ENABLE(maemo6, AC_HELP_STRING([--enable-maemo6], [compile with maemo6 plugin]), [ + maemo6_enable=${enableval} + ]) + if (test "${fortify_enable}" = "yes"); then CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=2" fi @@ -340,4 +345,5 @@ AC_DEFUN([AC_ARG_BLUEZ], [ AM_CONDITIONAL(DFUTOOL, test "${dfutool_enable}" = "yes" && test "${usb_found}" = "yes") AM_CONDITIONAL(UDEVRULES, test "${udevrules_enable}" = "yes") AM_CONDITIONAL(CONFIGFILES, test "${configfiles_enable}" = "yes") + AM_CONDITIONAL(MAEMO6PLUGIN, test "${maemo6_enable}" = "yes") ]) |