summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 3204822196..c8996b0b4a 100755
--- a/configure
+++ b/configure
@@ -965,6 +965,15 @@ def configure_openssl(o):
if options.without_ssl:
+ def without_ssl_error(option):
+ print('Error: --without-ssl is incompatible with %s' % option)
+ exit(1)
+ if options.shared_openssl:
+ without_ssl_error('--shared-openssl')
+ if options.openssl_no_asm:
+ without_ssl_error('--openssl-no-asm')
+ if options.openssl_fips:
+ without_ssl_error('--openssl-fips')
return
configure_library('openssl', o)