mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
(--enable-deprecated): Recognize "shutup" option
argument and turn it into the default warning level "no".
This commit is contained in:
parent
a5eebee787
commit
94a0d8859a
1 changed files with 6 additions and 2 deletions
|
@ -103,9 +103,13 @@ if test "$enable_deprecated" = no; then
|
|||
AC_DEFINE(SCM_DEBUG_DEPRECATED)
|
||||
else
|
||||
if test "$enable_deprecated" = yes || test "$enable_deprecated" = ""; then
|
||||
enable_deprecated=summary
|
||||
warn_default=summary
|
||||
elif test "$enable_deprecated" = shutup; then
|
||||
warn_default=no
|
||||
else
|
||||
warn_default=$enable_deprecated
|
||||
fi
|
||||
AC_DEFINE_UNQUOTED(GUILE_WARN_DEPRECATED_DEFAULT, "$enable_deprecated")
|
||||
AC_DEFINE_UNQUOTED(GUILE_WARN_DEPRECATED_DEFAULT, "$warn_default")
|
||||
fi
|
||||
|
||||
dnl The --disable-debug used to control these two. But now they are
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue