Mercurial > hg > octave-nkf
annotate src/defaults.h.in @ 10161:6a88b00c5ad6
remove Emacs local-variable settings from additional source files in src directory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 20 Jan 2010 20:44:42 -0500 |
parents | eb63fbe60fab |
children | fd0a3ac60b0e |
rev | line source |
---|---|
2158 | 1 // defaults.h.in |
12 | 2 /* |
3 | |
7017 | 4 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, |
8920 | 5 2003, 2004, 2005, 2006, 2007, 2009 John W. Eaton |
12 | 6 |
7 This file is part of Octave. | |
8 | |
9 Octave is free software; you can redistribute it and/or modify it | |
10 under the terms of the GNU General Public License as published by the | |
7016 | 11 Free Software Foundation; either version 3 of the License, or (at your |
12 option) any later version. | |
12 | 13 |
14 Octave is distributed in the hope that it will be useful, but WITHOUT | |
15 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
17 for more details. | |
18 | |
19 You should have received a copy of the GNU General Public License | |
7016 | 20 along with Octave; see the file COPYING. If not, see |
21 <http://www.gnu.org/licenses/>. | |
12 | 22 |
23 */ | |
24 | |
423 | 25 #if !defined (octave_defaults_h) |
26 #define octave_defaults_h 1 | |
12 | 27 |
2204 | 28 #include <string> |
29 | |
3174 | 30 #include "pathsearch.h" |
31 | |
3584 | 32 #ifndef OCTAVE_CANONICAL_HOST_TYPE |
33 #define OCTAVE_CANONICAL_HOST_TYPE %OCTAVE_CANONICAL_HOST_TYPE% | |
34 #endif | |
35 | |
36 #ifndef OCTAVE_DEFAULT_PAGER | |
37 #define OCTAVE_DEFAULT_PAGER %OCTAVE_DEFAULT_PAGER% | |
12 | 38 #endif |
39 | |
3584 | 40 #ifndef OCTAVE_ARCHLIBDIR |
41 #define OCTAVE_ARCHLIBDIR %OCTAVE_ARCHLIBDIR% | |
42 #endif | |
43 | |
44 #ifndef OCTAVE_BINDIR | |
45 #define OCTAVE_BINDIR %OCTAVE_BINDIR% | |
46 #endif | |
47 | |
48 #ifndef OCTAVE_DATADIR | |
49 #define OCTAVE_DATADIR %OCTAVE_DATADIR% | |
666 | 50 #endif |
51 | |
5847 | 52 #ifndef OCTAVE_DATAROOTDIR |
53 #define OCTAVE_DATAROOTDIR %OCTAVE_DATAROOTDIR% | |
54 #endif | |
55 | |
8865
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
56 #ifndef OCTAVE_DOC_CACHE_FILE |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
57 #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
|
58 #endif |
eace5649a8b5
set default value for doc_cache_file variable
John W. Eaton <jwe@octave.org>
parents:
8719
diff
changeset
|
59 |
666 | 60 #ifndef OCTAVE_EXEC_PREFIX |
61 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% | |
62 #endif | |
63 | |
3584 | 64 #ifndef OCTAVE_FCNFILEDIR |
65 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR% | |
666 | 66 #endif |
67 | |
3584 | 68 #ifndef OCTAVE_IMAGEDIR |
69 #define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR% | |
666 | 70 #endif |
71 | |
3584 | 72 #ifndef OCTAVE_INCLUDEDIR |
73 #define OCTAVE_INCLUDEDIR %OCTAVE_INCLUDEDIR% | |
798 | 74 #endif |
75 | |
666 | 76 #ifndef OCTAVE_INFODIR |
77 #define OCTAVE_INFODIR %OCTAVE_INFODIR% | |
12 | 78 #endif |
79 | |
2512 | 80 #ifndef OCTAVE_INFOFILE |
81 #define OCTAVE_INFOFILE %OCTAVE_INFOFILE% | |
82 #endif | |
83 | |
3584 | 84 #ifndef OCTAVE_LIBDIR |
85 #define OCTAVE_LIBDIR %OCTAVE_LIBDIR% | |
86 #endif | |
87 | |
88 #ifndef OCTAVE_LIBEXECDIR | |
89 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% | |
90 #endif | |
91 | |
92 #ifndef OCTAVE_LIBEXECDIR | |
93 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% | |
94 #endif | |
95 | |
4449 | 96 #ifndef OCTAVE_LOCALAPIFCNFILEDIR |
97 #define OCTAVE_LOCALAPIFCNFILEDIR %OCTAVE_LOCALAPIFCNFILEDIR% | |
98 #endif | |
99 | |
100 #ifndef OCTAVE_LOCALAPIOCTFILEDIR | |
101 #define OCTAVE_LOCALAPIOCTFILEDIR %OCTAVE_LOCALAPIOCTFILEDIR% | |
102 #endif | |
103 | |
3584 | 104 #ifndef OCTAVE_LOCALARCHLIBDIR |
105 #define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR% | |
666 | 106 #endif |
107 | |
1476 | 108 #ifndef OCTAVE_LOCALFCNFILEDIR |
109 #define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR% | |
110 #endif | |
111 | |
3584 | 112 #ifndef OCTAVE_LOCALOCTFILEDIR |
113 #define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR% | |
114 #endif | |
115 | |
116 #ifndef OCTAVE_LOCALSTARTUPFILEDIR | |
4443 | 117 #define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR% |
3584 | 118 #endif |
119 | |
5909 | 120 #ifndef OCTAVE_LOCALAPIARCHLIBDIR |
121 #define OCTAVE_LOCALAPIARCHLIBDIR %OCTAVE_LOCALAPIARCHLIBDIR% | |
122 #endif | |
123 | |
3597 | 124 #ifndef OCTAVE_LOCALVERARCHLIBDIR |
125 #define OCTAVE_LOCALVERARCHLIBDIR %OCTAVE_LOCALVERARCHLIBDIR% | |
126 #endif | |
127 | |
128 #ifndef OCTAVE_LOCALVERFCNFILEDIR | |
129 #define OCTAVE_LOCALVERFCNFILEDIR %OCTAVE_LOCALVERFCNFILEDIR% | |
130 #endif | |
131 | |
132 #ifndef OCTAVE_LOCALVEROCTFILEDIR | |
133 #define OCTAVE_LOCALVEROCTFILEDIR %OCTAVE_LOCALVEROCTFILEDIR% | |
134 #endif | |
135 | |
3584 | 136 #ifndef OCTAVE_MAN1DIR |
137 #define OCTAVE_MAN1DIR %OCTAVE_MAN1DIR% | |
138 #endif | |
139 | |
140 #ifndef OCTAVE_MAN1EXT | |
141 #define OCTAVE_MAN1EXT %OCTAVE_MAN1EXT% | |
142 #endif | |
143 | |
144 #ifndef OCTAVE_MANDIR | |
145 #define OCTAVE_MANDIR %OCTAVE_MANDIR% | |
2439 | 146 #endif |
147 | |
666 | 148 #ifndef OCTAVE_OCTFILEDIR |
149 #define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR% | |
150 #endif | |
151 | |
8719
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
152 #ifndef OCTAVE_OCTETCDIR |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
153 #define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR% |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
154 #endif |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
155 |
3584 | 156 #ifndef OCTAVE_OCTINCLUDEDIR |
157 #define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR% | |
666 | 158 #endif |
159 | |
3584 | 160 #ifndef OCTAVE_OCTLIBDIR |
161 #define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR% | |
666 | 162 #endif |
163 | |
3584 | 164 #ifndef OCTAVE_PREFIX |
165 #define OCTAVE_PREFIX %OCTAVE_PREFIX% | |
684 | 166 #endif |
167 | |
3584 | 168 #ifndef OCTAVE_STARTUPFILEDIR |
4443 | 169 #define OCTAVE_STARTUPFILEDIR %OCTAVE_STARTUPFILEDIR% |
423 | 170 #endif |
171 | |
5658 | 172 #ifndef OCTAVE_RELEASE |
173 #define OCTAVE_RELEASE %OCTAVE_RELEASE% | |
174 #endif | |
175 | |
3532 | 176 extern std::string Voctave_home; |
2204 | 177 |
3532 | 178 extern std::string Vbin_dir; |
179 extern std::string Vinfo_dir; | |
180 extern std::string Vdata_dir; | |
181 extern std::string Vlibexec_dir; | |
182 extern std::string Varch_lib_dir; | |
183 extern std::string Vlocal_arch_lib_dir; | |
3597 | 184 extern std::string Vlocal_ver_arch_lib_dir; |
5814 | 185 |
186 extern std::string Vlocal_ver_oct_file_dir; | |
187 extern std::string Vlocal_api_oct_file_dir; | |
188 extern std::string Vlocal_oct_file_dir; | |
189 | |
190 extern std::string Vlocal_ver_fcn_file_dir; | |
191 extern std::string Vlocal_api_fcn_file_dir; | |
192 extern std::string Vlocal_fcn_file_dir; | |
193 | |
194 extern std::string Voct_file_dir; | |
3532 | 195 extern std::string Vfcn_file_dir; |
5814 | 196 |
197 extern std::string Vimage_dir; | |
2204 | 198 |
199 // Name of the editor to be invoked by the edit_history command. | |
5794 | 200 extern std::string VEDITOR; |
2204 | 201 |
3532 | 202 extern std::string Vlocal_site_defaults_file; |
203 extern std::string Vsite_defaults_file; | |
2204 | 204 |
4776 | 205 // Name of the FFTW wisdom program. |
6693 | 206 extern OCTINTERP_API std::string Vfftw_wisdom_program; |
4776 | 207 |
6274 | 208 extern std::string subst_octave_home (const std::string&); |
209 | |
2198 | 210 extern void install_defaults (void); |
211 | |
5814 | 212 extern void set_exec_path (const std::string& path = std::string ()); |
213 extern void set_image_path (const std::string& path = std::string ()); | |
214 | |
12 | 215 #endif |