summaryrefslogtreecommitdiffstats
path: root/ast/version.h.in
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-17 15:22:52 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-17 15:22:52 (GMT)
commit7dd9b970cec6832b8f6118dc2dd91a08d2836648 (patch)
tree4b3c86596ab87f35a3c6213397da07afe1e24d3e /ast/version.h.in
parentd7bf7c61e8507e3cf51f195392c0f41f27ae18d8 (diff)
parent7fde2daeed593684120d75de07598154f3ddaf2c (diff)
downloadblt-7dd9b970cec6832b8f6118dc2dd91a08d2836648.zip
blt-7dd9b970cec6832b8f6118dc2dd91a08d2836648.tar.gz
blt-7dd9b970cec6832b8f6118dc2dd91a08d2836648.tar.bz2
Merge commit '7fde2daeed593684120d75de07598154f3ddaf2c' as 'ast'
Diffstat (limited to 'ast/version.h.in')
-rw-r--r--ast/version.h.in73
1 files changed, 73 insertions, 0 deletions
diff --git a/ast/version.h.in b/ast/version.h.in
new file mode 100644
index 0000000..49d6643
--- /dev/null
+++ b/ast/version.h.in
@@ -0,0 +1,73 @@
+#if !defined( VERSION_INCLUDED )
+#define VERSION_INCLUDED 1
+/*
+*+
+* Name:
+* version.h
+
+* Purpose:
+* Declare version numbers
+
+* Description:
+* Defines macros which expand to the components of the AST version
+* number, namely the major and minor version numbers, and the
+* release number. The version number as a string is available by
+* including the file config.h, which defines macros PACKAGE_STRING,
+* PACKAGE_VERSION and (equivalently to the latter) VERSION.
+*
+* For example, the version string `3.2.1' corresponds to major version
+* 3, minor version 2, release 1.
+
+* Macros defined:
+* AST__VMAJOR
+* The AST major version number
+* AST__VMINOR
+* The AST minor version number
+* AST__RELEASE
+* The AST release number
+*
+* For backwards compatibility, this module also declares macros
+* AST_MAJOR_VERS, AST_MINOR_VERS and AST_RELEASE. The AST__*
+* macros should be used in preference to these, since the latter
+* use (non-standard) single underscores.
+
+* Copyright:
+* Copyright (C) 1997-2006 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 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 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 Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General
+* License along with this program. If not, see
+* <http://www.gnu.org/licenses/>.
+
+* Authors:
+* NG: Norman Gray (Starlink)
+
+* History:
+* 25-NOV-2003 (NG):
+* Original version
+*-
+*/
+
+/* The current version of AST is @PACKAGE_VERSION@ */
+#define AST__VMAJOR @PACKAGE_VERSION_MAJOR@
+#define AST__VMINOR @PACKAGE_VERSION_MINOR@
+#define AST__RELEASE @PACKAGE_VERSION_RELEASE@
+
+/* Deprecated macros */
+#define AST_MAJOR_VERS @PACKAGE_VERSION_MAJOR@
+#define AST_MINOR_VERS @PACKAGE_VERSION_MINOR@
+#define AST_RELEASE @PACKAGE_VERSION_RELEASE@
+
+#endif /* #if ! defined(VERSION_INCLUDED) */