comparison src/defaults.in.h @ 14547:1bf39e944e43

rename .in.h and .in.cc files to .h.in and .cc.in * defaults.in.h: Rename from defaults.h.in. * graphics.in.h: Rename from graphics.h.in. * mkoctfile.in.cc: Rename from mkoctfile.cc.in. * mxarray.in.h: Rename from mxarray.h.in. * oct-conf.in.h: Rename from oct-conf.h.in. * oct-errno.in.cc: Rename from oct-errno.cc.in. * octave-config.in.cc: Rename from octave-config.cc.in. * version.in.h: Rename from version.h.in. * mkoctfile.in.sh: Rename from mkoctfile.in. * octave-config.in.sh: Rename from octave-config.in. * src/Makefile.am (EXTRA_DIST): Update list. Update rules to use new names.
author John W. Eaton <jwe@octave.org>
date Wed, 11 Apr 2012 11:21:30 -0400
parents src/defaults.h.in@72c96de7a403
children 4e9dc46d4125
comparison
equal deleted inserted replaced
14546:b8edefd8c111 14547:1bf39e944e43
1 // defaults.h.in
2 /*
3
4 Copyright (C) 1993-2012 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_EXEC_PREFIX
60 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX%
61 #endif
62
63 #ifndef OCTAVE_FCNFILEDIR
64 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR%
65 #endif
66
67 #ifndef OCTAVE_IMAGEDIR
68 #define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR%
69 #endif
70
71 #ifndef OCTAVE_INCLUDEDIR
72 #define OCTAVE_INCLUDEDIR %OCTAVE_INCLUDEDIR%
73 #endif
74
75 #ifndef OCTAVE_INFODIR
76 #define OCTAVE_INFODIR %OCTAVE_INFODIR%
77 #endif
78
79 #ifndef OCTAVE_INFOFILE
80 #define OCTAVE_INFOFILE %OCTAVE_INFOFILE%
81 #endif
82
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
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
103 #ifndef OCTAVE_LOCALARCHLIBDIR
104 #define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR%
105 #endif
106
107 #ifndef OCTAVE_LOCALFCNFILEDIR
108 #define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR%
109 #endif
110
111 #ifndef OCTAVE_LOCALOCTFILEDIR
112 #define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR%
113 #endif
114
115 #ifndef OCTAVE_LOCALSTARTUPFILEDIR
116 #define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR%
117 #endif
118
119 #ifndef OCTAVE_LOCALAPIARCHLIBDIR
120 #define OCTAVE_LOCALAPIARCHLIBDIR %OCTAVE_LOCALAPIARCHLIBDIR%
121 #endif
122
123 #ifndef OCTAVE_LOCALVERARCHLIBDIR
124 #define OCTAVE_LOCALVERARCHLIBDIR %OCTAVE_LOCALVERARCHLIBDIR%
125 #endif
126
127 #ifndef OCTAVE_LOCALVERFCNFILEDIR
128 #define OCTAVE_LOCALVERFCNFILEDIR %OCTAVE_LOCALVERFCNFILEDIR%
129 #endif
130
131 #ifndef OCTAVE_LOCALVEROCTFILEDIR
132 #define OCTAVE_LOCALVEROCTFILEDIR %OCTAVE_LOCALVEROCTFILEDIR%
133 #endif
134
135 #ifndef OCTAVE_MAN1DIR
136 #define OCTAVE_MAN1DIR %OCTAVE_MAN1DIR%
137 #endif
138
139 #ifndef OCTAVE_MAN1EXT
140 #define OCTAVE_MAN1EXT %OCTAVE_MAN1EXT%
141 #endif
142
143 #ifndef OCTAVE_MANDIR
144 #define OCTAVE_MANDIR %OCTAVE_MANDIR%
145 #endif
146
147 #ifndef OCTAVE_OCTFILEDIR
148 #define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR%
149 #endif
150
151 #ifndef OCTAVE_OCTETCDIR
152 #define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR%
153 #endif
154
155 #ifndef OCTAVE_OCTINCLUDEDIR
156 #define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR%
157 #endif
158
159 #ifndef OCTAVE_OCTLIBDIR
160 #define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR%
161 #endif
162
163 #ifndef OCTAVE_PREFIX
164 #define OCTAVE_PREFIX %OCTAVE_PREFIX%
165 #endif
166
167 #ifndef OCTAVE_STARTUPFILEDIR
168 #define OCTAVE_STARTUPFILEDIR %OCTAVE_STARTUPFILEDIR%
169 #endif
170
171 #ifndef OCTAVE_RELEASE
172 #define OCTAVE_RELEASE %OCTAVE_RELEASE%
173 #endif
174
175 extern std::string Voctave_home;
176
177 extern std::string Vbin_dir;
178 extern std::string Vinfo_dir;
179 extern std::string Vdata_dir;
180 extern std::string Vlibexec_dir;
181 extern std::string Varch_lib_dir;
182 extern std::string Vlocal_arch_lib_dir;
183 extern std::string Vlocal_ver_arch_lib_dir;
184
185 extern std::string Vlocal_ver_oct_file_dir;
186 extern std::string Vlocal_api_oct_file_dir;
187 extern std::string Vlocal_oct_file_dir;
188
189 extern std::string Vlocal_ver_fcn_file_dir;
190 extern std::string Vlocal_api_fcn_file_dir;
191 extern std::string Vlocal_fcn_file_dir;
192
193 extern std::string Voct_file_dir;
194 extern std::string Vfcn_file_dir;
195
196 extern std::string Vimage_dir;
197
198 // Name of the editor to be invoked by the edit_history command.
199 extern std::string VEDITOR;
200
201 extern std::string Vlocal_site_defaults_file;
202 extern std::string Vsite_defaults_file;
203
204 // Name of the FFTW wisdom program.
205 extern OCTINTERP_API std::string Vfftw_wisdom_program;
206
207 extern std::string subst_octave_home (const std::string&);
208
209 extern void install_defaults (void);
210
211 extern void set_exec_path (const std::string& path = std::string ());
212 extern void set_image_path (const std::string& path = std::string ());
213
214 #endif