GNU Octave  3.8.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.h
Go to the documentation of this file.
1 // DO NOT EDIT! Generated automatically from defaults.in.h by Make.
2 /*
3 
4 Copyright (C) 1993-2013 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 "x86_64-unknown-linux-gnu"
33 #endif
34 
35 #ifndef OCTAVE_DEFAULT_PAGER
36 #define OCTAVE_DEFAULT_PAGER "less"
37 #endif
38 
39 #ifndef OCTAVE_ARCHLIBDIR
40 #define OCTAVE_ARCHLIBDIR "/usr/local/libexec/octave/3.8.0/exec/x86_64-unknown-linux-gnu"
41 #endif
42 
43 #ifndef OCTAVE_BINDIR
44 #define OCTAVE_BINDIR "/usr/local/bin"
45 #endif
46 
47 #ifndef OCTAVE_DATADIR
48 #define OCTAVE_DATADIR "/usr/local/share"
49 #endif
50 
51 #ifndef OCTAVE_DATAROOTDIR
52 #define OCTAVE_DATAROOTDIR "/usr/local/share"
53 #endif
54 
55 #ifndef OCTAVE_DOC_CACHE_FILE
56 #define OCTAVE_DOC_CACHE_FILE "/usr/local/share/octave/3.8.0/etc/doc-cache"
57 #endif
58 
59 #ifndef OCTAVE_TEXI_MACROS_FILE
60 #define OCTAVE_TEXI_MACROS_FILE "/usr/local/share/octave/3.8.0/etc/macros.texi"
61 #endif
62 
63 #ifndef OCTAVE_EXEC_PREFIX
64 #define OCTAVE_EXEC_PREFIX "/usr/local"
65 #endif
66 
67 #ifndef OCTAVE_FCNFILEDIR
68 #define OCTAVE_FCNFILEDIR "/usr/local/share/octave/3.8.0/m"
69 #endif
70 
71 #ifndef OCTAVE_IMAGEDIR
72 #define OCTAVE_IMAGEDIR "/usr/local/share/octave/3.8.0/imagelib"
73 #endif
74 
75 #ifndef OCTAVE_INCLUDEDIR
76 #define OCTAVE_INCLUDEDIR "/usr/local/include"
77 #endif
78 
79 #ifndef OCTAVE_INFODIR
80 #define OCTAVE_INFODIR "/usr/local/share/info"
81 #endif
82 
83 #ifndef OCTAVE_INFOFILE
84 #define OCTAVE_INFOFILE "/usr/local/share/info/octave.info"
85 #endif
86 
87 #ifndef OCTAVE_LIBDIR
88 #define OCTAVE_LIBDIR "/usr/local/lib"
89 #endif
90 
91 #ifndef OCTAVE_LIBEXECDIR
92 #define OCTAVE_LIBEXECDIR "/usr/local/libexec"
93 #endif
94 
95 #ifndef OCTAVE_LIBEXECDIR
96 #define OCTAVE_LIBEXECDIR "/usr/local/libexec"
97 #endif
98 
99 #ifndef OCTAVE_LOCALAPIFCNFILEDIR
100 #define OCTAVE_LOCALAPIFCNFILEDIR "/usr/local/share/octave/site/api-v49+/m"
101 #endif
102 
103 #ifndef OCTAVE_LOCALAPIOCTFILEDIR
104 #define OCTAVE_LOCALAPIOCTFILEDIR "/usr/local/lib/octave/site/oct/api-v49+/x86_64-unknown-linux-gnu"
105 #endif
106 
107 #ifndef OCTAVE_LOCALARCHLIBDIR
108 #define OCTAVE_LOCALARCHLIBDIR "/usr/local/libexec/octave/site/exec/x86_64-unknown-linux-gnu"
109 #endif
110 
111 #ifndef OCTAVE_LOCALFCNFILEDIR
112 #define OCTAVE_LOCALFCNFILEDIR "/usr/local/share/octave/site/m"
113 #endif
114 
115 #ifndef OCTAVE_LOCALOCTFILEDIR
116 #define OCTAVE_LOCALOCTFILEDIR "/usr/local/lib/octave/site/oct/x86_64-unknown-linux-gnu"
117 #endif
118 
119 #ifndef OCTAVE_LOCALSTARTUPFILEDIR
120 #define OCTAVE_LOCALSTARTUPFILEDIR "/usr/local/share/octave/site/m/startup"
121 #endif
122 
123 #ifndef OCTAVE_LOCALAPIARCHLIBDIR
124 #define OCTAVE_LOCALAPIARCHLIBDIR "/usr/local/libexec/octave/api-v49+/site/exec/x86_64-unknown-linux-gnu"
125 #endif
126 
127 #ifndef OCTAVE_LOCALVERARCHLIBDIR
128 #define OCTAVE_LOCALVERARCHLIBDIR "/usr/local/libexec/octave/3.8.0/site/exec/x86_64-unknown-linux-gnu"
129 #endif
130 
131 #ifndef OCTAVE_LOCALVERFCNFILEDIR
132 #define OCTAVE_LOCALVERFCNFILEDIR "/usr/local/share/octave/3.8.0/site/m"
133 #endif
134 
135 #ifndef OCTAVE_LOCALVEROCTFILEDIR
136 #define OCTAVE_LOCALVEROCTFILEDIR "/usr/local/lib/octave/3.8.0/site/oct/x86_64-unknown-linux-gnu"
137 #endif
138 
139 #ifndef OCTAVE_MAN1DIR
140 #define OCTAVE_MAN1DIR "/usr/local/share/man/man1"
141 #endif
142 
143 #ifndef OCTAVE_MAN1EXT
144 #define OCTAVE_MAN1EXT ".1"
145 #endif
146 
147 #ifndef OCTAVE_MANDIR
148 #define OCTAVE_MANDIR "/usr/local/share/man"
149 #endif
150 
151 #ifndef OCTAVE_OCTFILEDIR
152 #define OCTAVE_OCTFILEDIR "/usr/local/lib/octave/3.8.0/oct/x86_64-unknown-linux-gnu"
153 #endif
154 
155 #ifndef OCTAVE_OCTETCDIR
156 #define OCTAVE_OCTETCDIR "/usr/local/share/octave/3.8.0/etc"
157 #endif
158 
159 #ifndef OCTAVE_OCTLOCALEDIR
160 #define OCTAVE_OCTLOCALEDIR "/usr/local/share/octave/3.8.0/locale"
161 #endif
162 
163 #ifndef OCTAVE_OCTINCLUDEDIR
164 #define OCTAVE_OCTINCLUDEDIR "/usr/local/include/octave-3.8.0/octave"
165 #endif
166 
167 #ifndef OCTAVE_OCTLIBDIR
168 #define OCTAVE_OCTLIBDIR "/usr/local/lib/octave/3.8.0"
169 #endif
170 
171 #ifndef OCTAVE_OCTTESTSDIR
172 #define OCTAVE_OCTTESTSDIR "/usr/local/share/octave/3.8.0/etc/tests"
173 #endif
174 
175 #ifndef OCTAVE_PREFIX
176 #define OCTAVE_PREFIX "/usr/local"
177 #endif
178 
179 #ifndef OCTAVE_STARTUPFILEDIR
180 #define OCTAVE_STARTUPFILEDIR "/usr/local/share/octave/3.8.0/m/startup"
181 #endif
182 
183 #ifndef OCTAVE_RELEASE
184 #define OCTAVE_RELEASE ""
185 #endif
186 
187 extern OCTINTERP_API std::string Voctave_home;
188 
189 extern OCTINTERP_API std::string Vbin_dir;
190 extern OCTINTERP_API std::string Vinfo_dir;
191 extern OCTINTERP_API std::string Vdata_dir;
192 extern OCTINTERP_API std::string Vlibexec_dir;
193 extern OCTINTERP_API std::string Varch_lib_dir;
194 extern OCTINTERP_API std::string Vlocal_arch_lib_dir;
195 extern OCTINTERP_API std::string Vlocal_ver_arch_lib_dir;
196 
197 extern OCTINTERP_API std::string Vlocal_ver_oct_file_dir;
198 extern OCTINTERP_API std::string Vlocal_api_oct_file_dir;
199 extern OCTINTERP_API std::string Vlocal_oct_file_dir;
200 
201 extern OCTINTERP_API std::string Vlocal_ver_fcn_file_dir;
202 extern OCTINTERP_API std::string Vlocal_api_fcn_file_dir;
203 extern OCTINTERP_API std::string Vlocal_fcn_file_dir;
204 
205 extern OCTINTERP_API std::string Voct_etc_dir;
206 extern OCTINTERP_API std::string Voct_locale_dir;
207 
208 extern OCTINTERP_API std::string Voct_file_dir;
209 extern OCTINTERP_API std::string Vfcn_file_dir;
210 
211 extern OCTINTERP_API std::string Vimage_dir;
212 
213 // Name of the editor to be invoked by the edit_history command.
214 extern OCTINTERP_API std::string VEDITOR;
215 
216 extern OCTINTERP_API std::string Vlocal_site_defaults_file;
217 extern OCTINTERP_API std::string Vsite_defaults_file;
218 
219 extern OCTINTERP_API std::string Vbuilt_in_docstrings_file;
220 
221 // Name of the FFTW wisdom program.
222 extern OCTINTERP_API std::string Vfftw_wisdom_program;
223 
224 extern OCTINTERP_API std::string subst_octave_home (const std::string&);
225 
226 extern OCTINTERP_API void install_defaults (void);
227 
228 extern OCTINTERP_API void
229 set_exec_path (const std::string& path = std::string ());
230 
231 extern OCTINTERP_API void
232 set_image_path (const std::string& path = std::string ());
233 
234 #endif