1 --- openssl-0.9.8n/Configure 2010-04-19 17:45:39.421625300 -0700
2 +++ openssl-0.9.8n/Configure.new 2010-06-18 15:18:52.437417100 -0700
4 # --prefix option is given; /usr/local/ssl otherwise)
5 # --prefix prefix for the OpenSSL include, lib and bin directories
6 # (Default: the OPENSSLDIR directory)
7 +# --enginesdir engines shared library location
8 +# (Default: $prefix/lib/engines)
10 # --pk11-libname PKCS#11 library name.
18 my $install_prefix= "$ENV{'INSTALL_PREFIX'}";
19 my $cross_compile_prefix="";
24 + elsif (/^--enginesdir=(.*)$/)
28 elsif (/^--install.prefix=(.*)$/)
31 @@ -1125,8 +1132,16 @@
33 $prefix=$openssldir if $prefix eq "";
35 +if ($enginesdir eq "")
37 + $enginesdir = "$prefix/lib/engines";
40 $libdir="lib" if $libdir eq "";
45 $default_ranlib= &which("ranlib") or $default_ranlib="true";
46 $perl=$ENV{'PERL'} or $perl=&which("perl5") or $perl=&which("perl")
48 @@ -1724,10 +1739,7 @@
50 elsif (/^#define\s+ENGINESDIR/)
52 - # $foo is to become "$prefix/lib$multilib/engines";
53 - # as Makefile.org and engines/Makefile are adapted for
55 - my $foo = "$prefix/lib/engines";
56 + my $foo = $enginesdir;
58 print OUT "#define ENGINESDIR \"$foo\"\n";