diff options
author | Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com> | 2014-09-13 23:32:01 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-09-13 23:32:01 +0200 |
commit | 3261b61dcc4adfafdbd8209eafd65e522a3ed8ff (patch) | |
tree | 0959356dbb2d6ce9056da12c3d7b2fbd52098e8f /m4/ax_cxx_have_bad_function_call.m4 | |
parent | a23d623b774cf38b2d132d5b0bcb6b341851f460 (diff) | |
download | autoconf-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.m4 | 8 |
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( [ |