2018-08-01 18:10:58

by Stotland, Inga

[permalink] [raw]
Subject: [PATCH BlueZ 1/1] build: Fix conditional check for enable-mesh

---
configure.ac | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 24fa4a789..ec810fcf4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,7 +216,7 @@ AC_ARG_ENABLE(mesh, AC_HELP_STRING([--enable-mesh],
[enable Mesh profile support]), [enable_mesh=${enableval}])
AM_CONDITIONAL(MESH, test "${enable_mesh}" = "yes")

-if (test "${enable_mesh}" == "yes"); then
+if (test "${enable_mesh}" = "yes"); then
PKG_CHECK_MODULES(JSONC, json-c, dummy=yes,
AC_MSG_ERROR(json-c is required))
AC_SUBST(JSON_CFLAGS)
@@ -260,7 +260,7 @@ AC_ARG_ENABLE(client, AC_HELP_STRING([--disable-client],
[disable command line client]), [enable_client=${enableval}])
AM_CONDITIONAL(CLIENT, test "${enable_client}" != "no")

-if (test "${enable_client}" != "no" || test "${enable_mesh}" == "yes"); then
+if (test "${enable_client}" != "no" || test "${enable_mesh}" = "yes"); then
AC_CHECK_HEADERS(readline/readline.h, enable_readline=yes,
AC_MSG_ERROR(readline header files are required))
fi
--
2.14.4



2018-08-01 18:58:58

by Hedberg, Johan

[permalink] [raw]
Subject: Re: [PATCH BlueZ 1/1] build: Fix conditional check for enable-mesh

Hi Inga,

On Wed, Aug 01, 2018, Inga Stotland wrote:
> ---
> configure.ac | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Applied. Thanks.

Johan