From 94f68e08df92dd859889d08706fe1f024f4962e8 Mon Sep 17 00:00:00 2001 From: Allan LeSage Date: Tue, 6 Dec 2011 19:31:29 -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 5ee885a..5303ccc 100644 --- a/configure.ac +++ b/configure.ac @@ -99,6 +99,16 @@ PKG_CHECK_MODULES(GCONF, gconf-2.0 >= 2.0) AC_SUBST(GCONF_CFLAGS) AC_SUBST(GCONF_LIBS) +########################### +# 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 ########################### @@ -198,4 +208,5 @@ SUS Indicator Configuration: Prefix: $prefix GTK+: $with_gtk + gcov: $use_gcov ]) -- cgit v1.2.3