Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a703bde

Browse filesBrowse files
danbevItalo A. Casas
authored andcommitted
build: add checks for openssl configure options
Currently it is possible to configure using --without-ssl and --shared-openssl/--openssl-no-asm/openssl-fips without an error occuring. The commit add check for these combinations: $ ./configure --without-ssl --shared-openssl Error: --without-ssl is incompatible with --shared-openssl $ ./configure --without-ssl --openssl-no-asm Error: --without-ssl is incompatible with --openssl-no-asm $ ./configure --without-ssl --openssl-fips=dummy Error: --without-ssl is incompatible with --openssl-fips PR-URL: #12175 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
1 parent b495b6a commit a703bde
Copy full SHA for a703bde

File tree

Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-0
lines changed
Open diff view settings
Collapse file

‎configure‎

Copy file name to clipboardExpand all lines: configure
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,15 @@ def configure_openssl(o):
977977

978978

979979
if options.without_ssl:
980+
def without_ssl_error(option):
981+
print('Error: --without-ssl is incompatible with %s' % option)
982+
exit(1)
983+
if options.shared_openssl:
984+
without_ssl_error('--shared-openssl')
985+
if options.openssl_no_asm:
986+
without_ssl_error('--openssl-no-asm')
987+
if options.openssl_fips:
988+
without_ssl_error('--openssl-fips')
980989
return
981990
configure_library('openssl', o)
982991

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.