summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-04-29 10:22:35 +0100
committerAlan Hourihane <alanh@tungstengraphics.com>2008-04-29 10:22:35 +0100
commit6baea764567c3327f1d85ba91375adaea6dab46d (patch)
tree7f8eae7649ec92a73042f277617f27756acc6c6f
parentc59dd27ecb1751f0b097046b2f892028e5a10a3e (diff)
Link with winsock for WIN32 platforms
-rwxr-xr-x[-rw-r--r--]configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index df2b5ef..426e178 100644..100755
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,7 @@ AM_CONFIG_HEADER(config.h)
# Check for progs
AC_PROG_CC
AC_PROG_LIBTOOL
+AM_PROG_CC_C_O
PKG_CHECK_MODULES(XT, sm x11 xproto kbproto)
@@ -46,6 +47,8 @@ AC_CHECK_FUNC(poll, AC_DEFINE(USE_POLL,1,
AC_CHECK_FUNC(snprintf, AC_DEFINE(USE_SNPRINTF,1,
[Define to 1 if you have the `snprintf' function.]))
+AC_HAVE_LIBRARY(ws2_32)
+
# Options
AC_ARG_ENABLE(xkb, AC_HELP_STRING([--disable-xkb], [Disable XKB support]),
XKB="$enableval", XKB="yes")