Mercurial > hg > octave-nkf
annotate 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 |
rev | line source |
---|---|
2158 | 1 // defaults.h.in |
12 | 2 /* |
3 | |
14138
72c96de7a403
maint: update copyright notices for 2012
John W. Eaton <jwe@octave.org>
parents:
11523
diff
changeset
|
4 Copyright (C) 1993-2012 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 | |
7016 | 10 Free Software Foundation; either version 3 of the License, or (at your |
11 option) any later version. | |
12 | 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 | |
7016 | 19 along with Octave; see the file COPYING. If not, see |
20 <http://www.gnu.org/licenses/>. | |
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 | |
5847 | 51 #ifndef OCTAVE_DATAROOTDIR |
52 #define OCTAVE_DATAROOTDIR %OCTAVE_DATAROOTDIR% | |
53 #endif | |
54 | |
8865
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
55 #ifndef OCTAVE_DOC_CACHE_FILE |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
56 #define OCTAVE_DOC_CACHE_FILE %OCTAVE_DOC_CACHE_FILE% |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
57 #endif |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
58 |
666 | 59 #ifndef OCTAVE_EXEC_PREFIX |
60 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% | |
61 #endif | |
62 | |
3584 | 63 #ifndef OCTAVE_FCNFILEDIR |
64 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR% | |
666 | 65 #endif |
66 | |
3584 | 67 #ifndef OCTAVE_IMAGEDIR |
68 #define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR% | |
666 | 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 | |
3584 | 111 #ifndef OCTAVE_LOCALOCTFILEDIR |
112 #define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR% | |
113 #endif | |
114 | |
115 #ifndef OCTAVE_LOCALSTARTUPFILEDIR | |
4443 | 116 #define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR% |
3584 | 117 #endif |
118 | |
5909 | 119 #ifndef OCTAVE_LOCALAPIARCHLIBDIR |
120 #define OCTAVE_LOCALAPIARCHLIBDIR %OCTAVE_LOCALAPIARCHLIBDIR% | |
121 #endif | |
122 | |
3597 | 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 | |
3584 | 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% | |
2439 | 145 #endif |
146 | |
666 | 147 #ifndef OCTAVE_OCTFILEDIR |
148 #define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR% | |
149 #endif | |
150 | |
8719
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
151 #ifndef OCTAVE_OCTETCDIR |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
152 #define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR% |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
153 #endif |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
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 | |
5658 | 171 #ifndef OCTAVE_RELEASE |
172 #define OCTAVE_RELEASE %OCTAVE_RELEASE% | |
173 #endif | |
174 | |
3532 | 175 extern std::string Voctave_home; |
2204 | 176 |
3532 | 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; | |
3597 | 183 extern std::string Vlocal_ver_arch_lib_dir; |
5814 | 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; | |
3532 | 194 extern std::string Vfcn_file_dir; |
5814 | 195 |
196 extern std::string Vimage_dir; | |
2204 | 197 |
198 // Name of the editor to be invoked by the edit_history command. | |
5794 | 199 extern std::string VEDITOR; |
2204 | 200 |
3532 | 201 extern std::string Vlocal_site_defaults_file; |
202 extern std::string Vsite_defaults_file; | |
2204 | 203 |
4776 | 204 // Name of the FFTW wisdom program. |
6693 | 205 extern OCTINTERP_API std::string Vfftw_wisdom_program; |
4776 | 206 |
6274 | 207 extern std::string subst_octave_home (const std::string&); |
208 | |
2198 | 209 extern void install_defaults (void); |
210 | |
5814 | 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 | |
12 | 214 #endif |