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.0.5~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11b244b399006a5000e5143dc715c577b24cf274;p=thirdparty%2Fsuricata.git configure: fix small issue with libevent check --- diff --git a/configure.ac b/configure.ac index 8d8210c3f3..01589b19ec 100644 --- a/configure.ac +++ b/configure.ac @@ -1920,7 +1920,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."