when checking enable_external_ell != 'yes',
even enable_btpclient and enable_mesh are not enabled.
configure still prompt the error.
Then ELL must be installed to pass the configure.
Signed-off-by: Koba Ko <[email protected]>
~~~
V2:
* correct the wrong-spelling
* add BlueZ tag
* rephrase the commit description
* change the '&&' to '||' condition.
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 4186c3792..54a609ad2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -301,7 +301,8 @@ if (test "${enable_external_ell}" = "yes"); then
AC_SUBST(ELL_CFLAGS)
AC_SUBST(ELL_LIBS)
fi
-if (test "${enable_external_ell}" != "yes"); then
+if (test "${enable_external_ell}" != "yes" &&
+ (test "${enable_btpclient}" = "yes" || test "${enable_mesh}" = "yes")); then
if (test ! -f ${srcdir}/ell/ell.h) &&
(test ! -f ${srcdir}/../ell/ell/ell.h); then
AC_MSG_ERROR(ELL source is required or use --enable-external-ell)
--
2.34.1
Hello:
This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <[email protected]>:
On Mon, 18 Sep 2023 01:25:20 +0800 you wrote:
> when checking enable_external_ell != 'yes',
> even enable_btpclient and enable_mesh are not enabled.
> configure still prompt the error.
> Then ELL must be installed to pass the configure.
>
> Signed-off-by: Koba Ko <[email protected]>
> ~~~
> V2:
> * correct the wrong-spelling
> * add BlueZ tag
> * rephrase the commit description
> * change the '&&' to '||' condition.
>
> [...]
Here is the summary with links:
- [BlueZ,V2] configure.ac: Add enable_btpclient and enable_mesh for internal ELL
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=04e18c0dcbc1
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html