mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[svn-r5810] Purpose:
Fix Description: Better check for versions of Linux. We didn't support kernels with major version numbers >2 and minor version numbers <4... Solution: Fixed to check just that. Platforms tested: Linux 2.2 && 2.4
This commit is contained in:
parent
4be014fc14
commit
33f0045d9a
2
configure
vendored
2
configure
vendored
@ -8500,7 +8500,7 @@ fi;
|
||||
MAJOR_VER="`uname -r | cut -d '.' -f1`"
|
||||
MINOR_VER="`uname -r | cut -d '.' -f2`"
|
||||
|
||||
if test $MAJOR_VER -ge 2 -a $MINOR_VER -ge 4; then
|
||||
if test ${MAJOR_VER} -gt 2 -o ${MAJOR_VER} -eq 2 -a ${MINOR_VER} -ge 4; then
|
||||
LINUX_LFS="yes"
|
||||
fi
|
||||
;;
|
||||
|
@ -512,7 +512,7 @@ case "$host_cpu-$host_vendor-$host_os" in
|
||||
MAJOR_VER="`uname -r | cut -d '.' -f1`"
|
||||
MINOR_VER="`uname -r | cut -d '.' -f2`"
|
||||
|
||||
if test $MAJOR_VER -ge 2 -a $MINOR_VER -ge 4; then
|
||||
if test ${MAJOR_VER} -gt 2 -o ${MAJOR_VER} -eq 2 -a ${MINOR_VER} -ge 4; then
|
||||
LINUX_LFS="yes"
|
||||
fi
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user