summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2009-12-14 03:16:55 +0200
committerTor Lillqvist <tml@iki.fi>2009-12-14 03:16:55 +0200
commita0bcd63304c683d54e1d55203922a58de672b8f6 (patch)
tree37fc04baba53f4752acfd31fc35b9e4fed000017
parent8dc200db043fb7251baed6e346a7c5542a24a7b9 (diff)
Don't check for headers we include unconditionally
Don't bother checking for winsock2.h and mswsock.h in the configure script as we include these unconditionally when building for Windows anyway.
-rw-r--r--config.h.win32.in3
-rw-r--r--configure.in2
2 files changed, 1 insertions, 4 deletions
diff --git a/config.h.win32.in b/config.h.win32.in
index d72ad8083..b59947487 100644
--- a/config.h.win32.in
+++ b/config.h.win32.in
@@ -598,9 +598,6 @@
/* Define to 1 if you have the `wcslen' function. */
#define HAVE_WCSLEN 1
-/* We are not checking for windows.h, why this? */
-#define HAVE_WINSOCK2_H 1
-
/* Define if you have the 'wint_t' type. */
#define HAVE_WINT_T 1
diff --git a/configure.in b/configure.in
index f7b1a0ae5..8902a9274 100644
--- a/configure.in
+++ b/configure.in
@@ -1006,7 +1006,7 @@ if $glib_failed ; then
fi
AC_CHECK_FUNCS(getprotobyname_r endservent)
-AC_CHECK_HEADERS([netdb.h winsock2.h mswsock.h wspiapi.h])
+AC_CHECK_HEADERS([netdb.h wspiapi.h])
# For gio/libasyncns
if test $glib_native_win32 = no; then