diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 ;; diff --git a/configure.in b/configure.in index 53820e1..9a9f3fc 100644 --- a/configure.in +++ b/configure.in @@ -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 ;; |