diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2022-07-13 19:13:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-13 19:13:53 (GMT) |
commit | d6ff0ff657860972ce76145a963eb631708dd3be (patch) | |
tree | e54359d5fda1670653ef61dae6db90d0af8b8953 /configure.ac | |
parent | 21b8d65c2c53e4c1392ae63d120741914a3467a6 (diff) | |
download | hdf5-d6ff0ff657860972ce76145a963eb631708dd3be.zip hdf5-d6ff0ff657860972ce76145a963eb631708dd3be.tar.gz hdf5-d6ff0ff657860972ce76145a963eb631708dd3be.tar.bz2 |
Cherry-pick of Autotools updates from develop (#1885)
* Suppress Autoconf "obsolete" warnings in Java checks (#1853)
* Use AC_CHECK_LIB instead of AC_HAVE_LIBRARY for Winsock (#1837)
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 3 |
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]) |