Commit a32aac32 authored by Christoph Grueninger's avatar Christoph Grueninger
Browse files

[autotools] Deprecation support for Autotools.

Use CMake instead, use Dune 2.4 whenever possible.
(reviewed by bernd, approved by release manager becker)

git-svn-id: svn:// 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 656566a7
......@@ -38,6 +38,12 @@ Differences Between DuMuX 2.6 and DuMuX 2.7
printing only the first deviation from the reference solution, it now
prints the maximum deviation in each field/variable.
* DEPRECATED BUILD SYSTEM: DuMuX 2.7 will be the last release which can be built
with the Autotools based build system. It is deprecated and will be removed
for DuMuX 2.8. We encourage the change towards CMake, especially with the
upcoming DUNE 2.4.
The warning can be suppressed with --disable-dumux-deprecated-autotools
* IMMEDIATE INTERFACE CHANGES not allowing/requiring a deprecation period:
- Before, the "heatCapacity" function in the spatial parameters and volume
variables of the implicit nonisothermal models was a misnomer, since it
......@@ -7,6 +7,7 @@ M4FILES = \
ac_prog_pdflatex.m4 \
cxx0x_constexpr.m4 \
dumux.m4 \
dumux_deprecated_autotools.m4 \
aclocaldir = $(datadir)/aclocal
......@@ -26,6 +26,8 @@ AC_DEFUN([DUMUX_CHECKS],
if test "x$HAVE_CONSTEXPR" != "xyes"; then
AC_DEFINE(constexpr, const, ['set 'constexpr' to 'const' if constexpr is not supported])
# checks only relevant for the dumux module itself but not for modules
dnl This macro introduces a configure flag --disable-dumux-deprecated-autotools
dnl to suppress the deprecration warning that Autotools will be removed in 2.8
AS_HELP_STRING([--disable-dumux-deprecated-autotools],[Suppresses DuMuX' warning about deprecated Autotools support.]))
AS_IF([test "x$enable_dumux_deprecated_autotools" != "xno"],
AC_DEFINE(ENABLE_DUMUX_DEPRECATED_AUTOTOOLS, 1, [Warn about deprecated Autotools support]))
#warning Support for Autotools in DuMuX is deprecated and will be removed after 2.7.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment