From efadf60f9c4502e7e6d76a5e37a7e5f337ead0cd Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sun, 7 Mar 1999 15:21:08 +0000 Subject: [PATCH] Don't make links on Windoze. --- CHANGES | 2 +- Configure | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 35d94f057a..3d052f4998 100644 --- a/CHANGES +++ b/CHANGES @@ -11,7 +11,7 @@ *) Add config entry for Linux on MIPS. [John Tobey ] - *) Make links whenever Configure is run. + *) Make links whenever Configure is run, unless we are on Windoze. [Ben Laurie] *) Permit extensions to be added to CRLs using crl_section in openssl.cnf. diff --git a/Configure b/Configure index aaeda79920..51e4b83f92 100755 --- a/Configure +++ b/Configure @@ -246,6 +246,9 @@ my %misc_table = ( "VC-NT", "96:60:152:40:4212:20:1" ); +my @WinTargets=qw(VC-NT VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS BC-32 + BC-16 CygWin32); + my $no_asm=0; my $postfix="org"; my $Makefile="Makefile.ssl"; @@ -322,6 +325,10 @@ if (!defined($table{$target})) exit(1); } +my $IsWindows=scalar grep /^$target$/,@WinTargets; + +print "IsWindows=$IsWindows\n"; + (my $cc,my $cflags,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); @@ -669,7 +676,7 @@ print "RC2 uses u$type[$rc2_int]\n" if $rc2_int != $def_int; print "BF_PTR used\n" if $bf_ptr == 1; print "BF_PTR2 used\n" if $bf_ptr == 2; -system 'make links'; +system 'make links' if !$IsWindows; exit(0); -- GitLab