X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=Configure;h=aca444a57dc2ee8cfc2f8121acba7be585188954;hp=f5dea0f2cf5fe1a75f225eef80a2265e6e82ea08;hb=0c02a3754847d2aa6756b502daefcb01386e58dd;hpb=166c9cb0b831847aabe4a74a9b1817cf63f7b42e 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";