Repository: mesos Updated Branches: refs/heads/master 707bf3b1d -> 18d3957f2
Fix protobuf detection on systems with Python 3 as default MESOS-1774 Review: https://reviews.apache.org/r/25439 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/18d3957f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/18d3957f Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/18d3957f Branch: refs/heads/master Commit: 18d3957f2742aa83e9a73a4c6ee09cb5419487f3 Parents: 707bf3b Author: Kamil Doma?ski <[email protected]> Authored: Mon Sep 8 12:10:27 2014 -0500 Committer: Timothy St. Clair <[email protected]> Committed: Mon Sep 8 12:10:27 2014 -0500 ---------------------------------------------------------------------- m4/ac_python_module.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/18d3957f/m4/ac_python_module.m4 ---------------------------------------------------------------------- diff --git a/m4/ac_python_module.m4 b/m4/ac_python_module.m4 index 5cb56ab..8360b65 100644 --- a/m4/ac_python_module.m4 +++ b/m4/ac_python_module.m4 @@ -1,17 +1,17 @@ dnl @synopsis AC_PYTHON_MODULE(modname[, fatal]) dnl -dnl Checks for Python module. +dnl Checks for Python 2 module. dnl dnl If fatal is non-empty then absence of a module will trigger an dnl error. dnl dnl @category InstalledPackages dnl @author Andrew Collier <[email protected]>. -dnl @version 2004-07-14 +dnl @version 2014-09-08 dnl @license AllPermissive AC_DEFUN([AC_PYTHON_MODULE],[ - AC_MSG_CHECKING(python module: $1) + AC_MSG_CHECKING(python2 module: $1) python -c "import $1" 2>/dev/null if test $? -eq 0; then
