Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-06-04 18:07:39 +0300
committerRemi Collet <remi@remirepo.net>2020-06-26 08:32:49 +0300
commitf74207b092c62d6b4218cdb071ce35d9734c5cff (patch)
tree5e9bae9ec5f746afd41c0733b53e172831cb2668 /config.m4
parentf57fae532d2da85f23319d2172e88b4a5e7ba736 (diff)
fix test syntax
Diffstat (limited to 'config.m4')
-rw-r--r--config.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/config.m4 b/config.m4
index 41999656..715d5d1d 100644
--- a/config.m4
+++ b/config.m4
@@ -173,7 +173,7 @@ if test "$PHP_REDIS" != "no"; then
if test "$PHP_REDIS_LZF" != "no"; then
AC_DEFINE(HAVE_REDIS_LZF, 1, [ ])
- if test "$PHP_LIBLZF" == "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists liblzf; then
+ if test "$PHP_LIBLZF" = "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists liblzf; then
AC_MSG_CHECKING(for liblzf using pkg-config)
LIBLZF_INC=`$PKG_CONFIG liblzf --cflags`
@@ -244,7 +244,7 @@ if test "$PHP_REDIS" != "no"; then
if test "$PHP_REDIS_ZSTD" != "no"; then
AC_DEFINE(HAVE_REDIS_ZSTD, 1, [ ])
- if test "$PHP_LIBZSTD" == "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libzstd; then
+ if test "$PHP_LIBZSTD" = "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists libzstd; then
AC_MSG_CHECKING(for libzstd using pkg-config)
LIBZSTD_VER=`$PKG_CONFIG libzstd --modversion`
@@ -285,7 +285,7 @@ if test "$PHP_REDIS" != "no"; then
fi
AC_CHECK_PROG([GIT], [git], [yes], [no])
- if test "$GIT" == "yes" && test -d "$srcdir/.git"; then
+ if test "$GIT" = "yes" && test -d "$srcdir/.git"; then
AC_DEFINE_UNQUOTED(GIT_REVISION, ["$(git log -1 --format=%H)"], [ ])
fi