[$]> ./configure --with-ssl=/usr/local/ssl [snip] checking for CRYPTO_lock in -lcrypto... no checking for CRYPTO_add_lock in -lcrypto... no checking for ssl_version in -laxtls... no configure: WARNING: SSL disabled, you will not be able to use HTTPS, FTPS, NTLM and more. configure: WARNING: Use --with-ssl, --with-gnutls, --with-polarssl, --with-cyassl, --with-nss, --with-axtls, --with-winssl, or --with-darwinssl to address this. [snip]
When explicitly enabling SSL support, I expect a failure to appropriately find/link to/otherwise work with the SSL libraries to exit the script with a non-zero exit code. Unfortunately, this is not the case; the process continues and exits successfully, which means Bash's
-e doesn't catch it and I only come across errors much later in our server provisioning (that I have to trace back).
Latest version of curl, 7.36.0.