projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Incorporate some changes that make OpenSSL compilable in CygWin.
[openssl.git]
/
Configure
diff --git
a/Configure
b/Configure
index 050b64cc9e8cd5868c4a5fd58827c2a6bdbc1a7c..5c99f81d40015bd7088795af88104b5d550c8987 100755
(executable)
--- a/
Configure
+++ b/
Configure
@@
-455,6
+455,7
@@
my @WinTargets=qw(VC-NT VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS BC-32
my $prefix="";
my $openssldir="";
my $prefix="";
my $openssldir="";
+my $exe_ext="";
my $install_prefix="";
my $no_threads=0;
my $no_shared=1;
my $install_prefix="";
my $no_threads=0;
my $no_shared=1;
@@
-681,6
+682,7
@@
print "Configuring for $target\n";
my $IsWindows=scalar grep /^$target$/,@WinTargets;
my $IsWindows=scalar grep /^$target$/,@WinTargets;
+$exe_ext=".exe" if ($target eq "CygWin32");
$openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq "");
$prefix=$openssldir if $prefix eq "";
$openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq "");
$prefix=$openssldir if $prefix eq "";
@@
-923,6
+925,7
@@
while (<IN>)
s/^CFLAG=.*$/CFLAG= $cflags/;
s/^DEPFLAG=.*$/DEPFLAG= $depflags/;
s/^EX_LIBS=.*$/EX_LIBS= $lflags/;
s/^CFLAG=.*$/CFLAG= $cflags/;
s/^DEPFLAG=.*$/DEPFLAG= $depflags/;
s/^EX_LIBS=.*$/EX_LIBS= $lflags/;
+ s/^EXE_EXT=.*$/EXE_EXT= $exe_ext/;
s/^BN_ASM=.*$/BN_ASM= $bn_obj/;
s/^DES_ENC=.*$/DES_ENC= $des_obj/;
s/^BF_ENC=.*$/BF_ENC= $bf_obj/;
s/^BN_ASM=.*$/BN_ASM= $bn_obj/;
s/^DES_ENC=.*$/DES_ENC= $des_obj/;
s/^BF_ENC=.*$/BF_ENC= $bf_obj/;