pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
1998-05-27
1998-05-27 22:55:18 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
09232f9e931ccec2c9500a08b5ecec5b37f2265c (
15
lines) (+
8
/-
7
)
[
Show
|
Annotate
]
Branch:
7.9
bugfix for NT
Rev: lib/master.pike.in:1.30
Rev: src/Makefile.in:1.93
1:
-
/* $Id: master.pike.in,v 1.
29
1998/05/
19
20
:
39
:
20
hubbe Exp $
+
/* $Id: master.pike.in,v 1.
30
1998/05/
27
22
:
49
:
37
hubbe Exp $
* * Master-file for Pike. *
559:
foreach(env,a) if(sscanf(a,"%s=%s",a,b)) environment[a]=b;
-
#
ifdef
__NT__
+
#
if
defined(
__NT__
) && !defined(NOT_INSTALLED)
function rget=lambda(string ent) { return RegGetValue(HKEY_CURRENT_USER,"SOFTWARE\\Idonex\\Pike\\0.6",ent) || RegGetValue(HKEY_LOCAL_MACHINE,"SOFTWARE\\Idonex\\Pike\\0.6",ent) ; };
-
string
tmp
=rget("share_prefix");
+
string
tmppath
=rget("share_prefix");
// add path for architecture-shared files
-
add_include_path(
tmp+
"/include");
-
add_module_path(
tmp+
"/modules");
+
add_include_path(
tmppath+
"/include");
+
add_module_path(
tmppath+
"/modules");
string tmp=rget("lib_prefix"); // add path for architecture-dependant files
-
add_include_path(
tmp+
"/include");
-
add_module_path(
tmp+
"/modules");
+
add_include_path(
tmppath+
"/include");
+
add_module_path(
tmppath+
"/modules");
#else // add path for architecture-shared files add_include_path("¤share_prefix¤/include");