1 |
wellsi |
1.1 |
--- openssl-0.9.8a/Configure.enginesdir 2005-11-04 15:06:37.000000000 +0100 |
2 |
|
|
+++ openssl-0.9.8a/Configure 2005-11-07 14:15:12.000000000 +0100 |
3 |
|
|
@@ -560,6 +560,7 @@ |
4 |
|
|
|
5 |
|
|
my $prefix=""; |
6 |
|
|
my $openssldir=""; |
7 |
|
|
+my $enginesdir=""; |
8 |
|
|
my $exe_ext=""; |
9 |
|
|
my $install_prefix=""; |
10 |
|
|
my $no_threads=0; |
11 |
|
|
@@ -739,6 +740,10 @@ |
12 |
|
|
{ |
13 |
|
|
$openssldir=$1; |
14 |
|
|
} |
15 |
|
|
+ elsif (/^--enginesdir=(.*)$/) |
16 |
|
|
+ { |
17 |
|
|
+ $enginesdir=$1; |
18 |
|
|
+ } |
19 |
|
|
elsif (/^--install.prefix=(.*)$/) |
20 |
|
|
{ |
21 |
|
|
$install_prefix=$1; |
22 |
|
|
@@ -923,7 +928,7 @@ |
23 |
|
|
|
24 |
|
|
$openssldir=$prefix . "/ssl" if $openssldir eq ""; |
25 |
|
|
$openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/; |
26 |
|
|
- |
27 |
|
|
+$enginesdir="$prefix/lib/engines" if $enginesdir eq ""; |
28 |
|
|
|
29 |
|
|
print "IsMK1MF=$IsMK1MF\n"; |
30 |
|
|
|
31 |
|
|
@@ -1430,7 +1435,7 @@ |
32 |
|
|
if (/^#define\s+OPENSSLDIR/) |
33 |
|
|
{ print OUT "#define OPENSSLDIR \"$openssldir\"\n"; } |
34 |
|
|
elsif (/^#define\s+ENGINESDIR/) |
35 |
|
|
- { print OUT "#define ENGINESDIR \"$prefix/lib/engines\"\n"; } |
36 |
|
|
+ { print OUT "#define ENGINESDIR \"$enginesdir\"\n"; } |
37 |
|
|
elsif (/^#((define)|(undef))\s+OPENSSL_EXPORT_VAR_AS_FUNCTION/) |
38 |
|
|
{ printf OUT "#undef OPENSSL_EXPORT_VAR_AS_FUNCTION\n" |
39 |
|
|
if $export_var_as_fn; |