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

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


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


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/02/8402/1

diff --git a/configure b/configure
index aac2623..587bd84 100755
--- a/configure
+++ b/configure
@@ -14069,7 +14069,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 233a52d..4a35f9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -658,7 +658,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/8402
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: newchange
Gerrit-Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d
Gerrit-Change-Number: 8402
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/6e49feb3/attachment-0001.html>


More information about the asterisk-code-review mailing list