From 4f9c083635a5f35df9c3b3966b11883e1d80d77b Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Sat, 26 Jul 2025 14:58:43 +0200 Subject: [PATCH] Revert "autotools: check mingw-w64 version" This reverts commit f8fba5080165d2eb9e18b666fb37bbf45866b463. --- configure.ac | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/configure.ac b/configure.ac index d381cff302..9b1096fcb9 100644 --- a/configure.ac +++ b/configure.ac @@ -530,26 +530,6 @@ if test "$curl_cv_native_windows" = "yes"; then case "$CPPFLAGS" in *-DWINSTORECOMPAT*) curl_cv_winuwp='yes';; esac - - case $host_os in - mingw*) - AC_MSG_CHECKING([if building with mingw-w64 3.0 or upper]) - AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM([[ - #include <_mingw.h> - ]],[[ - #if !defined(__MINGW64_VERSION_MAJOR) || (__MINGW64_VERSION_MAJOR < 6) - #error - #endif - ]]) - ],[ - AC_MSG_RESULT([yes]) - ],[ - AC_MSG_RESULT([no]) - AC_MSG_ERROR([Building with mingw-w64 3.0 or upper is required.]) - ]) - ;; - esac fi CURL_SET_COMPILER_BASIC_OPTS