]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Avoid == for comparison in ./configure.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 2 Mar 2018 11:12:17 +0000 (12:12 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 2 Mar 2018 11:13:25 +0000 (05:13 -0600)
ASTERISK-27709
Reported by: John Nemeth

Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d

configure
configure.ac

index bbd6297d32552ee0d8698920e6636d20109ba7d4..80238fb4624f418dcd1b2339c398aa5f3e95b403 100755 (executable)
--- 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
 
index 71c70d682a674e80359c087ccc66044cc09a1c7b..d77576c56557048c45e92a15a952177ce0d02474 100644 (file)
@@ -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