summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-03-07 22:16:55 +0000
committerNicholas Clark <nick@ccl4.org>2006-03-07 22:16:55 +0000
commita724edfe531a4a4cce2d4bbb94e1f583d86bc9a3 (patch)
tree61e55fed0ee79ea52418be4ff048c1bbf5c55956 /Configure
parent98fed0adfc8a6b4cff1d77d3f468d26b27488d51 (diff)
downloadperl-a724edfe531a4a4cce2d4bbb94e1f583d86bc9a3.tar.gz
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 p4raw-id: //depot/perl@27407
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure23
1 files changed, 23 insertions, 0 deletions
diff --git a/Configure b/Configure
index be4a11bb0b..b66e790e1f 100755
--- a/Configure
+++ b/Configure
@@ -1159,6 +1159,7 @@ usenm=''
useperlio=''
userelocatableinc=''
usesocks=''
+mad=''
d_oldpthreads=''
use5005threads=''
useithreads=''
@@ -3549,6 +3550,27 @@ esac
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 @@ lpr='$lpr'
ls='$ls'
lseeksize='$lseeksize'
lseektype='$lseektype'
+mad='$mad'
mail='$mail'
mailx='$mailx'
make='$make'