Skip to content

Adapt to API change in AX_CODE_COVERAGE version 28

Simon McVittie requested to merge smcv/dbus:1-12-code-coverage into dbus-1.12

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 2938c212) Closes: #265 (closed)


Backport of !88 (merged) to dbus-1.12.

/cc @pwithnall @rhabacker

Merge request reports