From: Victor Julien Date: Tue, 3 Apr 2018 10:06:37 +0000 (+0200) Subject: configure: fix small issue with libevent check X-Git-Tag: suricata-4.1.0-rc1~144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea80b5c57a0058783f4a26005a4aaa15da30aad;p=thirdparty%2Fsuricata.git configure: fix small issue with libevent check --- 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."