--enable-coverage
Daniel Morissette
dmorissette at MAPGEARS.COM
Mon Aug 28 09:42:49 EDT 2006
Howard Butler wrote:
> Going through the Unix Compilation HOWTO, I noticed a comment at the
> bottom of the document complaining about confusion about this configure
> command. Is anyone using it anymore? Hasn't Valgrind made Mpatrol
> obsolete? Can we ditch it for 4.10?
>
> Howard
>
I'm not sure who added this option to the configure.in script, but it
seems to be there to track code coverage and would be unrelated to using
mpatrol/valgrind, so I think it needs to stay there, perhaps just with
an explanation that these options are for profiling and if one doesn't
know what that means then they should not use them:
dnl ---------------------------------------------------------------------
dnl Enable source code coverage reporting for GCC
dnl ---------------------------------------------------------------------
AC_ARG_ENABLE(coverage,
[ --enable-coverage Enable coverage testing],
[CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"])
With respect to ditching Mpatrol-related stuff, I only use Valgrind
myself and would have no objection to seeing the Mpatrol stuff removed.
Does anyone use Mpatrol?
Daniel
--
Daniel Morissette
http://www.mapgears.com/
More information about the mapserver-dev
mailing list