summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2022-07-26 19:30:04 (GMT)
committerGitHub <noreply@github.com>2022-07-26 19:30:04 (GMT)
commitd0739f13c131fd8d85c4b3247c26ca2bca515ece (patch)
treea70ce4e47b6689ae6b9aa5d47c9e143347998a97 /configure.ac
parent6eaa59d2f83a89e9b4808f04caa48d313e658df1 (diff)
downloadhdf5-d0739f13c131fd8d85c4b3247c26ca2bca515ece.zip
hdf5-d0739f13c131fd8d85c4b3247c26ca2bca515ece.tar.gz
hdf5-d0739f13c131fd8d85c4b3247c26ca2bca515ece.tar.bz2
Revert "1.12 eliminate unnecessary errors in the error stack (#1880)" (#1935)
This reverts commit f6997681335f0b5fe2e8904f9108a71c5200fb2d.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d32fdd5..e3d8971 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1366,8 +1366,9 @@ case "`uname`" in
UNAME_CYGWIN="yes"
;;
MINGW*)
+ # The Winsock library
AC_CHECK_HEADERS([io.h winsock2.h sys/timeb.h])
- AC_HAVE_LIBRARY([ws2_32])
+ AC_CHECK_LIB([ws2_32], [GetUserName])
;;
*)
AC_CHECK_HEADERS([io.h winsock2.h sys/timeb.h])