summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMarcel Raad <Marcel.Raad@teamviewer.com>2021-09-18 01:25:20 +0200
committerMarcel Raad <Marcel.Raad@teamviewer.com>2021-09-28 19:29:27 +0200
commitc2ea04f92b00b6271627cb218647527b5a50f2fc (patch)
tree7240ef0000633673b5c11bdddcd72a224d3a113c /m4
parentacfe94c08f2573edc2ae52bf0097130deea299ff (diff)
downloadcurl-c2ea04f92b00b6271627cb218647527b5a50f2fc.tar.gz
build: remove checks for WinSock 1
It's not supported anymore. Closes https://github.com/curl/curl/pull/7778
Diffstat (limited to 'm4')
-rw-r--r--m4/curl-functions.m47
1 files changed, 1 insertions, 6 deletions
diff --git a/m4/curl-functions.m4 b/m4/curl-functions.m4
index d3ffaea9f..b21bbd1e2 100644
--- a/m4/curl-functions.m4
+++ b/m4/curl-functions.m4
@@ -486,7 +486,7 @@ curl_includes_unistd="\
dnl CURL_INCLUDES_WINSOCK2
dnl -------------------------------------------------
dnl Set up variable with list of headers that must be
-dnl included when winsock(2).h is to be included.
+dnl included when winsock2.h is to be included.
AC_DEFUN([CURL_INCLUDES_WINSOCK2], [
curl_includes_winsock2="\
@@ -498,15 +498,10 @@ curl_includes_winsock2="\
# include <windows.h>
# ifdef HAVE_WINSOCK2_H
# include <winsock2.h>
-# else
-# ifdef HAVE_WINSOCK_H
-# include <winsock.h>
-# endif
# endif
#endif
/* includes end */"
CURL_CHECK_HEADER_WINDOWS
- CURL_CHECK_HEADER_WINSOCK
CURL_CHECK_HEADER_WINSOCK2
])