From 4035582b64b49957e1c14ae0a5ae9959e1766f33 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 bbd6297d32..80238fb462 100755 --- a/configure +++ b/configure @@ -13797,7 +13797,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 71c70d682a..d77576c565 100644 --- a/configure.ac +++ b/configure.ac @@ -622,7 +622,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