1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 20:30:28 +02:00

* configure.in: Added --enable-debug-freelist option.

* acconfig.h: Added DEBUG_FREELIST.
This commit is contained in:
Greg J. Badros 1999-09-27 23:29:07 +00:00
parent 2e8a5db86a
commit 52b3923a9d
2 changed files with 9 additions and 0 deletions

View file

@ -52,6 +52,9 @@
#undef DEBUG_EXTENSIONS #undef DEBUG_EXTENSIONS
#undef READER_EXTENSIONS #undef READER_EXTENSIONS
/* Define this if you want to debug the free list (helps w/ GC bugs) */
#undef DEBUG_FREELIST
/* Define this if your system defines S_ISLNK in sys/stat.h */ /* Define this if your system defines S_ISLNK in sys/stat.h */
#undef HAVE_S_ISLNK #undef HAVE_S_ISLNK

View file

@ -50,6 +50,12 @@ AC_ARG_ENABLE(guile-debug,
AC_DEFINE(GUILE_DEBUG) AC_DEFINE(GUILE_DEBUG)
fi) fi)
AC_ARG_ENABLE(debug-freelist,
[ --enable-debug-freelist Include garbage collector freelist debugging code],
if test "$enable_debug_freelist" = y || test "$enable_debug_freelist" = yes; then
AC_DEFINE(DEBUG_FREELIST)
fi)
AC_ARG_ENABLE(posix, AC_ARG_ENABLE(posix,
[ --disable-posix omit posix interfaces],, [ --disable-posix omit posix interfaces],,
enable_posix=yes) enable_posix=yes)