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 |
12
|
29 #ifndef DEFAULT_PAGER |
23
|
30 #define DEFAULT_PAGER %DEFAULT_PAGER% |
12
|
31 #endif |
|
32 |
666
|
33 #ifndef OCTAVE_PREFIX |
|
34 #define OCTAVE_PREFIX %OCTAVE_PREFIX% |
|
35 #endif |
|
36 |
|
37 #ifndef OCTAVE_EXEC_PREFIX |
|
38 #define OCTAVE_EXEC_PREFIX %OCTAVE_EXEC_PREFIX% |
|
39 #endif |
|
40 |
|
41 #ifndef OCTAVE_DATADIR |
|
42 #define OCTAVE_DATADIR %OCTAVE_DATADIR% |
|
43 #endif |
|
44 |
3141
|
45 #ifndef OCTAVE_LIBEXECDIR |
|
46 #define OCTAVE_LIBEXECDIR %OCTAVE_LIBEXECDIR% |
|
47 #endif |
|
48 |
666
|
49 #ifndef OCTAVE_LIBDIR |
|
50 #define OCTAVE_LIBDIR %OCTAVE_LIBDIR% |
|
51 #endif |
|
52 |
3141
|
53 #ifndef OCTAVE_OCTLIBDIR |
|
54 #define OCTAVE_OCTLIBDIR %OCTAVE_OCTLIBDIR% |
|
55 #endif |
|
56 |
798
|
57 #ifndef OCTAVE_BINDIR |
|
58 #define OCTAVE_BINDIR %OCTAVE_BINDIR% |
|
59 #endif |
|
60 |
666
|
61 #ifndef OCTAVE_INFODIR |
|
62 #define OCTAVE_INFODIR %OCTAVE_INFODIR% |
12
|
63 #endif |
|
64 |
2512
|
65 #ifndef OCTAVE_INFOFILE |
|
66 #define OCTAVE_INFOFILE %OCTAVE_INFOFILE% |
|
67 #endif |
|
68 |
666
|
69 #ifndef OCTAVE_FCNFILEDIR |
|
70 #define OCTAVE_FCNFILEDIR %OCTAVE_FCNFILEDIR% |
|
71 #endif |
|
72 |
1476
|
73 #ifndef OCTAVE_LOCALFCNFILEDIR |
|
74 #define OCTAVE_LOCALFCNFILEDIR %OCTAVE_LOCALFCNFILEDIR% |
|
75 #endif |
|
76 |
|
77 #ifndef OCTAVE_LOCALSTARTUPFILEDIR |
|
78 #define OCTAVE_LOCALSTARTUPFILEDIR OCTAVE_LOCALFCNFILEDIR "/startup" |
|
79 #endif |
|
80 |
730
|
81 #ifndef OCTAVE_STARTUPFILEDIR |
|
82 #define OCTAVE_STARTUPFILEDIR OCTAVE_FCNFILEDIR "/startup" |
|
83 #endif |
|
84 |
666
|
85 #ifndef OCTAVE_LOCALFCNFILEPATH |
|
86 #define OCTAVE_LOCALFCNFILEPATH %OCTAVE_LOCALFCNFILEPATH% |
|
87 #endif |
|
88 |
|
89 #ifndef OCTAVE_ARCHLIBDIR |
|
90 #define OCTAVE_ARCHLIBDIR %OCTAVE_ARCHLIBDIR% |
423
|
91 #endif |
|
92 |
2439
|
93 #ifndef OCTAVE_LOCALARCHLIBDIR |
|
94 #define OCTAVE_LOCALARCHLIBDIR %OCTAVE_LOCALARCHLIBDIR% |
|
95 #endif |
|
96 |
666
|
97 #ifndef OCTAVE_OCTFILEDIR |
|
98 #define OCTAVE_OCTFILEDIR %OCTAVE_OCTFILEDIR% |
|
99 #endif |
|
100 |
|
101 #ifndef OCTAVE_LOCALOCTFILEPATH |
|
102 #define OCTAVE_LOCALOCTFILEPATH %OCTAVE_LOCALOCTFILEPATH% |
|
103 #endif |
|
104 |
|
105 #ifndef OCTAVE_FCNFILEPATH |
|
106 #define OCTAVE_FCNFILEPATH %OCTAVE_FCNFILEPATH% |
|
107 #endif |
|
108 |
684
|
109 #ifndef OCTAVE_IMAGEPATH |
|
110 #define OCTAVE_IMAGEPATH %OCTAVE_IMAGEPATH% |
|
111 #endif |
|
112 |
666
|
113 #ifndef TARGET_HOST_TYPE |
|
114 #define TARGET_HOST_TYPE %TARGET_HOST_TYPE% |
423
|
115 #endif |
|
116 |
2204
|
117 extern string Voctave_home; |
|
118 |
|
119 extern string Vbin_dir; |
|
120 extern string Vinfo_dir; |
3141
|
121 extern string Vdata_dir; |
|
122 extern string Vlibexec_dir; |
2204
|
123 extern string Varch_lib_dir; |
2439
|
124 extern string Vlocal_arch_lib_dir; |
2204
|
125 extern string Vfcn_file_dir; |
|
126 |
|
127 // The path that will be searched for programs that we execute. |
|
128 // (--exec-path path) |
|
129 extern string Vexec_path; |
|
130 |
|
131 // Load path specified on command line. |
|
132 // (--path path; -p path) |
|
133 extern string Vload_path; |
|
134 |
|
135 // Name of the editor to be invoked by the edit_history command. |
|
136 extern string Veditor; |
|
137 |
|
138 extern string Vimagepath; |
|
139 |
|
140 extern string Vlocal_site_defaults_file; |
|
141 extern string Vsite_defaults_file; |
|
142 |
|
143 extern string maybe_add_default_load_path (const string& pathstring); |
|
144 |
2198
|
145 extern void install_defaults (void); |
|
146 |
12
|
147 #endif |
|
148 |
|
149 /* |
|
150 ;;; Local Variables: *** |
|
151 ;;; mode: C++ *** |
|
152 ;;; page-delimiter: "^/\\*" *** |
|
153 ;;; End: *** |
|
154 */ |