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

* configure.in: New --enable-debug-malloc configuration option.

This commit is contained in:
Mikael Djurfeldt 2000-04-21 00:24:26 +00:00
parent 4e381d8bab
commit cf890744c1

View file

@ -52,6 +52,12 @@ AC_ARG_ENABLE(debug-freelist,
AC_DEFINE(GUILE_DEBUG_FREELIST)
fi)
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)
fi)
AC_ARG_ENABLE(arrays,
[ --disable-arrays omit array and uniform array support],,
enable_arrays=yes)
@ -90,6 +96,10 @@ if test "$enable_networking" = yes; then
AC_DEFINE(HAVE_NETWORKING)
fi
if test "$enable_debug_malloc" = yes; then
LIBOBJS="$LIBOBJS debug-malloc.o"
fi
#--------------------------------------------------------------------
AC_LIBLTDL_CONVENIENCE