From 8692b1cb72654888f0dab31843bdf05d3ac2a888 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 25 Mar 2014 12:04:58 +0100 Subject: Add an --enable-code-coverage configure option to enable gcov support When enabled, this will compile all libraries/binaries with the necessary gcc and ld flags to enable code coverage support using gcov. --- modules/composer-autosave/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/composer-autosave/Makefile.am') diff --git a/modules/composer-autosave/Makefile.am b/modules/composer-autosave/Makefile.am index 8bd99b54b2..a3c16be5eb 100644 --- a/modules/composer-autosave/Makefile.am +++ b/modules/composer-autosave/Makefile.am @@ -9,6 +9,7 @@ module_composer_autosave_la_CPPFLAGS = \ $(EVOLUTION_DATA_SERVER_CFLAGS) \ $(GNOME_PLATFORM_CFLAGS) \ $(GTKHTML_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) \ $(NULL) module_composer_autosave_la_SOURCES = \ @@ -31,6 +32,6 @@ module_composer_autosave_la_LIBADD = \ $(NULL) module_composer_autosave_la_LDFLAGS = \ - -module -avoid-version $(NO_UNDEFINED) + -module -avoid-version $(NO_UNDEFINED) $(CODE_COVERAGE_LDFLAGS) -include $(top_srcdir)/git.mk -- cgit v1.2.3