GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
defaults.in.h
Go to the documentation of this file.
1 // %NO_EDIT_WARNING%
2 /*
3 
4 Copyright (C) 1993-2015 John W. Eaton
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
10 Free Software Foundation; either version 3 of the License, or (at your
11 option) any later version.
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
19 along with Octave; see the file COPYING. If not, see
20 <http://www.gnu.org/licenses/>.
21 
22 */
23 
24 #if !defined (octave_defaults_h)
25 #define octave_defaults_h 1
26 
27 #include <string>
28 
29 #include "pathsearch.h"
30 
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%
37 #endif
38 
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%
49 #endif
50 
51 #ifndef OCTAVE_DATAROOTDIR
52 #define OCTAVE_DATAROOTDIR %OCTAVE_DATAROOTDIR%
53 #endif
54 
55 #ifndef OCTAVE_DOC_CACHE_FILE
56 #define OCTAVE_DOC_CACHE_FILE %OCTAVE_DOC_CACHE_FILE%
57 #endif
58 
59 #ifndef OCTAVE_TEXI_MACROS_FILE
60 #define OCTAVE_TEXI_MACROS_FILE %OCTAVE_TEXI_MACROS_FILE%
61 #endif
62 
63 #ifndef OCTAVE_EXEC_PREFIX
64 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX%
65 #endif
66 
67 #ifndef OCTAVE_FCNFILEDIR
68 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR%
69 #endif
70 
71 #ifndef OCTAVE_IMAGEDIR
72 #define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR%
73 #endif
74 
75 #ifndef OCTAVE_INCLUDEDIR
76 #define OCTAVE_INCLUDEDIR %OCTAVE_INCLUDEDIR%
77 #endif
78 
79 #ifndef OCTAVE_INFODIR
80 #define OCTAVE_INFODIR %OCTAVE_INFODIR%
81 #endif
82 
83 #ifndef OCTAVE_INFOFILE
84 #define OCTAVE_INFOFILE %OCTAVE_INFOFILE%
85 #endif
86 
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 
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 
107 #ifndef OCTAVE_LOCALARCHLIBDIR
108 #define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR%
109 #endif
110 
111 #ifndef OCTAVE_LOCALFCNFILEDIR
112 #define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR%
113 #endif
114 
115 #ifndef OCTAVE_LOCALOCTFILEDIR
116 #define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR%
117 #endif
118 
119 #ifndef OCTAVE_LOCALSTARTUPFILEDIR
120 #define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR%
121 #endif
122 
123 #ifndef OCTAVE_LOCALAPIARCHLIBDIR
124 #define OCTAVE_LOCALAPIARCHLIBDIR %OCTAVE_LOCALAPIARCHLIBDIR%
125 #endif
126 
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 
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%
149 #endif
150 
151 #ifndef OCTAVE_OCTDATADIR
152 #define OCTAVE_OCTDATADIR %OCTAVE_OCTDATADIR%
153 #endif
154 
155 #ifndef OCTAVE_OCTFILEDIR
156 #define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR%
157 #endif
158 
159 #ifndef OCTAVE_OCTETCDIR
160 #define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR%
161 #endif
162 
163 #ifndef OCTAVE_OCTLOCALEDIR
164 #define OCTAVE_OCTLOCALEDIR %OCTAVE_OCTLOCALEDIR%
165 #endif
166 
167 #ifndef OCTAVE_OCTINCLUDEDIR
168 #define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR%
169 #endif
170 
171 #ifndef OCTAVE_OCTLIBDIR
172 #define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR%
173 #endif
174 
175 #ifndef OCTAVE_OCTTESTSDIR
176 #define OCTAVE_OCTTESTSDIR %OCTAVE_OCTTESTSDIR%
177 #endif
178 
179 #ifndef OCTAVE_PREFIX
180 #define OCTAVE_PREFIX %OCTAVE_PREFIX%
181 #endif
182 
183 #ifndef OCTAVE_STARTUPFILEDIR
184 #define OCTAVE_STARTUPFILEDIR %OCTAVE_STARTUPFILEDIR%
185 #endif
186 
187 #ifndef OCTAVE_RELEASE
188 #define OCTAVE_RELEASE %OCTAVE_RELEASE%
189 #endif
190 
191 extern OCTINTERP_API std::string Voctave_home;
192 
193 extern OCTINTERP_API std::string Vbin_dir;
194 extern OCTINTERP_API std::string Vinfo_dir;
195 extern OCTINTERP_API std::string Vdata_dir;
196 extern OCTINTERP_API std::string Vlibexec_dir;
197 extern OCTINTERP_API std::string Varch_lib_dir;
198 extern OCTINTERP_API std::string Vlocal_arch_lib_dir;
199 extern OCTINTERP_API std::string Vlocal_ver_arch_lib_dir;
200 
201 extern OCTINTERP_API std::string Vlocal_ver_oct_file_dir;
202 extern OCTINTERP_API std::string Vlocal_api_oct_file_dir;
203 extern OCTINTERP_API std::string Vlocal_oct_file_dir;
204 
205 extern OCTINTERP_API std::string Vlocal_ver_fcn_file_dir;
206 extern OCTINTERP_API std::string Vlocal_api_fcn_file_dir;
207 extern OCTINTERP_API std::string Vlocal_fcn_file_dir;
208 
209 extern OCTINTERP_API std::string Voct_data_dir;
210 extern OCTINTERP_API std::string Voct_etc_dir;
211 extern OCTINTERP_API std::string Voct_locale_dir;
212 
213 extern OCTINTERP_API std::string Voct_file_dir;
214 extern OCTINTERP_API std::string Vfcn_file_dir;
215 
216 extern OCTINTERP_API std::string Vimage_dir;
217 
218 // Name of the editor to be invoked by the edit_history command.
219 extern OCTINTERP_API std::string VEDITOR;
220 
221 extern OCTINTERP_API std::string Vlocal_site_defaults_file;
222 extern OCTINTERP_API std::string Vsite_defaults_file;
223 
224 extern OCTINTERP_API std::string Vbuilt_in_docstrings_file;
225 
226 // Name of the FFTW wisdom program.
227 extern OCTINTERP_API std::string Vfftw_wisdom_program;
228 
229 extern OCTINTERP_API std::string subst_octave_home (const std::string&);
230 
231 extern OCTINTERP_API void install_defaults (void);
232 
233 extern OCTINTERP_API void
234 set_exec_path (const std::string& path = std::string ());
235 
236 extern OCTINTERP_API void
237 set_image_path (const std::string& path = std::string ());
238 
239 #endif
OCTINTERP_API std::string Vlocal_site_defaults_file
Definition: defaults.cc:95
OCTINTERP_API std::string Vimage_dir
Definition: defaults.cc:84
OCTINTERP_API std::string Vlocal_api_oct_file_dir
Definition: defaults.cc:70
OCTINTERP_API std::string Vlocal_api_fcn_file_dir
Definition: defaults.cc:74
OCTINTERP_API std::string Voct_etc_dir
Definition: defaults.cc:78
OCTINTERP_API void set_image_path(const std::string &path=std::string())
Definition: defaults.cc:292
OCTINTERP_API void install_defaults(void)
Definition: defaults.cc:419
OCTINTERP_API std::string Vbin_dir
Definition: defaults.cc:60
OCTINTERP_API void set_exec_path(const std::string &path=std::string())
Definition: defaults.cc:253
OCTINTERP_API std::string Vfcn_file_dir
Definition: defaults.cc:82
OCTINTERP_API std::string Vdata_dir
Definition: defaults.cc:62
OCTINTERP_API std::string Vlocal_ver_fcn_file_dir
Definition: defaults.cc:73
OCTINTERP_API std::string VEDITOR
Definition: defaults.cc:91
OCTINTERP_API std::string Voct_file_dir
Definition: defaults.cc:81
OCTINTERP_API std::string Vlocal_ver_arch_lib_dir
Definition: defaults.cc:67
OCTINTERP_API std::string Varch_lib_dir
Definition: defaults.cc:64
OCTINTERP_API std::string Vlocal_arch_lib_dir
Definition: defaults.cc:65
OCTINTERP_API std::string Vsite_defaults_file
Definition: defaults.cc:96
#define OCTINTERP_API
Definition: mexproto.h:66
OCTINTERP_API std::string Voct_data_dir
Definition: defaults.cc:77
OCTINTERP_API std::string Vlocal_ver_oct_file_dir
Definition: defaults.cc:69
OCTINTERP_API std::string Voctave_home
Definition: defaults.cc:58
OCTINTERP_API std::string Vlocal_fcn_file_dir
Definition: defaults.cc:75
OCTINTERP_API std::string Vlocal_oct_file_dir
Definition: defaults.cc:71
OCTINTERP_API std::string Vlibexec_dir
Definition: defaults.cc:63
OCTINTERP_API std::string Vbuilt_in_docstrings_file
Definition: defaults.cc:98
OCTINTERP_API std::string Vfftw_wisdom_program
OCTINTERP_API std::string Vinfo_dir
Definition: defaults.cc:61
OCTINTERP_API std::string Voct_locale_dir
Definition: defaults.cc:79
OCTINTERP_API std::string subst_octave_home(const std::string &)
Definition: defaults.cc:101