AC_MSG_WARN([Missing QT4 ($website)])])
fi
+if test x$WIN32 = xyes
+then
+ # On Windows, sockets are in the ws2_32 library.
+ LIBS="$LIBS -lws2_32"
+fi
+
if test x$missing = xyes
then
AC_MSG_ERROR([You are missing some required libraries.])
AC_HEADER_STDBOOL
AC_HEADER_STDC
-AC_CHECK_HEADERS([stddef.h stdint.h stdlib.h string.h unistd.h])
+AC_CHECK_HEADERS([arpa/inet.h byteswap.h fcntl.h stddef.h stdint.h stdlib.h string.h unistd.h])
BOOST_SMART_PTR
BOOST_STRING_ALGO
AC_TYPE_UINT8_T
AC_TYPE_UINT16_T
AC_TYPE_UINT32_T
+AC_TYPE_UINT64_T
AC_TYPE_SIZE_T
-AC_TYPE_SSIZE_T
####
AC_FUNC_ERROR_AT_LINE
AC_FUNC_STRTOD
-AC_CHECK_FUNCS([nanosleep strchr strcspn strrchr strstr])
+AC_CHECK_FUNCS([fcntl nanosleep strchr strcspn strrchr strstr])
if test x$clock_gettime = xyes
then