Don't check for headers we include unconditionally
authorTor Lillqvist <tml@iki.fi>
Mon, 14 Dec 2009 01:16:55 +0000 (03:16 +0200)
committerTor Lillqvist <tml@iki.fi>
Mon, 14 Dec 2009 01:16:55 +0000 (03:16 +0200)
Don't bother checking for winsock2.h and mswsock.h in the configure
script as we include these unconditionally when building for Windows
anyway.

config.h.win32.in
configure.in

index d72ad80..b599474 100644 (file)
 /* 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
 
index f7b1a0a..8902a92 100644 (file)
@@ -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