Repository: mesos Updated Branches: refs/heads/master b417ad78f -> 1393b1518
Minor cleanup of libprocess configure.ac. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1393b151 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1393b151 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1393b151 Branch: refs/heads/master Commit: 1393b1518f2974ca94eb52680cd58d70b5a11415 Parents: 14cf8d1 Author: Benjamin Hindman <[email protected]> Authored: Sun Jun 28 16:00:53 2015 -0700 Committer: Benjamin Hindman <[email protected]> Committed: Sun Jun 28 16:03:43 2015 -0700 ---------------------------------------------------------------------- 3rdparty/libprocess/configure.ac | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/1393b151/3rdparty/libprocess/configure.ac ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/configure.ac b/3rdparty/libprocess/configure.ac index 63296ec..c197baf 100644 --- a/3rdparty/libprocess/configure.ac +++ b/3rdparty/libprocess/configure.ac @@ -588,9 +588,6 @@ else optimize_flags="-O0" fi -AM_CONDITIONAL([ENABLE_LIBEVENT], [test x"$enable_libevent" = "xyes"]) - -AM_CONDITIONAL([ENABLE_SSL], [test x"$enable_ssl" = "xyes"]) # Check if libevent prefix path was provided, and if so, add it to # the CPPFLAGS and LDFLAGS with respective /include and /lib path @@ -639,6 +636,9 @@ libevent_pthreads is required for libprocess to build. ])]) fi +AM_CONDITIONAL([ENABLE_LIBEVENT], [test x"$enable_libevent" = "xyes"]) + + # Check if libssl prefix path was provided, and if so, add it to # the CPPFLAGS and LDFLAGS with respective /include and /lib path # suffixes. @@ -697,6 +697,9 @@ libevent_openssl is required for an SSL-enabled build. AC_DEFINE([USE_SSL_SOCKET], [1]) fi +AM_CONDITIONAL([ENABLE_SSL], [test x"$enable_ssl" = "xyes"]) + + AS_IF([test "x${ac_cv_env_CFLAGS_set}" = "x"], [CFLAGS="$debug_flags $optimize_flags"]) AS_IF([test "x${ac_cv_env_CXXFLAGS_set}" = "x"],
