summaryrefslogtreecommitdiff
path: root/m4/ax_cxx_have_bad_function_call.m4
diff options
context:
space:
mode:
authorEnrico M. Crisostomo <enrico.m.crisostomo@gmail.com>2014-09-13 23:32:01 +0200
committerPeter Simons <simons@cryp.to>2014-09-13 23:32:01 +0200
commit3261b61dcc4adfafdbd8209eafd65e522a3ed8ff (patch)
tree0959356dbb2d6ce9056da12c3d7b2fbd52098e8f /m4/ax_cxx_have_bad_function_call.m4
parenta23d623b774cf38b2d132d5b0bcb6b341851f460 (diff)
downloadautoconf-archive-3261b61dcc4adfafdbd8209eafd65e522a3ed8ff.tar.gz
AX_CXX_HAVE_BAD_FUNCTION_CALL: remove dependency on AX_CXX_NAMESPACES
Diffstat (limited to 'm4/ax_cxx_have_bad_function_call.m4')
-rw-r--r--m4/ax_cxx_have_bad_function_call.m48
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/ax_cxx_have_bad_function_call.m4 b/m4/ax_cxx_have_bad_function_call.m4
index 20146ce..17f9308 100644
--- a/m4/ax_cxx_have_bad_function_call.m4
+++ b/m4/ax_cxx_have_bad_function_call.m4
@@ -8,14 +8,12 @@
#
# DESCRIPTION
#
-# This macros checks if std::bad_function_call, added in C++11, is defined
+# This macro checks if std::bad_function_call, added in C++11, is defined
# in the <functional> header.
#
# If it is, define the ax_cv_cxx_have_bad_function_call environment
# variable to "yes" and define HAVE_CXX_BAD_FUNCTION_CALL.
#
-# 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_BAD_FUNCTION_CALL],
[AC_CACHE_CHECK(
[for std::bad_function_call in functional],
ax_cv_cxx_have_bad_function_call,
- [AC_REQUIRE([AX_CXX_NAMESPACES])
+ [dnl
AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[