Mercurial > octave
annotate libinterp/version.in.h @ 25054:6652d3823428 stable
maint: Update copyright dates in all source files.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 30 Mar 2018 09:19:05 -0400 |
parents | 194eb4bd202b |
children |
rev | line source |
---|---|
15100
8523df595d42
maint: Add DO NOT EDIT messages to build system for src/*.in.h.
Rik <rik@octave.org>
parents:
15089
diff
changeset
|
1 // %NO_EDIT_WARNING% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 /* |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
25054
6652d3823428
maint: Update copyright dates in all source files.
John W. Eaton <jwe@octave.org>
parents:
24534
diff
changeset
|
4 Copyright (C) 1992-2018 John W. Eaton |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 This file is part of Octave. |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 |
24534
194eb4bd202b
maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents:
23220
diff
changeset
|
8 Octave is free software: you can redistribute it and/or modify it |
22755
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
9 under the terms of the GNU General Public License as published by |
24534
194eb4bd202b
maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents:
23220
diff
changeset
|
10 the Free Software Foundation, either version 3 of the License, or |
22755
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
11 (at your option) any later version. |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 |
22755
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
13 Octave is distributed in the hope that it will be useful, but |
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
14 WITHOUT ANY WARRANTY; without even the implied warranty of |
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3a2b891d0b33
maint: Standardize Copyright formatting.
Rik <rik@octave.org>
parents:
22407
diff
changeset
|
16 GNU General Public License for more details. |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 along with Octave; see the file COPYING. If not, see |
24534
194eb4bd202b
maint: Update punctuation for GPL v3 license text.
Rik <rik@octave.org>
parents:
23220
diff
changeset
|
20 <https://www.gnu.org/licenses/>. |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 */ |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 |
20791
f7084eae3318
maint: Use Octave coding conventions for #if statements.
Rik <rik@octave.org>
parents:
19697
diff
changeset
|
24 #if ! defined (octave_version_h) |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 #define octave_version_h 1 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 |
21244
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
21017
diff
changeset
|
27 #include "octave-config.h" |
1473547f50f5
include octave-config.h in public header files
John W. Eaton <jwe@octave.org>
parents:
21017
diff
changeset
|
28 |
9906 | 29 #define OCTAVE_VERSION %OCTAVE_VERSION% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
30 |
18229
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
31 #define OCTAVE_MAJOR_VERSION %OCTAVE_MAJOR_VERSION% |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
32 |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
33 #define OCTAVE_MINOR_VERSION %OCTAVE_MINOR_VERSION% |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
34 |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
35 #define OCTAVE_PATCH_VERSION %OCTAVE_PATCH_VERSION% |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
36 |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
37 // The "API version" is used as a way of checking that interfaces in the |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
38 // liboctave and libinterp libraries haven't changed in a backwardly |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
39 // incompatible way when loading .oct files. A better way to do that is |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
40 // with library versioning, but not all systems support that. |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
41 // NOTE: This macro will be removed in a future version of Octave. If |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
42 // you insist on checking for features using a version number, use the |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
43 // OCTAVE_MAJOR_VERSION, OCTAVE_MINOR_VERSION, and |
b6b6e0dc700e
provide version number macros (bug #41045)
John W. Eaton <jwe@octave.org>
parents:
17956
diff
changeset
|
44 // OCTAVE_PATCH_VERSION macros instead. |
9906 | 45 #define OCTAVE_API_VERSION %OCTAVE_API_VERSION% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
46 |
9906 | 47 #define OCTAVE_RELEASE_DATE %OCTAVE_RELEASE_DATE% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
48 |
9906 | 49 #define OCTAVE_COPYRIGHT %OCTAVE_COPYRIGHT% |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
50 |
17685
3d862202c4f6
Ensure <string> is included when incuding version.h
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
17510
diff
changeset
|
51 #include <string> |
3d862202c4f6
Ensure <string> is included when incuding version.h
Philip Nienhuis <prnienhuis@users.sf.net>
parents:
17510
diff
changeset
|
52 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
53 extern OCTINTERP_API std::string octave_www_statement (bool html = false); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
54 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
55 extern OCTINTERP_API std::string octave_contrib_statement (bool html = false); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
56 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
57 extern OCTINTERP_API std::string octave_bugs_statement (bool html = false); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
58 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
59 extern OCTINTERP_API std::string octave_name_version_and_copyright (void); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
60 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
61 extern OCTINTERP_API std::string |
17510
7542f4496974
eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents:
15512
diff
changeset
|
62 octave_name_version_copyright_copying_and_warranty |
21017
93748bcaec17
maint: Replace emtpy 'std::string ()' calls with "".
Rik <rik@octave.org>
parents:
20791
diff
changeset
|
63 (bool html = false, const std::string& extra_info = ""); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
64 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
65 extern OCTINTERP_API std::string |
17510
7542f4496974
eliminate some macros in version.h
John W. Eaton <jwe@octave.org>
parents:
15512
diff
changeset
|
66 octave_name_version_copyright_copying_warranty_and_bugs |
21017
93748bcaec17
maint: Replace emtpy 'std::string ()' calls with "".
Rik <rik@octave.org>
parents:
20791
diff
changeset
|
67 (bool html = false, const std::string& extra_info = ""); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
68 |
17956
6e43fbab4b29
Export symbols from version.h.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
17744
diff
changeset
|
69 extern OCTINTERP_API std::string octave_startup_message (bool html = false); |
9794
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
70 |
0d4613a736e9
convert build system to use automake and libtool
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
71 #endif |