You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mp...@apache.org on 2016/12/08 11:14:41 UTC

[1/3] mesos git commit: Made `configure.ac` default to use brew apr on OS X in stout.

Repository: mesos
Updated Branches:
  refs/heads/master bb6bbaa7f -> 13774a4d4


Made `configure.ac` default to use brew apr on OS X in stout.

This patch brings the treatment of apr on par with the handling of svn
in terms of searching for an available brew installation.

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


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

Branch: refs/heads/master
Commit: 6b6038231e2d65ea2197ce8da268d3134a370997
Parents: bb6bbaa
Author: Michael Park <mp...@apache.org>
Authored: Thu Dec 8 02:02:49 2016 -0800
Committer: Michael Park <mp...@apache.org>
Committed: Thu Dec 8 02:08:07 2016 -0800

----------------------------------------------------------------------
 3rdparty/stout/configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6b603823/3rdparty/stout/configure.ac
----------------------------------------------------------------------
diff --git a/3rdparty/stout/configure.ac b/3rdparty/stout/configure.ac
index f071f61..1f1391b 100644
--- a/3rdparty/stout/configure.ac
+++ b/3rdparty/stout/configure.ac
@@ -241,6 +241,15 @@ on this system (e.g., musl), a separate FTS package must be installed.
 # Miscellaneous checks related to (un)bundled software.
 ###############################################################################
 
+# On OS X, if `--with-apr` was not provided, we try to use an available
+# brew installed version.
+if test -z "`echo $with_apr`" &&
+   test "$OS_NAME" = "darwin" &&
+   test -n "`command -v brew`" &&
+   test -n "`brew list --versions apr`"; then
+  with_apr=`brew --prefix apr`/libexec
+fi
+
 # Check if libapr-1 prefix path was provided, and if so, add it to
 # the CPPFLAGS and LDFLAGS with respective /include/apr-1 and /lib path
 # suffixes. We include /include/apr-1 because we include <apr*>


[3/3] mesos git commit: Made `configure.ac` default to use brew apr on OS X in mesos.

Posted by mp...@apache.org.
Made `configure.ac` default to use brew apr on OS X in mesos.

This patch brings the treatment of apr on par with the handling of svn
in terms of searching for an available brew installation.

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


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

Branch: refs/heads/master
Commit: 13774a4d4e033111f3436627cb343bbaf57f025e
Parents: 492b3c6
Author: Michael Park <mp...@apache.org>
Authored: Thu Dec 8 02:04:07 2016 -0800
Committer: Michael Park <mp...@apache.org>
Committed: Thu Dec 8 02:08:58 2016 -0800

----------------------------------------------------------------------
 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/13774a4d/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 5fb2eff..7a18c89 100644
--- a/configure.ac
+++ b/configure.ac
@@ -680,6 +680,15 @@ on this system (e.g., musl), a separate FTS package must be installed.
 # (--disable-bundled).
 
 
+# On OS X, if `--with-apr` was not provided, we try to use an available
+# brew installed version.
+if test -z "`echo $with_apr`" &&
+   test "$OS_NAME" = "darwin" &&
+   test -n "`command -v brew`" &&
+   test -n "`brew list --versions apr`"; then
+  with_apr=`brew --prefix apr`/libexec
+fi
+
 # Check if libapr-1 prefix path was provided, and if so, add it to
 # the CPPFLAGS and LDFLAGS with respective /include/apr-1 and /lib path
 # suffixes. We include /include/apr-1 because we include <apr*>


[2/3] mesos git commit: Made `configure.ac` default to use brew apr on OS X in libprocess.

Posted by mp...@apache.org.
Made `configure.ac` default to use brew apr on OS X in libprocess.

This patch brings the treatment of apr on par with the handling of svn
in terms of searching for an available brew installation.

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


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

Branch: refs/heads/master
Commit: 492b3c6b644b94db2e9e007fd518a833c52da328
Parents: 6b60382
Author: Michael Park <mp...@apache.org>
Authored: Thu Dec 8 02:03:42 2016 -0800
Committer: Michael Park <mp...@apache.org>
Committed: Thu Dec 8 02:08:44 2016 -0800

----------------------------------------------------------------------
 3rdparty/libprocess/configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/492b3c6b/3rdparty/libprocess/configure.ac
----------------------------------------------------------------------
diff --git a/3rdparty/libprocess/configure.ac b/3rdparty/libprocess/configure.ac
index e65e5ca..92b2091 100644
--- a/3rdparty/libprocess/configure.ac
+++ b/3rdparty/libprocess/configure.ac
@@ -424,6 +424,15 @@ on this system (e.g., musl), a separate FTS package must be installed.
 # Miscellaneous checks related to (un)bundled software.
 ###############################################################################
 
+# On OS X, if `--with-apr` was not provided, we try to use an available
+# brew installed version.
+if test -z "`echo $with_apr`" &&
+   test "$OS_NAME" = "darwin" &&
+   test -n "`command -v brew`" &&
+   test -n "`brew list --versions apr`"; then
+  with_apr=`brew --prefix apr`/libexec
+fi
+
 # Check if libapr-1 prefix path was provided, and if so, add it to
 # the CPPFLAGS and LDFLAGS with respective /include/apr-1 and /lib path
 # suffixes. We include /include/apr-1 because we include <apr*>