[dunecontrol,bugfix] Fixes issues with posix sed.
(cherry picked from commit b01c7774929288496e8931bfeea66f8afe505c0d)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[dunecontrol,bugfix] Changes another sed statement.

This was lost in the last commit.
(cherry picked from commit fd8019fb4719356f585d417870a3605b364a0d64)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[dunecontrol,release] Strip definition of NOBLANK as it is not used any more.
(cherry picked from commit 3ab224de2cbdd290b0139fbbc9e08e80b1b34634)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[cmake,release] Remove dead code.
(cherry picked from commit 8db6e0b5394766068d1ccf77d9724e99f74168ab)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[cmake,bugfix] Fixes issues in dependency tracking.

In this patch we rename dune_process_depedency_tree to
dune_process_depedency_macros because it actually just
include the macros of all modules that we depend on.
I addition we fix a bug that resulted in not executing the module's
own macro if there was only one dependency and now always process
it here.
(cherry picked from commit f026e9b1bb41909309a2891d53c3d57cd9d6e93d)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[cmake,bugfix] Mark version with a space if the dependency does not require a version.

If we do not do that the length of the list of modules and corresponding versions
will differ as empty values will be neglected when appending to a list
(cherry picked from commit f26684417dc314a4281d148f748b21fa271de55d)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[cmake,release] Do not pass -DBUILD_SHARED_LIBS:BOOL=OFF by default.

It is the default any way and people might want to change it via an opts-file.
(cherry picked from commit 75e2716be3141cb97e3fca165068d937f9fbd411)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[poolallocator,release] Use a non-static memory pool.

Due to its desgin of using one static memory pool. The allocator
could not be used in different threads at the same time without
side effects. With this revision each instance will hold its own private
instance of the pool.

There should be no issues with this patch and poolallocator seems to be
mostly used in AMG anyway.
(cherry picked from commit f78ce3a8db88ecda77664f6e7bfa480768e2e999)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[cmake,bugfix] Fixes issue with versions of suggestions.

Du to typo the length of the modules and version list of the suggestion
differed. This patch fixes this.
(cherry picked from commit 17d244c12d32a4673e52a97dad476e2fea926a3b)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[dunecontrol,bugfix] Fixes erroring out during multiarch detection.

This patch moves the "set +e" command to the correct location during
detection of the multiarch variable. That is is before any
$CXX --print-multiarch call. Now dunecontrol will not fail for compilers
not supporting it.
(cherry picked from commit 503ec712aa07a3929b7c89cfcbd3437e77437e95)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[CMake][release] Whitespace changes in DuneMacros.cmake.
(cherry picked from commit 65fb91050eb8d556bb7237ff69547875857491dd)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[CMake][release] Fix bug in dependency version checking.

Now <= and >= are correctly treated.
(cherry picked from commit 0d9b46757fc7902337ea4c6f74da73186ec0650d)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[CMake],[release] Fix bug with dependency version handling.

Dependencies in the dune.module without a required version failed.
(cherry picked from commit 63a24c541f023c9af1a5599302334de6f4b8d17c)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[dunecontrol,release] Support multiarch detection with clang

clang does not support -print-multiarch. Therefore we try to
extract the "Target:" line from clang -v.
(cherry picked from commit 2680516f26b08dc64998415c2386e6a7a21803ed)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[release] Prevents unused parameter warnings.
(cherry picked from commit 8483210947d24182739d18b66323b3a116ccbb84)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>
[release,cmake] Support testing of dune-modules in symlinked directories.

Previously running make test if there was a symlink int the path to the module.
This caused make test to fail. This patch fixes this by extracting the
path without symlinks.
(cherry picked from commit 569204ee898cd03b1fb174cdfad7603310dba8f7)

Signed-off-by: Markus Blatt <markus@dr-blatt.de>