[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:
Bill Wendling 2002-07-17 13:03:38 -05:00
parent 4be014fc14
commit 33f0045d9a
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -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
;;

View File

@ -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
;;