1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-28 14:00:31 +02:00

Remove GUILE_DEBUG_MALLOC configuration

* configure.ac: Remove --enable-debug-malloc.
* doc/ref/api-memory.texi (Memory Blocks): Remove malloc-stats mention.
* libguile/debug-malloc.c:
* libguile/debug-malloc.h: Remove.
* libguile/Makefile.am (EXTRA_libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES):
(modinclude_HEADERS): Remove debug-malloc mentions.
* libguile/gc-malloc.c (scm_gc_register_collectable_memory):
(scm_calloc):
* libguile/init.c (scm_i_init_guile): Remove debug-malloc things.
This commit is contained in:
Andy Wingo 2025-04-30 11:21:52 +02:00
parent f3649d7d1b
commit a13c30eeba
8 changed files with 1 additions and 332 deletions

View file

@ -218,13 +218,6 @@ AC_ARG_ENABLE(error-on-warning,
*) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;;
esac])
AC_ARG_ENABLE(debug-malloc,
[ --enable-debug-malloc include malloc debugging code],
if test "$enable_debug_malloc" = y || test "$enable_debug_malloc" = yes; then
AC_DEFINE([GUILE_DEBUG_MALLOC], 1,
[Define this if you want to debug scm_must_malloc/realloc/free calls.])
fi)
# Check if JIT is available.
GUILE_ENABLE_JIT