]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs/INSTALL: remove mentions of configure --with-darwin-ssl
authorDaniel Stenberg <daniel@haxx.se>
Sun, 6 Jun 2021 10:12:01 +0000 (12:12 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 6 Jun 2021 21:55:32 +0000 (23:55 +0200)
... 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
docs/INSTALL.md

index 8d689d3eb8deacae4994b583b27d65cbec46c2ba..c8827c2c0f12bdf307bcf2e3512c4e03c7beb82b 100755 (executable)
@@ -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
index 0faf68828018b3b2cce5cf6d77e43906557fb8ab..84fe82919995407937e576daf3776bffb41596a2 100644 (file)
@@ -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
 ```