aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/vers.f.in
blob: b9ef954459fdb336d6e5cbcf0e4dd51f809a797c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
SUBROUTINE sla_VERS (VERSION)
*+
*     - - - - -
*      V E R S
*     - - - - -
*
*  Report the SLALIB version number.
*
*  Given:
*    None
*
*  Returned:
*    VERSION   c*(*)   Version number, in the form 'm.n-r'.
*                      The major version is m, the minor version n, and
*                      release r.  The string passed in should be at least
*                      8 characters in length, to account for the (remote)
*                      possibility that these numbers will ever go to
*                      two digits.
*
*  Notes:
*
*    To obtain the version number in a more easily processed form, see
*    function sla_veri().
*
*    The sla_vers subroutine was introduced in SLALIB version 2.5-1, so
*    if this function is absent, one can only tell that the release
*    predates that one.
*
*  Norman Gray   Starlink   8 April 2005
*
*  Copyright (C) 2005 Council for the Central Laboratory of the
*  Research Councils
*
*  Licence:
*    This program is free software; you can redistribute it and/or modify
*    it under the terms of the GNU General Public License as published by
*    the Free Software Foundation; either version 2 of the License, or
*    (at your option) any later version.
*
*    This program 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 General Public License for more details.
*
*    You should have received a copy of the GNU General Public License
*    along with this program (see SLA_CONDITIONS); if not, write to the
*    Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
*    Boston, MA  02110-1301  USA
*
*-

      IMPLICIT NONE

      CHARACTER VERSION*(*)

      VERSION='@PACKAGE_VERSION@'

      END