summaryrefslogtreecommitdiff
path: root/configpm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-04-02 13:13:39 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-04-02 13:13:39 +0000
commit2000072cab81cd89af2f9e1974fc40b8ae0aecc8 (patch)
tree03ef12e97926addff3f98794ea3ac8fe3f2f3a4b /configpm
parent4663847075ec7a4ae5ad72ea6821c81ef4ff7779 (diff)
downloadperl-2000072cab81cd89af2f9e1974fc40b8ae0aecc8.tar.gz
Configure regen.
Add llseek + offset_t probing. Change CONFIG to CONFIGDOTSH. 'unset foo' is unportable, use foo=''. p4raw-id: //depot/cfgperl@3201
Diffstat (limited to 'configpm')
-rwxr-xr-xconfigpm11
1 files changed, 7 insertions, 4 deletions
diff --git a/configpm b/configpm
index 9cf8103b80..4c9eb121aa 100755
--- a/configpm
+++ b/configpm
@@ -44,10 +44,10 @@ $in_v = 0;
while (<>) {
next if m:^#!/bin/sh:;
- # Catch CONFIG=true and PERL_VERSION=n line from Configure.
+ # Catch CONFIGDOTSH=true and PERL_VERSION=n line from Configure.
s/^(\w+)=(true|\d+)\s*$/$1='$2'\n/;
my ($k,$v) = ($1,$2);
- # grandfather PATCHLEVEL and SUBVERSION
+ # grandfather PATCHLEVEL and SUBVERSION and CONFIG
if ($k) {
if ($k eq 'PERL_VERSION') {
push @v_others, "PATCHLEVEL='$v'\n";
@@ -55,6 +55,9 @@ while (<>) {
elsif ($k eq 'PERL_SUBVERSION') {
push @v_others, "SUBVERSION='$v'\n";
}
+ elsif ($k eq 'CONFIGDOTSH') {
+ push @v_others, "CONFIG='$v'\n";
+ }
}
# We can delimit things in config.sh with either ' or ".
unless ($in_v or m/^(\w+)=(['"])(.*\n)/){
@@ -411,11 +414,11 @@ require $config_pm;
import Config;
die "$0: $config_pm not valid"
- unless $Config{'CONFIG'} eq 'true';
+ unless $Config{'CONFIGDOTSH'} eq 'true';
die "$0: error processing $config_pm"
if defined($Config{'an impossible name'})
- or $Config{'CONFIG'} ne 'true' # test cache
+ or $Config{'CONFIGDOTSH'} ne 'true' # test cache
;
die "$0: error processing $config_pm"