~dbusmenu-team/libdbusmenu/trunk.16.10

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Allan LeSage
  • Date: 2012-03-28 04:40:23 UTC
  • mto: This revision was merged to the branch mainline in revision 399.
  • Revision ID: allanlesage@gmail.com-20120328044023-1qdf2dcixdekcfwt
Added gcov coverage tooling.

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
fi
194
194
 
195
195
###########################
 
196
# gcov coverage reporting
 
197
###########################
 
198
 
 
199
m4_include([m4/gcov.m4])
 
200
AC_TDD_GCOV
 
201
AM_CONDITIONAL([HAVE_GCOV], [test "x$ac_cv_check_gcov" = xyes])
 
202
AM_CONDITIONAL([HAVE_LCOV], [test "x$ac_cv_check_lcov" = xyes])
 
203
AM_CONDITIONAL([HAVE_GCOVR], [test "x$ac_cv_check_gcovr" = xyes])
 
204
AC_SUBST(COVERAGE_CFLAGS)
 
205
AC_SUBST(COVERAGE_LDFLAGS)
 
206
 
 
207
###########################
196
208
# Files
197
209
###########################
198
210
 
250
262
   AC_MSG_NOTICE([      Dumper:                 no])
251
263
)
252
264
 
 
265
AS_IF([test "x$use_gcov" = "xyes"],
 
266
        AC_MSG_NOTICE([ Coverage reporting:     yes]),
 
267
        AC_MSG_NOTICE([ Coverage reporting:     no])
 
268
)