Whamcloud - gitweb
LU-5710 all: second batch of corrected typos and grammar errors
[fs/lustre-release.git] / config / lustre-build-ldiskfs.m4
index 4cf15a1..6f1ae82 100644 (file)
@@ -5,12 +5,13 @@ AC_DEFUN([LDISKFS_LINUX_SERIES], [
 LDISKFS_SERIES=
 AC_MSG_CHECKING([which ldiskfs series to use])
 AS_IF([test x$RHEL_KERNEL = xyes], [
-       AS_VERSION_COMPARE([$RHEL_KERNEL_VERSION],[2.6.32-431],[
-       AS_VERSION_COMPARE([$RHEL_KERNEL_VERSION],[2.6.32-343],[
-       AS_VERSION_COMPARE([$RHEL_KERNEL_VERSION],[2.6.32],[],
-       [LDISKFS_SERIES="2.6-rhel6.series"],  [LDISKFS_SERIES="2.6-rhel6.series"])],
-       [LDISKFS_SERIES="2.6-rhel6.4.series"],[LDISKFS_SERIES="2.6-rhel6.4.series"])],
-       [LDISKFS_SERIES="2.6-rhel6.5.series"],[LDISKFS_SERIES="2.6-rhel6.5.series"])
+       case $RHEL_RELEASE_NO in
+       71)     LDISKFS_SERIES="3.10-rhel7.series"      ;;
+       66)     LDISKFS_SERIES="2.6-rhel6.6.series"     ;;
+       65)     LDISKFS_SERIES="2.6-rhel6.5.series"     ;;
+       64)     LDISKFS_SERIES="2.6-rhel6.4.series"     ;;
+       6[0-3]) LDISKFS_SERIES="2.6-rhel6.series"       ;;
+       esac
 ], [test x$SUSE_KERNEL = xyes], [
        AS_VERSION_COMPARE([$LINUXRELEASE],[3.0.0],[
        AS_VERSION_COMPARE([$LINUXRELEASE],[2.6.32], [],
@@ -199,7 +200,7 @@ AM_CONDITIONAL([LDISKFS_ENABLED], [test x$enable_ldiskfs = xyes])
 #
 # LB_VALIDATE_EXT4_SRC_DIR
 #
-# Spot check the existance of several source files common to ext4.
+# Spot check the existence of several source files common to ext4.
 # Detecting this at configure time allows us to avoid a potential build
 # failure and provide a useful error message to explain what is wrong.
 #