You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2019/12/19 00:12:47 UTC

[mesos] 02/02: Autotools: Added USE_LIBEVENT definition.

This is an automated email from the ASF dual-hosted git repository.

josephwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git

commit d46ae94b49b452ed3fbfdf99dfb501e09675a311
Author: Joseph Wu <jo...@apache.org>
AuthorDate: Wed Dec 18 15:23:51 2019 -0800

    Autotools: Added USE_LIBEVENT definition.
    
    This adds the corresponding definition when ENABLE_LIBEVENT is
    true. This condition guards against usage of the other SSL
    socket implementation.
    
    Review: https://reviews.apache.org/r/71927
---
 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure.ac b/configure.ac
index 6ff2a32..2bf3a34 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1595,6 +1595,8 @@ if test "x$enable_libevent" = "xyes"; then
   else
     with_bundled_libevent=yes
   fi
+
+  AC_DEFINE([USE_LIBEVENT], [1])
 fi
 
 if test "x$enable_ssl" = "xyes"; then