build: Fix conditional check for enable-mesh
PATCH 1/1 build: Fix conditional check for enable-mesh
--- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
configure.ac +2 -2
@@ -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
Signature · 1 line
2.14.4
Johan Hedberg
AppliedHi Inga,
Quoted 3 lines · Inga Stotland
--- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied. Thanks.
Johan