00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #if !defined (octave_defaults_h)
00026 #define octave_defaults_h 1
00027
00028 #include <string>
00029
00030 #include "pathsearch.h"
00031
00032 #ifndef OCTAVE_CANONICAL_HOST_TYPE
00033 #define OCTAVE_CANONICAL_HOST_TYPE "i686-pc-linux-gnu"
00034 #endif
00035
00036 #ifndef OCTAVE_DEFAULT_PAGER
00037 #define OCTAVE_DEFAULT_PAGER "less"
00038 #endif
00039
00040 #ifndef OCTAVE_ARCHLIBDIR
00041 #define OCTAVE_ARCHLIBDIR "/home/sh/Programmer/libexec/octave/3.3.50+/exec/i686-pc-linux-gnu"
00042 #endif
00043
00044 #ifndef OCTAVE_BINDIR
00045 #define OCTAVE_BINDIR "/home/sh/Programmer/bin"
00046 #endif
00047
00048 #ifndef OCTAVE_DATADIR
00049 #define OCTAVE_DATADIR "/home/sh/Programmer/share"
00050 #endif
00051
00052 #ifndef OCTAVE_DATAROOTDIR
00053 #define OCTAVE_DATAROOTDIR "/home/sh/Programmer/share"
00054 #endif
00055
00056 #ifndef OCTAVE_DOC_CACHE_FILE
00057 #define OCTAVE_DOC_CACHE_FILE "/home/sh/Programmer/share/octave/3.3.50+/etc/doc-cache"
00058 #endif
00059
00060 #ifndef OCTAVE_EXEC_PREFIX
00061 #define OCTAVE_EXEC_PREFIX "/home/sh/Programmer"
00062 #endif
00063
00064 #ifndef OCTAVE_FCNFILEDIR
00065 #define OCTAVE_FCNFILEDIR "/home/sh/Programmer/share/octave/3.3.50+/m"
00066 #endif
00067
00068 #ifndef OCTAVE_IMAGEDIR
00069 #define OCTAVE_IMAGEDIR "/home/sh/Programmer/share/octave/3.3.50+/imagelib"
00070 #endif
00071
00072 #ifndef OCTAVE_INCLUDEDIR
00073 #define OCTAVE_INCLUDEDIR "/home/sh/Programmer/include"
00074 #endif
00075
00076 #ifndef OCTAVE_INFODIR
00077 #define OCTAVE_INFODIR "/home/sh/Programmer/share/info"
00078 #endif
00079
00080 #ifndef OCTAVE_INFOFILE
00081 #define OCTAVE_INFOFILE "/home/sh/Programmer/share/info/octave.info"
00082 #endif
00083
00084 #ifndef OCTAVE_LIBDIR
00085 #define OCTAVE_LIBDIR "/home/sh/Programmer/lib"
00086 #endif
00087
00088 #ifndef OCTAVE_LIBEXECDIR
00089 #define OCTAVE_LIBEXECDIR "/home/sh/Programmer/libexec"
00090 #endif
00091
00092 #ifndef OCTAVE_LIBEXECDIR
00093 #define OCTAVE_LIBEXECDIR "/home/sh/Programmer/libexec"
00094 #endif
00095
00096 #ifndef OCTAVE_LOCALAPIFCNFILEDIR
00097 #define OCTAVE_LOCALAPIFCNFILEDIR "/home/sh/Programmer/share/octave/site/api-v38+/m"
00098 #endif
00099
00100 #ifndef OCTAVE_LOCALAPIOCTFILEDIR
00101 #define OCTAVE_LOCALAPIOCTFILEDIR "/home/sh/Programmer/libexec/octave/site/oct/api-v38+/i686-pc-linux-gnu"
00102 #endif
00103
00104 #ifndef OCTAVE_LOCALARCHLIBDIR
00105 #define OCTAVE_LOCALARCHLIBDIR "/home/sh/Programmer/libexec/octave/site/exec/i686-pc-linux-gnu"
00106 #endif
00107
00108 #ifndef OCTAVE_LOCALFCNFILEDIR
00109 #define OCTAVE_LOCALFCNFILEDIR "/home/sh/Programmer/share/octave/site/m"
00110 #endif
00111
00112 #ifndef OCTAVE_LOCALOCTFILEDIR
00113 #define OCTAVE_LOCALOCTFILEDIR "/home/sh/Programmer/libexec/octave/site/oct/i686-pc-linux-gnu"
00114 #endif
00115
00116 #ifndef OCTAVE_LOCALSTARTUPFILEDIR
00117 #define OCTAVE_LOCALSTARTUPFILEDIR "/home/sh/Programmer/share/octave/site/m/startup"
00118 #endif
00119
00120 #ifndef OCTAVE_LOCALAPIARCHLIBDIR
00121 #define OCTAVE_LOCALAPIARCHLIBDIR "/home/sh/Programmer/libexec/octave/api-v38+/site/exec/i686-pc-linux-gnu"
00122 #endif
00123
00124 #ifndef OCTAVE_LOCALVERARCHLIBDIR
00125 #define OCTAVE_LOCALVERARCHLIBDIR "/home/sh/Programmer/libexec/octave/3.3.50+/site/exec/i686-pc-linux-gnu"
00126 #endif
00127
00128 #ifndef OCTAVE_LOCALVERFCNFILEDIR
00129 #define OCTAVE_LOCALVERFCNFILEDIR "/home/sh/Programmer/share/octave/3.3.50+/site/m"
00130 #endif
00131
00132 #ifndef OCTAVE_LOCALVEROCTFILEDIR
00133 #define OCTAVE_LOCALVEROCTFILEDIR "/home/sh/Programmer/libexec/octave/3.3.50+/site/oct/i686-pc-linux-gnu"
00134 #endif
00135
00136 #ifndef OCTAVE_MAN1DIR
00137 #define OCTAVE_MAN1DIR "/home/sh/Programmer/share/man/man1"
00138 #endif
00139
00140 #ifndef OCTAVE_MAN1EXT
00141 #define OCTAVE_MAN1EXT ".1"
00142 #endif
00143
00144 #ifndef OCTAVE_MANDIR
00145 #define OCTAVE_MANDIR "/home/sh/Programmer/share/man"
00146 #endif
00147
00148 #ifndef OCTAVE_OCTFILEDIR
00149 #define OCTAVE_OCTFILEDIR "/home/sh/Programmer/libexec/octave/3.3.50+/oct/i686-pc-linux-gnu"
00150 #endif
00151
00152 #ifndef OCTAVE_OCTETCDIR
00153 #define OCTAVE_OCTETCDIR "/home/sh/Programmer/share/octave/3.3.50+/etc"
00154 #endif
00155
00156 #ifndef OCTAVE_OCTINCLUDEDIR
00157 #define OCTAVE_OCTINCLUDEDIR "/home/sh/Programmer/include/octave-3.3.50+"
00158 #endif
00159
00160 #ifndef OCTAVE_OCTLIBDIR
00161 #define OCTAVE_OCTLIBDIR "/home/sh/Programmer/lib/octave-3.3.50+"
00162 #endif
00163
00164 #ifndef OCTAVE_PREFIX
00165 #define OCTAVE_PREFIX "/home/sh/Programmer"
00166 #endif
00167
00168 #ifndef OCTAVE_STARTUPFILEDIR
00169 #define OCTAVE_STARTUPFILEDIR "/home/sh/Programmer/share/octave/3.3.50+/m/startup"
00170 #endif
00171
00172 #ifndef OCTAVE_RELEASE
00173 #define OCTAVE_RELEASE ""
00174 #endif
00175
00176 extern std::string Voctave_home;
00177
00178 extern std::string Vbin_dir;
00179 extern std::string Vinfo_dir;
00180 extern std::string Vdata_dir;
00181 extern std::string Vlibexec_dir;
00182 extern std::string Varch_lib_dir;
00183 extern std::string Vlocal_arch_lib_dir;
00184 extern std::string Vlocal_ver_arch_lib_dir;
00185
00186 extern std::string Vlocal_ver_oct_file_dir;
00187 extern std::string Vlocal_api_oct_file_dir;
00188 extern std::string Vlocal_oct_file_dir;
00189
00190 extern std::string Vlocal_ver_fcn_file_dir;
00191 extern std::string Vlocal_api_fcn_file_dir;
00192 extern std::string Vlocal_fcn_file_dir;
00193
00194 extern std::string Voct_file_dir;
00195 extern std::string Vfcn_file_dir;
00196
00197 extern std::string Vimage_dir;
00198
00199
00200 extern std::string VEDITOR;
00201
00202 extern std::string Vlocal_site_defaults_file;
00203 extern std::string Vsite_defaults_file;
00204
00205
00206 extern OCTINTERP_API std::string Vfftw_wisdom_program;
00207
00208 extern std::string subst_octave_home (const std::string&);
00209
00210 extern void install_defaults (void);
00211
00212 extern void set_exec_path (const std::string& path = std::string ());
00213 extern void set_image_path (const std::string& path = std::string ());
00214
00215 #endif
00216
00217
00218
00219
00220
00221
00222