]> granicus.if.org Git - strace/commit
Add configure --enable-code-coverage option
authorGabriel Laskar <gabriel@lse.epita.fr>
Mon, 1 Feb 2016 17:15:39 +0000 (18:15 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 4 Feb 2016 03:36:11 +0000 (03:36 +0000)
commitcba67108a095baa4847bb5b171a9c6569ac4b3c7
tree9fff5307cd09e5477dc6f755e4a799ff2af291b9
parent71d3aa0cea8a90d221ffa8b4407adcc1cb954f03
Add configure --enable-code-coverage option

* m4/ax_code_coverage.m4: New file.
* configure.ac: Use AX_CODE_COVERAGE.
* Makefile.am: Add @CODE_COVERAGE_RULES@.
(CODE_COVERAGE_LCOV_OPTIONS, CODE_COVERAGE_GENHTML_OPTIONS,
CODE_COVERAGE_IGNORE_PATTERN): New variables.
(strace_CPPFLAGS): Add $(CODE_COVERAGE_CPPFLAGS).
(strace_CFLAGS): Add $(CODE_COVERAGE_CFLAGS).
(strace_LDADD): Add $(CODE_COVERAGE_LDFLAGS).
* .gitignore: Add *.gcda and *.gcno.

Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
.gitignore
Makefile.am
configure.ac
m4/ax_code_coverage.m4 [new file with mode: 0644]