summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-08-15 03:08:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-15 03:08:02 +0000
commit0107c034dcb51641fd526deceb7123a8327e4f73 (patch)
tree01a888566da208af7a4437f847d0d923d830595b /Configure
parent884335e889637310f0c4472f3de03b5fcbc6d983 (diff)
downloadperl-0107c034dcb51641fd526deceb7123a8327e4f73.tar.gz
Make the user to give up his firstborn, err, to knowingly
verify installing an unstable developer release. Also bump the release to 5.7.0, but leave a patch tag in the local patches saying that this is not yet the real thing. p4raw-id: //depot/perl@6628
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure36
1 files changed, 35 insertions, 1 deletions
diff --git a/Configure b/Configure
index dbeaef3351..e32c7396c6 100755
--- a/Configure
+++ b/Configure
@@ -20,7 +20,7 @@
# $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $
#
-# Generated on Sat Aug 5 00:21:09 EET DST 2000 [metaconfig 3.0 PL70]
+# Generated on Tue Aug 15 05:57:14 EET DST 2000 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
@@ -1758,6 +1758,40 @@ persist across sessions for $package.
You may safely delete it if you wish.
EOF
+xpatchlevel=`awk '/define[ ]+PERL_VERSION/ {print $3}' $rsrc/patchlevel.h`
+case "$useunstabledeveloperreleases" in
+$define|true|[yY]*) ;;
+*) case "$xpatchlevel" in
+ *[13579])
+ cat >&4 <<EOH
+*** WHOA THERE!!! ***
+
+ This is an UNSTABLE DEVELOPMENT release.
+ (The patchlevel, $xpatchlevel, is odd--as opposed to even,
+ and that signifies a development release. If you want a
+ maintenance release, you want an even-numbered release.)
+
+ Do ***NOT*** install this into production use.
+ Data corruption and crashes are possible.
+
+ It is most seriously suggested that you do not continue any further
+ unless you want to help in developing and debugging Perl.
+
+EOH
+ rp='Do you really want to continue?'
+ dflt='n'
+ . ./myread
+ case "$ans" in
+ [yY]) echo >&4 "Okay, continuing." ;;
+ *) echo >&4 "Okay, bye."
+ exit 1
+ ;;
+ esac
+ ;;
+ esac
+ ;;
+esac
+
: general instructions
needman=true
firsttime=true