Skip to content

Commit

Permalink
* configure.in: Remove support for MAD and Electric Fence.
Browse files Browse the repository at this point in the history
Developers should use modern memory debuggers (e.g. Valgrind).
* INSTALL: Remove references to MAD.
  • Loading branch information
Pavel Roskin committed Aug 1, 2002
1 parent d7f1708 commit 5a7d67b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 28 deletions.
6 changes: 6 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2002-08-01 Pavel Roskin <[email protected]>

* configure.in: Remove support for MAD and Electric Fence.
Developers should use modern memory debuggers (e.g. Valgrind).
* INSTALL: Remove references to MAD.

2002-07-31 Pavel Roskin <[email protected]>

* syntax/html.syntax: Remove recognition for any individual
Expand Down
4 changes: 0 additions & 4 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,6 @@ the directory base where you installed the gpm package.
Print the version of Autoconf used to generate the `configure'
script, and exit.

`--with-mad'
Enables the built-in memory allocation debugger. This option is only
intended for the developers.

`--without-edit'
Configures the program to be compiled without the built-in file
editor. The built-in editor is compiled in by default.
Expand Down
24 changes: 0 additions & 24 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -500,30 +500,6 @@ subshell="$result"

AC_DEFINE(REGEX_MALLOC, 1, [Define to make regex use malloc(), not alloca()])

dnl
dnl Memory Allocation Debugger
dnl
mem_debug="none"
AC_ARG_WITH(mad,
[--with-mad Developers only: activates MAD (memory debugger)],
[if test x$withval = xyes; then
mem_debug="Janne's MAD library"
AC_DEFINE(HAVE_MAD, 1,
[Define to use Memory Allocation Debugger (MAD)])
AC_MSG_NOTICE([compiling with memory leak detector])
fi])

dnl
dnl Electric Fence - another memory debugger
dnl
AC_ARG_WITH(efence,
[--with-efence Developers only: activates Electric Fence],
[if test x$withval = xyes; then
LIBS="$LIBS -lefence"
AC_MSG_NOTICE([compiling with Electric fence])
mem_debug="Electric Fence"
fi])

if test "x$screen_type" != xncurses; then
slang_check_lib=true
slang_term=""
Expand Down

0 comments on commit 5a7d67b

Please sign in to comment.