mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 16:30:19 +02:00
* configure.in: Added handling of `--enable-deprecated'.
This commit is contained in:
parent
cbc227623e
commit
e73dd5498e
1 changed files with 14 additions and 2 deletions
16
configure.in
16
configure.in
|
@ -41,13 +41,13 @@ AC_CONFIG_SUBDIRS(guile-readline)
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
||||||
AC_ARG_ENABLE(debug-freelist,
|
AC_ARG_ENABLE(debug-freelist,
|
||||||
[ --enable-debug-freelist include garbage collector freelist debugging code],
|
[ --enable-debug-freelist include garbage collector freelist debugging code],
|
||||||
if test "$enable_debug_freelist" = y || test "$enable_debug_freelist" = yes; then
|
if test "$enable_debug_freelist" = y || test "$enable_debug_freelist" = yes; then
|
||||||
AC_DEFINE(GUILE_DEBUG_FREELIST)
|
AC_DEFINE(GUILE_DEBUG_FREELIST)
|
||||||
fi)
|
fi)
|
||||||
|
|
||||||
AC_ARG_ENABLE(debug-malloc,
|
AC_ARG_ENABLE(debug-malloc,
|
||||||
[ --enable-debug-malloc include malloc debugging code],
|
[ --enable-debug-malloc include malloc debugging code],
|
||||||
if test "$enable_debug_malloc" = y || test "$enable_debug_malloc" = yes; then
|
if test "$enable_debug_malloc" = y || test "$enable_debug_malloc" = yes; then
|
||||||
AC_DEFINE(GUILE_DEBUG_MALLOC)
|
AC_DEFINE(GUILE_DEBUG_MALLOC)
|
||||||
fi)
|
fi)
|
||||||
|
@ -96,6 +96,18 @@ AC_ARG_ENABLE(htmldoc,
|
||||||
|
|
||||||
AM_CONDITIONAL(HTMLDOC, test x$htmldoc_enabled = xyes)
|
AM_CONDITIONAL(HTMLDOC, test x$htmldoc_enabled = xyes)
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(deprecated,
|
||||||
|
[ --disable-deprecated omit deprecated features [no]])
|
||||||
|
|
||||||
|
if test "$enable_deprecated" = no; then
|
||||||
|
AC_DEFINE(SCM_DEBUG_DEPRECATED)
|
||||||
|
else
|
||||||
|
if test "$enable_deprecated" = yes || test "$enable_deprecated" = ""; then
|
||||||
|
enable_deprecated=summary
|
||||||
|
fi
|
||||||
|
AC_DEFINE_UNQUOTED(GUILE_WARN_DEPRECATED_DEFAULT, "$enable_deprecated")
|
||||||
|
fi
|
||||||
|
|
||||||
dnl The --disable-debug used to control these two. But now they are
|
dnl The --disable-debug used to control these two. But now they are
|
||||||
dnl a required part of the distribution.
|
dnl a required part of the distribution.
|
||||||
AC_DEFINE(DEBUG_EXTENSIONS)
|
AC_DEFINE(DEBUG_EXTENSIONS)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue