You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by kl...@apache.org on 2018/06/15 13:22:53 UTC

mesos git commit: Broadened check for Autotools Python environment variables.

Repository: mesos
Updated Branches:
  refs/heads/master d6de4b0db -> 3bf6eb7c8


Broadened check for Autotools Python environment variables.

The checks now also apply if we run configure with disabled Python
bindings but enabled new CLI. Another check regarding the Python
version has been kept separated as we will use different Python
versions for both components in a later commit.

Review: https://reviews.apache.org/r/67411/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3bf6eb7c
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3bf6eb7c
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3bf6eb7c

Branch: refs/heads/master
Commit: 3bf6eb7c88b7ea365c27fae2623322876ed2af45
Parents: d6de4b0
Author: Armand Grillet <ag...@mesosphere.io>
Authored: Fri Jun 15 15:17:09 2018 +0200
Committer: Kevin Klues <kl...@gmail.com>
Committed: Fri Jun 15 15:22:21 2018 +0200

----------------------------------------------------------------------
 configure.ac | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/3bf6eb7c/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index f5a9d5b..7d4c1ca 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2253,7 +2253,8 @@ LIBS="$saved_LIBS"
 # LDFLAGS, ...) beyond this line.
 
 # Perform necessary configuration for building with Python.
-if test "x$enable_python" = "xyes"; then
+if test "x$enable_python" = "xyes" || \
+   test "x$enable_new_cli" = "xyes"; then
   # If the user specified PYTHON_VERSION then assume that is the
   # Python that they want and construct PYTHON using the canonical
   # name (failing if PYTHON is also set since we can't easily check
@@ -2272,7 +2273,9 @@ if test "x$enable_python" = "xyes"; then
     fi
     PYTHON=python$PYTHON_VERSION
   fi
+fi
 
+if test "x$enable_python" = "xyes"; then
   # Check if PYTHON is at least 2.6 or try and find one that is if
   # PYTHON is not set (necessary to run our examples).
   AM_PATH_PYTHON([2.6],,