Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Test release (was re zgetopt)
> On 30/04/2025 14:53 BST Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> The second is probably not system specific, but on this machine I was
> using an old configure front-end that turned on --enable-zsh-mem and
> some associated flags and that caused the resulting shell to hang. I
> haven't investigated as we don't really support that any more and I
> don't suppose people are generally using it. However, we probably at
> the least ought to announce that it's deprecated --- I don't think we've
> done that so far, despite fear, uncerainty and doubt on zsh-workers, as
> there appears to be no sign in either INSTALL or the configure script.
> I could suggest some changes for that.
At this stage, I suppose something like the following.
pws
diff --git a/INSTALL b/INSTALL
index 8b139fa..da2625b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -401,7 +401,10 @@ Memory Routines
---------------
Included in this release are alternate malloc and associated functions
-which reduce memory usage on some systems. To use these, add the option
+which reduce memory usage on some systems. This suite of functions has
+not been maintained for some time and may be removed in a future release.
+
+However, if you still wish to use these, add the option
--enable-zsh-mem
when invoking "configure".
diff --git a/configure.ac b/configure.ac
index db0828a..ab368c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,7 +71,7 @@ ifdef([zsh-mem],[undefine([zsh-mem])])dnl
AH_TEMPLATE([ZSH_MEM],
[Define to 1 if you want to use zsh's own memory allocation routines])
AC_ARG_ENABLE(zsh-mem,
-AS_HELP_STRING([--enable-zsh-mem],[compile with zsh memory allocation routines]),
+AS_HELP_STRING([--enable-zsh-mem],[compile with zsh memory allocation routines - deprecated]),
[if test x$enableval = xyes; then
AC_DEFINE(ZSH_MEM)
fi])
Messages sorted by:
Reverse Date,
Date,
Thread,
Author