GNU Octave  4.2.1
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-2017 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 "octave-config.h"
28 
29 #include <string>
30 
31 #include "pathsearch.h"
32 
33 #if ! defined (OCTAVE_CANONICAL_HOST_TYPE)
34 # define OCTAVE_CANONICAL_HOST_TYPE %OCTAVE_CANONICAL_HOST_TYPE%
35 #endif
36 
37 #if ! defined (OCTAVE_DEFAULT_PAGER)
38 # define OCTAVE_DEFAULT_PAGER %OCTAVE_DEFAULT_PAGER%
39 #endif
40 
41 #if ! defined (OCTAVE_ARCHLIBDIR)
42 # define OCTAVE_ARCHLIBDIR %OCTAVE_ARCHLIBDIR%
43 #endif
44 
45 #if ! defined (OCTAVE_BINDIR)
46 # define OCTAVE_BINDIR %OCTAVE_BINDIR%
47 #endif
48 
49 #if ! defined (OCTAVE_DATADIR)
50 # define OCTAVE_DATADIR %OCTAVE_DATADIR%
51 #endif
52 
53 #if ! defined (OCTAVE_DATAROOTDIR)
54 # define OCTAVE_DATAROOTDIR %OCTAVE_DATAROOTDIR%
55 #endif
56 
57 #if ! defined (OCTAVE_DOC_CACHE_FILE)
58 # define OCTAVE_DOC_CACHE_FILE %OCTAVE_DOC_CACHE_FILE%
59 #endif
60 
61 #if ! defined (OCTAVE_TEXI_MACROS_FILE)
62 # define OCTAVE_TEXI_MACROS_FILE %OCTAVE_TEXI_MACROS_FILE%
63 #endif
64 
65 #if ! defined (OCTAVE_EXEC_PREFIX)
66 # define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX%
67 #endif
68 
69 #if ! defined (OCTAVE_FCNFILEDIR)
70 # define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR%
71 #endif
72 
73 #if ! defined (OCTAVE_IMAGEDIR)
74 # define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR%
75 #endif
76 
77 #if ! defined (OCTAVE_INCLUDEDIR)
78 # define OCTAVE_INCLUDEDIR %OCTAVE_INCLUDEDIR%
79 #endif
80 
81 #if ! defined (OCTAVE_INFODIR)
82 # define OCTAVE_INFODIR %OCTAVE_INFODIR%
83 #endif
84 
85 #if ! defined (OCTAVE_INFOFILE)
86 # define OCTAVE_INFOFILE %OCTAVE_INFOFILE%
87 #endif
88 
89 #if ! defined (OCTAVE_LIBDIR)
90 # define OCTAVE_LIBDIR %OCTAVE_LIBDIR%
91 #endif
92 
93 #if ! defined (OCTAVE_LIBEXECDIR)
94 # define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR%
95 #endif
96 
97 #if ! defined (OCTAVE_LIBEXECDIR)
98 # define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR%
99 #endif
100 
101 #if ! defined (OCTAVE_LOCALAPIFCNFILEDIR)
102 # define OCTAVE_LOCALAPIFCNFILEDIR %OCTAVE_LOCALAPIFCNFILEDIR%
103 #endif
104 
105 #if ! defined (OCTAVE_LOCALAPIOCTFILEDIR)
106 # define OCTAVE_LOCALAPIOCTFILEDIR %OCTAVE_LOCALAPIOCTFILEDIR%
107 #endif
108 
109 #if ! defined (OCTAVE_LOCALARCHLIBDIR)
110 # define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR%
111 #endif
112 
113 #if ! defined (OCTAVE_LOCALFCNFILEDIR)
114 # define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR%
115 #endif
116 
117 #if ! defined (OCTAVE_LOCALOCTFILEDIR)
118 # define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR%
119 #endif
120 
121 #if ! defined (OCTAVE_LOCALSTARTUPFILEDIR)
122 # define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR%
123 #endif
124 
125 #if ! defined (OCTAVE_LOCALAPIARCHLIBDIR)
126 # define OCTAVE_LOCALAPIARCHLIBDIR %OCTAVE_LOCALAPIARCHLIBDIR%
127 #endif
128 
129 #if ! defined (OCTAVE_LOCALVERARCHLIBDIR)
130 # define OCTAVE_LOCALVERARCHLIBDIR %OCTAVE_LOCALVERARCHLIBDIR%
131 #endif
132 
133 #if ! defined (OCTAVE_LOCALVERFCNFILEDIR)
134 # define OCTAVE_LOCALVERFCNFILEDIR %OCTAVE_LOCALVERFCNFILEDIR%
135 #endif
136 
137 #if ! defined (OCTAVE_LOCALVEROCTFILEDIR)
138 # define OCTAVE_LOCALVEROCTFILEDIR %OCTAVE_LOCALVEROCTFILEDIR%
139 #endif
140 
141 #if ! defined (OCTAVE_MAN1DIR)
142 # define OCTAVE_MAN1DIR %OCTAVE_MAN1DIR%
143 #endif
144 
145 #if ! defined (OCTAVE_MAN1EXT)
146 # define OCTAVE_MAN1EXT %OCTAVE_MAN1EXT%
147 #endif
148 
149 #if ! defined (OCTAVE_MANDIR)
150 # define OCTAVE_MANDIR %OCTAVE_MANDIR%
151 #endif
152 
153 #if ! defined (OCTAVE_OCTDATADIR)
154 # define OCTAVE_OCTDATADIR %OCTAVE_OCTDATADIR%
155 #endif
156 
157 #if ! defined (OCTAVE_OCTFILEDIR)
158 # define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR%
159 #endif
160 
161 #if ! defined (OCTAVE_OCTETCDIR)
162 # define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR%
163 #endif
164 
165 #if ! defined (OCTAVE_OCTLOCALEDIR)
166 # define OCTAVE_OCTLOCALEDIR %OCTAVE_OCTLOCALEDIR%
167 #endif
168 
169 #if ! defined (OCTAVE_OCTINCLUDEDIR)
170 # define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR%
171 #endif
172 
173 #if ! defined (OCTAVE_OCTLIBDIR)
174 # define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR%
175 #endif
176 
177 #if ! defined (OCTAVE_OCTTESTSDIR)
178 # define OCTAVE_OCTTESTSDIR %OCTAVE_OCTTESTSDIR%
179 #endif
180 
181 #if ! defined (OCTAVE_PREFIX)
182 # define OCTAVE_PREFIX %OCTAVE_PREFIX%
183 #endif
184 
185 #if ! defined (OCTAVE_STARTUPFILEDIR)
186 # define OCTAVE_STARTUPFILEDIR %OCTAVE_STARTUPFILEDIR%
187 #endif
188 
189 #if ! defined (OCTAVE_RELEASE)
190 # define OCTAVE_RELEASE %OCTAVE_RELEASE%
191 #endif
192 
194 
202 
206 
210 
214 
217 
219 
220 // Name of the editor to be invoked by the edit_history command.
222 
225 
227 
228 // Name of the FFTW wisdom program.
230 
232 
233 extern OCTINTERP_API void install_defaults (void);
234 
235 extern OCTINTERP_API void
236 set_exec_path (const std::string& path = "");
237 
238 extern OCTINTERP_API void
239 set_image_path (const std::string& path = "");
240 
241 #endif
OCTINTERP_API std::string Vlocal_site_defaults_file
Definition: defaults.cc:92
OCTINTERP_API std::string Vimage_dir
Definition: defaults.cc:81
OCTINTERP_API std::string Vlocal_api_oct_file_dir
Definition: defaults.cc:67
OCTINTERP_API std::string Vlocal_api_fcn_file_dir
Definition: defaults.cc:71
OCTINTERP_API std::string Voct_etc_dir
Definition: defaults.cc:75
OCTINTERP_API void install_defaults(void)
Definition: defaults.cc:416
OCTINTERP_API std::string Vbin_dir
Definition: defaults.cc:57
OCTINTERP_API std::string Vfcn_file_dir
Definition: defaults.cc:79
OCTINTERP_API void set_image_path(const std::string &path="")
Definition: defaults.cc:289
OCTINTERP_API std::string Vdata_dir
Definition: defaults.cc:59
OCTINTERP_API void set_exec_path(const std::string &path="")
Definition: defaults.cc:250
OCTINTERP_API std::string Vlocal_ver_fcn_file_dir
Definition: defaults.cc:70
OCTINTERP_API std::string VEDITOR
Definition: defaults.cc:88
OCTINTERP_API std::string Voct_file_dir
Definition: defaults.cc:78
OCTINTERP_API std::string Vlocal_ver_arch_lib_dir
Definition: defaults.cc:64
OCTINTERP_API std::string Varch_lib_dir
Definition: defaults.cc:61
OCTINTERP_API std::string Vlocal_arch_lib_dir
Definition: defaults.cc:62
OCTINTERP_API std::string Vsite_defaults_file
Definition: defaults.cc:93
#define OCTINTERP_API
Definition: mexproto.h:69
OCTINTERP_API std::string Voct_data_dir
Definition: defaults.cc:74
OCTINTERP_API std::string Vlocal_ver_oct_file_dir
Definition: defaults.cc:66
OCTINTERP_API std::string Voctave_home
Definition: defaults.cc:55
OCTINTERP_API std::string Vlocal_fcn_file_dir
Definition: defaults.cc:72
OCTINTERP_API std::string Vlocal_oct_file_dir
Definition: defaults.cc:68
OCTINTERP_API std::string Vlibexec_dir
Definition: defaults.cc:60
OCTINTERP_API std::string Vbuilt_in_docstrings_file
Definition: defaults.cc:95
OCTINTERP_API std::string Vfftw_wisdom_program
OCTINTERP_API std::string Vinfo_dir
Definition: defaults.cc:58
OCTINTERP_API std::string Voct_locale_dir
Definition: defaults.cc:76
OCTINTERP_API std::string subst_octave_home(const std::string &)
Definition: defaults.cc:98
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
Definition: utils.cc:854