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

Jenkins2 asteriskteam at digium.com
Mon Mar 5 12:36:16 CST 2018


Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/8401 )

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(-)

Approvals:
  Corey Farrell: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, but someone else must approve
  George Joseph: Looks good to me, approved
  Jenkins2: Approved for Submit



diff --git a/configure b/configure
index bbd6297..80238fb 100755
--- a/configure
+++ b/configure
@@ -13797,7 +13797,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 71c70d6..d77576c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -622,7 +622,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/8401
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: merged
Gerrit-Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d
Gerrit-Change-Number: 8401
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180305/969e750d/attachment.html>


More information about the asterisk-code-review mailing list