From: Jarkko Hietaniemi Date: Tue, 7 Nov 2000 19:18:58 +0000 (+0000) Subject: Be more robust in Dynaloader.pm. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7e9f3af8006e36c2bf029908b309c5fcc5d98e60;p=p5sagit%2Fp5-mst-13.2.git Be more robust in Dynaloader.pm. p4raw-id: //depot/perl@7594 --- diff --git a/ext/DynaLoader/DynaLoader_pm.PL b/ext/DynaLoader/DynaLoader_pm.PL index 728172a..266c9d0 100644 --- a/ext/DynaLoader/DynaLoader_pm.PL +++ b/ext/DynaLoader/DynaLoader_pm.PL @@ -34,6 +34,8 @@ $VERSION = 1.04; # avoid typo warning require AutoLoader; *AUTOLOAD = \&AutoLoader::AUTOLOAD; +use Config; + # The following require can't be removed during maintenance # releases, sadly, because of the risk of buggy code that does # require Carp; Carp::croak "..."; without brackets dying @@ -61,14 +63,6 @@ sub dl_load_flags { 0x00 } # = @Config::Config{'dlext', 'dlsrc'}; EOT - -if (!$ENV{PERL_BUILD_EXPAND_CONFIG_VARS}) { - print OUT <\]]/ && -d $_) { push(@dirs, $_); next; }