summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-07-29 21:04:02 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-07-29 21:04:02 +0000
commitd71b2b6b0ee7a300e345e5175fafb8b6ec1ea959 (patch)
treee8ec386ec0f9119ae636737d52454cab972e214c /Configure
parent4afc6d66aeafd270f1fcb835f4aee0553a4cdb42 (diff)
downloadperl-d71b2b6b0ee7a300e345e5175fafb8b6ec1ea959.tar.gz
Make Configure support PERL_BINCOMPAT_5005.
p4raw-id: //depot/cfgperl@3835
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure38
1 files changed, 37 insertions, 1 deletions
diff --git a/Configure b/Configure
index 16576e0d47..2d006395c8 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 Wed Jul 28 20:32:22 EET DST 1999 [metaconfig 3.0 PL70]
+# Generated on Thu Jul 29 23:50:22 EET DST 1999 [metaconfig 3.0 PL70]
# (with additional metaconfig patches by perlbug@perl.com)
cat >/tmp/c1$$ <<EOF
@@ -282,6 +282,8 @@ baserev=''
bin=''
binexp=''
installbin=''
+bincompat5005=''
+d_bincompat5005=''
byteorder=''
cc=''
gccversion=''
@@ -3256,6 +3258,38 @@ else
installarchlib="$archlibexp"
fi
+
+: Binary compatibility with 5.005 is not possible for builds
+: with advanced features
+case "$usethreads$usemultiplicity" in
+*define*) bincompat5005="$undef" ;;
+*) $cat <<EOM
+
+Perl 5.006 can be compiled for binary compatibility with 5.005.
+If you decide to do so, you will be able to continue using most
+of the extensions that were compiled for Perl 5.005.
+
+EOM
+ case "$d_bincompat5005" in
+ "$undef") dflt=n ;;
+ *) dflt=y ;;
+ esac
+ rp='Binary compatibility with Perl 5.005?'
+ . ./myread
+ case "$ans" in
+ y*) val="$define" ;;
+ *) val="$undef" ;;
+ esac
+ set d_bincompat5005
+ eval $setvar
+ case "$d_bincompat5005" in
+ "$define") bincompat5005="$define" ;;
+ *) bincompat5005="$undef" ;;
+ esac
+ ;;
+esac
+
+
: make some quick guesses about what we are up against
echo " "
$echo $n "Hmm... $c"
@@ -13071,6 +13105,7 @@ awk='$awk'
baserev='$baserev'
bash='$bash'
bin='$bin'
+bincompat5005='$bincompat5005'
binexp='$binexp'
bison='$bison'
byacc='$byacc'
@@ -13115,6 +13150,7 @@ d_archlib='$d_archlib'
d_attribut='$d_attribut'
d_bcmp='$d_bcmp'
d_bcopy='$d_bcopy'
+d_bincompat5005='$d_bincompat5005'
d_bsd='$d_bsd'
d_bsdgetpgrp='$d_bsdgetpgrp'
d_bsdsetpgrp='$d_bsdsetpgrp'