Repository: mesos Updated Branches: refs/heads/master b31358569 -> 349884a91
Added check for availability of the patch command in configure.ac. Review: https://reviews.apache.org/r/33266 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/349884a9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/349884a9 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/349884a9 Branch: refs/heads/master Commit: 349884a9159c6dc62d82a9ddd6e0dca11df2e287 Parents: b313585 Author: haosdent huang <[email protected]> Authored: Mon Apr 27 01:55:02 2015 +0200 Committer: Till Toenshoff <[email protected]> Committed: Mon Apr 27 01:55:02 2015 +0200 ---------------------------------------------------------------------- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/349884a9/configure.ac ---------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index d987b35..589ae97 100644 --- a/configure.ac +++ b/configure.ac @@ -663,6 +663,11 @@ if test -n "`echo $with_zlib`" ; then LDFLAGS="-L${with_zlib}/lib $LDFLAGS" fi +AC_CHECK_TOOL([PATCHCOMMAND_TEST], [patch], [], [$PATH]) +if test -z "`echo $PATCHCOMMAND_TEST`"; then + AC_MSG_ERROR([patch command not found in PATH]) +fi + AC_CHECK_LIB([z], [gzread], [], [AC_MSG_ERROR([cannot find libz
