mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
* 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.
49 lines
1.4 KiB
C
49 lines
1.4 KiB
C
/* classes: h_files */
|
||
|
||
#ifndef SCM_VERSION_H
|
||
#define SCM_VERSION_H
|
||
|
||
/* 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
|
||
* as published by the Free Software Foundation; either version 3 of
|
||
* the License, or (at your option) any later version.
|
||
*
|
||
* This library is distributed in the hope that it will be useful, but
|
||
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
* Lesser General Public License for more details.
|
||
*
|
||
* You should have received a copy of the GNU Lesser General Public
|
||
* License along with this library; if not, write to the Free Software
|
||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||
* 02110-1301 USA
|
||
*/
|
||
|
||
|
||
|
||
#include "libguile/__scm.h"
|
||
|
||
|
||
|
||
#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);
|
||
SCM_API SCM scm_micro_version (void);
|
||
SCM_API SCM scm_effective_version (void);
|
||
SCM_API SCM scm_version (void);
|
||
SCM_INTERNAL void scm_init_version (void);
|
||
|
||
#endif /* SCM_VERSION_H */
|
||
|
||
/*
|
||
Local Variables:
|
||
c-file-style: "gnu"
|
||
mode: c
|
||
End:
|
||
*/
|