summaryrefslogtreecommitdiffstats
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-08 12:52:54 +0000
committerMarcel Holtmann <marcel@holtmann.org>2007-05-08 12:52:54 +0000
commit331abb4c83b5c6690093ec0807d01823e4548865 (patch)
tree0f8dac2febcd38b747f9aa27a4a9739e248db4c5 /acinclude.m4
parent5d9f545ef534d3d2f4861c336de8d4f6321dd011 (diff)
Allow configuration of serial service
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 88696bc8..2d8c75b1 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -159,6 +159,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
obex_enable=${openobex_found}
alsa_enable=${alsa_found}
network_enable=no
+ serial_enable=no
input_enable=no
audio_enable=no
sync_enable=no
@@ -240,6 +241,10 @@ AC_DEFUN([AC_ARG_BLUEZ], [
network_enable=${enableval}
])
+ AC_ARG_ENABLE(serial, AC_HELP_STRING([--enable-serial], [enable serial service]), [
+ serial_enable=${enableval}
+ ])
+
AC_ARG_ENABLE(input, AC_HELP_STRING([--enable-input], [enable input service]), [
input_enable=${enableval}
])
@@ -349,6 +354,7 @@ AC_DEFUN([AC_ARG_BLUEZ], [
AM_CONDITIONAL(OBEX, test "${obex_enable}" = "yes" && test "${openobex_found}" = "yes")
AM_CONDITIONAL(ALSA, test "${alsa_enable}" = "yes" && test "${alsa_found}" = "yes")
AM_CONDITIONAL(NETWORKSERVICE, test "${network_enable}" = "yes")
+ AM_CONDITIONAL(SERIALSERVICE, test "${serial_enable}" = "yes")
AM_CONDITIONAL(INPUTSERVICE, test "${input_enable}" = "yes")
AM_CONDITIONAL(AUDIOSERVICE, test "${audio_enable}" = "yes")
AM_CONDITIONAL(SYNCSERVICE, test "${sync_enable}" = "yes" && test "${opensync_found}" = "yes")