diff options
author | Enrico M. Crisostomo <enrico.m.crisostomo@gmail.com> | 2014-09-14 00:03:24 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-09-14 00:03:24 +0200 |
commit | 2d37ad3d2d3863f2b080ab6a537c73e52bfc5555 (patch) | |
tree | 31e9f15071a9a701ed30304120fb213bbc18679b /m4/ax_cxx_have_is_placeholder.m4 | |
parent | 65614bbb404e7a9772c3f5ed70b0f9eee1c070bd (diff) | |
download | autoconf-archive-2d37ad3d2d3863f2b080ab6a537c73e52bfc5555.tar.gz |
AX_CXX_HAVE_IS_PLACEHOLDER: remove dependency on AX_CXX_NAMESPACES
Diffstat (limited to 'm4/ax_cxx_have_is_placeholder.m4')
-rw-r--r-- | m4/ax_cxx_have_is_placeholder.m4 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/ax_cxx_have_is_placeholder.m4 b/m4/ax_cxx_have_is_placeholder.m4 index 7eb3c2a..13be9fa 100644 --- a/m4/ax_cxx_have_is_placeholder.m4 +++ b/m4/ax_cxx_have_is_placeholder.m4 @@ -8,14 +8,12 @@ # # DESCRIPTION # -# This macros checks if std::is_placeholder, added in C++11, is defined in +# This macro checks if std::is_placeholder, added in C++11, is defined in # the <functional> header. # # If it is, define the ax_cv_cxx_have_is_placeholder environment variable # to "yes" and define HAVE_CXX_IS_PLACEHOLDER. # -# 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_IS_PLACEHOLDER], [AC_CACHE_CHECK( [for std::is_placeholder in functional], ax_cv_cxx_have_is_placeholder, - [AC_REQUIRE([AX_CXX_NAMESPACES]) + [dnl AC_LANG_PUSH([C++]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM( [ |