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

Jenkins2 asteriskteam at digium.com
Mon Mar 5 12:26:15 CST 2018


Jenkins2 has submitted this change and it was merged. ( 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(-)

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 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: merged
Gerrit-Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d
Gerrit-Change-Number: 8402
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/2f5356fd/attachment.html>


More information about the asterisk-code-review mailing list