diff --git a/configure.ac b/configure.ac index 3fc7f9ce0479eef0ca35a12a65042e522f7fa19d..18e8229ff738b238e72562a0aeaf6f7e751ae342 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]) ;; *) ;;