• Simon McVittie's avatar
    Adapt to API change in AX_CODE_COVERAGE version 28 · 2938c212
    Simon McVittie authored
    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's avatarSimon McVittie <smcv@collabora.com>