Add GTEST_LANG_CXX11 to configure.ac when compile. Review: https://reviews.apache.org/r/37162
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9320f18d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9320f18d Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/9320f18d Branch: refs/heads/master Commit: 9320f18da2adfb40a8771a96b62e1f21d6cc8ee7 Parents: a8970ce Author: haosdent huang <[email protected]> Authored: Fri Aug 7 02:24:46 2015 -0700 Committer: Michael Park <[email protected]> Committed: Fri Aug 7 02:24:46 2015 -0700 ---------------------------------------------------------------------- LICENSE | 2 +- configure.ac | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/9320f18d/LICENSE ---------------------------------------------------------------------- diff --git a/LICENSE b/LICENSE index 8757c20..d9da27d 100644 --- a/LICENSE +++ b/LICENSE @@ -365,7 +365,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ====================================================================== -For gmock-1.6.0 (3rdparty/libprocess/3rdparty/gmock-1.6.0.tar.gz): +For gmock-1.7.0 (3rdparty/libprocess/3rdparty/gmock-1.7.0.tar.gz): ====================================================================== Copyright 2008, Google Inc. http://git-wip-us.apache.org/repos/asf/mesos/blob/9320f18d/configure.ac ---------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index 230e90d..0794279 100644 --- a/configure.ac +++ b/configure.ac @@ -656,9 +656,7 @@ case "$host_os" in fi # GTEST on OSX needs its own tr1 tuple. - # TODO(dhamon): Update to gmock 1.7 and pass GTEST_LANG_CXX11 when - # in C++11 mode. - CXXFLAGS="$CXXFLAGS -DGTEST_USE_OWN_TR1_TUPLE=1" + CXXFLAGS="$CXXFLAGS -DGTEST_USE_OWN_TR1_TUPLE=1 -DGTEST_LANG_CXX11" ;; esac
