Option "no-symlinks" to configure without creating the links (e.g.

for use with makefile.one)
This commit is contained in:
Ulf Möller 2000-06-06 20:52:42 +00:00
parent 9887c71c41
commit 7e6502a6cb

View File

@ -435,6 +435,7 @@ my $openssl_other_defines="";
my $libs=""; my $libs="";
my $target=""; my $target="";
my $options=""; my $options="";
my $symlink=1;
foreach (@ARGV) foreach (@ARGV)
{ {
s /^-no-/no-/; # some people just can't read the instructions s /^-no-/no-/; # some people just can't read the instructions
@ -450,6 +451,8 @@ foreach (@ARGV)
{ $no_threads=1; } { $no_threads=1; }
elsif (/^threads$/) elsif (/^threads$/)
{ $threads=1; } { $threads=1; }
elsif (/^no-symlinks$/)
{ $symlink=0; }
elsif (/^no-(.+)$/) elsif (/^no-(.+)$/)
{ {
my $algo=$1; my $algo=$1;
@ -895,7 +898,8 @@ if($IsWindows) {
EOF EOF
close(OUT); close(OUT);
} else { } else {
(system "make -f Makefile.ssl PERL=\'$perl\' links") == 0 or exit $?; (system "make -f Makefile.ssl PERL=\'$perl\' links") == 0 or exit $?
if $symlink;
### (system 'make depend') == 0 or exit $? if $depflags ne ""; ### (system 'make depend') == 0 or exit $? if $depflags ne "";
# Run "make depend" manually if you want to be able to delete # Run "make depend" manually if you want to be able to delete
# the source code files of ciphers you left out. # the source code files of ciphers you left out.