Change 27410 by [EMAIL PROTECTED] on 2006/03/08 08:10:25
Backport #27407
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#605 edit
... //depot/perl/Porting/Glossary#163 edit
... //depot/perl/config_h.SH#312 edit
Differences ...
==== //depot/perl/Configure#605 (xtext) ====
Index: perl/Configure
--- perl/Configure#604~27407~ 2006-03-07 14:16:55.000000000 -0800
+++ perl/Configure 2006-03-08 00:10:25.000000000 -0800
@@ -26,7 +26,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Fri Mar 3 17:34:44 CET 2006 [metaconfig 3.0 PL70]
+# Generated on Wed Mar 8 09:08:03 CET 2006 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by [EMAIL PROTECTED])
cat >c1$$ <<EOF
@@ -962,6 +962,7 @@
sSCNfldbl=''
lseeksize=''
lseektype=''
+mad=''
make_set_make=''
d_mymalloc=''
freetype=''
@@ -1159,7 +1160,6 @@
useperlio=''
userelocatableinc=''
usesocks=''
-mad=''
d_oldpthreads=''
use5005threads=''
useithreads=''
@@ -3550,27 +3550,6 @@
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
@@ -18983,6 +18962,28 @@
*) groupstype="$gidtype";;
esac
+
+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
+
echo " "
echo "Checking if your $make program sets \$(MAKE)..." >&4
case "$make_set_make" in
==== //depot/perl/Porting/Glossary#163 (text) ====
Index: perl/Porting/Glossary
--- perl/Porting/Glossary#162~27407~ 2006-03-07 14:16:55.000000000 -0800
+++ perl/Porting/Glossary 2006-03-08 00:10:25.000000000 -0800
@@ -3507,7 +3507,7 @@
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):
+mad (mad.U):
This variable indicates that the Misc Attribute Definition code is to
be compiled.
==== //depot/perl/config_h.SH#312 (text) ====
Index: perl/config_h.SH
--- perl/config_h.SH#311~27407~ 2006-03-07 14:16:55.000000000 -0800
+++ perl/config_h.SH 2006-03-08 00:10:25.000000000 -0800
@@ -3041,13 +3041,6 @@
*/
#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.
@@ -4087,6 +4080,12 @@
*/
#$i_langinfo I_LANGINFO /**/
+/* PERL_MAD:
+ * This symbol, if defined, indicates that the Misc Attribution
+ * Declaration code should be conditionally compiled.
+ */
+#$mad PERL_MAD /**/
+
/* USE_FAST_STDIO:
* This symbol, if defined, indicates that Perl should
* be built to use 'fast stdio'.
End of Patch.