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