]> git.ipfire.org Git - thirdparty/curl.git/commit
m4: drop redundant conditions in TLS library detections
authorViktor Szakats <commit@vsz.me>
Wed, 27 May 2026 16:39:10 +0000 (18:39 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 27 May 2026 21:26:20 +0000 (23:26 +0200)
commita5fcaa85536603d765234d9e97156458bf95c485
tree5659288b5fdb75f17a03f547756b7aa9fcd2f297
parent15356f0d3651dc044423bcd361d58ac6ba8843bb
m4: drop redundant conditions in TLS library detections

Omit checking `OPT_<BACKEND>` against `no` twice.

Also:
- openssl: drop stray `OPT_OPENSSL=off` check.
  Follow-up to 68d89f242cf9f6326e3b2f6fe119b7c74ef41c66 #6897
- rustls: drop no-op line.
  Follow-up to 9c4209837094781d5eef69ae6bcad0e86b64bf99 #13202
- gnutls: fix casing in comment.
- merge `if` branches where possible after these changes.

Closes #21781
m4/curl-amissl.m4
m4/curl-gnutls.m4
m4/curl-mbedtls.m4
m4/curl-openssl.m4
m4/curl-rustls.m4
m4/curl-schannel.m4
m4/curl-wolfssl.m4