0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

configure: check -lws2_32 for socket() too

This commit is contained in:
William Pitcock 2016-03-20 00:11:06 -05:00
parent 1859e9d7d7
commit b45a2f351e

View file

@ -141,7 +141,7 @@ AC_CHECK_SIZEOF(long long)
dnl Networking Functions dnl Networking Functions
dnl ==================== dnl ====================
AC_SEARCH_LIBS(socket, socket, , [AC_MSG_ERROR([You have no socket()! Aborting.])]) AC_SEARCH_LIBS(socket, [socket ws2_32], , [AC_MSG_ERROR([You have no socket()! Aborting.])])
dnl SunOS/Solaris required libnsl for inet_ntoa() dnl SunOS/Solaris required libnsl for inet_ntoa()
if test x"$SUN" = xyes; then if test x"$SUN" = xyes; then