From b93d786ba481f09aa56e4666b378c6ac66d6850d Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Tue, 6 Dec 2011 19:04:27 -0600 Subject: Added coverage reporting via gcov config and targets. --- configure.ac | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2d42c3c..0177f3b 100644 --- a/configure.ac +++ b/configure.ac @@ -47,6 +47,16 @@ PKG_CHECK_MODULES([GSD],[gnome-settings-daemon >= $GSD_REQUIRED_VERSION]) ########################### GLIB_GSETTINGS +########################### +# gcov coverage reporting +########################### + +m4_include([m4/gcov.m4]) +AC_TDD_GCOV +AC_SUBST(COVERAGE_CFLAGS) +AC_SUBST(COVERAGE_CXXFLAGS) +AC_SUBST(COVERAGE_LDFLAGS) + ########################### # Check to see if we're local ########################### @@ -118,4 +128,5 @@ Power Indicator Configuration: Prefix: $prefix Local Install: $with_localinstall + gcov: $use_gcov ]) -- cgit v1.2.3