From 5012d436fb3278748aec6d90a06c3b3333fb42f5 Mon Sep 17 00:00:00 2001 From: Alexander Traud Date: Fri, 2 Mar 2018 12:12:17 +0100 Subject: [PATCH] BuildSystem: Avoid == for comparison in ./configure. ASTERISK-27709 Reported by: John Nemeth Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index aac26236b1..587bd847de 100755 --- a/configure +++ b/configure @@ -14069,7 +14069,7 @@ fi -if test "x$JANSSON_LIB" == "x"; then +if test "${PBX_JANSSON}" != 1; then as_fn_error $? "*** JSON support not found (this typically means the libjansson development package is missing)" "$LINENO" 5 fi diff --git a/configure.ac b/configure.ac index 233a52dac3..4a35f9d695 100644 --- a/configure.ac +++ b/configure.ac @@ -658,7 +658,7 @@ AC_SUBST(UUID_LIB) # Find required JSON support. AST_EXT_LIB_CHECK([JANSSON], [jansson], [json_dumps], [jansson.h]) -if test "x$JANSSON_LIB" == "x"; then +if test "${PBX_JANSSON}" != 1; then AC_MSG_ERROR([*** JSON support not found (this typically means the libjansson development package is missing)]) fi -- 2.47.2