From 6baea764567c3327f1d85ba91375adaea6dab46d Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Tue, 29 Apr 2008 10:22:35 +0100 Subject: Link with winsock for WIN32 platforms --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) mode change 100644 => 100755 configure.ac (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac old mode 100644 new mode 100755 index df2b5ef..426e178 --- 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") -- cgit v1.2.3