Change 27407 by [EMAIL PROTECTED] on 2006/03/07 22:16:55
Add a Configure question for mad (Misc Attribute Decoration - Larry's
perl5 to perl[56] convertor), which if set defines PERL_MAD in config.h
Affected files ...
... //depot/perl/Configure#604 edit
... //depot/perl/Cross/config.sh-arm-linux#13 edit
... //depot/perl/NetWare/config.wc#29 edit
... //depot/perl/Porting/Glossary#162 edit
... //depot/perl/config_h.SH#311 edit
... //depot/perl/configure.com#230 edit
... //depot/perl/epoc/config.sh#91 edit
... //depot/perl/perl.c#739 edit
... //depot/perl/plan9/config_sh.sample#10 edit
... //depot/perl/symbian/config.sh#12 edit
... //depot/perl/uconfig.sh#68 edit
... //depot/perl/win32/config.bc#159 edit
... //depot/perl/win32/config.gc#157 edit
... //depot/perl/win32/config.vc#164 edit
... //depot/perl/win32/config.vc64#34 edit
... //depot/perl/wince/config.ce#26 edit
Differences ...
==== //depot/perl/Configure#604 (xtext) ====
Index: perl/Configure
--- perl/Configure#603~27370~ 2006-03-03 08:40:57.000000000 -0800
+++ perl/Configure 2006-03-07 14:16:55.000000000 -0800
@@ -1159,6 +1159,7 @@
useperlio=''
userelocatableinc=''
usesocks=''
+mad=''
d_oldpthreads=''
use5005threads=''
useithreads=''
@@ -3549,6 +3550,27 @@
set usesocks
eval $setvar
+case "$mad" in
+$define|true|[yY]*) dflt='y';;
+*) dflt='n';;
+esac
+cat <<EOM
+
+Would you like to build with Misc Attribute Decoration? This is development
+work leading to a Perl 5 to Perl 6 convertor, which imposes a space and speed
+overhead on the interpreter.
+
+If this doesn't make any sense to you, just accept the default '$dflt'.
+EOM
+rp='Build Perl with MAD?'
+. ./myread
+case "$ans" in
+y|Y) val="$define" ;;
+*) val="$undef" ;;
+esac
+set mad
+eval $setvar
+
case "$usesocks" in
$define|true|[yY]*) useperlio="$define";;
esac
@@ -21872,6 +21894,7 @@
ls='$ls'
lseeksize='$lseeksize'
lseektype='$lseektype'
+mad='$mad'
mail='$mail'
mailx='$mailx'
make='$make'
==== //depot/perl/Cross/config.sh-arm-linux#13 (text) ====
Index: perl/Cross/config.sh-arm-linux
--- perl/Cross/config.sh-arm-linux#12~26639~ 2006-01-04 04:31:17.000000000
-0800
+++ perl/Cross/config.sh-arm-linux 2006-03-07 14:16:55.000000000 -0800
@@ -753,6 +753,7 @@
ls='ls'
lseeksize='8'
lseektype='off_t'
+mad='undef'
mail=''
mailx=''
make='make'
==== //depot/perl/NetWare/config.wc#29 (text) ====
Index: perl/NetWare/config.wc
--- perl/NetWare/config.wc#28~26639~ 2006-01-04 04:31:17.000000000 -0800
+++ perl/NetWare/config.wc 2006-03-07 14:16:55.000000000 -0800
@@ -726,6 +726,7 @@
ls='dir'
lseeksize='4'
lseektype='off_t'
+mad='undef'
mail=''
mailx=''
make='nmake'
==== //depot/perl/Porting/Glossary#162 (text) ====
Index: perl/Porting/Glossary
--- perl/Porting/Glossary#161~27370~ 2006-03-03 08:40:57.000000000 -0800
+++ perl/Porting/Glossary 2006-03-07 14:16:55.000000000 -0800
@@ -3507,6 +3507,10 @@
or whatever type is used to declare lseek offset's type in the
kernel (which also appears to be lseek's return type).
+mad (mad.u):
+ This variable indicates that the Misc Attribute Definition code is to
+ be compiled.
+
mail (Loc.U):
This variable is defined but not used by Configure.
The value is a plain '' and is not useful.
==== //depot/perl/config_h.SH#311 (text) ====
Index: perl/config_h.SH
--- perl/config_h.SH#310~27370~ 2006-03-03 08:40:57.000000000 -0800
+++ perl/config_h.SH 2006-03-07 14:16:55.000000000 -0800
@@ -3041,6 +3041,13 @@
*/
#define PERL_INC_VERSION_LIST $inc_version_list_init /**/
+
+/* PERL_MAD:
+ * This symbol, if defined, indicates that the Misc Attribution
+ * Declaration code should be conditionally compiled.
+ */
+#$mad PERL_MAD /**/
+
/* INSTALL_USR_BIN_PERL:
* This symbol, if defined, indicates that Perl is to be installed
* also as /usr/bin/perl.
==== //depot/perl/configure.com#230 (text) ====
Index: perl/configure.com
--- perl/configure.com#229~27386~ 2006-03-05 19:42:19.000000000 -0800
+++ perl/configure.com 2006-03-07 14:16:55.000000000 -0800
@@ -6163,6 +6163,7 @@
$ WC "lseektype='int'"
$ ENDIF
$ WC "mab='" + "'"
+$ WC "mad='undef'"
$ WC "make='" + make + "'"
$ WC "malloctype='void *'"
$ WC "usemallocwrap='" + usemallocwrap + "'"
==== //depot/perl/epoc/config.sh#91 (text) ====
Index: perl/epoc/config.sh
--- perl/epoc/config.sh#90~27007~ 2006-01-30 08:58:47.000000000 -0800
+++ perl/epoc/config.sh 2006-03-07 14:16:55.000000000 -0800
@@ -661,6 +661,7 @@
ls='ls'
lseeksize='8'
lseektype='off_t'
+mad='undef'
mail=''
mailx=''
make='make'
==== //depot/perl/perl.c#739 (text) ====
Index: perl/perl.c
--- perl/perl.c#738~27396~ 2006-03-06 14:18:52.000000000 -0800
+++ perl/perl.c 2006-03-07 14:16:55.000000000 -0800
@@ -1800,6 +1800,9 @@
# ifdef PERL_IMPLICIT_SYS
" PERL_IMPLICIT_SYS"
# endif
+# ifdef PERL_MAD
+ " PERL_MAD"
+# endif
# ifdef PERL_MALLOC_WRAP
" PERL_MALLOC_WRAP"
# endif
==== //depot/perl/plan9/config_sh.sample#10 (text) ====
Index: perl/plan9/config_sh.sample
--- perl/plan9/config_sh.sample#9~26639~ 2006-01-04 04:31:17.000000000
-0800
+++ perl/plan9/config_sh.sample 2006-03-07 14:16:55.000000000 -0800
@@ -735,6 +735,7 @@
ls='ls'
lseeksize='8'
lseektype='off_t'
+mad='undef'
mail=''
mailx=''
make='make'
==== //depot/perl/symbian/config.sh#12 (text) ====
Index: perl/symbian/config.sh
--- perl/symbian/config.sh#11~26639~ 2006-01-04 04:31:17.000000000 -0800
+++ perl/symbian/config.sh 2006-03-07 14:16:55.000000000 -0800
@@ -627,6 +627,7 @@
longsize='4'
lseeksize=4
lseektype=int
+mad='undef'
make='make'
malloctype='int*'
malloctype='void *'
==== //depot/perl/uconfig.sh#68 (xtext) ====
Index: perl/uconfig.sh
--- perl/uconfig.sh#67~26764~ 2006-01-10 02:51:16.000000000 -0800
+++ perl/uconfig.sh 2006-03-07 14:16:55.000000000 -0800
@@ -592,6 +592,7 @@
longsize='4'
lseeksize=4
lseektype=int
+mad='undef'
malloctype='int*'
malloctype='void *'
modetype='mode_t'
==== //depot/perl/win32/config.bc#159 (text) ====
Index: perl/win32/config.bc
--- perl/win32/config.bc#158~27372~ 2006-03-03 10:34:18.000000000 -0800
+++ perl/win32/config.bc 2006-03-07 14:16:55.000000000 -0800
@@ -746,6 +746,7 @@
ls='dir'
lseeksize='4'
lseektype='long'
+mad='undef'
mail=''
mailx=''
make='dmake'
==== //depot/perl/win32/config.gc#157 (text) ====
Index: perl/win32/config.gc
--- perl/win32/config.gc#156~27372~ 2006-03-03 10:34:18.000000000 -0800
+++ perl/win32/config.gc 2006-03-07 14:16:55.000000000 -0800
@@ -746,6 +746,7 @@
ls='dir'
lseeksize='8'
lseektype='long long'
+mad='undef'
mail=''
mailx=''
make='dmake'
==== //depot/perl/win32/config.vc#164 (text) ====
Index: perl/win32/config.vc
--- perl/win32/config.vc#163~27372~ 2006-03-03 10:34:18.000000000 -0800
+++ perl/win32/config.vc 2006-03-07 14:16:55.000000000 -0800
@@ -746,6 +746,7 @@
ls='dir'
lseeksize='8'
lseektype='__int64'
+mad='undef'
mail=''
mailx=''
make='nmake'
==== //depot/perl/win32/config.vc64#34 (text) ====
Index: perl/win32/config.vc64
--- perl/win32/config.vc64#33~27372~ 2006-03-03 10:34:18.000000000 -0800
+++ perl/win32/config.vc64 2006-03-07 14:16:55.000000000 -0800
@@ -746,6 +746,7 @@
ls='dir'
lseeksize='8'
lseektype='__int64'
+mad='undef'
mail=''
mailx=''
make='nmake'
==== //depot/perl/wince/config.ce#26 (text) ====
Index: perl/wince/config.ce
--- perl/wince/config.ce#25~26639~ 2006-01-04 04:31:17.000000000 -0800
+++ perl/wince/config.ce 2006-03-07 14:16:55.000000000 -0800
@@ -720,6 +720,7 @@
ls='dir'
lseeksize='4'
lseektype='long'
+mad='undef'
mail=''
mailx=''
make='nmake'
End of Patch.