diff options
-rw-r--r-- | djgpp/config.over | 4 | ||||
-rw-r--r-- | t/base/commonsense.t | 3 |
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; } |