mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-30 08:50:23 +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
12
configure.in
12
configure.in
|
@ -96,6 +96,18 @@ AC_ARG_ENABLE(htmldoc,
|
|||
|
||||
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 a required part of the distribution.
|
||||
AC_DEFINE(DEBUG_EXTENSIONS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue