diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-03-29 10:39:14 -0700 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-03-29 10:39:14 -0700 |
commit | 689b16a6e4c356711ec99e580acc91a97b0a2f77 (patch) | |
tree | f5076aed5ab993ebf73c07d239ac1b597a976b11 /configure.ac | |
parent | 80f29374f243cd53e53bf662a0017cd4088d238a (diff) | |
parent | ac5d7a54f7dacb776f2957d925450e97ca6f544a (diff) | |
download | ayatana-indicator-session-689b16a6e4c356711ec99e580acc91a97b0a2f77.tar.gz ayatana-indicator-session-689b16a6e4c356711ec99e580acc91a97b0a2f77.tar.bz2 ayatana-indicator-session-689b16a6e4c356711ec99e580acc91a97b0a2f77.zip |
merge lp:~allanlesage/indicator-session/TDD to add gcov to the build for coverage statitistics
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 1230e8b..21c2939 100644 --- a/configure.ac +++ b/configure.ac @@ -198,6 +198,18 @@ AC_DEFINE_PATH(GNOMELOCALEDIR, "${datadir}/locale", [locale directory]) AM_GLIB_GNU_GETTEXT ########################### +# gcov coverage reporting +########################### + +m4_include([m4/gcov.m4]) +AC_TDD_GCOV +AM_CONDITIONAL([HAVE_GCOV], [test "x$ac_cv_check_gcov" = xyes]) +AM_CONDITIONAL([HAVE_LCOV], [test "x$ac_cv_check_lcov" = xyes]) +AM_CONDITIONAL([HAVE_GCOVR], [test "x$ac_cv_check_gcovr" = xyes]) +AC_SUBST(COVERAGE_CFLAGS) +AC_SUBST(COVERAGE_LDFLAGS) + +########################### # Files ########################### @@ -237,9 +249,10 @@ AC_MSG_NOTICE([ SUS Indicator Configuration: - Prefix: $prefix - Indicator Dir: $INDICATORDIR - Indicator GTK: $with_gtk - Logout Helper: $have_gtklogouthelper - APT support: $enable_apt + Prefix: $prefix + Indicator Dir: $INDICATORDIR + Indicator GTK: $with_gtk + Logout Helper: $have_gtklogouthelper + APT support: $enable_apt + Coverage reporting: $use_gcov ]) |