mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
* configure.ac (AC_CONFIG_FILES): Add libguile/version.h. * libguile/Makefile.am (version.h): Delete target. (EXTRA_DIST): Remove version.h.in. (BUILT_SOURCES): Remove version.h. (MOSTLYCLEANFILES): Remove version.h, version.h.tmp. * libguile/version.h.in (SCM_MAJOR_VERSION): Use conventional @VAR@ instead of @-VAR-@ for ‘GUILE_MAJOR_VERSION’. (SCM_MINOR_VERSION, SCM_MICRO_VERSION, SCM_EFFECTIVE_VERSION): Likewise for ‘GUILE_MINOR_VERSION’, ‘GUILE_MICRO_VERSION’, ‘GUILE_EFFECTIVE_VERSION’.
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:
|
||
*/
|