From 7ea80b5c57a0058783f4a26005a4aaa15da30aad Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 3 Apr 2018 12:06:37 +0200 Subject: [PATCH] configure: fix small issue with libevent check --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index ce16fb56ff..c764e09bc7 100644 --- a/configure.ac +++ b/configure.ac @@ -2025,7 +2025,7 @@ AC_CHECK_LIB(event, event_base_free,, HAVE_LIBEVENT="no") AC_CHECK_LIB(event_pthreads, evthread_use_pthreads,, HAVE_LIBEVENT_PTHREADS="no") fi - if test "$HAVE_LIBEVENT" = "no" -o test "$HAVE_LIBEVENT_PTHREADS" = "no" ; then + if [ test "$HAVE_LIBEVENT" = "no" ] && [ -o test "$HAVE_LIBEVENT_PTHREADS" = "no"]; then if test "$HAVE_LIBEVENT" = "no"; then echo echo " Async mode for redis output will not be available." -- 2.47.2