aboutsummaryrefslogtreecommitdiffhomepage
path: root/m4
diff options
context:
space:
mode:
authorGravatar Peter Newman <peternewman@users.noreply.github.com>2016-01-09 13:38:42 +0000
committerGravatar Peter Newman <peternewman@users.noreply.github.com>2016-01-09 13:38:42 +0000
commit4af1cc7445ddc72785e7df5bf0a208940f2b2d9c (patch)
treede2dae9ec470c67faa00e6e4856f9a813dbeb0a6 /m4
parent1808e8a479e53ad48832cf409f8b1d96694a75cb (diff)
Revert the change and remove an incorrect comment
Diffstat (limited to 'm4')
-rw-r--r--m4/stl_hash.m46
1 files changed, 1 insertions, 5 deletions
diff --git a/m4/stl_hash.m4 b/m4/stl_hash.m4
index dd77caab..d7def1af 100644
--- a/m4/stl_hash.m4
+++ b/m4/stl_hash.m4
@@ -4,8 +4,7 @@
# include AC_TRY_COMPILE for all the combinations we've seen in the
# wild. We define HASH_MAP_H to the location of the header file, and
# HASH_NAMESPACE to the namespace the class (unordered_map or
-# hash_map) is in. We define HAVE_UNORDERED_MAP if the class we found
-# is named unordered_map, or leave it undefined if not.
+# hash_map) is in.
# This also checks if unordered map exists.
AC_DEFUN([AC_CXX_STL_HASH],
@@ -53,9 +52,6 @@ AC_DEFUN([AC_CXX_STL_HASH],
if test -n "$ac_cv_cxx_hash_map"; then
AC_DEFINE(HAVE_HASH_MAP, 1, [define if the compiler has hash_map])
AC_DEFINE(HAVE_HASH_SET, 1, [define if the compiler has hash_set])
- if test "$ac_cv_cxx_hash_map_class" = "unordered_map"; then
- AC_DEFINE(HAVE_UNORDERED_MAP, 1, [define if the hash_map class is unordered_map])
- fi
AC_DEFINE_UNQUOTED(HASH_MAP_H,$ac_cv_cxx_hash_map,
[the location of <unordered_map> or <hash_map>])
AC_DEFINE_UNQUOTED(HASH_SET_H,$ac_cv_cxx_hash_set,