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:
parent
4e381d8bab
commit
cf890744c1
1 changed files with 10 additions and 0 deletions
10
configure.in
10
configure.in
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue