Fwd: GnuCOBOL needs your help: ax_code_coverage resulting in non-portable makefile
Bastien ROUCARIES <[email protected]> Tue, 25 Jul 2017 22:08:57 +0200
| Newsgroups | gmane.comp.sysutils.autoconf.archive-maintainers |
|---|---|
| Message-ID | <CAE2SPAaACcYg3tvUbBD3KBSsgdqpkWqS_F0G-J=J2wjYmsmDzQ@mail.gmail.com> |
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 <[email protected]> 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\"" <[email protected]> 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