diff options
author | Richard Levitte <levitte@openssl.org> | 2000-06-30 15:02:02 +0400 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-06-30 15:02:02 +0400 |
commit | ae02fc534856d7fe7ce3e95c097499de911b6a47 (patch) | |
tree | b1a53f5e6031b8a3bcf23e659c55ef2c3198ae97 /Configure | |
parent | 93e147dd329344fa6b428d24068433a041a34db6 (diff) |
Make it possible to turn off compilation of hardware support through
the configuration parameter 'no-hw'.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -10,7 +10,7 @@ use strict; # see INSTALL for instructions. -my $usage="Usage: Configure [no-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx] [rsaref] [no-threads] [no-asm] [no-dso] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] os/compiler[:flags]\n"; +my $usage="Usage: Configure [no-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [rsaref] [no-threads] [no-asm] [no-dso] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] os/compiler[:flags]\n"; # Options: # @@ -27,6 +27,7 @@ my $usage="Usage: Configure [no-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [- # Generic OpenSSL-style methods relating to this support # are always compiled but return NULL if the hardware # support isn't compiled. +# no-hw do not compile support for any crypto hardware. # rsaref use RSAref # [no-]threads [don't] try to create a library that is suitable for # multithreaded applications (default is "threads" if we @@ -481,6 +482,11 @@ foreach (@ARGV) $flags .= "-DNO_HW_$hw "; $openssl_other_defines .= "#define NO_HW_$hw\n"; } + elsif (/^no-hw$/) + { + $flags .= "-DNO_HW "; + $openssl_other_defines .= "#define NO_HW\n"; + } elsif (/^386$/) { $processor=386; } elsif (/^rsaref$/) |