summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-08-30 13:49:32 +0000
committerenge <enge@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2011-08-30 13:49:32 +0000
commit3c920b658404007e1be19814e6709f2f0982a4a0 (patch)
treeee38aab53bbf2af4617cb146179a140547326eec /doc
parente04fd486f7c204fb9215ac906b9c45309ded4c5f (diff)
downloadmpc-3c920b658404007e1be19814e6709f2f0982a4a0.tar.gz
m4/valgrind-tests.m4: imported original gnulib macro
configure.ac, mpc.texi: updated accordingly git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1040 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'doc')
-rw-r--r--doc/mpc.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/mpc.texi b/doc/mpc.texi
index 8173e5e..98b3d78 100644
--- a/doc/mpc.texi
+++ b/doc/mpc.texi
@@ -162,6 +162,9 @@ Another useful parameter is @samp{--prefix}, which can be used to
specify an alternative installation location instead of
@file{/usr/local}; see @samp{make install} below.
+To enable checking for memory leaks using @command{valgrind} during
+@code{make check}, add the parameter @code{--enable-valgrind-tests}.
+
If for debugging purposes you wish to log calls to GNU MPC functions from
within your code, add the parameter @samp{--enable-logging}.
In your code, replace the inclusion of @file{mpc.h} by @file{mpc-log.h}