Skip to content
Snippets Groups Projects
Commit 2903e3d1 authored by Fredrik Hübinette (Hubbe)'s avatar Fredrik Hübinette (Hubbe)
Browse files

installation reorganized to use <prefix>/pike/<version>/

Rev: lib/master.pike.in:1.44
parent c37c7e81
No related branches found
No related tags found
No related merge requests found
/* $Id: master.pike.in,v 1.43 1999/03/19 11:14:27 hubbe Exp $
/* $Id: master.pike.in,v 1.44 1999/03/26 19:58:39 hubbe Exp $
*
* Master-file for Pike.
*
......@@ -705,29 +705,13 @@ void _main(string *orig_argv, string *env)
foreach(env,a) if(sscanf(a,"%s=%s",a,b)) environment[a]=b;
#if defined(__NT__) && !defined(NOT_INSTALLED)
function rget=lambda(string ent) {
catch { return RegGetValue(HKEY_CURRENT_USER,"SOFTWARE\\Idonex\\Pike\\0.6",ent); };
catch { return RegGetValue(HKEY_LOCAL_MACHINE,"SOFTWARE\\Idonex\\Pike\\0.6",ent); };
};
string tmppath=rget("share_prefix");
// add path for architecture-shared files
add_include_path(tmppath+"/include");
add_module_path(tmppath+"/modules");
tmppath=rget("lib_prefix");
// add path for architecture-dependant files
add_include_path(tmppath+"/include");
add_module_path(tmppath+"/modules");
#else
#if "share_prefix"[0]!=''
// add path for architecture-dependant files
add_include_path("share_prefix/include");
add_module_path("share_prefix/modules");
#endif
#if "lib_prefix"[0]!=''
// add path for architecture-dependant files
add_include_path("lib_prefix/include");
add_module_path("lib_prefix/modules");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment