From 9cf516adc67b67388e22bb8c33cb3fabd68f2ac6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 6 Jun 2021 12:12:01 +0200 Subject: [PATCH] docs/INSTALL: remove mentions of configure --with-darwin-ssl ... as it isn't supported since a while back. Make configure fail with a warning if used. Reported-by: Vadim Grinshpun Bug: https://curl.se/mail/lib-2021-06/0008.html Closes #7200 --- configure.ac | 3 +++ docs/INSTALL.md | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index 8d689d3eb8..c8827c2c0f 100755 --- a/configure.ac +++ b/configure.ac @@ -284,6 +284,9 @@ Select from these: fi fi +AC_ARG_WITH(darwinssl,, + AC_MSG_ERROR([--with-darwin-ssl no longer works!])) + dnl dnl Detect the canonical host and target build environment dnl diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 0faf688280..84fe829199 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -270,8 +270,8 @@ Windows you should choose another SSL backend such as OpenSSL. On modern Apple operating systems, curl can be built to use Apple's SSL/TLS implementation, Secure Transport, instead of OpenSSL. To build with Secure -Transport for SSL/TLS, use the configure option `--with-secure-transport` -or `--with-darwin-ssl`. (It is not necessary to use the option `--without-openssl`.) +Transport for SSL/TLS, use the configure option `--with-secure-transport`. (It +is not necessary to use the option `--without-openssl`.) When Secure Transport is in use, the curl options `--cacert` and `--capath` and their libcurl equivalents, will be ignored, because Secure Transport uses @@ -291,7 +291,7 @@ export SDK=macosx export DEPLOYMENT_TARGET=10.8 export CFLAGS="-arch $ARCH -isysroot $(xcrun -sdk $SDK --show-sdk-path) -m$SDK-version-min=$DEPLOYMENT_TARGET" -./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-darwin-ssl +./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-secure-transport make -j8 make install ``` @@ -306,7 +306,7 @@ export SDK=iphoneos export DEPLOYMENT_TARGET=11.0 export CFLAGS="-arch $ARCH -isysroot $(xcrun -sdk $SDK --show-sdk-path) -m$SDK-version-min=$DEPLOYMENT_TARGET" -./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-darwin-ssl +./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-secure-transport make -j8 make install ``` @@ -319,7 +319,7 @@ export SDK=watchsimulator export DEPLOYMENT_TARGET=5.0 export CFLAGS="-arch $ARCH -isysroot $(xcrun -sdk $SDK --show-sdk-path) -m$SDK-version-min=$DEPLOYMENT_TARGET" -./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-darwin-ssl +./configure --host=$ARCH-apple-darwin --prefix $(pwd)/artifacts --with-secure-transport make -j8 make install ``` -- 2.47.3