Welcome to the Bug Tracking System for the DUNE project.
Due to increasing spam attacks, we had to disable the feature of anonymous bug reports. You will have to register before you are able to report a new bug.
In case you experience any problems, let us know at http://www.dune-project.org/mailinglists.html .
Due to increasing spam attacks, we had to disable the feature of anonymous bug reports. You will have to register before you are able to report a new bug.
In case you experience any problems, let us know at http://www.dune-project.org/mailinglists.html .
FS#230 - configure should support 'private' modules
Attached to Project:
Dune
Opened by Christian Engwer (christi) - Thursday, 04 January 2007, 20:53 GMT+2
Last edited by Christian Engwer (christi) - Thursday, 08 April 2010, 22:30 GMT+2
Opened by Christian Engwer (christi) - Thursday, 04 January 2007, 20:53 GMT+2
Last edited by Christian Engwer (christi) - Thursday, 08 April 2010, 22:30 GMT+2
|
DetailsIn order to test for a module during configure, this module must be mentioned in dune-common/m4/dune.m4.
This will not hold for long. When the fist 'private' modules occure this must be changed. Necessary steps: 1) generate full dependencies during autoconf 2) read direct dependencies and from dune.module file 3) allow per module m4-files 4) update autogen.sh 5) update duneproject |
This task depends upon
FS#339 - can't invoke dunecontrol from dunecontrol
FS#340 - reduce code duplication for autogen and configure
FS#389 - automake fails for dune-istl (no am/doxygen.m4)
FS#398 - update duneproject to the latest buildsystem version
View Dependency Graph
View Dependency Graph
Closed by Christian Engwer (christi)
Thursday, 08 April 2010, 22:30 GMT+2
Reason for closing: Implemented
Thursday, 08 April 2010, 22:30 GMT+2
Reason for closing: Implemented
In all make files there is
pkgdatadir = $(datadir)/dune_mod_name
pkglibdir = $(libdir)/dune_mod_name
pkgincludedir = $(includedir)/dune_mod_name
During our discussion on the developer meeting I suggested to dynamically create one dune.m4 and the use this m4 to create configure and so one. This could help avoid problems with unresolved m4 dependencies. Right now this does not work, because the dependencies are determined dynamically and therefore some files might not be included into aclocal.m4 .
We could create m4 files during autogen which contain the results currently obtained from all the m4-dune.module-parsing stuff.
Find a suggested patch attached.
Please comment on this!
see http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_83.html
Each module could now define new @FOOBAR@ substitutions, referring to a files MODULE_ROOT/am/foobar.am
We could even provide an m4-command which defines these substitutions.
What works is:
AC_SUBST_FILE get's executed before the other substitutions, that means that we can still use @FOO@ substitution variables in these snipplets.
What does not work is:
All automake magic (if and include) do not work.
- include is not such a big deal, as we can use the substitutions instead
- if can be evaluated by a sed script. We would have to write an am/foo.ax file and transform this to am/foo using the sed script.
Any other ideas?