Adapt to API change in AX_CODE_COVERAGE version 28
authorSimon McVittie <smcv@collabora.com>
Mon, 21 Jan 2019 17:51:07 +0000 (17:51 +0000)
committerSimon McVittie <smcv@collabora.com>
Wed, 17 Apr 2019 09:19:57 +0000 (10:19 +0100)
commitd9ef0226e2ff346f80c0c8ba1a0fec19c553b458
tree8cb2f854a945b2a8f4344a6b9a5c6e8babbc2796
parent6ef67cff6ba26645f9cbe23ffb401f3d49a66429
Adapt to API change in AX_CODE_COVERAGE version 28

AX_CODE_COVERAGE recently changed the way it embedded its Makefile rules
in the output file: instead of using @CODE_COVERAGE_RULES@, users
are now meant to include aminclude_static.am.

The new AX_CODE_COVERAGE is only in the latest autoconf-archive release,
version 2019.01.06, which is inconveniently new, so bundle everything
we need for the moment.

This requires us to stop using the deprecated CODE_COVERAGE_LDFLAGS
(which we still used to support older versions of autoconf-archive)
and replace them with CODE_COVERAGE_LIBS.

Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit 2938c2125ebcd001e470aeac1ffac45b6b1ebe89)
Closes: dbus#265
.gitignore
Makefile.am
bus/Makefile.am
dbus/Makefile.am
m4/ax_ac_append_to_file.m4 [new file with mode: 0644]
m4/ax_ac_print_to_file.m4 [new file with mode: 0644]
m4/ax_add_am_macro_static.m4 [new file with mode: 0644]
m4/ax_am_macros_static.m4 [new file with mode: 0644]
m4/ax_code_coverage.m4 [new file with mode: 0644]
m4/ax_file_escapes.m4 [new file with mode: 0644]
test/Makefile.am