diff options
author | Allan LeSage <allanlesage@gmail.com> | 2011-12-06 18:43:35 -0600 |
---|---|---|
committer | Allan LeSage <allanlesage@gmail.com> | 2011-12-06 18:43:35 -0600 |
commit | 4b4a2a0b444d26303df7865cebb56bf942c6d022 (patch) | |
tree | fcbe197a1cab8e810e13c3cc70c6b94b800cd2ea /configure.ac | |
parent | ba87e5cb673992cee0fcb0bb3c90523974836a30 (diff) | |
download | ayatana-indicator-datetime-4b4a2a0b444d26303df7865cebb56bf942c6d022.tar.gz ayatana-indicator-datetime-4b4a2a0b444d26303df7865cebb56bf942c6d022.tar.bz2 ayatana-indicator-datetime-4b4a2a0b444d26303df7865cebb56bf942c6d022.zip |
Added coverage reporting via gcov config and targets.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 07f52d7..6b01de7 100644 --- a/configure.ac +++ b/configure.ac @@ -119,6 +119,16 @@ PKG_CHECK_MODULES(LIBMAP, gio-2.0 >= $GIO_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 ########################### @@ -225,4 +235,5 @@ Date and Time Indicator Configuration: Prefix: $prefix Indicator Dir: $INDICATORDIR CC Panel Dir: $CCPANELDIR + gcov: $use_gcov ]) |