summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 575628f..c25b711 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1352,7 +1352,8 @@ esac
## Windows
case "`uname`" in
MINGW*)
- AC_HAVE_LIBRARY([ws2_32])
+ # The Winsock library
+ AC_CHECK_LIB([ws2_32], [GetUserName])
;;
esac