aboutsummaryrefslogtreecommitdiff
path: root/math/slalib/vers.f.in
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /math/slalib/vers.f.in
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'math/slalib/vers.f.in')
-rw-r--r--math/slalib/vers.f.in58
1 files changed, 58 insertions, 0 deletions
diff --git a/math/slalib/vers.f.in b/math/slalib/vers.f.in
new file mode 100644
index 00000000..b9ef9544
--- /dev/null
+++ b/math/slalib/vers.f.in
@@ -0,0 +1,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