X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=Configure;h=22afe77ac53d91ff86d084be9b98c0a66eb0cf74;hb=4da88a8d92709087ab66556c1c33d641f265b09d;hp=390e21e03865ec8b0f33a82c8a0d4c192e84b8e0;hpb=9890b00082caa33aa90957361e8edd8d117b6946;p=oweals%2Fopenssl.git diff --git a/Configure b/Configure index 390e21e038..22afe77ac5 100755 --- a/Configure +++ b/Configure @@ -221,6 +221,7 @@ my %table=( # SCO 5 - Ben Laurie says the -O breaks the # SCO cc. "sco5-cc", "cc::(unknown):-lsocket:$x86_gcc_des ${x86_gcc_opts}:::", # des options? +"sco5-gcc", "gcc:-O3 -fomit-frame-pointer:(unknown):-lsocket:BN_LLONG $x86_gcc_des ${x86_gcc_opts}:::", # the SCO assembler doesn't seem to like our assembler files ... # Sinix/ReliantUNIX RM400 # NOTE: The CDS++ Compiler up to V2.0Bsomething has the IRIX_CC_BUG optimizer problem. Better use -g */ @@ -366,6 +367,14 @@ foreach (@ARGV) $options .= $_ unless $_ eq $target; } +if ($target eq "TABLE") { + foreach $target (sort keys %table) { + print_table_entry($target); + } + print "\n"; + exit 0; +} + &usage if (!defined($table{$target})); my $IsWindows=scalar grep /^$target$/,@WinTargets; @@ -650,6 +659,12 @@ if($IsWindows) { # 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("apps/der_chop",$perl,'^#!/', '#!%s'); + } else { + # No path for Perl known ... + &dofile("apps/der_chop",'/usr/local/bin/perl','^#!/', '#!%s'); + } } my $pwd; @@ -750,3 +765,32 @@ sub dofile rename($f,"$ff.bak") || die "unable to rename $f\n" if -e $f; rename("$ff.new",$f) || die "unable to rename $ff.new\n"; } + +sub print_table_entry + { + my $target = shift; + + (my $cc,my $cflags,my $thread_cflag,my $lflags,my $bn_ops, + my $bn_obj,my $des_obj,my $bf_obj, + $md5_obj,$sha1_obj,my $cast_obj,my $rc4_obj,$rmd160_obj,my $rc5_obj)= + split(/\s*:\s*/,$table{$target} . ":" x 20 , -1); + + print <