X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=win32%2FMakefile;h=2a002550f41822d99b44260d0be6d7ce178d87b5;hb=d08ede9a86fc6f23c9d8f6a6b0ba2b5edd36ad0f;hp=88eb9d80e83a5ff1a675279a1b30feaec5a10a94;hpb=82867ecff54600b40335bf899f794c873ac8a5c9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/win32/Makefile b/win32/Makefile index 88eb9d8..2a00255 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -43,42 +43,47 @@ INST_VER = \5.5.640 INST_ARCH = \$(ARCHNAME) # -# XXX WARNING! This option currently undergoing changes. May be broken. +# uncomment to enable multiple interpreters. This is need for fork() +# emulation. # -# uncomment to enable threads-capabilities -# -#USE_5005THREADS= define +#USE_MULTI = define # -# XXX WARNING! This option currently undergoing changes. May be broken. +# XXX WARNING! This option is still very experimental. May be broken. # -# uncomment to enable multiple interpreters +# Beginnings of interpreter cloning/threads; still very incomplete. +# This should be enabled to get the fork() emulation. This needs +# USE_MULTI as well. # -#USE_MULTI = define +#USE_ITHREADS = define # -# XXX WARNING! This option currently undergoing changes. May be broken. -# -# uncomment next line if you want to use the perl object -# Currently, this cannot be enabled if you ask for threads above +# uncomment to enable the implicit "host" layer for all system calls +# made by perl. This needs USE_MULTI above. This is also needed to +# get fork(). # -#USE_OBJECT = define +#USE_IMP_SYS = define # -# XXX WARNING! This option currently undergoing changes. May be broken. +# WARNING! This option is deprecated and will eventually go away (enable +# USE_ITHREADS instead). # -# Beginnings of interpreter cloning/threads: still rather rough, fails -# tests. This should be enabled to get the fork() emulation. This needs -# one of USE_MULTI or USE_OBJECT enabled as well. +# uncomment to enable threads-capabilities. This is incompatible with +# USE_ITHREADS, and is only here for people who may have come to rely +# on the experimental Thread support that was in 5.005. # -#USE_ITHREADS = define +#USE_5005THREADS= define # -# uncomment to enable the implicit "host" layer for all system calls -# made by perl. This needs one of USE_MULTI or USE_OBJECT above. -# This is also needed to get fork(). +# WARNING! This option is deprecated and will eventually go away (enable +# USE_MULTI instead). # -#USE_IMP_SYS = define +# uncomment next line if you want to use the PERL_OBJECT build option. +# DO NOT ENABLE unless you have legacy code that relies on the C++ +# CPerlObj class that was available in 5.005. This cannot be enabled +# if you ask for USE_5005THREADS above. +# +#USE_OBJECT = define # # uncomment one of the following lines if you are using either @@ -132,7 +137,7 @@ INST_ARCH = \$(ARCHNAME) # WARNING: Turning this on/off WILL break binary compatibility with extensions # you may have compiled with/without it. Be prepared to recompile all # extensions if you change the default. Currently, this cannot be enabled -# if you ask for USE_OBJECT above. +# if you ask for USE_IMP_SYS above. # #PERL_MALLOC = define @@ -222,6 +227,10 @@ USE_5005THREADS = undef USE_ITHREADS = undef !ENDIF +!IF "$(USE_IMP_SYS)" == "define" +PERL_MALLOC = undef +!ENDIF + !IF "$(USE_MULTI)" == "" USE_MULTI = undef !ENDIF