]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
DEPRECATE: the original legacy mingw version 1
authorDaniel Stenberg <daniel@haxx.se>
Fri, 3 Mar 2023 13:49:21 +0000 (14:49 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Mar 2023 10:31:33 +0000 (11:31 +0100)
Remove completely in September 2023

Closes #10667

.azure-pipelines.yml
configure.ac
docs/DEPRECATE.md

index d96c4e48e683f8f0da9724cda7c335db11616cbc..53f9dc4ef4b962d70a988610927099f33035a880 100644 (file)
@@ -223,7 +223,7 @@ stages:
           name: 32-bit (legacy)
           container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys1-mingw:ltsc2019
           container_cmd: C:\MinGW\msys\1.0\bin\sh
-          configure: --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/mingw --enable-debug --without-ssl
+          configure: --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/mingw --enable-debug --without-ssl --with-mingw1-deprecated
           tests: "!203 !1143"
         v1_mingw32:
           name: 32-bit w/o zlib
@@ -255,7 +255,7 @@ stages:
           name: 32-bit Schannel/SSPI/WinIDN (legacy)
           container_img: ghcr.io/mback2k/curl-docker-winbuildenv/msys1-mingw:ltsc2019
           container_cmd: C:\MinGW\msys\1.0\bin\sh
-          configure: --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/mingw --enable-debug --enable-sspi --with-schannel --with-winidn
+          configure: --host=i686-pc-mingw32 --build=i686-pc-mingw32 --prefix=/mingw --enable-debug --enable-sspi --with-schannel --with-winidn --with-mingw1-deprecated
           tests: "!203 !305 !311 !312 !313 !404 !1143 !2033 !2035 !2038 !2041 !2042 !2048 !2070 !2079 !2087 !3023 !3024"
         v1_mingw32_schannel:
           name: 32-bit Schannel/SSPI/WinIDN w/o zlib
index f40652c07e8743d6a5c333252b4198a633968e04..7154b9c6173e7e75fa5e3c80043d2a8071cb85bd 100644 (file)
@@ -612,6 +612,7 @@ case $host in
       ]])
     ],[
       curl_mingw_original=yes
+      curl_mingw_die=yes
       AC_MSG_RESULT([yes])
     ],[
       AC_MSG_RESULT([no])
@@ -619,6 +620,18 @@ case $host in
     ;;
 esac
 
+
+AC_ARG_WITH(mingw1-deprecated,dnl
+AS_HELP_STRING([--with-mingw1-deprecated],[confirm you realize support for mingw v1 is dying]),
+  if test X"$withval" != Xno; then
+    curl_mingw_die=
+  fi
+)
+
+if test -n "$curl_mingw_die"; then
+  AC_MSG_ERROR([support for mingw v1 is going away, enable temporarily with --with-mingw1-deprecated])
+fi
+
 dnl **********************************************************************
 dnl Compilation based checks should not be done before this point.
 dnl **********************************************************************
index 5c9dd32d8758ea00c538f49ddaea6ec731a13e7e..aac9ab871bfac35ffc35a473dcdccaf2c74516db 100644 (file)
@@ -31,6 +31,18 @@ We remove support for building curl with the gskit TLS library in August 2023.
 - build breakages in this code take weeks or more to get detected
 - fixing gskit code is mostly done "flying blind"
 
+## mingw v1
+
+We remove support for building curl with the original legacy mingw version 1
+in September 2023.
+
+During the deprecation period you can enable the support with the configure
+option `--with-mingw1-deprecated`.
+
+mingw version 1 is old and deprecated software. There are much better and
+still support build environments to use to build curl and other software. For
+example [MinGW-w64](https://www.mingw-w64.org/).
+
 ## space-separated `NOPROXY` patterns
 
 When specifying patterns/domain names for curl that should *not* go through a