Skip to content

Commit 67bb43c

Browse files
committed
build: check without_ssl in warn openssl_no_asm
Currently when configuring --without-ssl the following warning is displayed: WARNING: openssl_no_asm is enabled due to missed or old assembler. Please refer BUILDING.md This commit adds a check of options.without_ssl to avoid this warning when --without-ssl is used.
1 parent 2852521 commit 67bb43c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎configure‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,8 @@ def configure_openssl(o):
10831083
('llvm_version' in variables and variables['llvm_version'] >= '3.3') or \
10841084
('nasm_version' in variables and variables['nasm_version'] >= '2.10')
10851085

1086-
if not openssl110_asm_supported and variables['openssl_no_asm'] == 0:
1086+
if not options.without_ssl and not openssl110_asm_supported and \
1087+
variables['openssl_no_asm'] == 0:
10871088
warn('''openssl_no_asm is enabled due to missed or old assembler.
10881089
Please refer BUILDING.md''')
10891090
variables['openssl_no_asm'] = 1

0 commit comments

Comments
 (0)