summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-06-18 20:01:59 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-06-18 20:01:59 (GMT)
commit9b63d7d5131d02369af498f7930183138535fa80 (patch)
tree992093cebbe8cdc7f7f6b89c004d35f2173cbbdb /configure.in
parent860fe3d4d78e7f1b130b39bf410b5c8f55ad1123 (diff)
downloadhdf5-9b63d7d5131d02369af498f7930183138535fa80.zip
hdf5-9b63d7d5131d02369af498f7930183138535fa80.tar.gz
hdf5-9b63d7d5131d02369af498f7930183138535fa80.tar.bz2
[svn-r22471] Add check for MINGW - ws2_32 library
Tested: windows - mingw
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 3dc354b..6f8a3e9 100644
--- a/configure.in
+++ b/configure.in
@@ -1286,6 +1286,10 @@ case "`uname`" in
CYGWIN*)
AC_CHECK_HEADERS([io.h sys/timeb.h])
;;
+ MINGW*)
+ AC_CHECK_HEADERS([io.h winsock2.h sys/timeb.h])
+ AC_HAVE_LIBRARY([ws2_32])
+ ;;
*)
AC_CHECK_HEADERS([io.h winsock2.h sys/timeb.h])
;;