summaryrefslogtreecommitdiff
path: root/m4/ax_cxx_have_reference_wrapper.m4
diff options
context:
space:
mode:
authorEnrico M. Crisostomo <enrico.m.crisostomo@gmail.com>2014-09-13 23:23:17 +0200
committerPeter Simons <simons@cryp.to>2014-09-13 23:23:17 +0200
commit07e60dea901eee40357e390c081608479885b9a2 (patch)
treebcdb719ea21f6965ce3746d61f22f2b0c7c8501b /m4/ax_cxx_have_reference_wrapper.m4
parent633f56f0bdc0043bdb8047e3e580ee18c593bdc2 (diff)
downloadautoconf-archive-07e60dea901eee40357e390c081608479885b9a2.tar.gz
AX_CXX_HAVE_REFERENCE_WRAPPER: remove dependency on AX_CXX_NAMESPACES
Diffstat (limited to 'm4/ax_cxx_have_reference_wrapper.m4')
-rw-r--r--m4/ax_cxx_have_reference_wrapper.m48
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/ax_cxx_have_reference_wrapper.m4 b/m4/ax_cxx_have_reference_wrapper.m4
index 6087830..d54eaff 100644
--- a/m4/ax_cxx_have_reference_wrapper.m4
+++ b/m4/ax_cxx_have_reference_wrapper.m4
@@ -8,14 +8,12 @@
#
# DESCRIPTION
#
-# This macros checks if std::reference_wrapper, added in C++11, is defined
+# This macro checks if std::reference_wrapper, added in C++11, is defined
# in the <functional> header.
#
# If it is, define the ax_cv_cxx_have_reference_wrapper environment
# variable to "yes" and define HAVE_CXX_REFERENCE_WRAPPER.
#
-# NOTE: This macros depends on AX_CXX_NAMESPACES.
-#
# LICENSE
#
# Copyright (c) 2014 Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com>
@@ -25,13 +23,13 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 1
+#serial 2
AC_DEFUN([AX_CXX_HAVE_REFERENCE_WRAPPER],
[AC_CACHE_CHECK(
[for std::reference_wrapper in functional],
ax_cv_cxx_have_reference_wrapper,
- [AC_REQUIRE([AX_CXX_NAMESPACES])
+ [dnl
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[