From acbc2db62d28b1660277b33463f96f796b30a6c3 Mon Sep 17 00:00:00 2001 From: Nick Ing-Simmons Date: Sat, 22 Nov 1997 21:18:11 +0000 Subject: 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 --- win32/config_h.PL | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'win32/config_h.PL') 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 () 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; } -- cgit v1.2.1