From: Alexander Traud Date: Fri, 2 Mar 2018 11:12:17 +0000 (+0100) Subject: BuildSystem: Avoid == for comparison in ./configure. X-Git-Tag: 13.21.0-rc1~93^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4035582b64b49957e1c14ae0a5ae9959e1766f33;p=thirdparty%2Fasterisk.git BuildSystem: Avoid == for comparison in ./configure. ASTERISK-27709 Reported by: John Nemeth Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d --- 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