pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-03-26
1999-03-26 19:58:39 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
2903e3d1d0e387afc00e5c2abd68c30fd6434c59 (
21
lines) (+
3
/-
18
)
[
Show
|
Annotate
]
Branch:
7.9
installation reorganized to use <prefix>/pike/<version>/
Rev: lib/master.pike.in:1.44
1:
-
/* $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:
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");