summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2022-08-11 19:54:26 +0300
committerArnold D. Robbins <arnold@skeeve.com>2022-08-11 19:54:26 +0300
commit6ba5c017f6c94a4082d752d3829aaaf7d07c07c1 (patch)
treef6064b4372bd6622c1b8901192d63078ebae60cb /m4
parentc2c6d40dca9a4394c4e56d01f93c20483b480338 (diff)
downloadgawk-6ba5c017f6c94a4082d752d3829aaaf7d07c07c1.tar.gz
Fix logic in m4/pma.m4.
Diffstat (limited to 'm4')
-rw-r--r--m4/pma.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/m4/pma.m4 b/m4/pma.m4
index 452cc8c4..fff9a68d 100644
--- a/m4/pma.m4
+++ b/m4/pma.m4
@@ -47,9 +47,11 @@ then
use_persistent_malloc=no
fi
fi
+
AM_CONDITIONAL([USE_PERSISTENT_MALLOC], [test "$use_persistent_malloc" = "yes"])
-])
+
if test "$use_persistent_malloc" = "yes"
then
AC_DEFINE(USE_PERSISTENT_MALLOC, 1, [Define to 1 if we can use the pma allocator])
fi
+])