Bastien ROUCARIES
2017-07-25 20:08:57 UTC
Hi,
I forward a message about ax_code_coverage.
I could fix it by a quick and dirty change but I believe the problem
is more general.
The solution is to use ax_am_macros_static that will allow to add some
custom rules.
But it will need to change @CODE_COVERAGE_RULES@ to
to include $(top_srcdir)/aminclude_static.am
What do you think ?
Bastien
---------- Forwarded message ----------
From: Simon Sobisch <***@web.de>
Date: Fri, Jul 14, 2017 at 9:39 AM
Subject: GnuCOBOL needs your help: ax_code_coverage resulting in
non-portable makefile
To: "\"Bastien ROUCARIÈS\"" <***@gmail.com>
Hello Bastien,
we've added the recent version of ax_code_coverage.m4 to GnuCOBOL
(shortly before our planned release) and it works like a charm.
The problem arizes now as we test the release tarball - and it doesn't
even `make` on Solaris any more. The "obvious" problem are the "=?"
included because of the code coverage parts just removing them leads
to more strange errors.
Can you please advise how to remove the code coverage parts during
`make dist`? It would be nice to keep it in and only skip the
offending parts when Solaris' make is invoked but I wouldn't have any
idea how to do this.
Thank you for taking the time to answer,
Simon
I forward a message about ax_code_coverage.
I could fix it by a quick and dirty change but I believe the problem
is more general.
The solution is to use ax_am_macros_static that will allow to add some
custom rules.
But it will need to change @CODE_COVERAGE_RULES@ to
to include $(top_srcdir)/aminclude_static.am
What do you think ?
Bastien
---------- Forwarded message ----------
From: Simon Sobisch <***@web.de>
Date: Fri, Jul 14, 2017 at 9:39 AM
Subject: GnuCOBOL needs your help: ax_code_coverage resulting in
non-portable makefile
To: "\"Bastien ROUCARIÈS\"" <***@gmail.com>
Hello Bastien,
we've added the recent version of ax_code_coverage.m4 to GnuCOBOL
(shortly before our planned release) and it works like a charm.
The problem arizes now as we test the release tarball - and it doesn't
even `make` on Solaris any more. The "obvious" problem are the "=?"
included because of the code coverage parts just removing them leads
to more strange errors.
Can you please advise how to remove the code coverage parts during
`make dist`? It would be nice to keep it in and only skip the
offending parts when Solaris' make is invoked but I wouldn't have any
idea how to do this.
Thank you for taking the time to answer,
Simon