configure: check -lws2_32 for socket() too
This commit is contained in:
parent
1859e9d7d7
commit
b45a2f351e
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue