diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2001-07-11 09:30:27 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-07-12 03:39:18 +0000 |
commit | 861eb78deb890060e2cd7718223e4b4aebdce7dc (patch) | |
tree | c0ab7b944fd638ebb4664fe0e148f7cbc59c31d2 /Configure | |
parent | a86a20aad3dee6ffff452254654a89df75943779 (diff) | |
download | perl-861eb78deb890060e2cd7718223e4b4aebdce7dc.tar.gz |
Re: [PATCH Configure] perl -V broken
Message-ID: <Pine.SOL.4.10.10107111329060.2021-100000@maxwell.phys.lafayette.edu>
p4raw-id: //depot/perl@11286
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Sun Jul 8 20:08:04 EET DST 2001 [metaconfig 3.0 PL70] +# Generated on Thu Jul 12 07:32:38 EET DST 2001 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <<EOF @@ -839,6 +839,7 @@ perl_patchlevel='' revision='' subversion='' version='' +version_patchlevel_string='' perl5='' perladmin='' perlpath='' @@ -6061,7 +6062,6 @@ prefixit='case "$3" in esac;; esac' - : get the patchlevel echo " " echo "Getting the current patchlevel..." >&4 @@ -6088,11 +6088,15 @@ if $test -r $rsrc/.patch ; then perl_patchlevel=`cat $rsrc/.patch` fi fi +: Define a handy string here to avoid duplication in myconfig.SH and configpm. +version_patchlevel_string="version $patchlevel subversion $subversion" case "$perl_patchlevel" in -0) ;; -'') $echo "(You have $package version $patchlevel subversion $subversion.)" ;; -*) $echo "(You have $package version $patchlevel subversion $subversion patchlevel $perl_patchlevel.)" ;; +0|'') ;; +*) version_patchlevel_string="$version_patchlevel_string patch $perl_patchlevel" ;; esac + +$echo "(You have $package $version_patchlevel_string.)" + case "$osname" in dos|vms) : XXX Should be a Configure test for double-dots in filenames. @@ -17364,6 +17368,7 @@ vendorlibexp='$vendorlibexp' vendorprefix='$vendorprefix' vendorprefixexp='$vendorprefixexp' version='$version' +version_patchlevel_string='$version_patchlevel_string' versiononly='$versiononly' vi='$vi' voidflags='$voidflags' |