diff options
author | Steve Hay <SteveHay@planit.com> | 2003-04-16 12:12:22 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2003-04-20 18:55:40 +0000 |
commit | 06c896bb0249a54c986239dbc45815c21fdb1da1 (patch) | |
tree | 15af75fe86db25f0d248f08cab4aa73e0f42c1ad /win32 | |
parent | 09b58c7bbebaf0de2d064711b4d278b13c4fa811 (diff) | |
download | perl-06c896bb0249a54c986239dbc45815c21fdb1da1.tar.gz |
Document PERL_DEBUGGING_MSTATS in INSTALL and in the Win32 Makefile.
Subject: [DOC PATCH 5.8.0] Re: Problem with Devel::Peek on Perl 5.8.0
Message-ID: <3E9D2C86.8040104@uk.radan.com>
p4raw-id: //depot/perl@19280
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/win32/Makefile b/win32/Makefile index fcc7bb9aa8..c51417e40f 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -137,6 +137,14 @@ CCTYPE = MSVC60 #PERL_MALLOC = define # +# set this to enable debugging mstats +# This must be enabled to use the Devel::Peek::mstat() function. This cannot +# be enabled without PERL_MALLOC as well. +# +#DEBUG_MSTATS = define + +# +# # set the install locations of the compiler include/libraries # Running VCVARS32.BAT is *required* when using Visual C. # Some versions of Visual C don't define MSVCDIR in the environment, @@ -200,6 +208,15 @@ CRYPT_FLAG = -DHAVE_DES_FCRYPT !IF "$(PERL_MALLOC)" == "" PERL_MALLOC = undef +DEBUG_MSTATS = undef +!ENDIF + +!IF "$(DEBUG_MSTATS)" == "" +DEBUG_MSTATS = undef +!ENDIF + +!IF "$(DEBUG_MSTATS)" == "define" +BUILDOPT = $(BUILDOPT) -DPERL_DEBUGGING_MSTATS !ENDIF !IF "$(USE_IMP_SYS)" == "define" |