]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
BuildSystem: Avoid == for comparison in ./configure.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 2 Mar 2018 11:12:17 +0000 (12:12 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 2 Mar 2018 11:13:37 +0000 (05:13 -0600)
ASTERISK-27709
Reported by: John Nemeth

Change-Id: I11b1ae8fd404c04066f1458f5d71f9536359d58d

configure
configure.ac

index aac26236b1501dedb8fcef703beead138168fca7..587bd847de59802d30d965b45813a04c97b69a02 100755 (executable)
--- a/configure
+++ b/configure
@@ -14069,7 +14069,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
 
index 233a52dac39e3071637902c97112afaef7108f45..4a35f9d6957186e912c8e41948e2eaa9e32897a6 100644 (file)
@@ -658,7 +658,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