aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKen VanDine <ken.vandine@canonical.com>2012-04-05 12:47:12 -0400
committerKen VanDine <ken.vandine@canonical.com>2012-04-05 12:47:12 -0400
commiteb38a3840843baed6fad4f28b3bbb67aabcc7c44 (patch)
tree15904adeff0dfbacc907bb5db4f2b75844d89532 /configure.ac
parent3e7b2a057b93b8885047f79b15957b4e6207cf71 (diff)
parent81ecc8abe03f0196f51951a7307b6361bdafe98e (diff)
downloadlibdbusmenu-eb38a3840843baed6fad4f28b3bbb67aabcc7c44.tar.gz
libdbusmenu-eb38a3840843baed6fad4f28b3bbb67aabcc7c44.tar.bz2
libdbusmenu-eb38a3840843baed6fad4f28b3bbb67aabcc7c44.zip
* New upstream release.
* Fix a regresssion introduced in 0.5.97's fix for (LP: #957022) * New upstream release. * Reduce the number of messages hud-service sends. (LP: #957022) * Fix valgrind tests thanks to a little help from sewardj. * Add gcov targets to autotools build for code-coverage reporting.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac20
1 files changed, 18 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index a46901f..a1f269b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,11 +1,11 @@
-AC_INIT(libdbusmenu, 0.5.96, ted@canonical.com)
+AC_INIT(libdbusmenu, 0.5.98, ted@canonical.com)
AC_COPYRIGHT([Copyright 2009,2010 Canonical])
AC_PREREQ(2.62)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(libdbusmenu, 0.5.96, [-Wno-portability])
+AM_INIT_AUTOMAKE(libdbusmenu, 0.5.98, [-Wno-portability])
AM_MAINTAINER_MODE
@@ -194,6 +194,18 @@ if test "x$with_massivedebugging" = "xyes"; then
fi
###########################
+# 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
###########################
@@ -251,3 +263,7 @@ AS_IF([test "x$have_dumper" = "xyes"],
AC_MSG_NOTICE([ Dumper: no])
)
+AS_IF([test "x$use_gcov" = "xyes"],
+ AC_MSG_NOTICE([ Coverage reporting: yes]),
+ AC_MSG_NOTICE([ Coverage reporting: no])
+)