You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bc...@apache.org on 2014/08/19 19:17:21 UTC

git commit: TS-2095: autoconf warnings related to unordered_map

Repository: trafficserver
Updated Branches:
  refs/heads/master db3de1894 -> 957e60b91


TS-2095: autoconf warnings related to unordered_map


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/957e60b9
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/957e60b9
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/957e60b9

Branch: refs/heads/master
Commit: 957e60b917bd80ce9ae1de3fdc7e47afaa8cfc08
Parents: db3de18
Author: Bryan Call <bc...@apache.org>
Authored: Tue Aug 19 10:16:46 2014 -0700
Committer: Bryan Call <bc...@apache.org>
Committed: Tue Aug 19 10:16:46 2014 -0700

----------------------------------------------------------------------
 CHANGES      | 2 ++
 configure.ac | 3 +++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/957e60b9/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 2ecd621..ab1a119 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
                                                          -*- coding: utf-8 -*-
 Changes with Apache Traffic Server 5.1.0
 
+  *) [TS-2095] autoconf warnings related to unordered_map
+
   *) [TS-2902] Allow POST requests without a Content-Length header
 
   *) [TS-2423] Add option for server sessions that use auth headers that can

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/957e60b9/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index ef3a882..c331f3b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -582,6 +582,9 @@ AX_CXX_COMPILE_STDCXX_11( [noext], [enable_cxx_11_support=yes], [
 AM_CONDITIONAL([BUILD_HAVE_CXX_11], [ test "x${enable_cxx_11_support}" = "xyes" ])
 if test "x${enable_cxx_11_support}" = "xyes" ; then
   AC_DEFINE(HAVE_CXX_11, 1, [Whether the compiler support C++11])
+  if test "x$ax_cv_c_compiler_vendor" = "xgnu"; then
+    TS_ADDTO(CPPFLAGS, [-std=c++11])
+  fi
 fi
 
 # While we are in C++ mode, check for the GNU hash_map extension.