From 2a4965d90756f8d1a85e4c85bceb186fe4faf569 Mon Sep 17 00:00:00 2001 From: Christian Engwer <christi@dune-project.org> Date: Wed, 2 Apr 2014 19:08:54 +0200 Subject: [PATCH] [m4] remove AH_BOTTOM statements from m4 files --- m4/cxx11_final.m4 | 2 -- m4/dune_deprecated.m4 | 6 ++---- m4/dune_unused.m4 | 2 -- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/m4/cxx11_final.m4 b/m4/cxx11_final.m4 index 4f11f3588..ec6a7f592 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 ff1961672..17deefa7e 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 352ba3071..23f50113b 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>]) ]) -- GitLab