Skip to content
Snippets Groups Projects
Commit 2a4965d9 authored by Christian Engwer's avatar Christian Engwer
Browse files

[m4] remove AH_BOTTOM statements from m4 files

parent f5d2912a
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,4 @@ AC_DEFUN([DUNE_CHECKFINAL],[ ...@@ -19,6 +19,4 @@ AC_DEFUN([DUNE_CHECKFINAL],[
[AC_DEFINE_UNQUOTED(HAVE_KEYWORD_FINAL, [AC_DEFINE_UNQUOTED(HAVE_KEYWORD_FINAL,
1, 1,
[does the compiler support the keyword 'final'?])],) [does the compiler support the keyword 'final'?])],)
AH_BOTTOM([#include <dune/common/std/final.hh>])
]) ])
...@@ -22,7 +22,7 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[ ...@@ -22,7 +22,7 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[
AC_LANG_POP([C++]) AC_LANG_POP([C++])
]) ])
AC_CACHE_CHECK([for __attribute__((deprecated("message")))], AC_CACHE_CHECK([for __attribute__((deprecated("message")))],
dune_cv_attribute_deprecated_message, [ dune_cv_attribute_deprecated_message, [
AC_LANG_PUSH([C++]) AC_LANG_PUSH([C++])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
...@@ -41,7 +41,7 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[ ...@@ -41,7 +41,7 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[
dune_cv_attribute_deprecated_message="no") dune_cv_attribute_deprecated_message="no")
AC_LANG_POP([C++]) AC_LANG_POP([C++])
]) ])
if test "$dune_cv_attribute_deprecated" = "yes"; then if test "$dune_cv_attribute_deprecated" = "yes"; then
AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_DEPRECATED, 1, AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_DEPRECATED, 1,
[does the compiler support __attribute__((deprecated))?]) [does the compiler support __attribute__((deprecated))?])
...@@ -51,6 +51,4 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[ ...@@ -51,6 +51,4 @@ AC_DEFUN([DUNE_CHECKDEPRECATED],[
AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_DEPRECATED_MSG, 1, AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_DEPRECATED_MSG, 1,
[does the compiler support __attribute__((deprecated("message"))?]) [does the compiler support __attribute__((deprecated("message"))?])
fi fi
AH_BOTTOM([#include <dune/common/deprecated.hh>])
]) ])
...@@ -20,6 +20,4 @@ AC_DEFUN([DUNE_CHECKUNUSED],[ ...@@ -20,6 +20,4 @@ AC_DEFUN([DUNE_CHECKUNUSED],[
[AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_UNUSED, [AC_DEFINE_UNQUOTED(HAS_ATTRIBUTE_UNUSED,
1, 1,
[does the compiler support __attribute__((unused))?])],) [does the compiler support __attribute__((unused))?])],)
AH_BOTTOM([#include <dune/common/unused.hh>])
]) ])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment