Commit 19198310 authored by Pekka Pessi's avatar Pekka Pessi

Added automake conditional ENABLE_COVERAGE.

darcs-hash:20051003155129-65a35-e4b11115109f83a75753e8e80571432850f112b5.gz
parent ff5618c3
......@@ -144,6 +144,7 @@ AC_SUBST([CWFLAG], [$ac_cv_cwflag])
AC_ARG_ENABLE(coverage,
[ --enable-coverage compile test-coverage (disabled)],
, enable_coverage=no)
if test X$enable_coverage != Xno ; then
case "${CC-cc}" in
*gcc*)
......@@ -153,6 +154,8 @@ case "${CC-cc}" in
esac
fi
AM_CONDITIONAL([ENABLE_COVERAGE], test X$enable_coverage != Xno)
AC_SUBST([MOSTLYCLEANFILES], "*.bb *.bbg *.da *.[hc].gcov")
])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment