summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2005-06-08 19:51:26 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2005-06-08 19:51:26 (GMT)
commit6bf7952de0057c530fa3b7ff7d4f50ca8c8a90c1 (patch)
tree6cc0fa48e2d5ded6373ad40ae0319df283f1fadd /configure.in
parentd0145118bd9cb5204fc1ae03ab2ae1ea6a87d8b7 (diff)
downloadhdf5-6bf7952de0057c530fa3b7ff7d4f50ca8c8a90c1.zip
hdf5-6bf7952de0057c530fa3b7ff7d4f50ca8c8a90c1.tar.gz
hdf5-6bf7952de0057c530fa3b7ff7d4f50ca8c8a90c1.tar.bz2
[svn-r10879] Purpose:
Removing configuration warnings on cygwin. Description: winsock.h cannot be compiled by cygwin and that generates configuration warnings. Remove checking winsock.h on cygwin. Solution: Platforms tested: Misc. update:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 4c49a72..ef7fe9d 100644
--- a/configure.in
+++ b/configure.in
@@ -742,8 +742,11 @@ AC_CHECK_HEADERS([stddef.h setjmp.h features.h])
AC_CHECK_HEADERS([stdint.h], [C9x=yes])
dnl Windows
-AC_CHECK_HEADERS([io.h winsock.h sys/timeb.h])
-
+if test "`uname -o`" = "Cygwin"; then
+ AC_CHECK_HEADERS([io.h sys/timeb.h])
+else
+ AC_CHECK_HEADERS([io.h winsock.h sys/timeb.h])
+fi
case "$host" in
alpha*-dec*-osf*)
dnl The <sys/sysinfo.h> and <sys/proc.h> are needed on the DEC