From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [BlueZ v2 02/10] build: Add option to enable SAP profile
Date: Thu, 17 Nov 2016 14:19:53 +0200 [thread overview]
Message-ID: <1479385201-10559-3-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1479385201-10559-1-git-send-email-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This adds --enable-sap option dedicated to enabled sap plugin
so it is no longer enabled with --enable-experimental leaving it to just
enable experimental tools.
---
Makefile.plugins | 2 +-
README | 10 ++++++++++
configure.ac | 4 ++++
3 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/Makefile.plugins b/Makefile.plugins
index 495cb88..39eb3a0 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -16,7 +16,7 @@ builtin_modules += neard
builtin_sources += plugins/neard.c
endif
-if EXPERIMENTAL
+if SAP
builtin_modules += sap
builtin_sources += profiles/sap/main.c profiles/sap/manager.h \
profiles/sap/manager.c profiles/sap/server.h \
diff --git a/README b/README
index 23405f3..f084a74 100644
--- a/README
+++ b/README
@@ -126,6 +126,16 @@ For a working system, certain configuration options need to be enabled:
The plugin is built into bluetoothd therefore it does not need
to be package separately.
+ --enable-sap
+
+ This option enable SAP profile using sap plugin.
+
+ By default sap plugin is disabled since it requires tight
+ integration with systems and is very rarely required.
+
+ The plugin is built into bluetoothd therefore it does not need
+ to be package separately.
+
Information
===========
diff --git a/configure.ac b/configure.ac
index e1aa20a..ce57b63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,6 +144,10 @@ AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-nfc],
[enable NFC paring]), [enable_nfc=${enableval}])
AM_CONDITIONAL(NFC, test "${enable_nfc}" = "yes")
+AC_ARG_ENABLE(test, AC_HELP_STRING([--enable-sap],
+ [enable SAP profile]), [enable_sap=${enableval}])
+AM_CONDITIONAL(SAP, test "${enable_sap}" = "yes")
+
AC_ARG_ENABLE(tools, AC_HELP_STRING([--disable-tools],
[disable Bluetooth tools]), [enable_tools=${enableval}])
AM_CONDITIONAL(TOOLS, test "${enable_tools}" != "no")
--
2.7.4
next prev parent reply other threads:[~2016-11-17 12:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-17 12:19 [BlueZ v2 00/10] build: Add options for every plugin Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 01/10] build: Add option to enable NFC pairing Luiz Augusto von Dentz
2016-11-17 12:19 ` Luiz Augusto von Dentz [this message]
2016-11-17 12:19 ` [BlueZ v2 03/10] build: Add option to disable A2DP profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 04/10] build: Add option to disable AVRCP profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 05/10] build: Add option to disable network profiles Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 06/10] build: Add option to disable HID profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 07/10] build: Add option to disable HoG profile Luiz Augusto von Dentz
2016-11-17 12:19 ` [BlueZ v2 08/10] build: Add option to enable health profiles Luiz Augusto von Dentz
2016-11-17 12:20 ` [BlueZ v2 09/10] build: Update experimental documentation Luiz Augusto von Dentz
2016-11-17 12:20 ` [BlueZ v2 10/10] build: Update bootstrap-configure with new build options Luiz Augusto von Dentz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1479385201-10559-3-git-send-email-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).