Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -977,9 +977,19 @@ def configure_openssl(o):


if options.without_ssl:
if options.shared_openssl:
withoutSSLError('--shared-openssl')
if options.openssl_no_asm:
withoutSSLError('--openssl-no-asm')
if options.openssl_fips:
withoutSSLError('--openssl-fips')
return
configure_library('openssl', o)

def withoutSSLError(option):
print('Error: --without-ssl is incompatible with %s' % option)
exit(1);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style: without_ssl_error and no semicolon.

You could define it in the if options.without_ssl: block if that's the only place you use it (or simply use or to chain the conditions.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I've fixed these issues now.



Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whitespace change. :-)

def configure_static(o):
if options.fully_static or options.partly_static:
Expand Down