version.h has SCM_EFFECTIVE_VERSION; effective-version uses that
authorAndy Wingo <wingo@pobox.com>
Tue, 16 Mar 2010 19:58:24 +0000 (20:58 +0100)
committerAndy Wingo <wingo@pobox.com>
Tue, 16 Mar 2010 20:20:29 +0000 (21:20 +0100)
commit89607fab50ed88dff3b6fb5310a6753da8dbaa97
tree0752ed0a372d9e03bb08f10834610a5dccd0b3b3
parent462bcfd03847a568b34074ba6fcf4f7f4de3c0fc
version.h has SCM_EFFECTIVE_VERSION; effective-version uses that

* libguile/version.c (scm_effective_version): Use SCM_EFFECTIVE_VERSION.
* libguile/version.h.in (SCM_EFFECTIVE_VERSION): Define from
  GUILE_EFFECTIVE_VERSION.

* libguile/Makefile.am (version.h): Subst in GUILE_EFFECTIVE_VERSION.

* test-suite/tests/version.test ("version reporting works"): The
  effective version is not necessarily MAJOR.MINOR. Remove check.
libguile/Makefile.am
libguile/version.c
libguile/version.h.in
test-suite/tests/version.test