summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-09-01 20:38:18 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-09-01 20:38:18 (GMT)
commit30c61d0f254d8201e9f84ee45f15fb83ee5f4495 (patch)
treea408aa22357a2cf2a2f57d941ee9a4431f073c02 /configure
parentc7808fa57eb9923b15d06e170dda140e72139ab8 (diff)
downloadhdf5-30c61d0f254d8201e9f84ee45f15fb83ee5f4495.zip
hdf5-30c61d0f254d8201e9f84ee45f15fb83ee5f4495.tar.gz
hdf5-30c61d0f254d8201e9f84ee45f15fb83ee5f4495.tar.bz2
[svn-r11335] Purpose:
Bug fix Description: configure used 'uname -o' to detect Cygwin. This command is fine on Cygwin, but causes errors on some other platforms (sol). Fixed this. Solution: Used 'uname' with no -o option to identify Cygwin. Platforms tested: mir, cygwin (on finrod)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure b/configure
index f22654e..eb70eed 100755
--- a/configure
+++ b/configure
@@ -23213,7 +23213,8 @@ fi
done
-if test "`uname -o`" = "Cygwin"; then
+case "`uname`" in
+ CYGWIN*)
for ac_header in io.h sys/timeb.h
@@ -23365,7 +23366,8 @@ fi
done
-else
+ ;;
+ *)
@@ -23518,7 +23520,9 @@ fi
done
-fi
+ ;;
+esac
+
case "$host" in
alpha*-dec*-osf*)