summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3fc7f9c..18e8229 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,7 @@ esac
# Link with winsock if mingw target
case $host_os in
*mingw*)
- AC_HAVE_LIBRARY(ws2_32)
+ AC_CHECK_LIB([ws2_32],[main])
;;
*)
;;