summaryrefslogtreecommitdiff
path: root/xtrans.m4
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-10-15 11:19:41 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-10-15 11:19:41 +0100
commitc626a4298e98f4988701dd587bc8355c62542ec4 (patch)
treec6ddf5733518b02dbb589284a65c0a18ef447750 /xtrans.m4
parent005bd80a9eab736aea737869b8a1079c565e1cd6 (diff)
add winsock check for windows builds
Diffstat (limited to 'xtrans.m4')
-rw-r--r--xtrans.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/xtrans.m4 b/xtrans.m4
index 31d456b..c4701d4 100644
--- a/xtrans.m4
+++ b/xtrans.m4
@@ -32,6 +32,7 @@ AC_DEFUN([XTRANS_TCP_FLAGS],[
# SVR4 hides these in libraries other than libc
AC_SEARCH_LIBS(socket, [socket])
AC_SEARCH_LIBS(gethostbyname, [nsl])
+ AC_HAVE_LIBRARY([ws2_32])
# Needs to come after above checks for libsocket & libnsl for SVR4 systems
AC_ARG_ENABLE(ipv6,