[Asterisk-code-review] BuildSystem: Avoid == for comparison in ./configure. (asterisk[master])

Alexander Traud asteriskteam at digium.com
Fri Mar 2 05:13:45 CST 2018


Alexander Traud has uploaded this change for review. ( https://gerrit.asterisk.org/8400


Change subject: BuildSystem: Avoid == for comparison in ./configure.
......................................................................

BuildSystem: Avoid == for comparison in ./configure.

ASTERISK-27709
Reported by: John Nemeth

Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d
---
M configure
M configure.ac
2 files changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/00/8400/1

diff --git a/configure b/configure
index 2849fe5..15db8bf 100755
--- a/configure
+++ b/configure
@@ -14105,7 +14105,7 @@
 
 
 
-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 1bb4bc4..5c81144 100644
--- a/configure.ac
+++ b/configure.ac
@@ -659,7 +659,7 @@
 # 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
 

-- 
To view, visit https://gerrit.asterisk.org/8400
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d
Gerrit-Change-Number: 8400
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180302/67bdab3d/attachment.html>


More information about the asterisk-code-review mailing list