Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -92,10 +92,11 @@ ], [ AC_MSG_ERROR(No pthreads or other supported threads!)]) ;; esac +AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket") AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32") AC_MSG_CHECKING(for getaddrinfo) AC_TRY_COMPILE([ #include