#1185 dune-autogen searches for m4 macros in all available dune-modules
Metadata
Property | Value |
---|---|
Reported by | Markus Blatt (markus@dr-blatt.de) |
Reported at | Oct 2, 2012 13:15 |
Type | Bug Report |
Version | 2.2 |
Operating System | Unspecified / All |
Last edited by | Oliver Sander (oliver.sander@tu-dresden.de) |
Last edited at | Oct 4, 2012 10:03 |
Description
Currently, the m4 directories of all modules found are provided to aclocal as include paths. Dependencies on other modules are not taken into account. The order of the include paths seems arbitrary.
Imagine we have module dune-x depending on dune-common and dune-istl. Additionally there are dune-module1 and dune-module2 in the DUNE_MODULE_PATH. Then the include path might look like this:
-I dune-module2/m4 -I dune-common/m4 -I dune-x/m4 -I dune-istl/m4 -I dune-module1/m4
There seems to be no logical way to figure out the inclusion order. Therefore it is not clear how to overwrite m4-macros or what will take precedence.