aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2012-04-05 12:48:04 -0500
committerCharles Kerr <charles.kerr@canonical.com>2012-04-05 12:48:04 -0500
commit6127a94efad13c780625228a1541c387528d75f1 (patch)
tree5126c8a9095c7f5c97437262f58cec6e860d5235 /configure.ac
parent4b9b0d04e5d800dc4927344c479f5d87c527fe4c (diff)
parent1ddba0eb336a87dafc522f15be584ba4cbdc97d5 (diff)
downloadayatana-indicator-session-6127a94efad13c780625228a1541c387528d75f1.tar.gz
ayatana-indicator-session-6127a94efad13c780625228a1541c387528d75f1.tar.bz2
ayatana-indicator-session-6127a94efad13c780625228a1541c387528d75f1.zip
Import upstream version 0.3.96
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac25
1 files changed, 19 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 1230e8b..1ef7d50 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ AC_INIT(src/indicator-session.c)
AC_PREREQ(2.53)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(indicator-session, 0.3.95)
+AM_INIT_AUTOMAKE(indicator-session, 0.3.96)
AM_MAINTAINER_MODE
@@ -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
])