cURL

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1358 ./configure --with-ssl should fail when SSL doesn't work

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Sun, 18 May 2014 18:05:25 +0000

- **status**: open-confirmed --> closed-rejected
- **Comment**:

I've given this issue some thoughts and I've now decided that since this is the way our configure script has worked for 15+ years and it has not been a problem before, I think it can continue working like this.

It basically means the configure script will consider the options as recommendations and advice but that it will prefer to find a working setup rather than erroring out.

If anyone who reads this objects to this, the right way to do something about the situation is to bring the subject to the mailing list and argue for *why* it should be changed. Case closed.

---
** [bugs:#1358] ./configure --with-ssl should fail when SSL doesn't work**
**Status:** closed-rejected
**Created:** Thu Apr 10, 2014 11:59 PM UTC by Xiong Chiamiov
**Last Updated:** Sun Apr 13, 2014 10:46 PM UTC
**Owner:** Daniel Stenberg
    [$]> ./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.
---
Sent from sourceforge.net because curl-tracker@cool.haxx.se is subscribed to https://sourceforge.net/p/curl/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/curl/admin/bugs/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
Received on 2014-05-18

These mail archives are generated by hypermail.

donate! Page updated March 21, 2014.
web site info

File upload with ASP.NET