summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaszlo Molnar <laszlo.molnar@eth.ericsson.se>2000-12-16 02:40:52 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-12-16 17:16:05 +0000
commit7a06d84a010fc180b2d94db024cff7002bb60351 (patch)
treeb17611e9a3ea444bb5704b9fdf0e26610aac8220
parenta8586c98e47ea8c3206b047478e3ffd5ffac5a36 (diff)
downloadperl-7a06d84a010fc180b2d94db024cff7002bb60351.tar.gz
[patch perl@8102] dos/djgpp update
Message-ID: <20001216014052.A335@freemail.hu> p4raw-id: //depot/perl@8142
-rw-r--r--djgpp/config.over4
-rw-r--r--t/base/commonsense.t3
2 files changed, 5 insertions, 2 deletions
diff --git a/djgpp/config.over b/djgpp/config.over
index f9c167ec24..1bdd8ca120 100644
--- a/djgpp/config.over
+++ b/djgpp/config.over
@@ -35,7 +35,9 @@ repair()
-e 's=File/=='\
-e 's=glob=='\
-e 's=Glob=='\
- -e 's/storable/Storable/'
+ -e 's/storable/Storable/'\
+ -e 's/encode/Encode/'\
+ -e 's=filter/util/call=Filter/Util/Call='
}
static_ext=$(repair "$static_ext")
extensions=$(repair "$extensions")
diff --git a/t/base/commonsense.t b/t/base/commonsense.t
index 155c5345b6..6e313073d2 100644
--- a/t/base/commonsense.t
+++ b/t/base/commonsense.t
@@ -15,7 +15,8 @@ if (($Config{'extensions'} !~ /\bIO\b/) ){
print "Bail out! Perl configured without IO module\n";
exit 0;
}
-if (($Config{'extensions'} !~ /\bFile\/Glob\b/) ){
+# hey, DOS users do not need this kind of common sense ;-)
+if ($^O ne 'dos' && ($Config{'extensions'} !~ /\bFile\/Glob\b/) ){
print "Bail out! Perl configured without File::Glob module\n";
exit 0;
}