configure: fix bashism

The == operator is not in POSIX; use = like normal.

Reported-by: Mikael Magnusson <mikachu@gmail.com>
This commit is contained in:
Mike Frysinger 2015-06-04 00:10:00 -04:00
parent 1534edd3f3
commit a50f6e5d50
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ fi
# jansson (for src/nghttp, src/deflatehd and src/inflatehd) # jansson (for src/nghttp, src/deflatehd and src/inflatehd)
PKG_CHECK_MODULES([JANSSON], [jansson >= 2.5], PKG_CHECK_MODULES([JANSSON], [jansson >= 2.5],
[have_jansson=yes], [have_jansson=no]) [have_jansson=yes], [have_jansson=no])
if test "x${have_jansson}" == "xyes"; then if test "x${have_jansson}" = "xyes"; then
AC_DEFINE([HAVE_JANSSON], [1], AC_DEFINE([HAVE_JANSSON], [1],
[Define to 1 if you have `libjansson` library.]) [Define to 1 if you have `libjansson` library.])
else else