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:46 UTC

[mesos] 01/02: Libprocess: 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 fc127e6ef776ca2865ce5da0270f576d8e8ab99c
Author: Joseph Wu <jo...@apache.org>
AuthorDate: Wed Dec 18 15:22:29 2019 -0800

    Libprocess: 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/71926
---
 3rdparty/libprocess/configure.ac | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/3rdparty/libprocess/configure.ac b/3rdparty/libprocess/configure.ac
index 0a6a8bf..170988b 100644
--- a/3rdparty/libprocess/configure.ac
+++ b/3rdparty/libprocess/configure.ac
@@ -807,6 +807,8 @@ if test "x$enable_libevent" = "xyes"; then
   else
     with_bundled_libevent=yes
   fi
+
+  AC_DEFINE([USE_LIBEVENT], [1])
 fi
 
 AM_CONDITIONAL([ENABLE_LIBEVENT],