Diff between ee1067c9a100137cd2f6660c49d203bfe6031d3d and 0fd4b27dcb9f36783f9595f3f19031c987722427

Changed Files

File Additions Deletions Status
configure.ac +2 -2 modified

Full Patch

diff --git a/configure.ac b/configure.ac
index 24fa4a7..ec810fc 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