diff options
author | Vadim Konovalov <vkonovalov@lucent.com> | 2001-02-06 12:23:20 +0300 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-02-06 20:21:40 +0000 |
commit | aa832f4288d752b7d495a7b95b97bfa9a50532a8 (patch) | |
tree | 540c4f21862ffde2e768ddda5f7e66df9ac8d218 /win32 | |
parent | 74078192d18adfe8716fde09af21dde48fda1204 (diff) | |
download | perl-aa832f4288d752b7d495a7b95b97bfa9a50532a8.tar.gz |
RE: some win32 fixes
Message-ID: <402099F49BEED211999700805FC7359F9CAF49@ru0028exch01.spb.lucent.com>
p4raw-id: //depot/perl@8706
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile | 9 | ||||
-rw-r--r-- | win32/config.bc | 2 | ||||
-rw-r--r-- | win32/config.gc | 2 | ||||
-rw-r--r-- | win32/config.vc | 2 | ||||
-rw-r--r-- | win32/config_H.bc | 2 | ||||
-rw-r--r-- | win32/makefile.mk | 11 |
6 files changed, 21 insertions, 7 deletions
diff --git a/win32/Makefile b/win32/Makefile index 20512cd59c..abd3b14163 100644 --- a/win32/Makefile +++ b/win32/Makefile @@ -66,9 +66,7 @@ USE_IMP_SYS = define # # uncomment to enable the experimental PerlIO I/O subsystem. -# This is currently incompatible with USE_MULTI, USE_ITHREADS, -# and USE_IMP_SYS -#USE_PERLIO = define +USE_PERLIO = define # # WARNING! This option is deprecated and will eventually go away (enable @@ -247,6 +245,10 @@ USE_ITHREADS = undef USE_IMP_SYS = undef !ENDIF +!IF "$(USE_PERLIO)" == "" +USE_PERLIO = undef +!ENDIF + !IF "$(USE_PERLCRT)" == "" USE_PERLCRT = undef !ENDIF @@ -729,6 +731,7 @@ CFG_VARS = \ "useithreads=$(USE_ITHREADS)" \ "usethreads=$(USE_5005THREADS)" \ "usemultiplicity=$(USE_MULTI)" \ + "useperlio=$(USE_PERLIO)" \ "LINK_FLAGS=$(LINK_FLAGS:"=\")" \ "optimize=$(OPTIMIZE:"=\")" diff --git a/win32/config.bc b/win32/config.bc index ec4a09ec01..bc7b1da981 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -770,7 +770,7 @@ usemultiplicity='undef' usemymalloc='n' usenm='false' useopcode='true' -useperlio='undef' +useperlio='~USE_PERLIO~' useposix='true' usesfio='false' useshrplib='yes' diff --git a/win32/config.gc b/win32/config.gc index c62ea710a1..196b22c905 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -770,7 +770,7 @@ usemultiplicity='undef' usemymalloc='n' usenm='false' useopcode='true' -useperlio='define' +useperlio='~USE_PERLIO~' useposix='true' usesfio='false' useshrplib='yes' diff --git a/win32/config.vc b/win32/config.vc index e770921556..9cb3a77a87 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -770,7 +770,7 @@ usemultiplicity='undef' usemymalloc='n' usenm='false' useopcode='true' -useperlio='define' +useperlio='~USE_PERLIO~' useposix='true' usesfio='false' useshrplib='yes' diff --git a/win32/config_H.bc b/win32/config_H.bc index b932d3cdda..04768a981a 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -3123,7 +3123,7 @@ * used in a fully backward compatible manner. */ #ifndef USE_PERLIO -/*#define USE_PERLIO /**/ +#define USE_PERLIO /**/ #endif /* USE_SOCKS: diff --git a/win32/makefile.mk b/win32/makefile.mk index ce11be4fb4..9b1e3e7cf8 100644 --- a/win32/makefile.mk +++ b/win32/makefile.mk @@ -67,6 +67,10 @@ USE_ITHREADS *= define USE_IMP_SYS *= define # +# uncomment to enable the experimental PerlIO I/O subsystem. +USE_PERLIO = define + +# # WARNING! This option is deprecated and will eventually go away (enable # USE_ITHREADS instead). # @@ -248,6 +252,7 @@ USE_MULTI *= undef USE_OBJECT *= undef USE_ITHREADS *= undef USE_IMP_SYS *= undef +USE_PERLIO *= undef USE_PERLCRT *= undef .IF "$(USE_IMP_SYS)$(USE_MULTI)$(USE_5005THREADS)$(USE_OBJECT)" == "defineundefundefundef" @@ -278,6 +283,11 @@ ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-thread .ELIF "$(USE_MULTI)" == "define" ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-multi .ELSE +.IF "$(USE_PERLIO)" == "define" +ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE)-perlio +.ELSE +ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE) +.ENDIF ARCHNAME = MSWin32-$(PROCESSOR_ARCHITECTURE) .ENDIF @@ -862,6 +872,7 @@ CFG_VARS = \ useithreads=$(USE_ITHREADS) ~ \ usethreads=$(USE_5005THREADS) ~ \ usemultiplicity=$(USE_MULTI) ~ \ + useperlio=$(USE_PERLIO) ~ \ LINK_FLAGS=$(LINK_FLAGS:s/\/\\/) ~ \ optimize=$(OPTIMIZE) |