summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-05-13 12:57:50 +0000
committerNicholas Clark <nick@ccl4.org>2006-05-13 12:57:50 +0000
commitfd655d330c4a545eb836be2bf58736622e036e45 (patch)
treebd1a14f52b4c8269a7b570cc397ad6a6552e5020 /Configure
parentbce8aa3768033adc380fd1922948e7193277c81f (diff)
downloadperl-fd655d330c4a545eb836be2bf58736622e036e45.tar.gz
Only ask about MAD for 5.9.0 and greater. Otherwise silently select
'n'. p4raw-id: //depot/perl@28188
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure19
1 files changed, 12 insertions, 7 deletions
diff --git a/Configure b/Configure
index 2dd947e2f2..6ddb054323 100755
--- a/Configure
+++ b/Configure
@@ -18945,11 +18945,15 @@ EOM
esac
-case "$mad" in
-$define|true|[yY]*) dflt='y' ;;
-*) dflt='n' ;;
-esac
-cat <<EOM
+if $test $patchlevel -lt 9; then
+: MAD is not available in 5.8.x or earlier.
+ ans=n;
+else
+ 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
@@ -18957,8 +18961,9 @@ 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
+ rp='Build Perl with MAD?'
+ . ./myread
+fi
case "$ans" in
y|Y) val="$define"
madlyh='madly.h madly.act madly.tab'