develooper Front page | perl.perl5.porters | Postings from September 2003

[PATCH 5.6.2] make -Dusedevel imply -Dversiononly -Uinstallusrbinperl

Thread Next
From:
Yitzchak Scott-Thoennes
Date:
September 3, 2003 12:04
Subject:
[PATCH 5.6.2] make -Dusedevel imply -Dversiononly -Uinstallusrbinperl
Message ID:
20030903190330.GA3652@efn.org
I was about to try my first 5.6.2 build, using -Dusedevel, and stopped
to wonder if it would do what I wanted (i.e. what it does in 5.8.x and
blead).  A quick look at Configure showed that it wouldn't have.

--- perl-5.6.2/Configure.orig	2003-09-02 13:52:58.000000000 -0700
+++ perl-5.6.2/Configure	2003-09-03 09:51:17.000000000 -0700
@@ -1806,7 +1806,8 @@
 	dflt='n'
 	. ./myread
 	case "$ans" in
-	[yY]) echo >&4 "Okay, continuing." ;;
+	[yY]) echo >&4 "Okay, continuing."
+	      usedevel="$define" ;;
 	*) echo >&4 "Okay, bye."
 	   exit 1
 	   ;;
@@ -1815,6 +1816,16 @@
     esac
     ;;
 esac
+case "$usedevel" in
+$define|true|[yY]*)
+	case "$versiononly" in
+	'') versiononly="$define" ;;
+	esac
+	case "$installusrbinperl" in
+	'') installusrbinperl="$undef" ;;
+	esac
+	;;
+esac
 
 : general instructions
 needman=true
End of Patch.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About