summaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-01-29 23:05:15 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-01-29 23:05:15 +0000
commit0c02a3754847d2aa6756b502daefcb01386e58dd (patch)
tree19746d14cc5a38c2765889acc03d8e89db1bdbb7 /Configure
parent166c9cb0b831847aabe4a74a9b1817cf63f7b42e (diff)
use different default fips install directory
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure12
1 files changed, 11 insertions, 1 deletions
diff --git a/Configure b/Configure
index f5dea0f2cf..aca444a57d 100755
--- a/Configure
+++ b/Configure
@@ -1086,7 +1086,17 @@ my $IsMK1MF=scalar grep /^$target$/,@MK1MF_Builds;
$exe_ext=".exe" if ($target eq "Cygwin" || $target eq "DJGPP" || $target =~ /^mingw/);
$exe_ext=".nlm" if ($target =~ /netware/);
$exe_ext=".pm" if ($target =~ /vos/);
-$openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq "");
+if ($openssldir eq "" and $prefix eq "")
+ {
+ if ($fips)
+ {
+ $openssldir="/usr/local/ssl/fips-2.0";
+ }
+ else
+ {
+ $openssldir="/usr/local/ssl";
+ }
+ }
$prefix=$openssldir if $prefix eq "";
$default_ranlib= &which("ranlib") or $default_ranlib="true";