From ac670b2b4c8336c6d2d67322d928ec6b6c576be6 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Tue, 12 Apr 2016 14:21:04 +0200 Subject: configure: Add a code coverage option Configure with: ./configure --enable-code-coverage Show coverage output with: make && make check && make code-coverage-capture --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index ca8a18924d..29879e1163 100644 --- a/configure.ac +++ b/configure.ac @@ -46,6 +46,8 @@ AM_PROG_CC_C_O AC_PROG_YACC AC_PROG_SED +AX_CODE_COVERAGE + AC_ARG_ENABLE(doc, AS_HELP_STRING([--disable-doc], [don't generate any documentation]), enable_doc=$enableval, enable_doc=yes) -- cgit v1.2.1