diff --git a/config/config.pl b/config/config.pl index c003fa2..879d257 100755 --- a/config/config.pl +++ b/config/config.pl @@ -622,7 +622,9 @@ my $abs_path_names = 1; if($opt{'PERL'}) { $newcfg{'PERL'} = &find_prog(&get_name('PERL',1)); } else { - $newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name + require Config; + $newcfg{'PERL'} = &find_prog($Config::Config{perlpath}||$^X); + #$newcfg{'PERL'} = &find_prog($^X); # take the perl internal executable name } &checking('perl version'); &result($]);