summaryrefslogtreecommitdiff
path: root/win32/config_h.PL
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1997-11-22 21:18:11 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1997-11-22 21:18:11 +0000
commitacbc2db62d28b1660277b33463f96f796b30a6c3 (patch)
treef30ca3832ee607f9a52fe9655e0674656aa43c9c /win32/config_h.PL
parentf987c7de872f3c20b09e75a8cd08fc8c3c4aefd2 (diff)
downloadperl-acbc2db62d28b1660277b33463f96f796b30a6c3.tar.gz
Munge pseudo-Configure stuff to add -thread to archname as
Malcolm seems to think that is way to test for threads. Update @INC stuffing hackery to have traditional @INC search order archlib, privlib, sitearch, site. p4raw-id: //depot/ansiperl@282
Diffstat (limited to 'win32/config_h.PL')
-rw-r--r--win32/config_h.PL15
1 files changed, 13 insertions, 2 deletions
diff --git a/win32/config_h.PL b/win32/config_h.PL
index 5d47016dc9..679ba99112 100644
--- a/win32/config_h.PL
+++ b/win32/config_h.PL
@@ -37,8 +37,19 @@ while (<SH>)
s#/[ *\*]*\*/#/**/#;
if (/^\s*#define\s+ARCHLIB_EXP/)
{
- $_ = "#define ARCHLIB_EXP (win32PerlLibPath())\t/**/\n"
- . "#define APPLLIB_EXP (win32SiteLibPath())\t/**/\n";
+ $_ = "#define ARCHLIB_EXP (win32PerlLibPath(ARCHNAME,NULL))\t/**/\n";
+ }
+ if (/^\s*#define\s+PRIVLIB_EXP/)
+ {
+ $_ = "#define PRIVLIB_EXP (win32PerlLibPath(NULL))\t/**/\n"
+ }
+ if (/^\s*#define\s+SITEARCH_EXP/)
+ {
+ $_ = "#define SITEARCH_EXP (win32PerlLibPath(\"site\",ARCHNAME,NULL))\t/**/\n";
+ }
+ if (/^\s*#define\s+SITELIB_EXP/)
+ {
+ $_ = "#define SITELIB_EXP (win32PerlLibPath(\"site\",NULL))\t/**/\n";
}
print H;
}