diff --git a/m4/cxx11_final.m4 b/m4/cxx11_final.m4 index 4f11f358851009a0377f442ed69476bce0d10a1e..ec6a7f5922f37ca49b444dda9d3f5a37f9b334bc 100644 --- a/m4/cxx11_final.m4 +++ b/m4/cxx11_final.m4 @@ -19,6 +19,4 @@ AC_DEFUN([DUNE_CHECKFINAL],[ [AC_DEFINE_UNQUOTED(HAVE_KEYWORD_FINAL, 1, [does the compiler support the keyword 'final'?])],) - - AH_BOTTOM([#include <dune/common/std/final.hh>]) ]) diff --git a/m4/dune_deprecated.m4 b/m4/dune_deprecated.m4 index ff196167297f4328ff590397896826f0d6055bd5..17deefa7e7fe5d88e839ce308e59d87a1d856f2a 100644 --- a/m4/dune_deprecated.m4 +++ b/m4/dune_deprecated.m4 @@ -22,7 +22,7 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[ AC_LANG_POP([C++]) ]) - AC_CACHE_CHECK([for __attribute__((deprecated("message")))], + AC_CACHE_CHECK([for __attribute__((deprecated("message")))], dune_cv_attribute_deprecated_message, [ AC_LANG_PUSH([C++]) AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ @@ -41,7 +41,7 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[ dune_cv_attribute_deprecated_message="no") AC_LANG_POP([C++]) ]) - + if test "$dune_cv_attribute_deprecated" = "yes"; then AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_DEPRECATED, 1, [does the compiler support __attribute__((deprecated))?]) @@ -51,6 +51,4 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[ AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_DEPRECATED_MSG, 1, [does the compiler support __attribute__((deprecated("message"))?]) fi - - AH_BOTTOM([#include <dune/common/deprecated.hh>]) ]) diff --git a/m4/dune_unused.m4 b/m4/dune_unused.m4 index 352ba307121bed07d6b7e452fc59c52191cf11c6..23f50113ba2cdd00548644747ccccd7634723b37 100644 --- a/m4/dune_unused.m4 +++ b/m4/dune_unused.m4 @@ -20,6 +20,4 @@ AC_DEFUN([DUNE_CHECKUNUSED],[ [AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_UNUSED, 1, [does the compiler support __attribute__((unused))?])],) - - AH_BOTTOM([#include <dune/common/unused.hh>]) ])