X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=Configure;h=3e86c05a871a58bee6f96f04c705cfd24fc7aa68;hp=1de6c3fb104ea9799e6eb97fa27bb3b5a09affd0;hb=439df5087f012e65b80c13ade8953778cc0b4704;hpb=0d3b0afe9e59962f92b0cc6c63fc65a8e8dbc0de diff --git a/Configure b/Configure index 1de6c3fb10..3e86c05a87 100755 --- a/Configure +++ b/Configure @@ -890,12 +890,13 @@ EOF ### (system 'make depend') == 0 or exit $? if $depflags ne ""; # Run "make depend" manually if you want to be able to delete # the source code files of ciphers you left out. - &dofile("tools/c_rehash",$openssldir,'^DIR=', 'DIR=%s',); if ( $perl =~ m@^/@) { + &dofile("tools/c_rehash",$perl,'^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";'); &dofile("apps/der_chop",$perl,'^#!/', '#!%s'); &dofile("apps/CA.pl",$perl,'^#!/', '#!%s'); } else { # No path for Perl known ... + &dofile("tools/c_rehash",'/usr/local/bin/perl','^#!/', '#!%s','^my \$dir;$', 'my $dir = "' . $openssldir . '";'); &dofile("apps/der_chop",'/usr/local/bin/perl','^#!/', '#!%s'); &dofile("apps/CA.pl",'/usr/local/bin/perl','^#!/', '#!%s'); }