We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dce853e commit e2b5c98Copy full SHA for e2b5c98
configure.ac
@@ -414,6 +414,8 @@ if test x$use_lcov = xyes; then
414
AC_MSG_ERROR("lcov testing requested but genhtml not found")
415
fi
416
LCOV="$LCOV --gcov-tool=$GCOV"
417
+ AX_CHECK_LINK_FLAG([[--coverage]], [LDFLAGS="$LDFLAGS --coverage"],
418
+ [AC_MSG_ERROR("lcov testing requested but --coverage linker flag does not work")])
419
AX_CHECK_COMPILE_FLAG([--coverage],[CXXFLAGS="$CXXFLAGS --coverage"],
420
[AC_MSG_ERROR("lcov testing requested but --coverage flag does not work")])
421
0 commit comments