From b86a2fa703d0daf651095b1947eb50e3b5cc41d9 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Mon, 26 Oct 1998 02:44:44 +0000 Subject: various win32 tweaks; disable new xs_cpp section (it creates ambiguous inference graph for %.xs --> %.o) p4raw-id: //depot/perl@2086 --- win32/Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'win32/Makefile') diff --git a/win32/Makefile b/win32/Makefile index 2e017292bf..d6b6ddaeb0 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -32,6 +32,11 @@ INST_VER = \5.00552 # #USE_THREADS = define +# +# uncomment to enable multiple interpreters +# +#USE_MULTI = define + # # uncomment next line if you are using Visual C++ 2.x # @@ -135,6 +140,7 @@ CRYPT_FLAG = -DHAVE_DES_FCRYPT !IF "$(OBJECT)" != "" PERL_MALLOC = undef USE_THREADS = undef +USE_MULTI = undef !ENDIF !IF "$(PERL_MALLOC)" == "" @@ -145,8 +151,11 @@ PERL_MALLOC = undef USE_THREADS = undef !ENDIF -#BUILDOPT = -DMULTIPLICITY -#BUILDOPT = -DPERL_GLOBAL_STRUCT -DMULTIPLICITY +!IF "$(USE_MULTI)" == "" +USE_MULTI = undef +!ENDIF + +#BUILDOPT = -DPERL_GLOBAL_STRUCT # -DUSE_PERLIO -D__STDC__=1 -DUSE_SFIO -DI_SFIO -I\sfio97\include !IF "$(PROCESSOR_ARCHITECTURE)" == "" @@ -573,6 +582,7 @@ CFG_VARS = \ "dynamic_ext=$(DYNAMIC_EXT)" \ "nonxs_ext=$(NONXS_EXT)" \ "usethreads=$(USE_THREADS)" \ + "usemultiplicity=$(USE_MULTI)" \ "LINK_FLAGS=$(LINK_FLAGS)" \ "optimize=$(OPTIMIZE)" -- cgit v1.2.1