Mercurial > octave
annotate src/defaults.h.in @ 8719:679c270b7584
install DOC and NEWS in $octetcdir
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 11 Feb 2009 01:02:54 -0500 |
parents | a1dbe9d80eee |
children | eace5649a8b5 |
rev | line source |
---|---|
2158 | 1 // defaults.h.in |
12 | 2 /* |
3 | |
7017 | 4 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, |
5 2003, 2004, 2005, 2006, 2007 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 | |
666 | 56 #ifndef OCTAVE_EXEC_PREFIX |
57 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% | |
58 #endif | |
59 | |
3584 | 60 #ifndef OCTAVE_FCNFILEDIR |
61 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR% | |
666 | 62 #endif |
63 | |
3584 | 64 #ifndef OCTAVE_IMAGEDIR |
65 #define OCTAVE_IMAGEDIR %OCTAVE_IMAGEDIR% | |
666 | 66 #endif |
67 | |
3584 | 68 #ifndef OCTAVE_INCLUDEDIR |
69 #define OCTAVE_INCLUDEDIR %OCTAVE_INCLUDEDIR% | |
798 | 70 #endif |
71 | |
666 | 72 #ifndef OCTAVE_INFODIR |
73 #define OCTAVE_INFODIR %OCTAVE_INFODIR% | |
12 | 74 #endif |
75 | |
2512 | 76 #ifndef OCTAVE_INFOFILE |
77 #define OCTAVE_INFOFILE %OCTAVE_INFOFILE% | |
78 #endif | |
79 | |
3584 | 80 #ifndef OCTAVE_LIBDIR |
81 #define OCTAVE_LIBDIR %OCTAVE_LIBDIR% | |
82 #endif | |
83 | |
84 #ifndef OCTAVE_LIBEXECDIR | |
85 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% | |
86 #endif | |
87 | |
88 #ifndef OCTAVE_LIBEXECDIR | |
89 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% | |
90 #endif | |
91 | |
4449 | 92 #ifndef OCTAVE_LOCALAPIFCNFILEDIR |
93 #define OCTAVE_LOCALAPIFCNFILEDIR %OCTAVE_LOCALAPIFCNFILEDIR% | |
94 #endif | |
95 | |
96 #ifndef OCTAVE_LOCALAPIOCTFILEDIR | |
97 #define OCTAVE_LOCALAPIOCTFILEDIR %OCTAVE_LOCALAPIOCTFILEDIR% | |
98 #endif | |
99 | |
3584 | 100 #ifndef OCTAVE_LOCALARCHLIBDIR |
101 #define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR% | |
666 | 102 #endif |
103 | |
1476 | 104 #ifndef OCTAVE_LOCALFCNFILEDIR |
105 #define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR% | |
106 #endif | |
107 | |
3584 | 108 #ifndef OCTAVE_LOCALOCTFILEDIR |
109 #define OCTAVE_LOCALOCTFILEDIR %OCTAVE_LOCALOCTFILEDIR% | |
110 #endif | |
111 | |
112 #ifndef OCTAVE_LOCALSTARTUPFILEDIR | |
4443 | 113 #define OCTAVE_LOCALSTARTUPFILEDIR %OCTAVE_LOCALSTARTUPFILEDIR% |
3584 | 114 #endif |
115 | |
5909 | 116 #ifndef OCTAVE_LOCALAPIARCHLIBDIR |
117 #define OCTAVE_LOCALAPIARCHLIBDIR %OCTAVE_LOCALAPIARCHLIBDIR% | |
118 #endif | |
119 | |
3597 | 120 #ifndef OCTAVE_LOCALVERARCHLIBDIR |
121 #define OCTAVE_LOCALVERARCHLIBDIR %OCTAVE_LOCALVERARCHLIBDIR% | |
122 #endif | |
123 | |
124 #ifndef OCTAVE_LOCALVERFCNFILEDIR | |
125 #define OCTAVE_LOCALVERFCNFILEDIR %OCTAVE_LOCALVERFCNFILEDIR% | |
126 #endif | |
127 | |
128 #ifndef OCTAVE_LOCALVEROCTFILEDIR | |
129 #define OCTAVE_LOCALVEROCTFILEDIR %OCTAVE_LOCALVEROCTFILEDIR% | |
130 #endif | |
131 | |
3584 | 132 #ifndef OCTAVE_MAN1DIR |
133 #define OCTAVE_MAN1DIR %OCTAVE_MAN1DIR% | |
134 #endif | |
135 | |
136 #ifndef OCTAVE_MAN1EXT | |
137 #define OCTAVE_MAN1EXT %OCTAVE_MAN1EXT% | |
138 #endif | |
139 | |
140 #ifndef OCTAVE_MANDIR | |
141 #define OCTAVE_MANDIR %OCTAVE_MANDIR% | |
2439 | 142 #endif |
143 | |
666 | 144 #ifndef OCTAVE_OCTFILEDIR |
145 #define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR% | |
146 #endif | |
147 | |
8719
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
148 #ifndef OCTAVE_OCTETCDIR |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
149 #define OCTAVE_OCTETCDIR %OCTAVE_OCTETCDIR% |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
150 #endif |
679c270b7584
install DOC and NEWS in $octetcdir
John W. Eaton <jwe@octave.org>
parents:
7017
diff
changeset
|
151 |
3584 | 152 #ifndef OCTAVE_OCTINCLUDEDIR |
153 #define OCTAVE_OCTINCLUDEDIR %OCTAVE_OCTINCLUDEDIR% | |
666 | 154 #endif |
155 | |
3584 | 156 #ifndef OCTAVE_OCTLIBDIR |
157 #define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR% | |
666 | 158 #endif |
159 | |
3584 | 160 #ifndef OCTAVE_PREFIX |
161 #define OCTAVE_PREFIX %OCTAVE_PREFIX% | |
684 | 162 #endif |
163 | |
3584 | 164 #ifndef OCTAVE_STARTUPFILEDIR |
4443 | 165 #define OCTAVE_STARTUPFILEDIR %OCTAVE_STARTUPFILEDIR% |
423 | 166 #endif |
167 | |
5658 | 168 #ifndef OCTAVE_RELEASE |
169 #define OCTAVE_RELEASE %OCTAVE_RELEASE% | |
170 #endif | |
171 | |
3532 | 172 extern std::string Voctave_home; |
2204 | 173 |
3532 | 174 extern std::string Vbin_dir; |
175 extern std::string Vinfo_dir; | |
176 extern std::string Vdata_dir; | |
177 extern std::string Vlibexec_dir; | |
178 extern std::string Varch_lib_dir; | |
179 extern std::string Vlocal_arch_lib_dir; | |
3597 | 180 extern std::string Vlocal_ver_arch_lib_dir; |
5814 | 181 |
182 extern std::string Vlocal_ver_oct_file_dir; | |
183 extern std::string Vlocal_api_oct_file_dir; | |
184 extern std::string Vlocal_oct_file_dir; | |
185 | |
186 extern std::string Vlocal_ver_fcn_file_dir; | |
187 extern std::string Vlocal_api_fcn_file_dir; | |
188 extern std::string Vlocal_fcn_file_dir; | |
189 | |
190 extern std::string Voct_file_dir; | |
3532 | 191 extern std::string Vfcn_file_dir; |
5814 | 192 |
193 extern std::string Vimage_dir; | |
2204 | 194 |
195 // Name of the editor to be invoked by the edit_history command. | |
5794 | 196 extern std::string VEDITOR; |
2204 | 197 |
3532 | 198 extern std::string Vlocal_site_defaults_file; |
199 extern std::string Vsite_defaults_file; | |
2204 | 200 |
4776 | 201 // Name of the FFTW wisdom program. |
6693 | 202 extern OCTINTERP_API std::string Vfftw_wisdom_program; |
4776 | 203 |
6274 | 204 extern std::string subst_octave_home (const std::string&); |
205 | |
2198 | 206 extern void install_defaults (void); |
207 | |
5814 | 208 extern void set_exec_path (const std::string& path = std::string ()); |
209 extern void set_image_path (const std::string& path = std::string ()); | |
210 | |
12 | 211 #endif |
212 | |
213 /* | |
214 ;;; Local Variables: *** | |
215 ;;; mode: C++ *** | |
216 ;;; page-delimiter: "^/\\*" *** | |
217 ;;; End: *** | |
218 */ |