summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2019-08-30 10:42:50 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2019-08-30 10:42:50 -0400
commit8cc45af919dc56011dbf4c8965b9c1e4784e56d7 (patch)
treee271f42fbc3de7ce1f1e477e700d769bde2fcca4 /configure
parentc15d2db3ce7ea49741d8792190f9212842db86ec (diff)
downloadgawk-8cc45af919dc56011dbf4c8965b9c1e4784e56d7.tar.gz
In .developing mode, define MEMDEBUG to use malloc/free for block allocation to facilitate finding memory leaks.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a9f5e7c8..ee0bbbfc 100755
--- a/configure
+++ b/configure
@@ -5409,7 +5409,7 @@ $as_echo_n "checking for special development options... " >&6; }
if test -f $srcdir/.developing
then
# add other debug flags as appropriate, save GAWKDEBUG for emergencies
- CFLAGS="$CFLAGS -DARRAYDEBUG -DYYDEBUG -DLOCALEDEBUG"
+ CFLAGS="$CFLAGS -DARRAYDEBUG -DYYDEBUG -DLOCALEDEBUG -DMEMDEBUG"
# turn on compiler warnings if we're doing development
# enable debugging using macros also