2158
|
1 // defaults.h.in |
12
|
2 /* |
|
3 |
2847
|
4 Copyright (C) 1996, 1997 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 |
|
10 Free Software Foundation; either version 2, or (at your option) any |
|
11 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, write to the Free |
1315
|
20 Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
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 |
|
51 #ifndef OCTAVE_EXEC_PREFIX |
|
52 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% |
|
53 #endif |
|
54 |
3584
|
55 #ifndef OCTAVE_FCNFILEDIR |
|
56 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR% |
666
|
57 #endif |
|
58 |
3584
|
59 #ifndef OCTAVE_FCNFILEPATH |
|
60 #define OCTAVE_FCNFILEPATH %OCTAVE_FCNFILEPATH% |
3141
|
61 #endif |
|
62 |
3584
|
63 #ifndef OCTAVE_IMAGEDIR |
|
64 #define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR% |
666
|
65 #endif |
|
66 |
3584
|
67 #ifndef OCTAVE_IMAGEPATH |
|
68 #define OCTAVE_IMAGEPATH %OCTAVE_IMAGEPATH% |
3141
|
69 #endif |
|
70 |
3584
|
71 #ifndef OCTAVE_INCLUDEDIR |
|
72 #define OCTAVE_INCLUDEDIR %OCTAVE_INCLUDEDIR% |
798
|
73 #endif |
|
74 |
666
|
75 #ifndef OCTAVE_INFODIR |
|
76 #define OCTAVE_INFODIR %OCTAVE_INFODIR% |
12
|
77 #endif |
|
78 |
2512
|
79 #ifndef OCTAVE_INFOFILE |
|
80 #define OCTAVE_INFOFILE %OCTAVE_INFOFILE% |
|
81 #endif |
|
82 |
3584
|
83 #ifndef OCTAVE_LIBDIR |
|
84 #define OCTAVE_LIBDIR %OCTAVE_LIBDIR% |
|
85 #endif |
|
86 |
|
87 #ifndef OCTAVE_LIBEXECDIR |
|
88 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% |
|
89 #endif |
|
90 |
|
91 #ifndef OCTAVE_LIBEXECDIR |
|
92 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% |
|
93 #endif |
|
94 |
4449
|
95 #ifndef OCTAVE_LOCALAPIFCNFILEDIR |
|
96 #define OCTAVE_LOCALAPIFCNFILEDIR %OCTAVE_LOCALAPIFCNFILEDIR% |
|
97 #endif |
|
98 |
|
99 #ifndef OCTAVE_LOCALAPIOCTFILEDIR |
|
100 #define OCTAVE_LOCALAPIOCTFILEDIR %OCTAVE_LOCALAPIOCTFILEDIR% |
|
101 #endif |
|
102 |
3584
|
103 #ifndef OCTAVE_LOCALARCHLIBDIR |
|
104 #define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR% |
666
|
105 #endif |
|
106 |
1476
|
107 #ifndef OCTAVE_LOCALFCNFILEDIR |
|
108 #define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR% |
|
109 #endif |
|
110 |
666
|
111 #ifndef OCTAVE_LOCALFCNFILEPATH |
|
112 #define OCTAVE_LOCALFCNFILEPATH %OCTAVE_LOCALFCNFILEPATH% |
|
113 #endif |
|
114 |
3584
|
115 #ifndef OCTAVE_LOCALOCTFILEDIR |
|
116 #define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR% |
|
117 #endif |
|
118 |
|
119 #ifndef OCTAVE_LOCALOCTFILEPATH |
|
120 #define OCTAVE_LOCALOCTFILEPATH %OCTAVE_LOCALOCTFILEPATH% |
423
|
121 #endif |
|
122 |
3584
|
123 #ifndef OCTAVE_LOCALSTARTUPFILEDIR |
4443
|
124 #define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR% |
3584
|
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 |
3584
|
155 #ifndef OCTAVE_OCTINCLUDEDIR |
|
156 #define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR% |
666
|
157 #endif |
|
158 |
3584
|
159 #ifndef OCTAVE_OCTLIBDIR |
|
160 #define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR% |
666
|
161 #endif |
|
162 |
3584
|
163 #ifndef OCTAVE_PREFIX |
|
164 #define OCTAVE_PREFIX %OCTAVE_PREFIX% |
684
|
165 #endif |
|
166 |
3584
|
167 #ifndef OCTAVE_STARTUPFILEDIR |
4443
|
168 #define OCTAVE_STARTUPFILEDIR %OCTAVE_STARTUPFILEDIR% |
423
|
169 #endif |
|
170 |
3532
|
171 extern std::string Voctave_home; |
2204
|
172 |
3532
|
173 extern std::string Vbin_dir; |
|
174 extern std::string Vinfo_dir; |
|
175 extern std::string Vdata_dir; |
|
176 extern std::string Vlibexec_dir; |
|
177 extern std::string Varch_lib_dir; |
|
178 extern std::string Vlocal_arch_lib_dir; |
3597
|
179 extern std::string Vlocal_ver_arch_lib_dir; |
3532
|
180 extern std::string Vfcn_file_dir; |
2204
|
181 |
|
182 // The path that will be searched for programs that we execute. |
|
183 // (--exec-path path) |
3532
|
184 extern std::string Vexec_path; |
2204
|
185 |
3174
|
186 // And the cached directory path corresponding to Vload_path. |
|
187 extern dir_path Vload_path_dir_path; |
|
188 |
2204
|
189 // Name of the editor to be invoked by the edit_history command. |
3532
|
190 extern std::string Veditor; |
2204
|
191 |
3532
|
192 extern std::string Vimagepath; |
2204
|
193 |
3532
|
194 extern std::string Vlocal_site_defaults_file; |
|
195 extern std::string Vsite_defaults_file; |
2204
|
196 |
4776
|
197 // Name of the FFTW wisdom program. |
|
198 extern std::string Vfftw_wisdom_prog; |
|
199 |
4217
|
200 extern void execute_default_pkg_add_files (void); |
|
201 |
3532
|
202 extern std::string maybe_add_default_load_path (const std::string& pathstring); |
2204
|
203 |
2198
|
204 extern void install_defaults (void); |
|
205 |
12
|
206 #endif |
|
207 |
|
208 /* |
|
209 ;;; Local Variables: *** |
|
210 ;;; mode: C++ *** |
|
211 ;;; page-delimiter: "^/\\*" *** |
|
212 ;;; End: *** |
|
213 */ |