From e8f751c3e319b1f829cb5e6d6a24cdc5e3dfd226 Mon Sep 17 00:00:00 2001
From: Christian Engwer <christi@dune-project.org>
Date: Fri, 4 Jul 2008 16:22:21 +0000
Subject: [PATCH] don't use DUNE_CHECK_ALL_M any more.

DUNE_CHECK_ALL_M is deprecated. All functionality is covered
by DUNE_CHECK_ALL except two macros:
* DUNE_SYMLINK which should be called _if_ you have to do
	the symlink trick. It is not necessary for a module to
	provide this link. Actually it would be cleaner if you adjust
	your directory structure to module/dune/foo
* DUNE_AUTOBUILD_FLAGS which adds configure flags
	needed to create log files for dune-autobuild. Thus it is
	only needed if this module should be used in the
	dune-autobuild setup.



[[Imported from SVN: r5238]]
---
 configure.ac | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/configure.ac b/configure.ac
index 581059b32..617c29573 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,22 +7,16 @@ AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([common/stdstreams.cc])
 AM_CONFIG_HEADER([config.h])
 
-# check all dune-module stuff
-DUNE_CHECK_ALL_M
+# create symlink dune -> $top_srcdir
+DUNE_SYMLINK
+# add configure flags needed to create log files for dune-autobuild
+DUNE_AUTOBUILD_FLAGS
+# check all dune dependecies an prerequisits
+DUNE_CHECK_ALL
 
 # preset variable to path such that #include <dune/...> works
 AC_SUBST([DUNE_COMMON_ROOT], '$(top_builddir)')
 AC_SUBST([AM_CPPFLAGS], '-I$(top_srcdir)')
-AC_SUBST([LOCAL_LIBS], '$(top_builddir)/common/libcommon.la')
-
-DUNE_SUMMARY_ALL
-
-echo
-echo Note: Most of the libraries checked for above are only used for the self-test
-echo of Dune.  The library itself will build and the headers will work even if
-echo ALBERTA, MPI, etc. cannot be found.  An exception to this are UG and AmiraMesh
-echo which need to be found right now if you want to use them later.
-echo
 
 # write output
 AC_CONFIG_FILES([Makefile
@@ -44,5 +38,16 @@ AC_CONFIG_FILES([Makefile
      dune-common.pc])
 AC_OUTPUT
 
+# make scripts executable
 chmod +x bin/wmlwrap
 chmod +x bin/check-log-store
+
+# print results
+DUNE_SUMMARY_ALL
+
+echo
+echo Note: Most of the libraries checked for above are only used for the self-test
+echo of Dune.  The library itself will build and the headers will work even if
+echo ALBERTA, MPI, etc. cannot be found.  An exception to this are UG and AmiraMesh
+echo which need to be found right now if you want to use them later.
+echo
-- 
GitLab