Make `--disable-deprecated' work.
authordaniel <daniel@dani.localdomain.invalid>
Fri, 13 Feb 2009 13:27:41 +0000 (14:27 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sun, 5 Apr 2009 17:54:25 +0000 (19:54 +0200)
commit6ab8238d99f477ee7ac12f1f1a3ec70aab3e68c7
tree72d979fcb3d46ffcf2145085942a017b52a81179
parentaa49787b5eb500807e82ce2698651515a7bdc743
Make `--disable-deprecated' work.

* configure.in (enable_deprecated): Set SCM_WARN_DEPRECATED_DEFAULT
  even when --disable-deprecated is passed.
* libguile/deprecation.h: Declare deprecation-issuing methods even
  if SCM_ENABLE_DEPRECATED is not set.
* libguile/deprecation.c: Ditto.
  (scm_init_deprecation): Include full body even for unset
  SCM_ENABLE_DEPRECATED.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
configure.in
libguile/deprecation.c
libguile/deprecation.h