diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-04-22 15:06:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-04-22 15:06:15 +0200 |
commit | ac54209222f0c421981f26e5867d931d43ee3224 (patch) | |
tree | c4caa1c38f597e2b121d7b38038940ad0dd09fc6 | |
parent | 997ed8eded3fd23b7a4cda540bac49dfc4cfc363 (diff) | |
download | curl-bagder/configure-explicit-tls.tar.gz |
fixup update docs/INSTALL.md accordinglybagder/configure-explicit-tls
-rw-r--r-- | docs/INSTALL.md | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 15daddb8b..30afe81f7 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -30,11 +30,13 @@ proceed. A normal Unix installation is made in three or four steps (after you've unpacked the source archive): - ./configure + ./configure --with-openssl [--with-gnutls --with-wolfssl] make make test (optional) make install +(Adjust the configure line accordingly to use the TLS library you want.) + You probably need to be root when doing the last command. Get a full listing of all available configure options by invoking it like: @@ -73,7 +75,7 @@ Without pkg-config installed, use this: If you insist on forcing a build without SSL support, even though you may have OpenSSL installed in your system, you can run configure like this: - ./configure --without-openssl + ./configure --without-ssl If you have OpenSSL installed, but with the libraries in one place and the header files somewhere else, you have to set the `LDFLAGS` and `CPPFLAGS` @@ -109,17 +111,19 @@ want to alter it, you can select how to deal with each individual library. ## Select TLS backend -The default OpenSSL configure check will also detect and use BoringSSL or -libressl. - - - GnuTLS: `--without-openssl --with-gnutls`. - - wolfSSL: `--without-openssl --with-wolfssl` - - NSS: `--without-openssl --with-nss` - - mbedTLS: `--without-openssl --with-mbedtls` - - schannel: `--without-openssl --with-schannel` - - secure transport: `--without-openssl --with-secure-transport` - - MesaLink: `--without-openssl --with-mesalink` - - BearSSL: `--without-openssl --with-bearssl` +These options are provided to select TLS backend to use. + + - AmiSSL: `--with-amissl` + - BearSSL: `--with-bearssl` + - GnuTLS: `--with-gnutls`. + - mbedTLS: `--with-mbedtls` + - MesaLink: `--with-mesalink` + - NSS: `--with-nss` + - OpenSSL: `--with-openssl` (also for BoringSSL and libressl) + - rustls: `--with-rustls` + - schannel: `--with-schannel` + - secure transport: `--with-secure-transport` + - wolfSSL: `--with-wolfssl` # Windows |