summaryrefslogtreecommitdiff
path: root/m4/ax_cxx_header_unordered_map.m4
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2009-08-10 20:11:11 +0100
committerReuben Thomas <rrt@sc3d.org>2009-08-10 20:11:11 +0100
commitc6c19a2edcc7f206a1cfdf6d91e3d584f7705b9f (patch)
tree90269678bc2a42a9492c62e07dbe08ecc10835a3 /m4/ax_cxx_header_unordered_map.m4
parent386747c45473a6f4b7ca32a787c316d205705586 (diff)
downloadautoconf-archive-c6c19a2edcc7f206a1cfdf6d91e3d584f7705b9f.tar.gz
More renamings missed previously.
Diffstat (limited to 'm4/ax_cxx_header_unordered_map.m4')
-rw-r--r--m4/ax_cxx_header_unordered_map.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ax_cxx_header_unordered_map.m4 b/m4/ax_cxx_header_unordered_map.m4
index 0b5dc4c..27d7625 100644
--- a/m4/ax_cxx_header_unordered_map.m4
+++ b/m4/ax_cxx_header_unordered_map.m4
@@ -21,18 +21,18 @@
AC_DEFUN([AX_CXX_HEADER_UNORDERED_MAP], [
AC_CACHE_CHECK(for unordered_map,
- ac_cv_cxx_unordered_map,
+ ax_cv_cxx_unordered_map,
[AC_REQUIRE([AC_COMPILE_STDCXX_0X])
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS -std=gnu++0x"
AC_TRY_COMPILE([#include <unordered_map>], [using std::unordered_map;],
- ac_cv_cxx_unordered_map=yes, ac_cv_cxx_unordered_map=no)
+ ax_cv_cxx_unordered_map=yes, ax_cv_cxx_unordered_map=no)
CXXFLAGS="$ac_save_CXXFLAGS"
AC_LANG_RESTORE
])
- if test "$ac_cv_cxx_unordered_map" = yes; then
+ if test "$ax_cv_cxx_unordered_map" = yes; then
AC_DEFINE(HAVE_UNORDERED_MAP,,[Define if unordered_map is present. ])
fi
])