diff options
author | Andy Wingo <wingo@pobox.com> | 2010-03-16 20:58:24 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-03-16 21:20:29 +0100 |
commit | 89607fab50ed88dff3b6fb5310a6753da8dbaa97 (patch) | |
tree | 0752ed0a372d9e03bb08f10834610a5dccd0b3b3 /libguile/version.h.in | |
parent | 462bcfd03847a568b34074ba6fcf4f7f4de3c0fc (diff) | |
download | guile-89607fab50ed88dff3b6fb5310a6753da8dbaa97.tar.gz |
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.
Diffstat (limited to 'libguile/version.h.in')
-rw-r--r-- | libguile/version.h.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/version.h.in b/libguile/version.h.in index 394bbdb86..49d26c245 100644 --- a/libguile/version.h.in +++ b/libguile/version.h.in @@ -3,7 +3,7 @@ #ifndef SCM_VERSION_H #define SCM_VERSION_H -/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2006, 2008 Free Software Foundation, Inc. +/* Copyright (C) 1995,1996,1998,1999,2000,2001, 2006, 2008, 2010 Free Software Foundation, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License @@ -30,6 +30,7 @@ #define SCM_MAJOR_VERSION @-GUILE_MAJOR_VERSION-@ #define SCM_MINOR_VERSION @-GUILE_MINOR_VERSION-@ #define SCM_MICRO_VERSION @-GUILE_MICRO_VERSION-@ +#define SCM_EFFECTIVE_VERSION "@-GUILE_EFFECTIVE_VERSION-@" SCM_API SCM scm_major_version (void); SCM_API SCM scm_minor_version (void); |