File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -432,7 +432,7 @@ EXTRA_DIST += $(EXAMPLES)
432432# umockdev-scan is something internal from gcov/lcov, ignore that
433433CODE_COVERAGE_IGNORE_PATTERN = */docs/* */usr/* *umockdev-scan*
434434CODE_COVERAGE_LCOV_OPTIONS = --base-directory $(top_builddir )
435- @GNOME_CODE_COVERAGE_RULES @
435+ @CODE_COVERAGE_RULES @
436436
437437# -------------------------------------------------------------
438438# developer tools
Original file line number Diff line number Diff line change @@ -85,16 +85,17 @@ AM_PROG_VALAC([0.16.1])
8585
8686# code coverage support
8787AC_MSG_CHECKING ( for GNOME code coverage support )
88- m4_ifdef ( [ GNOME_CODE_COVERAGE ] ,
88+ m4_ifdef ( [ AX_CODE_COVERAGE ] ,
8989 [ AC_MSG_RESULT ( yes )
90- GNOME_CODE_COVERAGE ] ,
90+ AX_CODE_COVERAGE ] ,
9191 [ AC_MSG_RESULT ( no )
92- GNOME_CODE_COVERAGE_RULES =''
93- AC_SUBST ( [ GNOME_CODE_COVERAGE_RULES ] )
92+ CODE_COVERAGE_RULES =''
93+ AC_SUBST ( [ CODE_COVERAGE_RULES ] )
9494 enable_code_coverage="no"] )
9595
96+ CPPFLAGS="$CPPFLAGS $CODE_COVERAGE_CPPFLAGS"
9697CFLAGS="$CFLAGS $CODE_COVERAGE_CFLAGS"
97- LDFLAGS="$LDFLAGS $CODE_COVERAGE_CFLAGS "
98+ LDFLAGS="$LDFLAGS $CODE_COVERAGE_LIBS "
9899
99100AC_CONFIG_FILES ( [
100101 Makefile
You can’t perform that action at this time.
0 commit comments