summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2018-03-05 12:14:44 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2018-03-05 12:14:44 -0600
commit0072f75650745cf40185324ac470cff7a68a6ab4 (patch)
treec0672b62f1ec3866d384fee70aa8a0be0b0d861d
parente21f1684778f911afbcd3f8e3461b66501db58e4 (diff)
parenta9c02e484a69107b69b3a746c04c8f3799d48eb9 (diff)
Merge "BuildSystem: Avoid == for comparison in ./configure."
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index a95da6958..18609ca20 100755
--- a/configure
+++ b/configure
@@ -14105,7 +14105,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
diff --git a/configure.ac b/configure.ac
index 4622f955e..a59646cfd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -659,7 +659,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