summaryrefslogtreecommitdiff
path: root/xserver/aclocal.m4
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2009-12-18 22:50:54 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2009-12-18 22:50:54 +0000
commitc4a7213f792ce3fc0f6a62cdc57e6e995c8f5e50 (patch)
tree2e9fa168e750c4d98b521f9fcc3fcc689a6dcbb1 /xserver/aclocal.m4
parentceaa1c9d379e3b337f5a00cf1e4314c6aaf4ded2 (diff)
regen
Diffstat (limited to 'xserver/aclocal.m4')
-rw-r--r--xserver/aclocal.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/xserver/aclocal.m4 b/xserver/aclocal.m4
index 17e9dcb0e..91e3f7115 100644
--- a/xserver/aclocal.m4
+++ b/xserver/aclocal.m4
@@ -8254,7 +8254,9 @@ 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])
+ if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
+ AC_HAVE_LIBRARY([ws2_32])
+ fi
# Needs to come after above checks for libsocket & libnsl for SVR4 systems
AC_ARG_ENABLE(ipv6,