Mercurial > hg > octave-nkf
annotate libinterp/corefcn/defaults.in.h @ 19840:c5270263d466 gui-release
close gui-release branch
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 30 Jan 2015 17:41:50 -0500 |
parents | 175b392e91fe |
children | d902542221c8 |
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% |
12 | 2 /* |
3 | |
17744
d63878346099
maint: Update copyright notices for release.
John W. Eaton <jwe@octave.org>
parents:
16892
diff
changeset
|
4 Copyright (C) 1993-2013 John W. Eaton |
12 | 5 |
6 This file is part of Octave. | |
7 | |
8 Octave is free software; you can redistribute it and/or modify it | |
9 under the terms of the GNU General Public License as published by the | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
12 | 12 |
13 Octave is distributed in the hope that it will be useful, but WITHOUT | |
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
15 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
16 for more details. | |
17 | |
18 You should have received a copy of the GNU General Public License | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
12 | 21 |
22 */ | |
23 | |
423 | 24 #if !defined (octave_defaults_h) |
25 #define octave_defaults_h 1 | |
12 | 26 |
2204 | 27 #include <string> |
28 | |
3174 | 29 #include "pathsearch.h" |
30 | |
3584 | 31 #ifndef OCTAVE_CANONICAL_HOST_TYPE |
32 #define OCTAVE_CANONICAL_HOST_TYPE %OCTAVE_CANONICAL_HOST_TYPE% | |
33 #endif | |
34 | |
35 #ifndef OCTAVE_DEFAULT_PAGER | |
36 #define OCTAVE_DEFAULT_PAGER %OCTAVE_DEFAULT_PAGER% | |
12 | 37 #endif |
38 | |
3584 | 39 #ifndef OCTAVE_ARCHLIBDIR |
40 #define OCTAVE_ARCHLIBDIR %OCTAVE_ARCHLIBDIR% | |
41 #endif | |
42 | |
43 #ifndef OCTAVE_BINDIR | |
44 #define OCTAVE_BINDIR %OCTAVE_BINDIR% | |
45 #endif | |
46 | |
47 #ifndef OCTAVE_DATADIR | |
48 #define OCTAVE_DATADIR %OCTAVE_DATADIR% | |
666 | 49 #endif |
50 | |
5847 | 51 #ifndef OCTAVE_DATAROOTDIR |
52 #define OCTAVE_DATAROOTDIR %OCTAVE_DATAROOTDIR% | |
53 #endif | |
54 | |
8865
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
55 #ifndef OCTAVE_DOC_CACHE_FILE |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
56 #define OCTAVE_DOC_CACHE_FILE %OCTAVE_DOC_CACHE_FILE% |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
57 #endif |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
58 |
14614
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14547
diff
changeset
|
59 #ifndef OCTAVE_TEXI_MACROS_FILE |
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14547
diff
changeset
|
60 #define OCTAVE_TEXI_MACROS_FILE %OCTAVE_TEXI_MACROS_FILE% |
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14547
diff
changeset
|
61 #endif |
4e9dc46d4125
handle texinfo macros consistently in help system and manual
John W. Eaton <jwe@octave.org>
parents:
14547
diff
changeset
|
62 |
666 | 63 #ifndef OCTAVE_EXEC_PREFIX |
64 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% | |
65 #endif | |
66 | |
3584 | 67 #ifndef OCTAVE_FCNFILEDIR |
68 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR% | |
666 | 69 #endif |
70 | |
3584 | 71 #ifndef OCTAVE_IMAGEDIR |
72 #define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR% | |
666 | 73 #endif |
74 | |
3584 | 75 #ifndef OCTAVE_INCLUDEDIR |
76 #define OCTAVE_INCLUDEDIR %OCTAVE_INCLUDEDIR% | |
798 | 77 #endif |
78 | |
666 | 79 #ifndef OCTAVE_INFODIR |
80 #define OCTAVE_INFODIR %OCTAVE_INFODIR% | |
12 | 81 #endif |
82 | |
2512 | 83 #ifndef OCTAVE_INFOFILE |
84 #define OCTAVE_INFOFILE %OCTAVE_INFOFILE% | |
85 #endif | |
86 | |
3584 | 87 #ifndef OCTAVE_LIBDIR |
88 #define OCTAVE_LIBDIR %OCTAVE_LIBDIR% | |
89 #endif | |
90 | |
91 #ifndef OCTAVE_LIBEXECDIR | |
92 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% | |
93 #endif | |
94 | |
95 #ifndef OCTAVE_LIBEXECDIR | |
96 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% | |
97 #endif | |
98 | |
4449 | 99 #ifndef OCTAVE_LOCALAPIFCNFILEDIR |
100 #define OCTAVE_LOCALAPIFCNFILEDIR %OCTAVE_LOCALAPIFCNFILEDIR% | |
101 #endif | |
102 | |
103 #ifndef OCTAVE_LOCALAPIOCTFILEDIR | |
104 #define OCTAVE_LOCALAPIOCTFILEDIR %OCTAVE_LOCALAPIOCTFILEDIR% | |
105 #endif | |
106 | |
3584 | 107 #ifndef OCTAVE_LOCALARCHLIBDIR |
108 #define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR% | |
666 | 109 #endif |
110 | |
1476 | 111 #ifndef OCTAVE_LOCALFCNFILEDIR |
112 #define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR% | |
113 #endif | |
114 | |
3584 | 115 #ifndef OCTAVE_LOCALOCTFILEDIR |
116 #define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR% | |
117 #endif | |
118 | |
119 #ifndef OCTAVE_LOCALSTARTUPFILEDIR | |
4443 | 120 #define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR% |
3584 | 121 #endif |
122 | |
5909 | 123 #ifndef OCTAVE_LOCALAPIARCHLIBDIR |
124 #define OCTAVE_LOCALAPIARCHLIBDIR %OCTAVE_LOCALAPIARCHLIBDIR% | |
125 #endif | |
126 | |
3597 | 127 #ifndef OCTAVE_LOCALVERARCHLIBDIR |
128 #define OCTAVE_LOCALVERARCHLIBDIR %OCTAVE_LOCALVERARCHLIBDIR% | |
129 #endif | |
130 | |
131 #ifndef OCTAVE_LOCALVERFCNFILEDIR | |
132 #define OCTAVE_LOCALVERFCNFILEDIR %OCTAVE_LOCALVERFCNFILEDIR% | |
133 #endif | |
134 | |
135 #ifndef OCTAVE_LOCALVEROCTFILEDIR | |
136 #define OCTAVE_LOCALVEROCTFILEDIR %OCTAVE_LOCALVEROCTFILEDIR% | |
137 #endif | |
138 | |
3584 | 139 #ifndef OCTAVE_MAN1DIR |
140 #define OCTAVE_MAN1DIR %OCTAVE_MAN1DIR% | |
141 #endif | |
142 | |
143 #ifndef OCTAVE_MAN1EXT | |
144 #define OCTAVE_MAN1EXT %OCTAVE_MAN1EXT% | |
145 #endif | |
146 | |
147 #ifndef OCTAVE_MANDIR | |
148 #define OCTAVE_MANDIR %OCTAVE_MANDIR% | |
2439 | 149 #endif |
150 | |
666 | 151 #ifndef OCTAVE_OCTFILEDIR |
152 #define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR% | |
153 #endif | |
154 | |
8719
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
155 #ifndef OCTAVE_OCTETCDIR |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
156 #define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR% |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
157 #endif |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
158 |
15971
e27d9b9b71f4
gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents:
15470
diff
changeset
|
159 #ifndef OCTAVE_OCTLOCALEDIR |
e27d9b9b71f4
gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents:
15470
diff
changeset
|
160 #define OCTAVE_OCTLOCALEDIR %OCTAVE_OCTLOCALEDIR% |
e27d9b9b71f4
gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents:
15470
diff
changeset
|
161 #endif |
e27d9b9b71f4
gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents:
15470
diff
changeset
|
162 |
3584 | 163 #ifndef OCTAVE_OCTINCLUDEDIR |
164 #define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR% | |
666 | 165 #endif |
166 | |
3584 | 167 #ifndef OCTAVE_OCTLIBDIR |
168 #define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR% | |
666 | 169 #endif |
170 | |
16019
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15971
diff
changeset
|
171 #ifndef OCTAVE_OCTTESTSDIR |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15971
diff
changeset
|
172 #define OCTAVE_OCTTESTSDIR %OCTAVE_OCTTESTSDIR% |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15971
diff
changeset
|
173 #endif |
5b2126a8c84f
install tests and functions to run them
John W. Eaton <jwe@octave.org>
parents:
15971
diff
changeset
|
174 |
3584 | 175 #ifndef OCTAVE_PREFIX |
176 #define OCTAVE_PREFIX %OCTAVE_PREFIX% | |
684 | 177 #endif |
178 | |
3584 | 179 #ifndef OCTAVE_STARTUPFILEDIR |
4443 | 180 #define OCTAVE_STARTUPFILEDIR %OCTAVE_STARTUPFILEDIR% |
423 | 181 #endif |
182 | |
5658 | 183 #ifndef OCTAVE_RELEASE |
184 #define OCTAVE_RELEASE %OCTAVE_RELEASE% | |
185 #endif | |
186 | |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
187 extern OCTINTERP_API std::string Voctave_home; |
2204 | 188 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
189 extern OCTINTERP_API std::string Vbin_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
190 extern OCTINTERP_API std::string Vinfo_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
191 extern OCTINTERP_API std::string Vdata_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
192 extern OCTINTERP_API std::string Vlibexec_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
193 extern OCTINTERP_API std::string Varch_lib_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
194 extern OCTINTERP_API std::string Vlocal_arch_lib_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
195 extern OCTINTERP_API std::string Vlocal_ver_arch_lib_dir; |
5814 | 196 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
197 extern OCTINTERP_API std::string Vlocal_ver_oct_file_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
198 extern OCTINTERP_API std::string Vlocal_api_oct_file_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
199 extern OCTINTERP_API std::string Vlocal_oct_file_dir; |
5814 | 200 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
201 extern OCTINTERP_API std::string Vlocal_ver_fcn_file_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
202 extern OCTINTERP_API std::string Vlocal_api_fcn_file_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
203 extern OCTINTERP_API std::string Vlocal_fcn_file_dir; |
5814 | 204 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
205 extern OCTINTERP_API std::string Voct_etc_dir; |
15971
e27d9b9b71f4
gui: install translation files into $(datadir)/octave/$(version)/locale
Torsten <ttl@justmail.de>
parents:
15470
diff
changeset
|
206 extern OCTINTERP_API std::string Voct_locale_dir; |
15157
a87fa9132b72
provide Voct_etc_dir variable
John W. Eaton <jwe@octave.org>
parents:
15100
diff
changeset
|
207 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
208 extern OCTINTERP_API std::string Voct_file_dir; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
209 extern OCTINTERP_API std::string Vfcn_file_dir; |
5814 | 210 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
211 extern OCTINTERP_API std::string Vimage_dir; |
2204 | 212 |
213 // Name of the editor to be invoked by the edit_history command. | |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
214 extern OCTINTERP_API std::string VEDITOR; |
2204 | 215 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
216 extern OCTINTERP_API std::string Vlocal_site_defaults_file; |
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
217 extern OCTINTERP_API std::string Vsite_defaults_file; |
2204 | 218 |
15470
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15260
diff
changeset
|
219 extern OCTINTERP_API std::string Vbuilt_in_docstrings_file; |
bf0857c789f4
initialize docstrings for built-in functions from file
John W. Eaton <jwe@octave.org>
parents:
15260
diff
changeset
|
220 |
4776 | 221 // Name of the FFTW wisdom program. |
6693 | 222 extern OCTINTERP_API std::string Vfftw_wisdom_program; |
4776 | 223 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
224 extern OCTINTERP_API std::string subst_octave_home (const std::string&); |
6274 | 225 |
15260
789c8c3c9af5
Export more symbols from liboctinterp.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
15195
diff
changeset
|
226 extern OCTINTERP_API void install_defaults (void); |
2198 | 227 |
17787
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
228 extern OCTINTERP_API void |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
229 set_exec_path (const std::string& path = std::string ()); |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
230 |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
231 extern OCTINTERP_API void |
175b392e91fe
Use GNU style coding conventions for code in libinterp/
Rik <rik@octave.org>
parents:
17744
diff
changeset
|
232 set_image_path (const std::string& path = std::string ()); |
5814 | 233 |
12 | 234 #endif |